Pages

Pages

Saturday, 25 January 2020

80 Top Oracle DBA Multiple Choice Questions and Answers

Oracle DBA Multiple Choice Questions and Answers

1.SNAPSHOT is used for_____ .
A. Synonym,
B. Table space,
c System server,
d Dynamic data replication
Ans : D

2.We can create SNAPSHOTLOG for[DBA]
A. Simple snapshots,
B. Complex snapshots,
C. Both A & B,
D. Neither A nor B
Ans : A

3.Transactions per rollback segment is derived from[DBA]
A. Db_Block_Buffers,
B. Processes,
C. Shared_Pool_Size,
D. None of the above
Ans : B

4.ENQUEUE resources parameter information is derived from[DBA]
A. Processes or DDL_LOCKS and DML_LOCKS,
B. LOG_BUFFER,
C. DB__BLOCK_SIZE..
Ans : A

5.LGWR process writes information into
A. Database files,
B. Control files,
C. Redolog files,
D. All the above.
Ans : C

6.SET TRANSACTION USE ROLLBACK SEGMENT is used to create user objects in a particular Tablespace
A. True,
B. False
Ans : False

7.Databases overall structure is maintained in a file called
A. Redolog file,
B. Data file,
C. Control file,
D. All of the above.
Ans : C

8.These following parameters are optional in init.ora parameter file DB_BLOCK_SIZE, PROCESSES
A. True,
B. False
Ans : False

10.Constraints cannot be exported through EXPORT command
A. True,
B. False
Ans : B

11.It is very difficult to grant and manage common privileges needed by different groups of database users using the roles
A. True,
B. False
Ans : B

12.What is difference between a DIALOG WINDOW and a DOCUMENT WINDOW regarding moving the window with respect to the application window
A. Both windows behave the same way as far as moving the window is concerneD.
B. A document window can be moved outside the application window while a dialog window cannot be moved
C. A dialog window can be moved outside the application window while a document window cannot be moved
Ans : C

13.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 an response from the userwhile a messagebox just flashes a message
and only requires an acknowledment from the user
D. An message box requires an response from the userwhile a alert just flashes a message an only
requires an acknowledment from the user
Ans : C

14.Which of the following is not an reason for the fact that most of the processing is done at the server ?
A. To reduce network traffiC.
B. For application sharing,
C. To implement business rules centrally,
D. None of the above
Ans : D

15.Can a DIALOG WINDOW have scroll bar attached to it ?
A. Yes,
B. No
Ans : B

16.Which of the following is not an advantage of GUI systems ?
A. Intuitive and easy to use.,
B. GUI’s can display multiple applications in multiple windows
C. GUI’s provide more user interface objects for a developer
D. None of the above
Ans: D

17.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
Ans: A

18.When do you get a .PLL extension ?
A. Save Library file
B. Generate Library file
C. Run Library file
D. None of the above
Ans : A

19.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
Ans : D

20.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
Ans : A

21.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.
Ans : C

22.What does DLL stands for ?
A. Dynamic Language Library
B. Dynamic Link Library
C. Dynamic Load Library
D. None of the above
Ans : B

23.POST-BLOCK trigger is a
A. Navigational trigger
B. Key trigger
C. Transactional trigger
D. None of the above
Ans : A

24.You can prepare for these Oracle employment qualification test multiple choice questions. People usually get similar questions in the regular oracle placement papers. Check out the answers given.
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
Ans: D

25.Which of the following is TRUE for the ENFORCE KEY field
1. ENFORCE KEY field characterstic indicates the source of the value that SQL*FORMS uses to populate the field
2. A field with the ENFORCE KEY characterstic should have the INPUT ALLOWED charaterstic turned off
A. Only 1 is TRUE
B. Only 2 is TRUE
C. Both 1 and 2 are TRUE
D. Both 1 and 2 are FALSE
Ans : A

26.What is the maximum size of the page ?
A. Characters wide & 265 characters length
B. Characters wide & 265 characters length
C. Characters wide & 80 characters length
D. None of the above
Ans : B

27.A FORM is madeup of which of the following objects
A. block, fields only,
B. blocks, fields, pages only,
C. blocks, fields, pages, triggers and form level procedures,
D. Only blocks.
Ans : C

28.For the following statements which is true
1. Page is an object owned by a form
2. Pages are a collection of display information such as constant text and graphics.
A. Only 1 is TRUE
B. Only 2 is TRUE
C. Both 1 & 2 are TRUE
D. Both are FALSE
Ans : B

29.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
Ans : C

30.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
Ans : B

31.Which of the following packaged procedure is UNRESTRICTED ?
A. CALL_INPUT,
B. CLEAR_BLOCK,
C. EXECUTE_QUERY,
D.  USER_EXIT
Ans : D

32. Identify the RESTRICTED packaged procedure from the following
A. USER_EXIT,
B. MESSAGE,
C. BREAK,
D. EXIT_FORM
Ans : D

32.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.
Ans : A

33.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
Ans : C

34.Which of the folowing is TRUE for a ERASE packaged procedure
1. ERASE removes an indicated Global variable & releases the memory associated with it
2. ERASE is used to remove a field from a page
A. Only 1 is TRUE
B. Only 2 is TRUE
C. Both 1 & 2 are TRUE
D. Both 1 & 2 are FALSE
Ans : A

