Chapter 1 Programming Concepts

Team-Fly    

Oracle® PL/SQL® Interactive Workbook, Second Edition
By Benjamin Rosenzweig, Elena Silvestrova
Table of Contents
Appendix A.  Answers to Self-Review Questions


Lab 1.1 Self-Review Answers

A1:

Questions

Answers

Comments

1)

A

Machine language is the native language of a particular computer; hence, it is easiest for a computer to understand.

A2:

Questions

Answers

Comments

2)

B

Machine language is defined by the hardware of a computer; thus, it is machine-specific.

A3:

Questions

Answers

Comments

3)

B

The interpreter translates each statement in the program into machine language and executes it immediately before the next statement is examined.

A4:

Questions

Answers

Comments

4)

B

A program must be compiled in order to create an executable that can then run as many times as needed.

A5:

Questions

Answers

Comments

5)

A

Because a computer cannot understand statements written in the assembly language, they must be translated into machine language with the help of an assembler.

Lab 1.2 Self-Review Answers

A1:

Questions

Answers

Comments

1)

C

 

A2:

Questions

Answers

Comments

2)

B

Structured programming allows you to organize your program into subroutines so each one focuses on a particular part of the overall problem. The control is then transferred between these subroutines.

A3:

Questions

Answers

Comments

3)

B

Linear execution of code assumes that statements are executed in the order they appear.

A4:

Questions

Answers

Comments

4)

A

If the test condition does not evaluate to TRUE, the selection statements are not executed.

A5:

Questions

Answers

Comments

5)

B

A SELECT statement may be formatted perfectly and still produce incorrect results.


    Team-Fly    
    Top
     



    Oracle PL. SQL Interactive Workbook
    Oracle PL/SQL Interactive Workbook (2nd Edition)
    ISBN: 0130473200
    EAN: 2147483647
    Year: 2002
    Pages: 146

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net