Dr. G R DAMODARAN COLLEGE OF SCIENCE, COIMBATORE 641014 School of Information Technology and Computer Science I M.

Sc Information Technology [2010-2012] Batch SEMESTER-I Core- ADVANCED RDBMS -163B Multiple Choice Questions 1.________ run on a single computer system and do not interact with other computer systems. 1. Single user system 2. Centralized system 3. Multiuser system 4. Parallel system 2. _______ manages access structures, query evaluation and optimization. 1. Back end 2. Front end 3. Package 4. DBMS 3. _______ consist of tools such as forms and reports. 1. Back end 2. Front end 3. Package 4. DBMS 4.______ is a application program interface standard from Microsoft for connecting to server. 1. RPC 2. JDBC 3. ADO 4. ODBC 5.________servers which is widely used in relational data base systems. 1. Data servers 2. Transaction servers

3. Query servers 4. Client servers 6. The operation of using from finer granularity data to a coarser granularity is called ______ 1. drill down. 2. pivoting. 3. roll up. 4. slicing. 7. Moving from coarser granularity data to finer granularity data is called_____ 1. drill down. 2. pivoting. 3. roll up. 4. slicing. 8. The OLAP system used multidimensional array in memory to store data cubes are referred as ______ 1. ROLAP. 2. HOLAP. 3. OLAP. 4. MOLAP. 9. OLAP implementation using only relational data base features is called ________ 1.HOLAP. 2. LOAP. 3. ROLAP. 4. MOLAP. 10. ______ is a process of analyzing large data base and knowledge discovery. 1. Data warehousing 2. Data mining 3. Data analyzing 4. Data discovery 11.______ storages lose contents when power is switched off.

1. Volatile storage 2. Nonvolatile storage 3. Disk storage 4. Physical storage 12 ________ storages persist contents even power is switched off. 1. Volatile storage 2. Nonvolatile storage 3. Disk storage 4. Physical storage 13. The most costly form of storage is ______ 1. main memory. 2. buffer. 3. floppy. 4. cache. 14. In magnetic disk the surface of the platter is divided into_____________ 1. sectors. 2. cylinders. 3. tracks. 4. blocks. 15. Each track is divided into_____________ 1. sectors. 2. cylinders. 3. tracks. 4. blocks. 16. ____________ key is used to look up the records in file. 1. Primary key 2. Foreign key 3. Search key 4. Composite key 17. In_____________ index record apperas for every search key value in the file.

1. primary index 2. dense index 3. sparse index 4. secondary index 18. In PL/SQL, which port contains the condition section? 1. Executable commands. 2. Exception handling. 3. Declaration. 4. Result part. 19. _____________ attribute is used to find the cursor has been opened. 1. %FOUND 2. % NOTFOUND 3. %ISOPEN 4. %ROWCOUNT 20. How many types are there in triggers? 1. 3. 2. 4. 3. 5. 4. 6. 21. _____________ property will check whether all the operation of a transaction completed or none. 1. Atomicity 2. Consistency 3. Isolation 4. Durability 22. In which state, the transaction will wait for the final statement has been executed? 1. Active. 2. Failed. 3. Aborted. 4. Partially committed.

numbers. 2. immediate 2. Printer. 2. mergesort 3. internal merge sort 25. heapsort 2. dp-pointer. 3. Buffer 27. 1. How many steps involved in query processing? 1. 28. 26. db-pointer. external sort-merge 4. Cache 4. For the relation which is not fit in memory_____________ is a good choice. 4. 1.23. 1. 24. the log is sequence of _____________ 1. records. Record 2. which will help to point out the current consistent copy of the database? 1. 2. filter. 4. In log based recovery. _____________ blocks are the blocks residing temporarily in main memory. 3. In shadow database. 3. The _____________ database modification scheme allows database updates of an uncommitted transaction to be made. blocks. bd-pointer. deferred . 4. 4. 3. 2. 1. File 3.

Database maintains an in-memory buffer of data blocks are_____________ 1. records 32. blocks 4. 3. Shadow paging 3. 3. functions 2. 1. 1. Key identifier 33. database buffering. _____________ programming languages entered object oriented programming language to deal with database 1. containment hierarchy. composite hierarchy. _____________ is a body of code to implement a message. methods 3. In object containment . Crash recovery 30. 4. sequence 29. Disk recovery 2. 2. _____________ is used to uniquely identify objects. database management. Common .multiple levels of containment create a _____________ 1. Dish shadowing 4.3. 2. mined hierarchy. _____________ is an alternative of log based recovery 1. Unique identifier 3. 31. 34. In object structure. Object identifier 2. multiple hierarchy. Function identifier 4. 4. frequent 4. database maintenance. database blocks.

fragmentation. In parallel database. repetition. complex queries 4. 3. partitional processor 38. primary 2. Procedure 4. replication. range processor 4. point queries 3. The system maintains multiple copies of data for faster retrieval is called _____________ 1. multi processor 3. primary level 36. low level 2. In_____________ distributed database different sites use different schemes and soft wares 1. 2. range queries 2.queries are expressed _____________ languages 1. Primary 3. secondary 3.2. machine level 3. high level 4. 1. distribution. 4. virtual processor 2. Persistent 35. heterogeneous 39. homogeneous 4. Skew in range partitioning can be handled elegantly using_____________ partitioning 1. For locating a triple associatively_____________ queries are used. . basic queries 37.

