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

R.P.

JUNIOR COLLEGE OF ARTS,SCIENCE AND


COMMERCE,VASAI
1ST PRELIMINARY EXAM 2021-22
DATE- 12-01-2022 DURATION- 3HRS
STREAM-SCIENCE SUBJECT-COMPUTER SCIENCE -1
STD-12TH

Note :1) All questions are compulsory.


2) Draw neat diagrams whenever necessary.
3) Figures to the right indicate full marks
4) Use of any type of calculator is not allowed.
5) Due credit will be given for the programs with appropriate comments.

Q.1. A) Select the correct alternatives and rewrite the following 4M

a]____is the only non-linear data structure from following list.

I]Array ii]Stack iii]Tree iv]Linked list

b]The attribute BORDER in<TABLE>tag has the default value of___

I]2 ii]0 iii]1 iv]none of these

c]Ability to take more than one form is called________

I]Class ii]Polymorphism iii]Inheritance iv]Overloading

d]Linux is__software.

I]public domain ii]free iii]paid iv]private

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


1) Explain the following HTML tags with one example of each
a) <SUP> b) <img> c)<UL>
2) How arrays are represented in memory? Explain.
3) What is segmentation? Explain.

Q2A]Answer any two of the following 6M

a]Define the following terms with respect to data structure

i]Array ii]Stack iii]Queue


b]What is constructor ?sate any four syntax rules for writing constructors.

C]Write any two important features of the following operating system

I]windows98 ii] linux iii]windows NT

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


1) What is Polymorphism? Explain with its types.
2) What is linked list? Explain.

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


1)What is virus? Explain how they can be prevented..
2)Define security? What are attacks of security?
3) What is class? Explain the syntax of class declaration in C++.
4) Explain <font>,<marquee>,<h1>,<EM> tags in detail.

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


1) What is operating system? Explain pm and IM with its system calls.
2) Explain tree in detail.

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


1) What is inheritance? Explain different forms of it with figures.
2) Explain multiprogramming? What is degree of multiprogramming?
3) Explain the concept of operator overloading with one example.
4) Write an algorithm for deleting an element from an array.

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


1) Explain stack and queue.
2) Explain<Table> tag with its attributes.

Q.5. A) Answer any two of the following 10M


1) Write a program in C++ to find area of triangle using class.
2) Write a C++ program to show use of single inheritance.
3) Write HTML code of following output

INDIA INNINGS
PLAYER NAME ODI Runs 4’s 6’s
Rohit Sharma 1st 126* 15 04
KL Rahul 2nd 103 11 07

OR
Q.5. B) Answer any two of the following 10M

1) Write a function in C++ that exchanges data (passing by reference) using swap function to
interchange the given two numbers. Enter the program and verify proper execution of the same
on the computer. The output must list the given numbers before as well as after swapping.
2) Write a C++ code to find smallest number among 3 numbers entered by user.
3) Write HTML Code of following output
Menu
FOOD TYPE RATE
VEG 150/-
HOTEL SWAD NON-VEG 270/-
WITH AC ADDITIONAL 300/-

You might also like