Friday, March 8, 2013

Oracle Questions and Anwsers





1. SNAPSHOT is used for
a. Synonym,
b. Table space,
c. System server,
d. Dynamic data replication

2. A form defined 
a. where data is placed on the screen
b. the width of each field
c. both a and b
d. none of the above

3. Report generators are used to 
a. store data input by a user
b. retrieve information from files
c. answer queries
d. both b and c

4. Large collection of files are called
a. fields
b. records
c. database
d. sectors

5. Constraints cannot be exported through EXPORT command
a. True,
b. False

6. What is the difference between a MESSAGEBOX and an ALERT
a. A messagebox can be used only by the system and cannot be used in user application while an alert can be used in user application also.
b. A alert can be used only by the system and cannot be use din user application while an messagebox can be used in user application also.
c. An alert requires a response from the user while a messagebox just flashes a message
and only requires an acknowledment from the user
d. A message box requires an response from the userwhile a alert just flashes a message an onlyrequires an acknowledment from the user

7. What is the difference between a LIST BOX and a COMBO BOX ?
a. In the list box, the user is restricted to selecting a value from a list but in a combo box the user can type in value which is not in the list
b. A list box is a data entry area while a combo box can be used only for control purposes
c. In a combo box, the user is restricted to selecting a value from a list but in a list box the
user can type in a value which is not in the list
d. None of the above

8. In a CLIENT/SERVER environment , which of the following would not be done at the client ?
a. User interface part,
b. Data validation at entry line,
c. Responding to user events,
d. None of the above

9. Why is it better to use an INTEGRITY CONSTRAINT to validate data in a table than to use a STORED
PROCEDURE ?
a. Because an integrity constraint is automatically checked while data is inserted into or updated in a table while a stored procedure has to be specifically invoked
b. Because the stored procedure occupies more space in the database than a integrity constraint definition
c. Because a stored procedure creates more network traffic than a integrity constraint definition

10. Which of the following is not an advantage of a client/server model ?
a. A client/server model allows centralised control of data and centralised implementation of business rules.
b. A client/server model increases developer;s productivity
c. A client/server model is suitable for all applications
d. None of the above.

11. What does DLL stands for ?
a. Dynamic Language Library
b. Dynamic Link Library
c. Dynamic Load Library
d. None of the above

12. POST-BLOCK trigger is a
a. Navigational trigger
b. Key trigger
c. Transactional trigger
d. None of the above

13. The system variable that records the select statement that SQL * FORMS most recently used
to populate a block is
a. SYSTEM.LAST_RECORD
b. SYSTEM.CURSOR_RECORD
c. SYSTEM.CURSOR_FIELD
d. SYSTEM.LAST_QUERY

14. The packaged procedure that makes data in form permanent in the Database is
a. Post
b. Post form
c. Commit form
d. None of the above

15. Which of the following is TRUE for the SYSTEM VARIABLE $$date$$
a. Can be assigned to a global variable
b. Can be assigned to any field only during design time
c. Can be assigned to any variable or field during run time
d. None of the above

16. Which of the following packaged procedure is UNRESTRICTED ?
a. CALL_INPUT,
b. CLEAR_BLOCK,
c. EXECUTE_QUERY,
d. USER_EXIT

17. Identify the RESTRICTED packaged procedure from the following
a. USER_EXIT,
b. MESSAGE,
c. BREAK,
d. EXIT_FORM

18. What is SQL*FORMS
a. SQL*FORMS is a 4GL tool for developing & executing Oracle based interactive applications.
b. SQL*FORMS is a 3GL tool for connecting to the Database.
c. SQL*FORMS is a reporting tool
d. None of the above.

19. Name the two files that are created when you generate a form using Forms 3.0
a. FMB & FMX,
b. FMR & FDX,
c. INP & FRM,
d. None of the above

20. What is a trigger
a. A piece of logic written in PL/SQL
b. Executed at the arrival of a SQL*FORMS event
c. Both A & B
d. None of the above

21. All datafiles related to a Tablespace are removed when the Tablespace is dropped
a. TRUE
b. FALSE

22. Size of Tablespace can be increased by
a. Increasing the size of one of the Datafiles
b. Adding one or more Datafiles
c. Cannot be increased
d. None of the above

23. Multiple Tablespaces can share a single datafile
a. TRUE
b. FALSE

24. A set of Dictionary tables are created
a. Once for the Entire Database
b. Every time a user is created
c. Every time a Tablespace is created
d. None of the above

