Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

STD – 12TH SUBJECT: COMPUTER SCIENCE MARKS: 50

DATE – PAPER-I TIME: 3HR

QNo.1. A. Select correct alternative and rewrite the following

1. __________ is not a derived data type in C++. 01


a) Class b) Array c)Function d) Pointer

2. Windows 98 is ___________ operating system. 01


a)Single user b)Multiuser
c)Time Sharing d) Multithreading

3. Maximum number of nodes of symmetric binary tree with depth n are _________ 01
a) 2n b) log2n c) n2 d) 2n-1

4. Long form of HREF is _________ 01


a) Horizontal reference b) Hypertext reference
c) Hyperlink reference d) Hypermedia reference

QNo.1. B. Answer any two the following

1. What are the different methods by which virus can infect other program? 03

2. What is a record ? How it differs from a linear array. 03

3. Explain the use of following tags in HTML 03


a) <A> b)<SUP> <HR>

QNO.2. A. Answer any two the following

1. What is operator overloading in C++? Write down four rules of operator overloading. 03

2. Explain six data structure operation. 03

3. Explain context switching at a process level in multiprogramming system with example. 03

QNo.2. B. Answer any one the following

1. What is Inheritance? Explain any three type of inheritance with suitable diagram. 04
2. Explain the following terms in case of magnetic disk: 04
a) Tracks and Sectors
b) Seek Time
c) Transmission time
d) Latency time/ Rotational delay.

QNO.3 A. Answer any two the following

1. What is Paging? Explain in detail. 03

2. Explain Stack and Queue with suitable example. 03

3. Explain how a member function is define outside class with example. 03

QNo.3. B. Answer any one the following

1. What is partitioning? Explain Fixed and Variable portioning. 04

2. Define Binary tree. Draw a Tree diagram for following expression. 04

E=[ (3X + Y) / (2R + S) ]3/2

QNO.4 A. Answer any two the following

1. Which are the three main area in which the operating system divides its services? Give 03
Examples.

2. Explain ‘Call by Value’ and ‘Call by reference’ with one example of each. 03

3. What are different File modes in C++? 03

QNo.4. B. Answer any one the following

1. Explain Constructor and Destructor? Explain each with the help of suitable Example. 04

2. What are Linked List ? Show a Linked List with suitable example having six nodes with 04
properly labeled diagram.

Q.No.5. Solve any two of the following.

1. Write a C++ program with average( ) function that returns the average of four input 05
numbers.
[double ave ( double X1, doubleX2, doubleX3, double X4); ]

2. Write a C++ program to find factorial of a natural number inputed during program 05
execution.
3. Write code in HTML for following table : 05

Student Marks Obtain Total


Name Test 1 Test 2 Test 3
Meena 150 150 150 450
Reena 129 130 131 390
Nisha 125 115 120 360

OR

Q.No.5. Solve any two of the following

1. Implement a class temperature to convert degree Fahrenheit value to degree Celsius 05


value.
( Hint: C/5=F-32/9, where C is temperature in degree Celcius and F is temperature in
Fahrenheit degree.)

2. Write a program in C++ that inputs and stores 10 numbers in an array and print the sum 05
and average of the array elements.

3. Write the exact output of following html code with font specification
<html> 05
<body>
<h1> Terms used in Networking </h1>
<hr>
<ul>
<li> Bandwidth
<li> Attenuation
<li> Electronic Interference
</ul>
<ol>
<li> Topology
<li> Ethernet
<li> protocol
</ol>
</body>
<html>

You might also like