Order this information in Print

Order this information on CD-ROM

Download in PDF Format

     

Click here to make tpub.com your Home Page

Page Title: Chapter 3 Answers
Back | Up | Next

tpub.com Updates

Google


Web
www.tpub.com

Home

   
Information Categories
.... Administration
Advancement
Aerographer
Automotive
Aviation
Combat
Construction
Diving
Draftsman
Engineering
Electronics
Food and Cooking
Math
Medical
Music
Nuclear Fundamentals
Photography
Religion
USMC
   
Products
  Educational CD-ROM's
Printed Manuals
Downloadable Books
   

 

Back
Chapter 3 Questions
Up
Introduction to Programming
Next
Chapter 4 More on solving problems with basic

Back ] Home ] Up ] Next ]

CHAPTER 3

EXERCISE ANSWERS

1.       10 LET M = 182 + 178 + 174 + 170 + 187 + 183

20 PRINT "MILES JOGGED IN SIX MONTHS ARE ";M

30 END

RUN

MILES JOGGED IN SIX MONTHS ARE 1074

2.       10 LET M = 182 + 178 + 174 + 170 + 187 + 183

20 LET A = M/6

30 PRINT "MILES JOGGED IN SIX MONTHS ARE ";M

40 PRINT

50 PRINT "AVERAGE MILES JOGGED PER MONTH IS ";A

60 END

RUN

MILES JOGGED IN SIX MONTHS ARE 1074

AVERAGE MILES JOGGED PER MONTH IS 179

3.         10 LET F = 76

20 LET F1 = 88

30 LET F2 = 96

40 PRINT (F – 32)*5/9,(F1 – 32)*5/9,(F2 – 32)*5/9

50 END

RUN

24.44     31.11     35.55

4. valid numeric-variable names

A,B,E

invalid numeric-variable names

C. must be alphabetic

D. first character must be alphabetic

F. second character must be numeric

G. variable name can only be two characters

H. valid only for string-variables

5. A. LET A = (X + Y)/Z

B. LET B = X**2/Y**2

C. LET C = (X + Y)**2/Z

D. LET D = (X**2/(Y + Z))**2

Back ] Home ] Up ] Next ]

 

 

Privacy Statement - Press Release - Copyright Information. - Contact Us - Support Integrated Publishing