12th CS 1 Prelims Exam 26 - 03 - 2021
12th CS 1 Prelims Exam 26 - 03 - 2021
12th CS 1 Prelims Exam 26 - 03 - 2021
PRELIMINARY EXAM
th
Std.12 (SCIENCE) Subject-Computer Science-I Duration-3 hours
Date-26/03/2021 Marks-50
__________________________________________________________________________
1. (A) Select correct option from the following and rewrite sentence:
(a) ___ is given to each process so that a process does not use the CPU
indefinitely. 1
(i) Context Switching (ii) Time Slice (iii) Token Time
(iv) Purchased Priority
(b) Out of the following C++ operators, ___ operator can be overloaded.
(i) Sizeof (ii) :: (iii) ?: (iv) *
(c) The time required for read_write head to move to the correct track is __.
(i) Latency Time (ii) Rotational Delay (iii) Seek time
(iv) None of these
(d) To place the image into an HTML file _____ attribute is used in IMG tag.
(i) <URL> (ii) <ALT> (iii) <SRC> (iv) <HREF>
(a) Which are the three major areas in which the operating system divides its
services. Give examples.
(c) With a suitable example and neat diagram, show the representation of
linked lists in Memory.
(b) Describe how the Member Function of a Class can be defined Outside the
Class Definition and Inside the Class Definition?
(c) What do you understand by the term “Searching”? Which are the searching
algorithms? Explain the linear searching algorithm.
2. (B) Answer any one of the following:
(c) Define “Security” with respect to an operating system. Explain the different
elements of security. 3
(a) Write a C++ program that right justifies text. It should read and echo a 5
Sequence of left justified lines and print them in right justified format.
(b) Implement class GCD which have member function, which calculate greatest 5
common divisor of two number entered during program execution. Print() will
print GCD of two numbers.
(c) Write exact output of the following HTML code with font specifications 5
in brackets :
<html>
<body>
<h1> Term used in Networking </h1>
<hr>
<ul type = "circle">
<li> Bandwidth
<li> Attenuation
<li> Electromagnetic Interference
</ul>
<ol type = "a">
<li> Topology
<li> Ethernet
<li> Protocol
</ol>
</body>
</html>
OR
(c) Write HTML code for a web page displaying the following table: 5