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

Computer Science1

1. This document contains a practice examination for Class 12 Science students of Changu Kana Thakur Secondary and Higher Secondary Vidylaya in New Panvel. 2. The exam has 5 sections with multiple choice and long answer questions testing concepts in computer science including data structures, programming, and HTML. 3. Questions cover topics such as process management, binary trees, object-oriented programming, data structures, HTML tags, and C++ programming concepts like classes, functions, and arrays.

Uploaded by

alfa89p
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Computer Science1

1. This document contains a practice examination for Class 12 Science students of Changu Kana Thakur Secondary and Higher Secondary Vidylaya in New Panvel. 2. The exam has 5 sections with multiple choice and long answer questions testing concepts in computer science including data structures, programming, and HTML. 3. Questions cover topics such as process management, binary trees, object-oriented programming, data structures, HTML tags, and C++ programming concepts like classes, functions, and arrays.

Uploaded by

alfa89p
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

|| ivaVa ivanayaona SaaoBato ||

Janardan Bhagat Shikshan Prasarak Sanstha’s


CHANGU KANA THAKUR SECONDARY AND HIGHER
SECONDARY VIDYALAYA, NEW PANVEL
FIRST PRACTICE EXAMINATION-2020-2021.
Class: XII Science Date: 25/01/2021
Marks: 50 Subject: COMPUTER SCIENCE– I Time: 3 Hrs.

Q.1A) Select the correct alternatives and rewrite the following. (4)
1. Termination of a process is done by -----------.
a) Memory management b) Process management
c) Device driver d) Information management
2. Maximum number of nodes of symmetric binary tree with depth n is ------
a) 2n b) Log2n c) n2 d) 2n-1
3. Programming in C++ using classes is called --------- programming.
a) Procedure oriented b) event driven c) object oriented d) database.
4. Border is the attribute used in --------------- tag of html.
a) <pre> b) <address> c) <Table> d) <caption>
Q.1B) Answer any two of the following. (6)
1 What is priority? Explain internal and external priorities.
2. What is meant by linked list? With suitable example show the representation
of linked list in memory.
3. State any six characteristics of virtual functions.
Q2A) Answer any two of the following. (6)
1. What is HTML? Explain advantages of HTML.
2. Explain following terms in case of magnetic disk:
a) Seek time b) Transmission time c) Latency time
3. What is paging? Explain in detail.
Q.2B) Answer any one of the following. (4)
1.Draw the tree diagram which corresponds to the following algebric
expression.
a) (2x+y)*(a-7b)3 b) E=(a+b)/[(c*d)-e]
2. State the details of the following file stream classes:
a) ifstream b) ofstream
Q3A) Answer any two of the following. (6)
1. Discuss virus detection, removal and prevention philosophies.
2. Explain the use of following tags in html
a) <caption> tag b) <font> tag c) <strike> tag
3.Explain any six data structure operations.
Q.3B) Answer any one of the following. (4)
1. What is partitioning? Explain fixed and variable partitioning.
2. Explain the use of <OL> tags with example.
Q.4A) Answer any two of the following. (6)
1. What is class? Explain general form of a class declaration.
2. Explain the following data structures with definition and suitable diagram.
a) Linear array b) Stack c) Tree
3. What is GUI? Explain any two components of GUI in detail.
Q.4B) Answer any one of the following. (4)
1. Describe how member functions of class can be defined outside the class
definition and inside the class definition.
2. What are linear arrays? How arrays are represented in memory?
Q.5) Answer any two of the following. (10)
1. Write HTML code for following:
PIZZA With toppings Rs.150
(Domino’s) Without topping Rs.125
Pavbhaji Mushroom Pavbhaji Rs.40
Cheese Pavbhaji Rs.42 (With Butter) Rs.40
Jain Pavbhaji Rs.40

2. Write a function in C++ that exchanges data (passing by reference) using swap
function to interchange the given two numbers.
3. Write a program in C++to find sum of first 100 natural numbers.
OR
Q.5) Answer any two of the following. (10)
1. Write a Html code for a web page displaying the following.
ABC college , Mumbai
Course Capacity
B.Sc (comp) 80
B.Sc (IT) 80
M.Sc (comp) 30

2. Write a program in C ++ that initialises a ratio class with no parameters, as a


default constructor the program must print the message “OBJECT IS BORN”
during initialisation. It should display the message “NOW X IS ALIVE”, when
the first member function ratio x is called. The program must display “OBJECT
DIES” when the class destructor is called for the object when it reached the end
of its scope.

3. Write a program in C++ that first initialises an array of given 10 sorted real
numbers. The program must verify whether a given element belongs this array
or not, using binary search technique. The element is to be entered at the time
of execution. If the number is found, the program should print its position in
the array otherwise it should print, “The number is not found”.

You might also like