C LANGUAGE MULITPLE CHOICE QUESTION SET-2
Combination of SQL with programming language 1. PL/SQL is a -------. Database language Programming language Combination of SQL with programming language Scripting language www.prolearninghub.com
2. PL/SQL is developed by -------. IBM ORACLE MICROSOFT GOOGLE www.prolearninghub.com
3. PL/SQL is developed in -----. Early 90’s Late 80’s 2000 2008 www.prolearninghub.com
4. PL/SQL is one of three key programming language/s embedded in the --------. Oracle data base SQL JAVA All three of these www.prolearninghub.com
Non-procedural language 5. PL/SQL is a -------. Markup language Scripting language Procedural language Non-procedural language www.prolearninghub.com
6. Identify the false statement about PL/SQL. It can directly call from the command line It is a high performance transaction processing language it is portable All the statements are true www.prolearninghub.com
7. PL/SQL syntax is based on ------. ADA Pascal Both A and B SQL www.prolearninghub.com
8. Beside from oracle, PL/SQL is also available in -------. TimesTen in-memory database IBM DB2 Both A and B None of these www.prolearninghub.com
9. PL/SQL is tightly integrated with -------. JAVA SQL ORACLE C www.prolearninghub.com
10. Which of the following is correct about PL/SQL. If offer extensive error checking It offers numerous data types It offers a variety of programming structures All are true www.prolearninghub.com
11. PL/SQL supports--------. Structured programming Object oriented programming Web applications All of these www.prolearninghub.com
12. ------- is an interactive tool that allows you to type SQL and PL/SQL statements at the command prompt. SQL* Plus SQL* SQL plus None of these www.prolearninghub.com
13. To run PL/SQL program we must have ---------. SQL database MYSQL database ORACLE database All of these www.prolearninghub.com
14. Most recent version of RDBMS is ------. 9g 10g 11g 12g www.prolearninghub.com
Can be used both 32 or 64 bits depending on OS 15. ------- bits version of ORACLE RDBMS is installed in system to run PL/SQL applications. 32 64 Can be used both 32 or 64 bits depending on OS 128 www.prolearninghub.com
16. Which of the following file/s should we have to download. win64_11gR2_database_1of2.zip win64_11gR2_database_2of2.zip win32_11gR2_database_2of2.zip Both A and B files www.prolearninghub.com
17. We can type PL/SQL code in ------. Notepad Notepad++ EditPlus Any of them www.prolearninghub.com
18. PL/SQL files are saved with -------extensions. .exe www.prolearninghub.com
19. Type ------ at the SQL*Plus command prompt to execute your program. File name @file_name File_name None of these www.prolearninghub.com
20. PL/SQl programs --------. Run as a whole Run line by line written as block of code None of these www.prolearninghub.com
21. Each logical block of code consist of -------. Declarations Executable Commands Exception Handling All of the mentioned www.prolearninghub.com
22. Every PL/SQL statement ends with a -------. Semicolon (;) Colon (;) Comma ( , ) Full stop (.) www.prolearninghub.com
23. We can insert a block of code in another block of code using ------. BEGIN END BEGIN and END START and END www.prolearninghub.com
24. The end; line signals the end of the ------. PL/SQL program PL/SQL block of code PL/SQL function Pl/SQL class www.prolearninghub.com
25. The PL/SQL identifiers should not exceed ------characters. 30 40 50 60 www.prolearninghub.com
26. PL/SQL identifiers are -------. Constants Variables Exceptions All of these www.prolearninghub.com
27. PL/SQL identifiers are --------. Case sensitive Not case sensitive Partially case sensitive None of these www.prolearninghub.com
28. A delimiter is a --------. A special character A PL/SQL command Symbol with a special meaning Built-in class www.prolearninghub.com
29. In PL/SQL comma (,) denotes the ---------. Parameter separator Item separator Class separator None of these www.prolearninghub.com
30. In PL/SQL ( = ) is a ------. Assignment operator Association operator Relational operator Concatenation operator www.prolearninghub.com
31. The PL/SQL supports -------comments. Line line Multi line Both single line and multi line PL/SQL does not support comments www.prolearninghub.com
32. Single line comma start and end with --------. /* // ** www.prolearninghub.com
33. Which of the following data types belongs to scalar category of PL/SQL. NUMBER DATE BOOLEAN All of these www.prolearninghub.com
34. PLS-INTEGER is a -------- integer. Signed integer Unsigned integer Signed and unsigned integer None of these www.prolearninghub.com
35. The range of BINARY_INTEGER is -----. -2147483648 to 2147483647 -55656 to 55656 -1 to 1 None of these www.prolearninghub.com
36. DEC(prec, scale) data has maximum precision of ------ decimal digits. 30 34 38 40 www.prolearninghub.com
37. DECIMAL(prec, scale) is ------. ANSII specific IBM specific ORACLE specific None of these www.prolearninghub.com
38. REAL data type has max. precision of ------- binary digits. 53 63 73 83 www.prolearninghub.com
39. Which of the Following are the predefined PL/SQL LOB data type. BFILE BLOB CLOB All of these www.prolearninghub.com
40. A subtype is a ------. Subset of another data type Is a base base Is same same as its super type None of these www.prolearninghub.com
41. PL/SQL NULL represent -------. A garbage value Missing data Unknown data Missing or unknown data www.prolearninghub.com
variable_name [CONSTANT] [NOT NULL] [:= | DEFAULT initial_value] 42. Which one of the following is valid declaration of Pl/SQL variable. [CONSTANT] datatype [NOT NULL] variable_name [:= | DEFAULT initial_value] variable_name [CONSTANT] [NOT NULL] [:= | DEFAULT initial_value] variable_name [CONSTANT] datatype [NOT NULL] [:= | DEFAULT initial_value] None of these www.prolearninghub.com
43. For every declared variable PL/SQL assign a value of ----- 1 NULL none www.prolearninghub.com
44. To assign a different value to a variable we can use ----- keyword/s. DEFAULT Assignment NEW Both A and B www.prolearninghub.com
45. In PL/SQL variable has -------scope. Local Global Super global Only A and B www.prolearninghub.com
46. In PL/SQL a constant is declared with --------keyword. CONSTT None of these www.prolearninghub.com
47. Which of the following is a literal. TRUE 786 ProlearningHub All are literals www.prolearninghub.com
48. PL/SQL supports------- types of literals. 2 3 4 5 www.prolearninghub.com
49. Which of the following is not PL/SQL literal. Numeric literal String literal BOOLEAN literal INTEGER literal www.prolearninghub.com
50. PL/SQL supports ----- type of operators. 3 4 5 6 www.prolearninghub.com