MS SOLUTIONS
SECOND TERM HIGHER SECONDARY MODEL EXAM-2024
COMPUTER SCIENCE
Max: Mark : 60 Time : 2Hrs
Answer any five questions from 1 to 6 Each carries 1 score
1) Process of correcting errors in a program is called ________ (1)
2) Ancient number system which has base 60 is _______ (1)
3) Fundamental building block of a program is called _____ (1)
4) Fastest memory in computer is ________ (1)
5) Which flowchart symbol is used to represent decision making statement (1)
6) ______ is the keyword used to create constants whose value never change during the
execution of program (1)
Answer any nine question from 7 to 18. Each carries 2 scores
7) List functions of operating system (2)
8) Match the following: (2)
First generation computer Microprocessor
Second generation computer Vacuum Tube
Third generation computer Transistor
Fourth generation computer Integrated circuit
9) Expand the following (2)
a) ENIAC
b) HLL
10) Explain about any two type of errors occurring during programming (2)
11) Draw the block diagram of John Von Neumann's computer architecture. (2)
12) List any four tokens available in C++ (2)
13) Do the following conversion: (2)
a) (28)8 to decimal
b) (65)10 to binary
14) State De-Morgan’s theorems (2)
15) find the dual of following Boolean expression (2)
a) (A+B),(AB) =1
b) A+0=A
16) List four data type modifiers in C++ (2)
17) Choose invalid identifier among following and give reason for that (2)
a) _invalid b) roll-no
c) A2B d) int
e) Random_int
18) What is mean by sorting? List two sorting algorithms (2)
Answer any nine questions from 19 to 29. Each carries 3 scores
19) find 1’s complement and 2’s complement of (−28)10 (3)
20) Explain any three e-Waste disposal methods (3)
21) Draw flow chart of algorithm given below (3)
Step 1. Start
Step 2. N = 1
Step 3. Repeat the step 4 and 5 until N < = 10
Step 4. Print i
Step 5. N=N+1
Step 6. Stop
22) Compare RAM and ROM (Any 3 comparisons) (3)
23) a) Expand the following (3)
i) JPEG
ii) GIF
b) Write a short note about ASCII
24) a) List any two language processors (3)
b) List any four CPU registers
25) fill the blanks (3)
a) (8𝐹)16 = (−)2 = (−)8
b) (45.125)10 = (−)2
26) Which gates are called universal gates? Draw their symbols. (3)
27) Write about (3)
a) int
b) char
c) void
28) Consider the following C++ statement (3)
int arr [6] = {1 , 2, 3, 4, 5, 6 };
Write output of following codes
i) cout << arr[0];
ii) cout << arr[2] + arr[5];
iii) cout << arr[4] – arr[1];
29) Draw logic circuit diagram for Boolean expression ( X + Y ) . ( XY ) (3)
Answer any two questions from 30 to 32. Each carries 5 score
30) a) Write symbols of following C++ operators (5)
i) conditional operator
ii) extraction operator
b) Write and explain structure of C++ program
31) Consider the piece of code give below and answer the following questions (5)
int i =1;
for(i=1;i<=5;i++)
If (i==4)
continue;
cout<<i<”\t”;
a) what will be output of the above program? (1)
b) Explain what happens when the continue is replaced by break statement and
predict
the output (2)
c) Write the above code using while loop instead of for loop (2)
32) a) Write a C++ program to print sum of first 10 natural numbers (2)
b) Differentiate between if and switch statements (2)
c) do-while loop is a ______ controlled loop (1)