0% found this document useful (0 votes)
13 views3 pages

CS I - Pre

The document is an exam paper for Computer Science covering various topics including HTML, data structures, algorithms, and programming concepts. It consists of multiple-choice questions, short answer questions, and programming tasks. The exam is structured into sections with specific marks allocated for each question.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views3 pages

CS I - Pre

The document is an exam paper for Computer Science covering various topics including HTML, data structures, algorithms, and programming concepts. It consists of multiple-choice questions, short answer questions, and programming tasks. The exam is structured into sections with specific marks allocated for each question.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

PRELIM DATE :

TIME: 2hrs COMPUTER SCIENCE - I MARKS : 50

1.A
. Select the correct alternatives and rewrite following: [4]
1. _____________ tag is used to put line break in HTML.
(a) <h1> (b) <br> (c <tr>
) (d) <ol>
2. If all visibility members are missing then by default all the members of the
class are ____________.
(c (d
(a) Public (b) Protected ) Private ) void
3. The time lost in turning the attention of processor from one process to
another is called _____________.
(a) Packet (b) Band width (c Context (d) Circiut
switching ) switching switching
4 Record is the collection of_________
(c
(a) File (b) Arrays ) Fields (d) Maps

B. Answer any TWO of the following: [6]


1. Explain any three types of control structures used for flow control.
2. Explain bubble sort algorithm with suitable example.
3. Explain the following HTML tags with suitable examples:
i) <pre> ii) <marquee> iii) <sub>

2.A [6]
. Answer any TWO of the following:
1. Explain the use of following data structure with example.
(a) Stack (b) Queue (c) Linked List
2. Define Data structure. Explain six Data Structure Operation.
3. What is HTML? State any three advantages.

B. Answer any ONE of the following: [4]


1. With reference to process management explain the following terms:
a) Internal priority b) External priority
c) Purchase priority d) Time Slice
2. What is an Operator Function? Describe Syntax of an operator function.
What is difference between operator function as member function and friend
function?

3.A [6]
. Answer any TWO of the following:
1. What is the difference between linear search and binary search?
2. Explain different types of inheritance with suitable diagram.
3. How binary trees are represented in memory.

B. Answer any ONE of the following: [4]


1. Define following terms with reference to tree
(i) Leaf (ii) Root (iii) Root (iv) Sibling
2. Give the features of LINUX operating system.

4.A [6]
. Answer any TWO of the following:
1. With syntax diagram explain the structure of HTML WebPage.
2. Explain the concept of function overloading with example.
3. Explain any three features of WINDOWS-NT operating System.
G12 / Computer Science /1-2

B. Answer any ONE of the following: [4]


1. State the various steps involved in allocation of partition in case of
fixed partition memory management.
2. Explain the use of scope resolution operator and memory
management operators in c++ with examples.

5. Answer any TWO of the following: [10]


1. Write a program in C++ to accept three integers from keyboard and
find greatest number with using Condition Control.
2. Implement a class rectangle. Each object of this class will represent a
rectangle accepting its length and width as float. Include an area
function which will calculate the area of the rectangle.
3. Write HTML code for the following:
Computer Paper I Paper II Total
Science 100 100 200

OR
5. Answer any TWO of the following: [10]

1. Write a program in C++ program that will read a line of text and count
the number of words in a text.
2.
Student

Marks

Result

Implement the above class hierarchy of inheritance. Class student


accepts roll number of student. Class marks accepts marks of three
subjects and class Result calculates the total and prints all details.
3. Write the ‘exact output’ for the following code with font
specification in brackets.
<html><head>
<title>Subjects </title>
</head><body>
<h1 align=” center” >List of Topics</h1>
<hr size 4>
<ol>
<li><p align=” left” >Operating System</p>
<li><p align=” left” >Data Structure</p>
<li><p align=” left” >C++ Programming</p>
<li><p align=” left” >HTML</p>
</ol>
<hr>
<ol><li><p align=” center” >COMPUTER SCIENCE</p></ol>
</body></html>
G12 / Computer Science /2-2

You might also like