MAIN POINTS TO KNOW FROM THE HANDOUTS:

Operations

-- Precedence rules for +, -, *, /, %(*, /, %higher then !, -)
-- Arithmetic operators are ____-associative (left or right)?

-- What's promotion?Type casting?

-- Assignment operator is ____-associative (left or right)?

-- What 2 things happen in an assignment?

-- Assignment shortcuts; increment and decrement operators

-- What are the 6 relational operators?(<, >, . . . ) What are the 3 logical operators? (&&||!)

-- How characters are compared(via numeric codes)

Methods

-- Terms to know:parameter,argument,return value,voidreturn statement
-- Be able to read through a method we give you and determine what value it returns for specific

arguments we'll give you

-- Be able to write simple methods similar to the examples we did in class and you did in Lab 4

-- Where is the world's largest ball of twine?(Just kidding!)

Selection: the if Statement

-- Be able to tell what some if statement we give you will do when it is executed; i.e., what it will compute, or print, or . . .

SOME COMMENTS ABOUT THE TEXT READINGS:

Sections listed are the only ones for which you're responsible on this quiz.

Also, I have posted solutions to the exercise sets listed here.

Chap. 3

Sections 3.3-3.6 -- Do the Quick Quizzes
Quick Quizzes for these sections are good; so are Exercises 3.3, 3.4, & 3.5

Chap. 4

Sections 4.1-4.4 -- Do Quick Quiz 4.2
Exercises 4.2 are good

Chap. 5

Sections 5.1 & 5.2 -- Do Quick Quiz 5.2
Exercises 5.2 are good


 

SOME COMMENTS ABOUT THE VIDEOS:

Questions will be taken from list on the handout through "ENIAC"(but not how it was programmed).

[Since there were no video questions on Quiz 1, you might expect us to hit the upper bound of 4 points
on this quiz.]