0% found this document useful (0 votes)
139 views

CS 1

This document contains a preliminary examination question paper for Computer Science - I for class 12. It has 4 sections with a total of 50 marks. Section 1 has 4 multiple choice questions with 1 mark each. Section 2 has 2 questions of 6 marks each requiring explanations of concepts. Section 3 again has 2 questions of 6 marks each and 1 question of 4 marks. Section 4 also follows the same pattern. The questions cover concepts in C++, HTML, operating systems and programming. Students are required to write code, explain concepts and provide examples.

Uploaded by

BLACKWHITE 7
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)
139 views

CS 1

This document contains a preliminary examination question paper for Computer Science - I for class 12. It has 4 sections with a total of 50 marks. Section 1 has 4 multiple choice questions with 1 mark each. Section 2 has 2 questions of 6 marks each requiring explanations of concepts. Section 3 again has 2 questions of 6 marks each and 1 question of 4 marks. Section 4 also follows the same pattern. The questions cover concepts in C++, HTML, operating systems and programming. Students are required to write code, explain concepts and provide examples.

Uploaded by

BLACKWHITE 7
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

Preliminary Examination2021–2022

Subject-Computer science –I
CLASS-XII
Time: 3:00 Hr Marks: 50 M
_________________________________________________________________________________
Q.1. A) Select the correct alternative and rewrite the following: 4M
1) _______ symbol is used to declare destructor function in C++.
a) @ b) # c) ~ d) !
2) ________ operator cannot be overloaded.
a) ++ b) + c) :: d) >>
3) _______ tag is used to write the definition list.
a) <UL> b) <DL> c) <OL> d) <DT>
4) ________ is collection of fields .
a) File b) Record c) Array d) Queue

Q.1. B) Answer any TWO of the following: 6M


1) Explain Bubble sort algorithm with suitable examples.

2) Explain general structure of HTML page.

3) Explain the purpose of the following functions with example:


i. Put()
ii. Get()
iii. Write()

Q.2.A) Answer any TWO of the following: 6M

1) Explain friend function in C++ with example.

2) How text is formatted by using <B>, <I> and <U> tags?

3) Explain memory map of single user operating system.

Q.2. B) Answer any ONE of the following: 4M

1) What is constructor and destructor? Explain each with the help of suitable example.

2) What is script? Explain VB script. Give one example.


Q.3. A) Answer any TWO of the following 6M

1) Explain internal and external fragmentation in memory management of operating


system.

2) Give the Advantages and Disadvantages of HTML.

3) Define following terms in C++ file handling.


i. Ifstream
ii. Ofstream
iii. Fstream

Q.3. B) Answer any ONE of the following: 4M


1) What is a Virtual Function? Write any six syntax rules of Virtual Function.
2) Explain the following tags in HTML.
i) <p> tag ii)<br> iii) tag<hr> tag iv) <pre> tag
Q.4. A) Answer any TWO of the following 6M
1) What is traversing an array? Give the algorithm for traversing a linear array.
2) Explain how a member function is defined outside class with examples.

3) Explain the use of following tags in HTML.


i) <Font> tag ii) <BIG> tag iii) HREF
Q.4 B) Answer any ONE of the following: 4M
1) Explain <OL> and <UL> tag used in HTML with example.
2) What is polymorphism? Explain how it is achieved by:
a) Compile time b) Run time

Q.5. Answer any TWO of the following: 10M

1) Write a C++ program to accept 10 integers in array and find its sum and average.

2) Write a C++ function to find surface area of a sphere. (Hint- Surface area of sphere =
A= )

3) Write a code in HTML for following table:

Subject Paper - I Paper - II


Computer Theory 50 50
Science Practical 50 50

OR
Q.5. Answer any TWO of the following: 10M

1) Write a C++ program to accept a sentence of characters and count number of words
in a sentence.

2) Write a class based C++ program to accept two integers and find its G.C.D. (Greatest
Common Factors).

3) Write text exact output of the following HTML code with font specification.

(Note: here code is given for which output is required along with link details as
mentioned)
<HTML>
<BODY
<TABLE border= "3" Cellspacing="10">
<TR>
<TH colspan = "3" > STREAM </TH>
</TR>
<TR>
<TD> <A href= "Science.html"> SCIENCE </A> </TD>
<TD> <A href= "Commerce.html"> COMMERCE </A> </TD>
<TD> <A href= "Arts.html"> ARTS </A> </TD>
</TR>
</TABLE>
</BODY></HTML>

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy