0 ratings0% found this document useful (0 votes) 60 views4 pagesPrep2 Cs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
COMPUTER SCIENCE
Class | 11 PU 2023-24 Max. Marks 0
Preparatory Paper Duration 3h, 15 min,
Date 22-02-2024
Instructions
1
2.
3
4.
Answer all questions,
Read the questions carefully and write legibly.
Underline the important terms in answer.
For MCQ's and fill in the blanks repeated answers will not be evaluated.
PART -A
Answer ALL the questions, each question carries one mark. Select the correct
answer from the choices given. [20 x 4 = 20}
VGA stands for
(A) Visual Graphic Adaptor (B) Visual Graphic Attachment
(©) Video Graphic Access (D) Visual Graphic Array
‘The expression for Absorption law is given by __
(A)A+AB=A (B)A+AB=B (QAB+AA'=A — (D)A+B=B+A
For a3 input NAND gate when is the output 0
(A) Any one input is 0 (B) Both inputs are 0
(©) Both A and B (D) All inputs are 1
Assertion (A): Array is a linear data structure.
Reason (R): An ordered collection of items which are not arranged in an order
(A) Ais true and R is false
(©) Ais true Ris true
What is the output of the following snippet?
class Test {
int x;
}
int main
{
Test t;
cout << tx;
return 0;
}
(ao
(C) Runtime Error
(a) The friend function is a non-member function,
(b) Friend function do not require object to access.
(©) Itis defined only outside the class.
(A) Both a and ¢ are correct.
(© Both b and c are correct.
(B) Ais false and Ris false
(D) Ais false R is not correct explanation
(B) Compiler Error
(D) Garbage Value
(B) Both a and b are correct.
(D) Alla, b and ¢ are correct.
|
@ scanned with OKEN ScannerpzszscsPe
7. class A {
inta;
A (inti) {
hk
Wentify the type of constructor used in the above snippet.
(A) Default (B) Parameterized (C) Copy (D) Destructor
8. Which among the following is correct for a hierarchical inheritance?
(A) Two base class are used to derive into one single class
(B) Two or more class used to derive into one class
(© One base class used to derive into other two derive classes or more
(D) One base class can be derive into only 2 classes
9. Which of the following is illegal?
(A) int *ip; (B) string s, *sp = 0;
(C) inti; double* d = &i; (©) int *pi=0;
10. Set of attributes. values is known as
(A) Domain (B) Data (©) Record (D) Tuple
11. The logical structure of database is called as
(A) Metadata (B) schema © subschema ©) view
12, Which of the following device connects dissimilar networks?
(A) Modem (B) Hub (© Switeh (D) Gateway
Which of the following layer does the HTTP protocol work on?
(A) physical layer (B) Datalink layer (C) Application layer (D) Transport layer
14, Which are all called proprietary software's?
(A) MS Office (B) Photoshop
(© Microsoft Windows (D) Allof A, B,C
15. DNS stands for
(A) Domain Name Server (B) Data Name Server
(© Dual Name Server (D) Digital Name Server
Ml. Fill in the blanks choosing the appropriate wordiwords from those given in the
brackets.
(inary Relation, Data warehouse, Logical, Field, Relational, Network)
16. A column header of the table is also known as
17, DBMS follows which model for storing data in rows and columns
18.
19. Datatype that stores only 2 values is
is a repository of an organization electronically stored data
@ scanned with OKEN Scanner2pes24cseP
20, The relationship shown in the diagram is called
PART -B
Ill, Answer any FOUR questions. Each question carries TWO marks [4x2=8]
21, What are minterms and Maxterms?
22, Prove algebraically X + XY =X
23. Define class and object.
24, Write the syntax of copy constructor.
25. Give the difference between read () and write (.
26, Mention the types of data independence.
27. Mention the SQL group functions.
28. Mention the types of unguided transmission media.
PART-C
IV. Answer any FOUR questions. Each question carries three marks [4x3=12]
29. Define motherboard. Write a note on XT and AT motherboard.
30. What are universal gates? Realize basic gates using NAND gate.
31. Define stack. Explain the operations performed on stack.
32. Give the difference between Static and Dynamic memory allocation.
33. Explain the following (a) seekg() (b) seekp() —_(c) tellg().
34, Briefly Explain any 3 features of DBMS.
35. Mention the services used in e-commerce.
36, Define Web scripting. Mention the types.
PART-D
V. Answer any FOUR questions. Each question carries five marks
37, Write an algorithm to perform insertion sor.
38. List the applications of Stack
39. Expl
the Basic characteristics of OOPs,
40, Define friend function. Write the characteristics of friend function,
41. Explain parameterized constructor with explicit call using programming example.
42. Define Inheritance, Mention the advantages of inheritance.
43, Explain the Logical architecture of DBMS.
44. What is network security? Explain the network protection methods,
@ scanned with OKEN Scanneraasoacser
PART-E
Answer any TWO questions. Each question carries five marks [2x5 = 10]
ven the Boolean function F (A, B, C, D) =¥ (6, 8,9, 10, 11, 12, 13, 14), Reduce it using K-map,
46,
ven the student data: regno, name, and total_marks, write a program to ereate the class with member
function definition outside the class to read and write the student data
47, Write the SQL command for the given table data
‘To create the table
“To add the data in too the table
Update the DEPT to MANAGER whose EMP_ID is E1.
‘Add a new column LOAN AMT to the table
To display the table data
EMP_ID |_NAME_| SALARY DOS DEPT
EL Monika | 100000_| 20-02-2021 HR
E2 Amit 50000 _| 11-06-2022 Admin
3 Satish 75000_| 04-12-2022 | _Accountant
@ scanned with OKEN Scanner