Chapter 1 Programming Concepts


Lab 1.1 Self-Review Answers

A5:

Questions

Answers

Comments

1)

A

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

2)

B

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

3)

B

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

4)

B

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

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

A5:

Questions

Answers

Comments

1)

C

 

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.

3)

B

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

4)

A

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

5)

B

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




Oracle PL[s]SQL by Example
Oracle PL[s]SQL by Example
ISBN: 3642256902
EAN: N/A
Year: 2003
Pages: 289

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