Midterm Review

Midterm Review - Midterm Review Exam: - material from labs,...

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

View Full Document Right Arrow Icon
Midterm Review Exam: - material from labs, lectures, and text through Chapter 8.3 - multiple choice, T/F, fill in the blank questions - full class time on Thursday - all answers should be found in textbook Chapter 1 Summary: - objects created from existing classes in Alice - what does an object have? o Center o 6 directions/degrees of freedom: forward, back, left, right, up, down - what can objects do? o Perform actions (methods) Drag tiles Chapter 2 Summary - program is a set of instructions that tell a computer what to do - problem solving process o read scenario – understand problem o design the solution – create storyboard o code the solution – write method/convert into computer language o test the solution- revise as needed - ways to execute statements o sequential- doInOrder o parallel- doTogether specify several statements to execute at the same time looks like that when program is running - comments explain program o tells reader exactly what the code does Chapter 3 Summary - Methods are things object know how to do - Creating methods o Know for both Java and Alice o Methods are named blocks of statement that are run when you use the tile with the name of the method o Block of code identified so it can be used from other parts of the code o Will run when invoke it by name (send message to object to tell it to do method) - Method’s parameters o Placeholders that take on a value when the method is called (invoked) o Pass data values to object when method is invoked
Background image of page 1

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

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

Page1 / 4

Midterm Review - Midterm Review Exam: - material from labs,...

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