AP CS A Unit 1 Lesson 2 What is Java?
Student Learning Objectives By the end of this lesson, you should be able to: • Call System class methods to generate output to the console. • System.out.print and System.out.println display information on the computer monitor. • System.out.println moves the cursor to a new line after the information has been displayed, while System.out.print does not . • Create string literals. • A string literal is enclosed in double quotes .
CS Unplugged Drawing Activity Instructions COMPUTERS ARE REALLY, REALLY PICKY! (Dr. Beth Simon) Step 1 • Work in pairs! Number yourselves 1 and 2. Step 2 • The ones take out your notebooks, and a pencil. Step 3 • Place your chairs back to back to each other. Step 4 • The twos will get a sheet of paper; read the instructions. Step 5 • The twos will give instructions to draw an image just describing shapes; the ones draw it to the best of their ability. Step 6 • The ones cannot ask any questions of the twos during the instructions; do your best!
Turn and Talk About this CS Unplugged Activity! • Look at the drawn image: was the result a snowperson? • How exact did the instructions need to be? • Did the order of the instructions matter? • What kinds of problems occur because of the vagueness of the English Language?
You've reached the end of your free preview.
Want to read all 23 pages?
- Fall '20
- Regular expression, Bracket