CS 0007 Chapter 1 Quiz Name: _____________________________


9/8/99


Short answer questions (1-4)

  1. (15 points)
  2. Name the three parts of the CPU and give a brief description of their function:

     

     

     

     

     

     

     

     

  3. (15 points)
  4. Name the two types of memory and give a brief description of their purpose:

     

     

     

     

     

     

     

     

     

  5. (15 points)
  6. Write a pseudocode algorithm to gather two numerical values (you pick the variable names) from the user, add the two together, and output "over 24" if the answer is greater than 24 and "under 24" otherwise.

    Hint: Write the algorithm in English! The only difference between the question and the answer is the fact that algorithms are step-by-step!

     

     

     

     

     

     

     

     

  7. (15 points)
  8. What are the three problem-solving phase steps, what are the two implementation phase steps, and give a brief description of each step.

    Completion questions (5-9)

    (4 points each)

  9. _________________________________________ is how computers represent negative binary values.
  10.  

  11. A binary number of 5 bits can represent _____ unique values.
  12. A high-level language program written and saved to a text file on a storage device is called
  13. ___________________________________.

  14. _____________ testing is when you test a program using inputs based on how the program works.
  15. _____________ is the collection of programs used by a computer (ex. Word, Excel, Turbo Pascal).
  16.  

    Problems (10-11)

  17. (10 points)
  18. Convert 2476 to binary and show your work.

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

  19. (10 points)

Convert 11010101 to decimal and show your work.

 

 

 

 

 

 

 

Bonus (10 points):

 

Computers group multiple ____-bit bytes together to form ___________.