database manager 2. 1. file manager 3. _____________ initially developed as multithreaded servers to support large numbers of terminals from a single process.40. vertical 3. parallel 4. In _____________ Fragmentation the relation is split into several smaller schemas. _____________ is an alternative for individual login per terminal. distributed 41. Plasma panel 42. resource manager 45. 1. Thread per client model 2. sequence 4. multi 2. Multi threaded 4. distributed 44. acceptable termination . single 3. LCD monitors 3. 1. VGA monitors 4. Multi processor 3. Process per client model 43. 1. In _____________ states every execution of a workflow will terminate in a state that satisfies the failure-atomicity requirements defined by the designer. 1. 1. horizontal 2. record manager 4. ATP monitor treats each subsystem as a _____________ that provides transactional access to some set of resources. In _____________ process model all remote terminals connect to a single server process. TP monitors 2.

2. transaction 46. Fully committed 48. 4. soft deadline. Fully distributed 3. firm deadline. hard Deadline. 3. 1. Partially distributed 2. _____________ has no scheduler. firm deadline.2. Event agents 4. Control agents 2. time deadline. Procedure agents 47. 3. The task has zero value if it completed after the deadline is defined as _____________ 1. hard Deadline. soft deadline. acceptable 4. Fully committed 49. termination 3. _____________ control the execution of a task by a processing entity. 4. 1. time deadline. 1. Task agents 3. Partially committed 4. Partially committed 4. _____________ has one scheduler for each workflow. 50. Partially distributed 2. Fully distributed 3. . 2. The task has diminishing value if it is completed after the deadline is defined as __________ 1.

SELECT address1||'. Catch_#22. SUBSTRING. 4. select * from EMP where nvl(EMPNO. DROP. Column. 4. 3. 2. 54. The primary key on table EMP is the EMPNO column. Which character function can be used to return a specified portion of a character string? 1. 1. 1966_Invoices. 2. 52. 4. 2. 4. 3. 53. 3. TRUNCATE. INSTR. Which Oracle access method is the fastest way for Oracle to retrieve a single row? 1. #Invoices. SUBSTR. Access via unique index. DELETE. 56. 3. Table access by ROWID. Full table scan. POS. 55. Primary key access. CASCADE. 2.'||address2||'. '00000') = '59384'. 3. Which command will delete all data from a table and will not write to the rollback segment? 1. 1. Which of the following statements will not use the associated index on EMPNO? 1. Which of the following can be a valid column name? 1. 2. 4.'||address2 "Address" FROM employee.51. 4. . 2. 3.

03-JUL-00. @ 59. LASTNAME from EMP where EMPNO = '59384'. 2.2. LPAD. what is returned by this statement: SELECT to_char(NEXT_DAY(sysdate. 3. 12-JUL-00. 'MONDAY'). 4. what is the minimum number of conditions that should appear in the WHERE clause of a four-table join? 1. select * from EMP where EMPNO = '59384'. 3. 58. 10 July 2000. 3. 4. 4. Default tablespace for the user.Assuming today is Monday. select EMPNO. . 11-JUL-00. Oracle will give an error. 1. 4. 61. 5. select 1 from EMP where EMPNO = '59834'. 10-JUL-00. 2. 2. Users tablespace. 2. 3. MAX.Which of the following SQL functions can operate on any data type? 1. 60.Which character is used to continue a statement in SQL*Plus? 1. 2. System tablespace. where will Oracle store the segment? 1. To produce a meaningful result set without any cartesian products. 57. 4. 3.When a user creates an object without a TABLESPACE clause. 'DD-MON-RR') FROM dual. * 2. / 3. 4.

LOWER. simple or Complex snapshots. LGWR process writes information into___________ 1. 64. simple snapshots. 66. 3. processes. SNAPSHOT is used for [DBA]_________ 1. 4. ENQUEUE resources parameter information is derived from[DBA]________ 1. 67. synonym. Transactions per rollback segment is derived from[DBA]_________ 1. 2. 4. redolog files. 3. DB__BLOCK_SIZE. 2. complex snapshots. processes or DDL_LOCKS and DML_LOCKS. shared_Pool_Size. 4. LOG_BUFFER. Db_Block_Buffers. redolog file. table space. buffers. 2. CEIL. 4. simple and Complex snapshots. 62. 2. 4. 63. dynamic data replication. system server. control files. 3.3. processes or LOG_BUFFER and DB_BLOCK_SIZE. undolog files. database files. 4. We can create SNAPSHOTLOG for[DBA]______________ 1. 65. 3. 2. Databases overall structure is maintained in a file called______________ 1. . 3.

A document window can be moved outside the application window while a dialog window cannot be moved. A list box is a data entry area while a combo box can be used only for control purposes. 2. 3. undolog file. 68. 4. What is difference between a DIALOG WINDOW and a DOCUMENT WINDOW regarding moving the window with respect to the application window? 1. 3. 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. control box is data entry area and list box can be used only for control purposes. In the list box. 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. 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. 2. control file. 69. 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. An message box requires an response from the userwhile a alert just flashes a message an only requires an acknowledment from the user. What is the difference between a MESSAGEBOX and an ALERT? 1. 4. An alert requires an response from the userwhile a messagebox just flashes a message and only requires an acknowledment from the user. 4. 3. . In a combo box. 2. 3.2. 4. 70. A dialog window can be moved outside the application window while a document window cannot be moved. Both windows behave the same way as far as moving the window is concerned. Both windows behave in a different way as far as moving the window. data file. What is the difference between a LIST BOX and a COMBO BOX ? 1.

