C LANGUAGE MULITPLE CHOICE QUESTION SET-2

Slides:



Advertisements
Similar presentations
Introducing JavaScript
Advertisements

PL/SQL.
PL/SQL (Procedural Language extensions to SQL) Prepared by: Manoj Kathpalia Edited by: M V Ramakrishna.
Lecture-5 Though SQL is the natural language of the DBA, it suffers from various inherent disadvantages, when used as a conventional programming language.
Tutorial 10 Programming with JavaScript
Javascript II Expressions and Data Types. 2 JavaScript Review programs executed by the web browser programs embedded in a web page using the script element.
JavaScript, Fifth Edition Chapter 1 Introduction to JavaScript.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 2 Input, Processing, and Output.
DEPARTMENT OF COMPUTER SCIENCE & TECHNOLOGY FACULTY OF SCIENCE & TECHNOLOGY UNIVERSITY OF UWA WELLASSA 1 CST 221 OBJECT ORIENTED PROGRAMMING(OOP) ( 2 CREDITS.
CHAPTER:14 Simple Queries in SQL Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Tutorial 10 Programming with JavaScript. XP Objectives Learn the history of JavaScript Create a script element Understand basic JavaScript syntax Write.
JAVA Tokens. Introduction A token is an individual element in a program. More than one token can appear in a single line separated by white spaces.
INTRODUCTION TO PL/SQL. Class Agenda Introduction Introduction to PL/SQL Declaring PL/SQL Variable Creating the Executable Section Interacting with the.
Introduction to CS520/CS596_026 Lecture Two Gordon Tian Fall 2015.
LECTURE 1 INTRODUCTION TO PL/SQL Tasneem Ghnaimat.
PL / SQL By Mohammed Baihan. What is PL/SQL? PL/SQL stands for Procedural Language extension of SQL. PL/SQL is a combination of SQL along with the procedural.
Introduction to PHP Advanced Database System Lab no.1.
Chapter 15 Introduction to PL/SQL. Chapter Objectives  Explain the benefits of using PL/SQL blocks versus several SQL statements  Identify the sections.
Database Application Development using PL/SQL Programming.
Guide to Oracle 10g ITBIS373 Database Development Lecture 4a - Chapter 4: Using SQL Queries to Insert, Update, Delete, and View Data.
Recognizing PL/SQL Lexical Units. 2 home back first prev next last What Will I Learn? List and define the different types of lexical units available in.
SQL Fundamentals  SQL: Structured Query Language is a simple and powerful language used to create, access, and manipulate data and structure in the database.
1 PL/SQLPL/SQL Declaring Variables Declaring Variables Declaring Variables Declaring Variables Writing Executable Statements Writing Executable Statements.
Internet & World Wide Web How to Program, 5/e © by Pearson Education, Inc. All Rights Reserved.
 2008 Pearson Education, Inc. All rights reserved JavaScript: Introduction to Scripting.
Part:2.  Keywords are words with special meaning in JavaScript  Keyword var ◦ Used to declare the names of variables ◦ A variable is a location in the.
CPS120: Introduction to Computer Science Variables and Constants.
Tutorial 10 Programming with JavaScript. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Learn the history of JavaScript.
Declaring PL/SQL Variables
PL/SQL INTRODUCTION.
Text TCS INTERNAL Oracle PL/SQL – Introduction. TCS INTERNAL PL SQL Introduction PLSQL means Procedural Language extension of SQL. PLSQL is a database.
Tutorial 10 Programming with JavaScript. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Learn the history of JavaScript.
Java Basics. Tokens: 1.Keywords int test12 = 10, i; int TEst12 = 20; Int keyword is used to declare integer variables All Key words are lower case java.
Chapter 4: Variables, Constants, and Arithmetic Operators Introduction to Programming with C++ Fourth Edition.
Expressions and Data Types Professor Robin Burke.
JavaScript and AJAX 2nd Edition Tutorial 1 Programming with JavaScript.
Java Programming: Guided Learning with Early Objects Chapter 1 Basic Elements of Java.
Creating Database Objects
Egyptian Language School Computer Department
Chapter 2 Variables.
The Machine Model Memory
Chapter 6 JavaScript: Introduction to Scripting
Pl/SQL LANGUAGE MULITPLE CHOICE QUESTION SET-3
JAVA MULTIPLE CHOICE QUESTION.
Ruby: An Introduction Created by Yukihiro Matsumoto in 1993 (named after his birthstone) Pure OO language (even the number 1 is an instance of a class)
SQL and SQL*Plus Interaction
BASIC ELEMENTS OF A COMPUTER PROGRAM
PL/SQL LANGUAGE MULITPLE CHOICE QUESTION SET-1
Fundamentals of PL/SQL part 1 (Basics)
JavaScript.
JavaScript an introduction.
DATABASE MANAGEMENT SYSTEM
IDENTIFIERS CSC 111.
Introduction to Python
WEB PROGRAMMING JavaScript.
Chapter 4: Introduction to PL/SQL
Variables Numbers can be stored and retrieved while a program is running if they are given a home. The way that integers and decimal numbers are stored.
Chapter 2 Variables.
PHP.
PL/SQL week10.
Tutorial 10 Programming with JavaScript
Chapter 2: Introduction to C++.
Tutorial 6 PHP & MySQL Li Xu
PL/SQL Declaring Variables.
Unit 3: Variables in Java
PHP an introduction.
Chapter 2 Variables.
Creating Database Objects
PYTHON - VARIABLES AND OPERATORS
Presentation transcript:

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