Quiz#3

Next class, at the end of Recitation #7, I will give 5 of the following 10 questions. It will be close book, close notes.
  1. Check how much space you have left on your account.
    (Disk quota)

  2. Check your file sizes.

  3. Remove the file called core.

  4. Compile your program doom.C

  5. Turn line numbering on in emacs.

  6. Write a for loop going from 1 to 10, including 10

  7. Write a for loop going from 10 to 1, including 1

  8. Write a while loop going from 0 to 9, including 9

  9. Write a do-while loop going from 9 to 0, including 0

  10. Write an if-statement that runs some_code() if N is even

http://www.cs.rpi.edu/~escobarj/cs1/quiz/quiz3.html
Back to main CS1 webpage.