75. Why is it better to use an INTEGRITY CONSTRAINT to validate data in a table than to use a STORED PROCEDURE ? 1. transactional trigger. 2. 3.71. 2. A client/server model is suitable only for reference tables. navigational trigger. SYSTEM. 3. Dynamic Link Library.CURSOR_FIELD. 2. POST-BLOCK trigger is a________ 1. 3. 4. 4. A client/server model increases developer. Because a stored procedure creates more redundancy than a integrity constraint definition. 73. Dynamic Language Library. . SYSTEM. Dynamic Load Library. A client/server model is suitable for all applications. 2. 72. SYSTEM. 3.s productivity. What does DLL stands for ? 1. Dynamic Load Language. The system variable that records the select statement that SQL * FORMS most recently used to populate a block is_________________ 1. 4. 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.LAST_RECORD. statement level triggers. 2.CURSOR_RECORD. 74. Which of the following is not an advantage of a client/server model? 1. Because the stored procedure occupies more space in the database than a integrity constraint definition. key trigger. A client/server model allows centralised control of data and centralised implementation of business rules. 3. 4. Because a stored procedure creates more network traffic than a integrity constraint definition.

Characters wide & 40 charecters length. . 76. 3. triggers and form level procedures. post. 4. Can be assigned to any variable or field during run time. fields. blocks. A FORM is madeup of which of the following objects? 1. Can be assigned to a global variable. post form. blocks. commit form. uncommit form. What is the maximum size of the page ? 1. Characters wide & 265 characters length. 4. USER_EXIT. 3. CLEAR_BLOCK. 78. Which of the following is TRUE for the SYSTEM VARIABLE $$date$$? 1. 2. USER_EXIT. Can be assigned to any field only during design time. Can be assigned to a local variable. fields. 81. 4. 79. 4. MESSAGE. 2. The packaged procedure that makes data in form permanent in the Database is_______ 1.LAST_QUERY. SYSTEM. CALL_INPUT. 3. Characters wide & 80 characters length. 2. 4. block. Characters wide & 1265 characters length. 77. Which of the following packaged procedure is UNRESTRICTED? 1.4. Identify the RESTRICTED packaged procedure from the following:1. 2. Only blocks. pages. 80. 2. 3. fields only. 3. pages only. EXECUTE_QUERY. 2.

4. What is a DATABLOCK? 1. . 2. cannot add the datafiles. 2. 4. 3. every time a duplicate is created. Size of Tablespace can be increased by__________ 1. BREAK. 2. SQL*FORMS is a 4GL tool for developing & executing Oracle based interactive applications. Set of Extents. 3. INP & FRM. Smallest Database storage unit. 3. Set of blocks. 2. every time a user is created. Set of Segments. 85. 4. SQL*FORMS is a 3GL tool for connecting to the Database. What is SQL*FORMS? 1. A set of Dictionary tables are created_____________ 1. 83. increasing the size of one of the Datafiles. EXIT_FORM.3. cannot be increased. FMR & FDX. 82. adding one or more Datafiles. SQL*FORMS is a package. FMB & FMX.0? 1. 2. 84. INP & FMR. 4. 4. Name the two files that are created when you generate a form using Forms 3. SQL*FORMS is a reporting tool. 4. once for the Entire Database. 86. 3. 3. every time a Tablespace is created.

91. 4. when it is Committed or Rolledback. Which of the following does not affect the size of the SGA? 1. 3. process 90. 88. 92. Which of the following is NOT VALID in PL/SQL? 1. 2. many server processes – One user process. 3.87. only when it is Committed. only when it is Rolledback. Database trigger does not apply to data loaded before the ___________of the trigger 1. Shared pool.piled form and source code. Database buffer. 3. Stored procedure. 2.as source code. NUM1. 4. transaction 4. 4. A Database Procedure is stored in the Database__________ 1. 3. only when it is initialized. 4. in compiled form. declaration 3. NUM2 number. definition 2. Dedicated server configuration is________________ 1. Bool boolean. 89. 2. many server processes – Many user processes. 2. A Transaction ends ____________ 1. 2. one server process – One user process.stored. Deptname dept. Redolog buffer. 3.dname%type. one server process – Many user processes. 4. date1 date := sysdate .

Must be raised explicitly. 97. 4. 3. 5. 2.93. Scalar datatype. 4. PL/SQL supports which datatype? 1. End. Raised automatically / Explicitly in response to an ORACLE_ERROR. . 3. What will be the value of svar after the execution ? 1. 2. svar number := 5 Begin goto <<>> if fvar is null then <<>> svar := svar + 5 end if. 2. Scalar and Composite datatype. Process terminates after completion of error sequence. Must be copied. 3. 94. 4. Declare fvar number := null. Which of the following is not correct about User_Defined Exceptions ? 1. 95. 4. Which of the following is not correct about an Exception ? 1. 15. Compound datatype. Raised automatically in response to an Oracle error. 10. 96. 2. Error. VARCHAR2. An exception will be raised when an error occurs in that block. Composite datatype. Must be declared. A Procedure or Sequence of statements may be processed. Find the ODD datatype out? 1. 3.

Find the ODD one out of the following? 1. 2. 103. 3. INSERT. 3. OPEN. VIKRAM. 4. 3. Select … into. Create. Simulates a One-dimensional array of unlimited size. Can contain any number of columns. 3. Column datatype of any Scalar type.2. CLOSE. 2. BOOLEAN. 4. SQL uses implicit Cursors to retrieve rows. Cursor holds temporary results. 4. Cursor is a named Private SQL area. c number := 10. NULL. . 2. FETCH. RAW. Which of the following is NOT VALID in PL/SQL ? 1. Declare a number := 5. 4. 100. Update. 102. 101. Composite datatype of any Scalar type. 99. What is the Result of the following ‘VIK’NULL’RAM’ ? 1. b number := null. Delete. 2. 3. VIK RAM. Error. 4. 3. Cursor is used for retrieving multiple rows. Which of the following is not correct about Cursor ? 1. 98. 2. Which of the following is not correct about the “TABLE” datatype ? 1. 4. RECORD.

3. EMPNO ENAME SAL A822 RAMASWAMY 3500 A812 NARAYAN 5000 A973 UMESH A500 BALAJI 5750 Using the above data Select count(sal) from Emp will retrieve 1. 2. 3. Which of the following is not correct about a View ? 1. Define. 6. To protect some of the columns of a table from other users. 4. . 105. ALTER. Ocuupies data storage space. 2. 0.Begin if a > b AND a <> ( Select count(*) from Emp E2 where E1. 1. 2. 5000. 3.2850.2500. 3. 4. Create. 4. CREATE SESSION.5750. 5000. 2850.5750.SAL ) will retrieve 1.5000. 2. ALTER SESSION. CREATE. 104. What are the different events in Triggers ? 1.SAL > E2. To hide complexity of a query. 3. Which is not part of the Data Definition Language ? 1. 107. 106. 4. 3500. To hide complexity of a calculations.

How can you CALL Reports from Forms4. number. 4. 112. read & write. 2. What built-in subprogram is used to manipulate images in image items ? 1. Zoom_image.PLL extension ? 1. Call_Product built_in. write only. fraction. Run_Report built_in. Comment.. character. boolean. Delete. 4. . Zoom_out. 3. 111. $$time$$. 2. 3. When do you get a . Image_zoom. Zoom_in’.EFFECTIVE. 3. What SYSTEM VARIABLE is used to refer DATABASE TIME ? 1. $$datetime$$. repeat only. 113. Save Library file. 2. 3. 4. $$datatime$$. 109. $$dbtime$$. 3. Update. 4. Commit. SHOW_ALERT function returns_____________ 1.2.DATE varaible is__________ 1. 3.0 ? 1. Run_Product built_in. 4. Select. 4. 2. SYSTEM. Insert. read only. Drop. 2. 108. Call_Report built_in. 110.

3. 117. 114.2.0 ? 1. 119. 4. . Run Library file. 3. Two state control. 3. alternate column. Delete Library file. Collection of PL/SQl functions. LOV. 4. 2. Collection of External field. EXE file. Collection of built_in packages. single column. List of Values (LOV) supports____________ 1. 3. 4. 115. Three state control. One state control. 2. 118. single or Multi column. 2. 4. 4. 4.5 applications to various platforms ? 1. 2. GET_IMAGE_FILE. FMB file. 3. 3.5 ? 1. FMX file. Collection of PL/SQL procedures & triggers. READ_FILE. Generate Library file. How do you pass values from one form to another form ? 1. What built_in procedure is used to get IMAGES in Forms 4. GET_FILE. procedures and packages. What do you mean by CHECK BOX ? 1. What is Library in Forms 4. multi column. 116. READ_IMAGE_FILE. What type of file is used for porting Forms 4. 2. Four state control. FMT file.

2. 3. Poplist. for all the records retrieved. TERM is the terminal definition file that describes the terminal from which you are using R20RUN ( Reports run time ). Generating form.0.5 ? 1. Modal window. Parameters. Tlist. 120. 4. List of values. Modeless window. 121. 3. only for 20 records. 3. 4. There is no Methods called TERM in Reports 2. When is a . Run form. 4. Command window. 122. then a summary value will be calculated___________ 1. 4.2. 3. for all therecords in the referenced table. Local variables. Values.0. 2. TERM is the terminal definition file that describes the terminal from which you are using R20DES ( Reports designer ).FMB file extension is created in Forms 4. Combo box. There is no Parameter called TERM in Reports 2. 124. 123. Identify the Odd one of the following statements? 1. Common window. What is an ALERT ? 1. 4. 3. If the maximum records retrieved property of a query is set to 10. 3. 2. 2. Executing form. 2. . Save form. What is TERM ? 1.

