0% found this document useful (0 votes)
615 views

Recognizing PL SQL Lexical Units

The document is a quiz about PL/SQL lexical units. It contains 6 multiple choice questions testing knowledge of identifiers, literals, comments, and the definition of a lexical unit in PL/SQL. The questions cover topics like what characters can be used to enclose comments and non-numeric literal values, and examples of valid lexical units and identifier naming conventions.

Uploaded by

Catalina Achim
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
615 views

Recognizing PL SQL Lexical Units

The document is a quiz about PL/SQL lexical units. It contains 6 multiple choice questions testing knowledge of identifiers, literals, comments, and the definition of a lexical unit in PL/SQL. The questions cover topics like what characters can be used to enclose comments and non-numeric literal values, and examples of valid lexical units and identifier naming conventions.

Uploaded by

Catalina Achim
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Test: Quiz: Recognizing PL/SQL Lexical Units 1. The name of a variable is an example of an identifier. True or False?

Mark for Review (1) Points True (*) False

Incorrect. Refer to Section 2 Lesson 2. 2. Which of the following are lexical units? (Choose two.) Review (1) Points (Choose all correct answers) Data types PL/SQL blocks Identifiers (*) Literals (*) Mark for

Incorrect. Refer to Section 2 Lesson 2. Section 2 Lesson 2 3. comment in PL/SQL? (1) Points ? ? */ / * :: :: /* */ (*) Which of the following symbols can be used to enclose a Mark for Review

Correct

4. What characters must enclose non-numeric literal values? Review (1) Points Double quotes: " " Parentheses: () Single quotes: ' ' (*)

Mark for

Incorrect. Refer to Section 2 Lesson 2. 5. What is a lexical unit? (1) Points A data type for a column A building block of a PL/SQL block (*) A type of variable Mark for Review

Incorrect. Refer to Section 2 Lesson 2. 6. Which of the following is a valid naming convention for an identifier? (Choose two.) Mark for Review (1) Points (Choose all correct answers) Can include letters or numbers (*) Cannot be a reserved word (*) Can be over 30 characters Can start with a number or special character

Correct

You might also like