Lesson-2 - Riddlesdown Collegiate VLE

parisfawnAI and Robotics

Nov 17, 2013 (3 years and 8 months ago)

148 views

Learning Outcomes

0
Identify and correct common errors in
Java programs

Syntax Errors

0
Start a new project called “errors”

0
Type in the following after each one run your program and not in your books if the code
ran

c
onsole.print”Hello

World”

Console.print
(“Hello World”);

console.print
(“Hello World)

c
onsol.print
(“Hello World”);

console.print
(hello world);


0
For each one try and sport the error and note in your books how to fix it, test your fix in
your code to see if you were right


0
Extension: experiment putting
\
n and
\
t with “hello world” (
i.e


\
nhello

world”)

0
What happens? Right up in your books

0
Now get the computer to write you name, age and favourite lessons on different lines

Pupilshare
/ICT/Year 7/7.6
Programming

0
Watch the video on the Year 7 ICT group


Programming


lesson 1

0
http://
vle.riddlesdown.org/groups/ict
-
year
-
7/courseware/lecture/lesson
-
1
-
voice
-
recognition
-
hello
-
world
-
syntax
-
errors

0
Load
netbeans

0
Start a new project

0
Call it “Hello World”

0
Import the
AQAConsole

What did we learn?

0
Case is important

0
Spelling is important


the computer can not guess
what you meant

0
Ending a line with ; is important


the computer needs
to know when the line ends


Plenary

0
Spend 5 minutes writing what you have learnt today
in your books, if you had any problems write what
they were and how you fixed them