database opened. Formula & Place holder columns. . There is no hierarchy between unlinked groups. Summary. 2. instance started. what is the hierarchy between them? 1. WHERE & START WITH. 125. 3. WHERE. RDF file & . 4. Formula & Place holder columns. 128. Summary.RDF file. The group that is right ranks higher than the group that is to the left. 129. RDX file & . What are the different file extensions that are created by Oracle Reports ? 1. Standard deviation. 3.4. If two groups are not linked in the data model editor. 2. 2. 2. The group that is above or leftmost ranks higher than the group that is to right or below it. Database mounted & Database opened. Place holder & Procedure column. 130.RDF file. What are the types of Calculated columns available ? 1. 3. With which function of a summary item in the COMPUTE AT optio required ? 1. Summary. START WITH & HAVING. REP file & . Sequence of events takes place while starting a Database is _______________ 1. 2. RDX file & . 3. 2. START WITH & HAVING. Sum. 3. % of Total function. Instance started. Variance.RPX file. The group that is left ranks higher than the group that is to the right. 127.What are the SQL clauses supported in the link property sheet ? 1.REP file. 4. 4. 126. Procedure & Formula columns. 4. WHERE & HAVING. only for 10 records. File mounted. Procedure. 4.

4. ENQUEUE_RESOURCES parameter information is derived from__________ 1. to create Rollback segments. Instance started & file mounted. 136. 2. May have multi-valued attributes. 4. 3. Are always in 1NF. 2. DBA_FREE_SPACES. The functional dependency is as follows AB -> B AC -> C . 3. ODBC. database opened. 131. ODBC. ODBC. LOG BUFFER. to take Backup of the Oracle Database. 132. 4. 4. PROCESS or DDL_LOCKS & DML_LOCKS. 133. 4. to create Schedule. DB_BLOCK_SIZE. DBA_ROLES. DB_BLOCK_BUFFERS.AOD.INI. 134. 3. DBA_SEGMENTS. 135. 3. ODBCDRV. 3. files mounted.3. Instance started & Database opened. Can be further denormalised. What file is read by ODBC to load drivers ? 1. to import data from the exported dump file. DBA_ROLLBACK_SEG. 4. Are totally unnormalised. A B C is a set of attributes. EXP command is used ________________ 1.INI. 2. 2. The status of the Rollback segment can be viewed through _____________ 1. Tables derived from the ERD____________ 1. 2.DLL.

4. application programs and queries submitted to the system. 3. is in 3NF. 140. 1. A dominant entity is the entity_______________ 1. Error – ORDER BY clause. 138. Not an error. 2. 2. CUSTOMER From CUST_DTLS Where REGION = ‘E’ Order By CUSTOMER The above is_________________ 1. Transaction manager 4. ________________ is a program module that provides the interface between the low-level data stored in database. is in BCNF. 3. entity in DFD is converted to attributes of an entity in ERD. entities in ERD should correspond to an existing entity/store in DFD. Error – the string in single quotes ‘NORTH’ and ‘SOUTH’. is in 2NF. 139. 4. 3. 137. Select ‘NORTH’. Error – the string should be in double quotes. relations in ERD has 1 to 1 correspondence to processes in DFD. File manager . Buffer manager 3.C -> B 1. CUSTOMER From CUST_DTLS Where REGION = ‘N’ Order By CUSTOMER Union Select ‘EAST’. 3. relationships in ERD has 1 to 1 correspondence to flows in DFD. Storage manager 2. In mapping of ERD to DFD _________________ 1. 2. on the 1 side in a 1 : N relationship. nothing to do with 1 : 1 or 1 : N relationship. on the N side in a 1 : N relationship. 2. on either side in a 1 : 1 relationship. 4. is in 1NF. 4.

2. Transaction manager 4. Storage manager 2. Transaction manager 4. Data Definition Language. _______________ is a program module. Storage manager 2. Which is the subset of SQL commands used to manipulate Oracle Database structures. Data Described Language. File manager 143. Storage manager 2. remains in a consistent state despite system failures and concurrent transaction execution proceeds without conflicting. IS NULL operator. Buffer manager 3. 3. Data Retrieval Language. Buffer manager 3. ___________________ is a program module. Transaction manager 4. including tables? 1. LIKE operator. 4. File manager 144. 1. . Buffer manager 3. 1. 1. 145. Data Manipulation Language. which is responsible for fetching data from disk storage into main memory and deciding what data to be cache in memory. File manager 142. 2. 3. What operator performs pattern matching? 1.141. NOT operator. which ensures that database.________________ is a program module. ASSIGNMENT operator. which manages the allocation of space on disk storage and data structure used to represent information stored on a disk. 4.

4. % 148. OPEN. $ 4. @ 3. What is the parameter substitution symbol used with INSERT INTO command? 1. LIKE operator. @ 3. What operator tests column for the absence of data? 1. 3. USER_CONSTRAINTS. KEY_CONSTRAINTS. REVOKE. 150. % 149. RUN. GRANT. 151. Which command displays the SQL command in the SQL buffer. CLIENT_CONSTRAINTS. 147. 2. $ 4. RUN. 3. CMD.146. 4. . 2. 2. & 2. and then executes it? 1. IS NULL operator. DOMAIN_CONSTRAINTS. NOT operator. & 2. EXECUTE. 4. Which system table contains information on constraints on all the tables created? 1. ASSIGNMENT operator. Which command executes the contents of a specified file? 1. What command is used to get back the privileges offered by the GRANT command? 1. 3. 4. 3. EXECUTE. 2.

