You are on page 1of 3

|| Swami Shreeji || SHREE M. & N. VIRANI SCIENCE COLLEGE B.C.A - (Sem.

-2) (CBCS) PRILIM EXAM DBMS USING FOXPRO Date:- 30/03/2012 Marks:-70

1)

Which command moves the control to the beginning of current loop?

(A) GO TOP (C) CONTINUE 2) (A) READ (C) MENU TO 3)


Which command define an array in foxpro?

(B) LOOP (D) RETURN (B) READ CYCLE (D) ACTIVATE (B) DIMENSION (D) GATHER (B) DO (D) FUNCTION (B) .LBL (D) .TXT (B) .BPL (D) .LAB (B) Information (D) None of the above (B) ALEN()
(D) none of these

Which command activate the menu created with @....PROMPT ?

(A) DECLARE (C) A OR B 4) (A) CALL (C) USE 5)


The extension of report file is______________

Which command in the main program calls a procedure?

(A) .FRX (C) .DBF 6)


The extension of label file is______________

(A) .LBL (C) .DBF 7)


A meaningful data is known as ____________.

(A) Data model (C) Data tree 8) (A) ASORT()


(C) AELEMENT()

Which function sorts the array elements in ascending or descending order?

9)

which of the following is true logical constant? (A) ,T, (C) .T. (B) .T, (D) None of these

10) Which is the RDBMS software?


(A) Access (C) Foxpro (B) Oracle (D) All of above

11) ACCEPT create a _____ type variable.

(A) numeric (C) Character

(B) Boolean (D) Memo

12) which command is used after the LOCATE command locates the records from the database?
(A) LOCATE (C) FIND (B) CONTINUE (D) SEEK

13) ?REPLICATE(ab1,40) is invalid.


(A) TRUE (B) FALSE

14) Which optional clause needs to be added to DIR to print the directory listing?
(A) Print (C) To print (B) Printer (D) To printer

15) Which of the following is useful to displays output at a specified row and column position?
(A) @...say (C) @...say something (B) @... (D) None

16) which command used to set on,displays a warning before overwriting of an existing file.
(A) Set status (C) Set message (B) Set safety (D) Set talk

17) which command is used to specify that whether or not Enter Key must be pressed to exit from an input field and move to the next object?
(A) SET CARRY (C) SET CONFIRM character (A) Set delima (C) Set filter (B) SET DEFAULT (D) NONE

18) which command used to set ON, fields displayed with @...GET are enclosed within delimiter
(B) set delimiter (D) none

19) ? ISDIGIT("35P") is true or false? (A) True (B) False

20) which of the following is true if we use ? Substr('computer',4,3) (A) Upm (C) put (B) com (D) Puter

SECTION II Q.1 (a) Attempt any three (1) Explain Record and Fields. (2) Differentiate DELETE and ZAP. (3) Explain SET CENTURY. (4) Differentiate INPUT and ACCEPT command. (5) Explain CLEAR and CLEAR ALL command. (6) Explain SUBSTR() and FOUND(). (b) Attempt any three : (1) What is the use of REPLACE command? Explain with suitable example. (2) Explain GATHER command with example. (3) Explain MODIFY COMMAND with suitable example. (4) Explain @.....PROMPT command with suitable example. (5) Write a program which finds the inputted string is palindrom or not. (6) List out all record pointer movement command and explain. 6

(c) Attempt any two : 10 (1) what is an Index file? Explain advantages of index command over sort command. (2) List out all looping statements and explain use of each structure with example. (3) What is procedure? How to call it and pass parameter to it? Explain with suitable example. (4) List File and Record related functions and explain it. (5) What is Array ? List function and command used with array. Q.2 (a) Answer any three : 6 (1) Explain SET DATE with suitable example. (2) Explain DTOC() and CTOD(). (3) Explain CEILING(), FLOOR() function with suitable example. (4) Input N numbers from the keyboard and print total of even numbers and odd number. (5) Explain Ltrim() and Rtrim(). (6) Discuss Various scope options with example. (b) Answer any three : 9 (1) Explain STUFF() and PROPER() function with example. (2) Explain APPEND FROM and INSERT command with suitable example. (3) What is difference between DBMS and RDBMS? (4) List all data model and explain each in detail. (5) Input N characters and check count the numbers of alphabets, digits and special characters. (6) List comparison of SORT and INDEX command. (c) Answer any two : 10 (1) Explain Datatypes in foxpro. (2)What do you mean by SORTING? Explain SORT command with its advantages and disadvantages. (3) what is database and RDBMS? What is data model?List and explain in detail. (4) Write note on SCATTER and GATHER command with suitable example. (5) write a program to enter four digit numbers and calculate the first and last digit number multiplication. All the best

You might also like