25. What is a DATABLOCK
a. Set of Extents
b. Set of Segments
c. Smallest Database storage unit
d. None of the above

26. A Transaction ends
a. Only when it is Committed
b. Only when it is Rolledback
c. When it is Committed or Rolledback
d. None of the above

27. Which of the following does not affect the size of the SGA
a. Database buffer
b. Redolog buffer
c. Stored procedure
d. Shared pool

28. What does a COMMIT statement do to a CURSOR
a. Open the Cursor
b. Fetch the Cursor
c. Close the Cursor
d. None of the above

29. Which of the following is NOT VALID is PL/SQL
a Bool boolean;
b. NUM1, NUM2 number;
c. deptname dept.dname%type;
d. date1 date := sysdate

30. Which of the following is not correct about an Exception ?
a. Raised automatically / Explicitly in response to an ORACLE_ERROR
b. An exception will be raised when an error occurs in that block
c. Process terminates after completion of error sequence.
d. A Procedure or Sequence of statements may be processed.

31. Which of the following is not correct about User_Defined Exceptions ?
a. Must be declared
b. Must be raised explicitly
c. Raised automatically in response to an Oracle error
d. None of the above

32. A Stored Procedure is a
a. Sequence of SQL or PL/SQL statements to perform specific function
b. Stored in compiled form in the database
c. Can be called from all client environmets
d. All of the above

33. Which of the following is not correct about the “TABLE” datatype ?
a. Can contain any no of columns
b. Simulates a One-dimensional array of unlimited size
c. Column datatype of any Scalar type
d. None of the above

34. Which of the following is not correct about Cursor ?
a. Cursor is a named Private SQL area
b. Cursor holds temporary results
c. Cursor is used for retrieving multiple rows
d. SQL uses implicit Cursors to retrieve rows

35. Is it possible to modify a Datatype of a column when column contains data ?
a. Yes
b. No

36. Which of the following is not correct about a View ?
a. To protect some of the columns of a table from other users
b. Ocuupies data storage space
c. To hide complexity of a query
d. To hide complexity of a calculations

37. Which is not part of the Data Definiton Language ?
a. CREATE
b. ALTER
c. ALTER SESSION

38. The Data Manipulation Language statements are
a. INSERT
b. UPDATE
c. SELECT
d. All of the above

39. What are the different events in Triggers ?
a. Define, Create
b. Drop, Comment
c. Insert, Update, Delete
d. All of the above

40. What SYSTEM VARIABLE is used to refer DATABASE TIME ?
a. $$dbtime$$
b. $$time$$
c. $$datetime$$
d. None of the above

41. When do you get a .PLL extension ?
a. Save Library file
b. Generate Library file
c. Run Library file
d. None of the above

42. List of Values (LOV) supports
a. Single column
b. Multi column
c. Single or Multi column
d. None of the above
d. None of the above

43. What is the Maximum allowed length of Record group Column in Oracle Forms?
a. 25
b. 30
c. 35
d. 40

44. What is not the display styles of list items?
a. Pop List
b. Text List
c.  Combo Box
d.  List Box

45. Can you pass data parameters to forms?
a.  Yes
b.  No

46. What are the built-ins that are used for setting the LOV properties at runtime?
a.  Get_lov_property
b. Set_lov_peroperty
c.  Show_lov_property
d. Both A & B

47. What is the use of place holder column?
a.  To calculate the values
b.  To hold calculated values
c.  To summarize the values
d.  To execute the queries

48. What are the default parameter that appear at run time in the parameter screen?
a. destype
b. desname
c. both a & b
d. none of them

49. The technology type of Software Engineering is?
a. Automated
b. Layered
c. Non-Automated
d. None of them

50. Which model works on only small projects?
a. Classic Life Cycle
b. Build and Fix
c. Waterfall
d. None of them


Answers :
1
2
3
4
5
6
7
8
9
10
D
A
D
C
B
C
A
D
A
C
11
12
13
14
15
16
17
18
19
20
B
A
D
C
B
D
D
A
C
C
21
22
23
24
25
26
27
28
29
30
B
B
B
A
C
C
C
D
B
C
31
32
33
34
35
36
37
38
39
40
C
D
A
B
B
B
C
D
C
A
41
42
43
44
45
46
47
48
49
50
A
C
B
D
B
D
B
C
B
B

No comments:

Post a Comment

Best Blogger TipsGet Flower Effect