35.All datafiles related to a Tablespace are removed when the Tablespace is dropped
A. TRUE
B. FALSE
Ans : B

36.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
Ans : B

37.Multiple Tablespaces can share a single datafile
A. TRUE
B. FALSE
Ans : B

38.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
Ans : A

39.Datadictionary can span across multiple Tablespaces
A. TRUE
B. FALSE
Ans : B

40.What is a DATABLOCK
A. Set of Extents
B. Set of Segments
C. Smallest Database storage unit
D. None of the above
Ans : C

41.Can an Integrity Constraint be enforced on a table if some existing table data does not satisfy the constraint
A. Yes
B. No
Ans : B

42. A column defined as PRIMARY KEY can have NULL’s
A. TRUE
B. FALSE
Ans : B

43. 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
Ans : C

44. A Database Procedure is stored in the Database
A. In compiled form
B. As source code
C. Both A & B
D. Not stored
Ans : C

45.A database trigger doesnot apply to data loaded before the definition of the trigger
A. TRUE
B. FALSE
Ans : A

46.Dedicated server configuration is
A. One server process – Many user processes
B. Many server processes – One user process
C. One server process – One user process
D. Many server processes – Many user processes
Ans : C

47. Which of the following does not affect the size of the SGA
A. Database buffer
B. Redolog buffer
C. Stored procedure
D. Shared pool
Ans : C

48. 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
Ans : D

49.Which of the following is TRUE
1. Host variables are declared anywhere in the program
2. Host variables are declared in the DECLARE section
A. Only 1 is TRUE
B. Only 2 is TRUE
C. Both 1 & 2are TRUE
D. Both are FALSE
Ans : B

50. 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
Ans : B

51. GET_BLOCK property is a
A. Restricted procedure
B. Unrestricted procedure
C. Library function
D. None of the above
Ans : D

52.What will be the value of svar after the execution ?
A. Error
B. 10
C. 5
D. None of the above
Ans : A

53.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.
Ans : C

54.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
Ans : C

55.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
Ans : D

56.Which of the following statement is false
A. Any procedure can raise an error and return an user message and error number
B. Error number ranging from 20000 to 20999 are reserved for user defined messages
C. Oracle checks Uniqueness of User defined errors
D. Raise_Application_error is used for raising an user defined error.
Ans : C

57.Is it possible to open a cursor which is in a Package in another procedure ?
A. Yes
B. No
Ans : A

58.Is it possible to use Transactional control statements in Database Triggers?
A. Yes
B. No
Ans : B

59.Is it possible to Enable or Disable a Database trigger ?
A. Yes
B. No
Ans : A

60.PL/SQL supports datatype(s)
A. Scalar datatype
B. Composite datatype
C. All of the above
D. None of the above
Ans C

61.Find the ODD datatype out
A. VARCHAR2
B. RECORD
C. BOOLEAN
D. RAW
Ans : B

62.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
Ans : A

63. Find the ODD one out of the following
A. OPEN
B. CLOSE
C. INSERT
D. FETCH
Ans C

64. 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
Ans : B

65. Which of the following is NOT VALID in PL/SQL ?
A. Select … into
B. Update
C. Create
D. Delete
Ans : C

67. What is the Result of the following ‘VIK’NULL’RAM’ ?
A. Error
B. VIK RAM
C. VIKRAM
D. NULL
Ans : C

68.A CONTROL BLOCK can sometimes refer to a BASETABLE ?
A. TRUE
B. FALSE
Ans : B

69. Is it possible to modify a Datatype of a column when column contains data ?
A. Yes
B. No
Ans: B

70. 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
Ans : B

71. Which is not part of the Data Definiton Language ?
A. CREATE
B. ALTER
C. ALTER SESSION
Ans : C

72. List of Values (LOV) supports
A. Single column
B. Multi column
C. Single or Multi column
D. None of the above
Ans : C

73. If an UNIQUE KEY constraint on DATE column is created, will it accept the rows that are inserted with
SYSDATE ?
A. Will
B. Won’t
Ans : B

74. What are the different events in Triggers ?
A. Define, Create
B. Drop, Comment
C. Insert, Update, Delete
D. All of the above
Ans : C

75. What built-in subprogram is used to manipulate images in image items ?
A. Zoom_out
B. Zoom_in’
C. Image_zoom
D. Zoom_image
Ans : C

76. Can we pass RECORD GROUP between FORMS ?
A. Yes
B. No
Ans : A

77. SHOW_ALERT function returns
A. Boolean
B. Number
C. Character
D. None of the above
Ans : B

78. What SYSTEM VARIABLE is used to refer DATABASE TIME ?
A. $$dbtime$$
B. $$time$$
C. $$datetime$$
D. None of the above
Ans : A

79. SYSTEM.EFFECTIVE.DATE varaible is
A. Read only
B. Read & Write
C. Write only
D. None of the above
Ans : C

80. How can you CALL Reports from Forms4.0 ?
A. Run_Report built_in
B. Call_Report built_in
C. Run_Product built_in
D. Call_Product built_in
Ans : C

No comments:

Post a Comment