155. Which normal form is considered adequate for relational database design? 1. second normal form. uncommitted dependency. WEEKS_BETWEEN. 3. 4. 4. 3. . If every non_key attribute is functionally dependent on the primary key. first normal form.152. Y ⊆ X. 2. 2. 4. DIFFERENCE. sechedule. 4. third normal form. 157. 3 NF. Y ⊂X. 153. X ⊂Y and Y ⊂ X. Which date function is used to find the difference between two dates? 1. BCNF. Which function is used to find the largest integer less than or equal to a specific value? 1. 3. 3. transaction. 3. MONTHS_BETWEEN. 2 NF. FLOOR. GREAT. X ⊆ Y. then the relation will be in ____________ 1. LARGE. A functional dependency of the form X-> Y is trivial if____________ 1. 2. 2. DAYS_BETWEEN. 2. 156. 4 NF. DATES_BETWEEN. 3. 2. 154. The concept of locking can be used to solve the problem of ___________ 1. deadlock. 4.

4. 2. flight number. 2. 4. Re-executes the most recently executed command. Prints the character. place of departure. flight number + date. degree. use the command_______ 1. 3. SET SERVEROUTPUT ON. 3. 163. 158. 160. Does nothing. 2. flight number + destination. 159. Re-executes the non SQL *Plus command that was most recently executed. In airline reservation system the entities are date. 162. entity. The data flow model of an application mainly shows___________ 1. attribute. ALTER SESSION RESET DATE. 3. The column of a table is referred to as the _____________ 1. SET ECHO ON.4. What does the /command do? 1. type of plane and seats available. To change the format of the date returned by SYSDATE. 3. decision and control information. SET DISPLAY ON. 2. destination. tuple. 4. fourth normal form. 161. flight number. 4.PUT_LINE is not doing what it is supposed to do? 1. What command should you try if DBMS_OUTPUT. SET TERMOUT ON. the underlying data and the relationships among them. 2. flight number + place of departure. 4. The primary key is____________ 1. communication network structure. 3. . processing requirements and the flow of data.

166. one row with many columns. 3. 165. bind variables. ALTER SESSION CHANGE DATE. The DUAL table has_____________ 1. 4. MANAGER. substitution variables. many rows and many columns. 2. ALL_TABLES. 4. 4. 4. SYS. ALL_TAB_COLUMNS. 164. 3. DBA. 3. 167. local variables. SYS. SUPERUSER. one column with many rows. A PL/SQL block can return data to SQL*Plus through______________ 1. Which of the following data dictionary view is used by the DESCRIBE command to extract information about the columns? 1. 2. 2. 3. ALL. Which of the following is not a type of data dictionary view? 1. 3. 2. ALL_COLS. ALL_COLUMNS. ALTER SESSION SET NLS_DATE_FORMAT. ALTER SESSION SET SYSDATE. 168. The owner of the DUAL table is__________ 1. one row and one column.2. global variables. . 2. 4. USER. 4. 3. SCOTT.

3. SET PAGESIZE command. 170. 2. 2. Shut Global Area. 4. SHOW ERRORS. 172. precede the variable name with____ 1. READ. To interactively assign a value to a variable. 4. 4. Which of the following SQL*Plus commands can be used to see compilation errors in a PL/SQL code? 1. 2. . TRACE. & 173. You can fix this problem by using the___________ 1. GET. getVal 4. Start Global Area. Which command is used to get input from the user? 1. SGA stands for__________________ 1. : 2. SET LINESIZE and SET PAGESIZE commands. NOT BETWEEN 10 AND 20 __________ 1. Show Global Area. 4. 2. PROFILE. 3. displays NULL values. 174. DEBUG. In the display. 2. 171. SET LINESIZE command. 3. System Global Area. ACCEPT. SET SCREENWIDTH command.169. CIN. 3. – 3. each row that is displayed spans more than a line and you see a line after a set of 5 records. does not display NULL values. You are executing a SELECT statement.

The SQL statements SELECT ROUND(45. Prints 1. The SELECT statement SELECT ‘Hi’ FROM DUAL WHERE 1=NULL. Hi.3. 4. 23. Outputs 1. 175. 178. 1234.926. 3. 176. 3. 177. . 2. It has a non-NULL SALARY column which is also UNIQUE The SQL statement SELECT COUNT(*) FROM EMPLOYEE WHERE SALARY > ANY (SELECT SALARY FROM EMPLOYEE). bc. 1. TRUE. 4. ab. nothing. prints 045. display values. The SQL statement SELECT SUBSTR(‘123456789’. 2. FALSE. INSTR(‘abcabcabc’.926. may display NULL values. 2. Table Employee has 10 records. 2345.4) FROM DUAL: Prints 1. prints garbage. 2. -1) FROM DUAL. 456789. is illegal. 3.’b’). gh. 3. 6789. 4. 4.

