CSE 283 Introduction to Object Oriented Design

Barbara Nostrand, Ph.D.


CSE 283 Labs
Welcome to the site for CSE 283 Labs!

 

Lab 7-8: Prelab Questions

Prev | Next | Lab 8

Print a copy of this page and referring to the lab exercise, answer each of the questions on your copy. (You must turn in your answers at the beginning of your laboratory session.)


1. What are the six relational operators?




2. What are the three logical operators?




3. Name one of the Java statements that provide for selective behavior.




4. Name the other Java statement that provides for selective behavior.




5. What types of data can be used in a switch statement?




6. Which of the Java loops is a pretest loop?




7. Which of the Java loops is a posttest loop?




8. Which of the Java loops can provide both zero and one-trip behavior?




9. Which of the Java loops is designed primarily for counting through ranges of numbers?




10. An if-break combination must be used if one wishes to exit from which Java loop?




Prev | Next | Lab 8

 
  Home

Schedule

Help

Lab 0

Lab 1

Lab 2

Lab 3

Lab 4

Lab 5

Lab 6

Lab 7-8

Lab 9

Lab 10

Lab 11

Lab 12

Lab 13






Last modified: 2007 OCT 16
bnostran@syr.edu