XII Prelim II - CS-I Solution
XII Prelim II - CS-I Solution
LAKSHYA
XII-CS-1-PRELIM- SUBJECT : COMPUTER SCIENCE - 1 Time (mm:ss) : 150:00
TEST (24-25) FULL SYLLABUS
Q.1.A. Select correct option from the following and rewrite sentence : 4
1) The time lost in turning the attention of processor from one process to another process is called as ________.
a) Circuit Switching
b) Band width
c) Context Switching
d) Packet Switching
Ans 3
:
a) Files
b) Arrays
c) Fields
d) Maps
Ans 3
:
Exp Fields
:
3) If all visibility tables are missing then by default members of class are _______.
a) Public
b) Protected
c) Private
d) Void
Ans 3
:
Exp Private
:
4) _______ tag is used to put a line break in HTML Code.
a) <HR>
b) <BR>
c) <P>
d) <LI>
Ans 2
:
Exp <BR>
:
6) Explain in short the three special characteristics of a static data member in a class.
Exp Difference of
: i) Root (1 Mark)
ii) Leaf (1 Mark)
iii) Sibling (1 Mark)
iv) Depth (1 Mark)
17) What is Computer Virus ? What are the different methods by which virus can infect other programs ?
21) State the various steps involved in the allocation of partition in case of fixed partition memory management.
22) Explain the use of Scope resolution Operator and Memory Management Operators in C++ with example.
OR
a) Impliment class GCD which have member function (a/c), which calculate greatest common divisor of two
number entered during program execution.
Print ( ) will Print GCD of two number.
c) Write the exact output of the following HTML Code with font specification in backet.
<html>
<title> Introduction </title>
<body>
<hl> <b> Computer Science </b> </hl>
<hr>
<u> Paper - I </u>
<hr>
<u> Paper - II </u>
</body>
</html>
c) <html>
<head>
<title> computer science </title>
</head>
<body>
<Table border = "1" cellspacing = "15" >
<TR>
<TD Rowspan = "2" > Computer Science </TD>
<TD> Paper - I </TD>
<TD> Paper - II </TD>
<TD> Total </TD>
</TR>
<TD> 100 </TD>
<TD> 100 </TD>
<TD> 200 </TD>
</TR>
</Table>
</body>
</html>
OR
c)