0% found this document useful (0 votes)
78 views1 page

Tumakuru II PUC Computer Science Test

useful

Uploaded by

praveenhm680
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)
78 views1 page

Tumakuru II PUC Computer Science Test

useful

Uploaded by

praveenhm680
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

TUMAKURU DISTRICT P.U. COLLEGES PRINCIPALS' ASS0CIATION (R.

)
SECOND UNIT TEST DECEMBER -2024
Total No. of ques: 20
Subject Code :41 II PUC Max Marks : 35
Time :1-90 hours
COMPUTER SCIENCE

Answer all the questions. Each question carries one mark. 1x10 = 10
Select the correct answer from the choices given: (Repeated answers
will not be considered)
1) The symbol is used to define derived class
b) ~ c) # d)::
2) Given int "ptr, x = 200; which is the correct way to assign address of x
variable to the pointer
a) ptr = x; b) ptr ="x; pafr= &x d) x= ptr;
Which one of the following is unsupported C++ expression with respect to
3)
pointer ptr ?
a) ptr + 80 b) ptr++ c) ptr - 100 100;
4) Each row of a table is called
a) attribute b)domain c) field Layrecord
5) Processed data with somedefinite meaning
a) Data bynformation c) File d) Database

Fill in the blanks choosing the appropriate word/words from those


given in the brackets.
(Table, data ware house, MySQL, rectangle, network, redundancy)
6 Data duplication is called_kedundancy
7)
NetwoSK_ data model organise the data in graph like structure.
8)
Tah is a collection of data elements organized in terms of rows and
columns
9) mgs is an example for DBMS software.
10) The ucajk symbol is used to represent entity in ER-diagram.
PART - B
Answer any TWO questions; each question carries TWO marks. 2x2=4
11) What are input and output streanm ?
12) Explain opening file using open() member function.
13) Define primary key and foreign key.
PART -C
IV Answer any TWO questions;each question carries THREE marks.2x3=6
14) Mention the member functions belonging to ifstream class.
15) Write the basic operations on binary files in C++.
16) Briefly expiain different database users.
PART - D
V Answer any THREE questions; each question carries FIVE marks. 3x5=15
17) What is inheritance? Explain hierarchical and hybrid inheritance.
18) Mention the advantages of inheritance.
19) What is visibility mode? Explain any two.
20) Explain the following
a) Base class b) Derived class c) Virtual base class
d) Abstract class e) Single inheritance

You might also like