Custom Search
 
  

 
CHAPTER 2

EXERCISES

1. Arrange the following statement elements in proper order according to the BASIC statement structure and label the parts.

2. Which of the following are correctly coded BASIC line numbers?

For those incorrectly coded, what is wrong with them?

A. 20         F. 54321

B. 25         G. 123456

C. 30         H. 99999

D. 1/4         I. #9999

E. 9.99        J. .2500

3. Convert the following numbers in E notation into the numbers they represent.

A. 2.5E3

B. 1.5E2

C. 9.9E-5

D. 3.5E6

4. Which of the following are correctly coded numbers? For those incorrectly coded, what is wrong with them?

A. 95              E. .95

B. 9,500         F. 52

C. $100.00     G. 65$

D. 1/4             H. 74

5. A. If you typed the following BASIC program into the computer and gave the system command LIST, what would the listing look like?

B. If you then typed the system command RUN, what would be printed?







Western Governors University
 


Privacy Statement - Copyright Information. - Contact Us

Integrated Publishing, Inc. - A (SDVOSB) Service Disabled Veteran Owned Small Business