#### Term 1 Five Mark Model Questions

11th Standard

Reg.No. :
•
•
•
•
•
•

Computer Science

Time : 02:00:00 Hrs
Total Marks : 50
10 x 5 = 50
1. Discuss the various generations of computers.

2. Convert (98.46)10 to bianary

3. Subtract 11010112 - 1110102

4. How the read and write operations are performed by a processor? Explain.

5. Explain the types of ROM.

6. Explain the main purpose of an operating system

7. Explain the versions of Windows Operating System.

8. Exchange the contents: Given two glasses marked A and B. Glass A is full of apple drink and glass B is full of grape drink. For exchanging the contents of glasses A and B, represent the state by suitable variables, and write the specification of the algorithm.

9. Trace the step-by-step execution of the algorithm for factorial(4). factorial(n)
--inputs: n is an integer, n > 0
-- outputs: f = n!
f, i := 1 ,1 while i < n
f, i := f X i, i1+

10. Power can also be defined recursively as ${ a }^{ n }=\begin{cases} 1\quad \quad \quad \quad \quad \quad ifn=0 \\ a\times { a }^{ n }-1\quad \quad ifn\quad is\quad odd \\ { a }^{ n/2 }\times an/2\quad ifn\quad is\quad even \end{cases}$ Construct a recursive algorithm using this definition. How many multiplications are needed to calculate a10?