4. NULL. 1. 182. 3. 5. 4. Dates. In SQL. -1. 4. 2. 3. 184. 4. The SELECT statement SELECT ‘Hi’ FROM DUAL WHERE NULL = NULL.4. FALSE.9. 179. prints 50. 183. FALSE. prints 40. TRUE. Which of the following must be enclosed in double quotes? 1. Hi. 2.926. except_________ 1. 180. 2. 3. 2. Column Alias. MONTHS_BETWEEN. 181. 10. 2. 3. prints 45. 10/NULL will evaluate to___________ 1. 3. When a SELECT statement displays data_____________ . NEXT_DAY. nothing. TRUNC. Variables. -1) FROM DUAL. The SQL statement SELECT TRUNC(45. 4. Almost all the DATE functions return a value of data type DATE. Strings. ROUND. Outputs 1. is illegal.

displays NULLs last. 3. 4. The SQL statement SELECT LPAD(‘abcd’. ********** . 3. 2. numbers will be justified to the left by default. 2. ‘c’) FROM DUAL. 3. 1. The SQL statement SELECTLENGTH(‘’) FROM DUAL. 186. 2. 1. 3. ORDER BY NAME DESC. 185. Prints. dates and strings will be justified to the left by default. ******abcd 3. The SQL statement SELECT INSTR(‘abcdecfg’.1. 4. 0. 4. 4. --‘’ Iis two single quotes Prints.10. ORDER BY NAME DESC. 5. 1. displays NULLs first. 3. 1. a garbage value. Prints. numbers will not be justified to the right by default. 188. Choose the correct statements:1. 187. ORDER BY NAME ASC. displays NULLs first. displays NULLs last. ***abcd*** 4. 2. 6. abcd****** 2.’*’) FROM DUAL. NULL. dates and strings will be justified to the right by default. 2. ORDER BY NAME ASC.

APPEND. UPDATE. 191.2). bc. 1. 3. 3. 1. The SQL statement SELECT ‘Hi’ FROM DUAL WHERE 1!= NULL. INSTR(‘123321234’. prints garbage.2)) FROM DUAL. 4.4)) FOM DUAL. Outputs 1. is illegal. 3. prints 4. 2. FALSE. prints 3. DECODE(3. gh. Which of the following SQL commands can be used to add data to a database table? 1. 190. TRUE. The SQL statement SELECT (NVL(NVL(NULL. The SQL statement SELECT DECODE(2. 2. 193.3. ADD. ‘2’. 2. The SQL statement SELECT SUBSTR(‘abcdefghij’. 4.189. 4. 2.2.3. INSERT.2) FROM DUAL. 192. 3. 2. nothing. 3. 2. PRINTS NULL. . 3). 23. is illegal. 4. 3. Prints 1. Hi.

2. CHANGE. 4. It has a non-NULL SALARY column which is also UNIQUE. 0. . prints garbage. abwertwert. Table Employee has 10 records.10. 197. Which of the following SQL command can be used to modify existing data in a database table? 1.92. 5.-2) FROM DUAL.’went’) FROM DUAL. 196.4. 4. 1. The SQL statement SELECT ROUND(45. MODIFY. prints 45. 3. 4. 195. The SQL statement SELECT LPAD(‘abcd’. Prints. wertweabed.926. UPDATE. 1. 2. NEW. prints 0. 9. 3. 3. 3. 2. 2. wertwertab. 10. abcdwertwer. The SQL statement SELECT COUNT(SALARY) FROM EMPLOYEE WHERE SALARY NOT IN (NULL). ab. is illigel. 194. Prints 1. 4.

ORACLE. COBOL. 4. RETURN. declare it inside a __________ 1. 2. 202. 199. ADA. 4. 3. DML Trigger. DISP_ERR. FALSE. SQLERRM. Outputs. 4.198. TRUE. Which of the following can be used to print the description about an error in a PL/SQL program? 1. ERR_MESG. LISP. To have a variable in global scope. DDL trigger. 2. 4. function. 3. Which of the following keywords is used in the declaration of a PL/SQL function but not a procedure? 1. 2. The SQL statement SELECT ‘Hi’ FROM DUAL WHERE NULL IN (NULL). 4. methods. ‘Hi’. 203. 200. package. procedure. CURR_ERROR. 2. nothing. system Trigger. 201. . Instead-Of Trigger. Which of the following types of triggers can be fired on DDL operations? 1. 2. 1. 3. 3. 3. The design of PL/SQL language has a lot of similarities with the design of 1.

206. 3. a dialog box. 2. 2. 2. 205. an enclosing canvas. a window. EXCEPTION. PL/SQL. layout editor. SQL. 4. 2. exe. 3. 4. 3. BEGIN. Trigger code is written in_____ 1. Tlist. 3. The attributes of a Form object can be found in the___________ 1. Llist. 4. 2. 207. obj. 209. 208. 4. END. The items of a data block can be grouped within a___________ . program editor. a tabbed page. 3.2. Combo Box. property navigator. 4. Machine language. Which of the following list items is a good choice to implement lists that are long? 1. A compiled form module has the extension_______ 1. 4. fmb. A canvas is displayed in ___________ 1. 204. fmx. property palette. 3. JAVA. Poplist.

Record Set. 2. check box. object group. 2. Data store. A set of properties can be collectively assigned to an object by using_______ 1. data store. A _____ is a collection of logical information. 210. . 4. 4. 3. 2. record group. 3. message. 1. Record Group. You can not navigate to a data item if it is a ____________ 1. button. record group. 3. 3. Object Group. display. 2. 3. field. 2. print.1. 3. file. 214. show. To debug a PL/SQL code that is within a Form. property class. display item. 213. array. 2. 4. text item. Which of the following is a collection of Form components? 1. 211. 4. record. program unit. 4. appropriate messages can be displayed at different points in the execution flow using the built-in____________ 1. frame. 212.

4. 4. electronic data. 4. 2. 2. value. transaction data. index. Database. 1. column. Data.4. 3. 1. computer data. key. . Field is otherwise called as __________ of the record. Fields. A______________ may contain one or more records. data item. ____________ does not change with time. 3. 1. 1. pointer. 4. 218. 1. Transaction. File. 215. 2. Data type. A field that can identify a record uniquely is called as _________ of the record. 217. A field used to identify a record is called as a ____________. 2. 3. variable. 219. foreign key. 3. 216. master data.

candidate key. 224. 2. Different values for the same data item is referred to as ____________. 1. A __________ acts as the interface between data stored on the disk and its users. 2. 1. primary key. 2. random file organization. _____________ suffers from the possibility of lack of data consistency. 3. 1. 2. 4. 225. direct file organization. data reduction. data consistency. database. 3. ______________ means multiple copies of the same data items. 4. 1. database management systems. A file is called as a ______________ when it contains records arranged in sequential fashion. data inconsistency. index file.2. data consistency. 4. sequential file. data redundancy. data integrity. 3. 223. 3. transaction. indexed file organization. 221. data duplication. 220. . 222. direct file. Difficulty in searching is one of the problem in ____. 4. 3. super key. 3. sequential file organization. data integrity. data. random file. 2. 4. 4. 1.

2. 3. information. 4. not coupled. 1. _____________ solves the problem of the possibility of lack of data consistency by using the concept of transaction. program interact with the master files. programs no longer interact with the data files directly. 2. 4. __________ knows the details of the data storage. FMS. 2. database manger. . 3. 3. 227. TMS 228. file management system. 1. 4. the application programs are ______________ with each other. object oriented relational database management systems. table. 1. programs interact with the data files indirectly. In file based approach. 3. database administrator. relational database management systems. 230. database management systems. programs interact with the data files directly. loosely coupled. DBMS. 4.1. 2. A scheme of grouping set of integrates data files together is called as _______________. 4. 226. 229. EMS. The most important change brought about by DBMS is that the ___________. 1. database 2. 3. schema. 1. 2. decision support system analyst. 3. tightly coupled. coupled.

statement. 235. ___________ is a logical unit of work. 4. transaction control. 3. 2. . 1. 2. 4. query. dynamic SQL. 3. 2. 4. transaction. 3. 4. 4. Relational databases relate data items purely based on their _________. locking.4. relation databases. 233. hierarchical databases. _______________ employs parent-child relationships as well as child parent relationships. The file in DBMS is called as _________ in RDBMS. key. embedded SQL. 1. 1. 232. 3. console. In _____________. two phase locking. 1. concurrency. 236. database. 1. one or more users/programs attempt to access the same data at the same time. transaction manger. static SQL. 3. 1. databases. network databases. 2.SQL. concurrency. 234. values. 2. _____________ is the language for working with RDBMS. 231. constraints.

1. _____________ programming facilitates the use of SQL with 3GLs such as C and COBOL. PL/SQL. 239. 3. 238. indexes and other forms of structures. joins. data manipulation language. ______________ is used for creating and destroying tables. data control language. rather than at the development stage. embedded SQL. 3. 2. 4. 3. 4. data control language. indexes and other structures. Pl/SQL 2.2. . 1. 4. 1. 4. 4. 237. 241. 2. SQL * Plus. SQL. schema. two phase locking. ___________ provides option for entering SQL queries at execution time. 2. 1. dynamic SQL. transaction control language. joins. 1. ___________ can be used to retrieve data from multiple tables. 2. _______________ controls the access to various tables. 240. 4. 3. views. transaction control language. 3. dynamic SQL. 3. data definition language. table. embedded SQL. objects. dynamic SQL. locking.

organization of the database. query. data with integrity. 1. 1. 2. command. data consistency. 3. 243. 244. 2. query. table. A __________ is a set of operations that must be performed completely or not at all. 2. Commit and rollback are related to ______________. 4. _____________ of a database presents the view that the end users have. external view. A__________ is a three dimensional view of data. data integrity. Internal view provides information regarding the _______________. ______________ describes the data without stress on any technology or programming language. form. 1. 246. 3. non conceptual view. 3. transaction.242. data without technology. 2. 3. data sharing. 2. 245. data sharing. external view. 4. 4. 1. internal view. . data security. 3. 4. conceptual view. 4. 4. 247. internal view. conceptual view. 1. 1. 3. database. database. view. 2.

data manipulation language. 249. nested query. 3. nested programming. data control language. we call such a program as ________________. 3. transaction control language. pre-compiler. 250. data definition language. 1. distinct query. 3.248. 2. 2. 2. When SQL statements are embedded inside 3GL. 4. 1. 1. 4. ___________ translates the SQL statements inside a 3GL programs into appropriate 3GL statements. compiler. linker. . embedded SQL. loader. 4. Data is processed using _____________.

Sign up to vote on this title
UsefulNot useful