0% found this document useful (0 votes)
798 views

T03 - Documentation, Testing and CPU

This document provides a syllabus covering topics related to documentation, testing, and the central processing unit (CPU). It contains 15 multiple-choice and short-answer questions. The questions cover documentation for different types of users and programmers, black box and white box testing methods, identifying programming errors, defining the CPU and its components, and drawing the CPU diagram showing data and control flows.

Uploaded by

sullivan583
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
798 views

T03 - Documentation, Testing and CPU

This document provides a syllabus covering topics related to documentation, testing, and the central processing unit (CPU). It contains 15 multiple-choice and short-answer questions. The questions cover documentation for different types of users and programmers, black box and white box testing methods, identifying programming errors, defining the CPU and its components, and drawing the CPU diagram showing data and control flows.

Uploaded by

sullivan583
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Computer Studies 2012 Syllabus

Test 03 Documentation, Testing and CPU

Documentation 1. Documentation is used to aid three different types of users. Which are they? [1] 2. Write a sentence on three different types of user documentation. [3] 3. Specify a use for the technical documentation. [1] 4. Explain two types of programmer documentation. [2] Testing 5. By using an example in each case, explain the difference between black box and white box testing. [4] 6. Consider the following Java program:
class MyProgram { public static void main (String args[]){ int year = Keyboard.readInt(); int curYear = 2012; if (year>2012) { System.out.println(Invalid year!); } else { System.out.println(You are +curYear-year+ years old.); } } }

a. Specify three inputs that you would use to test this program and write a sentence about each choice. [3] b. Use the program to explain three different types of programming errors and give a suitable example in each. [6] 7. What is dry-running? [2]

Mr. A. Gatt

Page 1 of 2

Computer Studies 2012 Syllabus

CPU 8. Define CPU. [1] 9. What does the instruction set refer to in case of the CPU? [2] 10. Explain the difference between CISC and RISC. [3] 11. Mention two components found inside the CPU. [2] 12. What is the purpose of the Control Unit? [1] 13. Define IR and PC and their use. [2] 14. Answer the following questions: a. What is the purpose of a bus? [1] b. What does the width of the control bus determine? [1] c. If the address bus is 5 bits wide, how many address can be referenced? [1] d. The speed of the CPU is measured in which unit? [1] 15. Draw the CPU diagram including the control and data flows. [8] Total Marks: 45 ***

Mr. A. Gatt

Page 2 of 2

You might also like