Professional Documents
Culture Documents
PART – A
Answer all the questions. Each question carries one mark. 1 x 20 = 20
I Select the correct answer from the choices given: (Repeated answers will not be considered)
1. Which among the following is the fastest memory in a computer that holds information?
a) Register b) Cache
c) Main memory d) RAM
2. The other name of Boolean algebra is
a) Switching algebra b) Relational Algebra
c) Digital Algebra d) None of the above
3. The other name of NOT gate is
a) Neglect gate b) Inverter gate
c) XOR gate d) XNOR gate
4. The data structure that allows the insertion, as well as the deletion from both the ends, are:
a) String b) Linked List data structure
c) Stack data structure d) Dequeue data structure
5. What is the other name used for functions inside a class?
a) Member variables b) Member functions
c) Class functions d) Class variables
6. Function cannot be overloaded when
a) Function names are same b) Number of parameters are different
c) Number of parameters are same d) Data types of parameters are different
7. The symbol used with constructor is
a) $ b) &
c) Delta c) ~
8. Base class is
a) a sub class b) inherited class
c) Main class d) First class
9. Which of the following is the correct way to declare a pointer?
a) int *ptr b) int ptr
c) int &ptr d) All of the above
MANJUNATH K N H.O.D DEPT. OF COMPUTER SCIENCE SNPUC HOSADURGA…… 1
-1-
10. is called information.
a) Raw fact b) collection of data
c) Unprocessed data d) Processed data
11. SQL is .
a) Theoretical Language b) Procedural Language
c) Structured Language d) Unstructured Language
PART – B
Answer any FOUR questions. Each question carries two marks. 2x4=8
21. Prove ̿X = X.
22. Define tautology and fallacy.
23. What is encapsulation? Give an example.
24. What is destructor? Give example for destructor.
*****
PART – A
Answer all the questions. Each question carries one mark. 1 x 20 = 20
I Select the correct answer from the choices given: (Repeated answers will not be considered)
1. CMOS in motherboard is expanded as ______.
A. Customary Metal Oxide Semiconductor
B. Complementary Mineral Oxide Semiconductor
C. Complete Metal Oxide Semiconductor
D. Complementary Metal Oxide Semiconductor
2. The x*y=y*x is
a) Associative law b) Commutative law
c) Involution law d) None of the above
3. Which of the following termed as universal Gate?
a) OR Gate b) Inverter gate
c) XOR gate d) NAND gate
4. Which of the following is a non-linear Data Structure:
a) Arrays b) Lists
c) Trees d) Strings
5. Which is the Default Access Specifier in class?
a) Private b) Public
c) Protected d) Friend
6. Function can be overloaded when
a) Function names are same b) Number of parameters are different
c) Number of parameters are same d) All of the Above
7. The symbol used with Destructor is
a) $ b) &
c) Delta c) ~
8. Derived class is
a) a sub class b) inherited class
c) Main class d) First class
PART – B
Answer any FOUR questions. Each question carries two marks. 2x4=8
21. Prove x+y = y+x.
22. Write the postulates of Boolean algebra?
23. Mention any two applications of OOPs
MANJUNATH K N H.O.D DEPT. OF COMPUTER SCIENCE SNPUC HOSADURGA… 2
-2-
24. What is parameterized constructor? Write the syntax.
25. Mention any two functions of text file and give their meaning.
26. Mention database users.
27. Give the syntax and example for UPDATE command in SQL.
28. Briefly explain simplex communication mode.
PART – C
*****
I Select the correct answer from the choices given: (Repeated answers will not be considered)
1. What is motherboard?
A. Scanner and other things are part of motherboard
B. Keyboard otherwise known as motherboard
C. A circuit board which connects all the elements
D. It is a type of file server
2. What is Min term
a) Sum of all the Literals b) Product of all the literals
c) Subtract of two literals d) None of the above
3. Which of the following termed as Basic Gate?
a) OR Gate b) Inverter gate
c) XOR gate d) NAND gate
4. Which of the following is a Primitive Data Structure:?
a) Arrays b) Lists
c) Trees d) Strings
5. Data members are Accessed inside class only using?
b)Private b) Public
c) Protected d) Friend
6. Friend Function includes
a) Nonmember function of the class b) friend of class
c) it should be declared in public d) All of the Above
7. How many types of constructor are there?
a) 1 b) 2
c) 3 c) 4
8. Super class is
a) a sub class b) a Base class
c) Main class d) First class
PART – B
Answer any FOUR questions. Each question carries two marks. 2x4=8
21. Prove 0+x=x
22. Define tautology and fallacy.
23. Define Object? Give an example
*****