Quiz 4 Review,  CPSC 110,

Some things you should know: 

 

This is NOT an all encompassing list, but it should help.

 

  1. Your Name, Your ID, Your Section Number
  2. Know about if and else.
  3. Know the structure of UNITs.
  4. Know what UNITs contain. Know the stuff you were told to know in class.
  5. What are the sections of a unit (implementation, interf…)
  6. What is a block of code?
  7. This class is about Problem Solving (in a structured way (using Turbo Pascal) ).
  8. Read, Readln, Write, Writeln are what? How do you use them?
  9. Be able to evaluate Boolean expressions.
  10. What is a CONST? Where are they used/defined in a Pascal program?
  11. What is TYPE? Where is it used in a Pascal program? What does it do?
  12. How do you declare a variable of a type you just defined?
  13. Understand Loops (Whiles, Fors, and Repeats)
  14. What is a control variable?
  15. What is a parameter? What are the types of parameters?
  16. Does the order of parameters matter? Why?
  17. Can you send a constant as a value parameter? as a variable parameter?
  18. What is the order of declarations (by the book) in a program?
  19. Be able to read and write programs using functions and parameters.
  20. How does a function return a value?
  21. How do you know what type of data a function returns?
  22. Look at chapters  4, 5 and 8 (though the quiz is cumulative).
  23. Be able to WRITE A PROGRAM FROM SCRATCH – or at least fill in blanks for one.
  24. Be able to determine the output of a given program – see the book for examples.
  25. Other things talked about in class and/or in lab and/or homework and/or some from the book.