Intro to Computers Recitation Notes Feb. 12 2008

Intro to Computers Recitation Notes Feb. 12 2008 - ? 1...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
INTRO TO COMPUTERS RECITATION NOTES FEB. 12, 2008 3 Statements learned so far: REM, PRINT, END 3 New Statements: INPUT (Input Prompt), READ / DATA, LET Fundamentals (Value): Number- Any integer (10, -5, 5.87) String- "Hello" "10" "Bob" Fundamentals (Variable): Number- Sum, X, Average (Ex. Sum --> 22) String- Name$, X$ (Ex. Name$ --> "1234") Input: SOURCE WINDOW OUTPUT WINDOW MEMORY REM Exercise Input X ? 3 (Enter) X = 3 Input X ? 2 (Enter) X = 2 Input Y
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ? 1 (Enter) Y = 1 PRINT X;Y 2 1 INPUT PROMPT "Tell me a number":a Tell me a number? 4 a = 4 INPUT PROMPT "Enter a name":name$ Enter a name? Bob name$ = Bob Print a;name$ 4 Bob END READ / DATA: SOURCE WINDOW OUTPUT WINDOW MEMORY REM Exercise DATA 4 READ X Y READ 3 DATA 2, 6, "Bob" READ name$ LET X = 3 X = 3 LET X = 2 + 3 Y = 5 LET X = X + Y X = 8 PRINT 2 2 PRINT "Hello" Hello PRINT X 8 PRINT Name$ Bob PRINT X + Y 13...
View Full Document

Page1 / 2

Intro to Computers Recitation Notes Feb. 12 2008 - ? 1...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online