Featured Post

Computer Science 12th VVI MCQ Questions For Exam



There are 70 objective type questions

1. Which one is not a Data Structure?

A. Queue B. Tree

C. Clrscr ( ) D. Stack


2. getch ( ) is a/an

A. Input function B. output function

C. variable D. data type


3. float is a/an

A. function B. operator

C. constant D. data type


4. String.h is a/an

A. data file B. header file 

C. linker D. program block


5. Which one is a DCL command ?

A. Roll back B. Insert

C. Create D. Update


6. Arrays may be defined with …………

Array………… 

A. Only columns B. Only rows

C. Only one cell D. Both columns and rows


7. Which one is an output function for stack?

A. POP B. PUSH

C. Binary D. Traversal


8. Changing data type in run time mean ?  

 A. Summarization B. Elimination

C. hiding D. Casting


9. Functions is a feature of ……………..

 A. Procedural programming

B. SQL

 C. Non Procedural Programming

D. Object oriented Programming


10. Classes are source of ……………

 A. Design of object B. Creation of object

 C. instances of object D. Not related with object


11. Identify the incorrect option.

 A. < = size of (bool) < = size of (long)

B. size of (float) < = size of (double) < = size of (long double)

 C. size of (char) < = size of (long) < = size of (Wchar-t)

 D. size of (N) = size of (signed N) = size of (unsigned N)


12. Base of binary number system is ?

 A. 10 B. 8

 C. 2 D. 16


13. In Boolean variable A.A represent …………..

A. A B. A2

 C. 2A D. 1


14. Which one is not a DCL command in SQL ?

 A. REVOKE B. COMMIT

 C. DELETE D. GRANT


15. Which of the following SQL command used to change data?

 A. CREATE B. INSERT

 C. SELECT D. UPDATE


16. Which of the following is valid computer network device?

 A. LAN B. NIC

 C. WWW D. MAN


17. Which of the following will not return a value ?

A. null B. void

 C. empty D. free


18. Which of the following is a valid computer network application?

 A. BUS B. HUB

 C. email D. NIC


19. Long is a/an ……….. ?

 A. Built in data type B. Constant

 C. Derived data type D. Variable


20. Queue is a ..........?

 A. Derive data type B. function

 C. header file D. Data Structure


21. In which type do the enumerators are stored by the compiler ?

A. String B. Integer

 C. Float D. String & float


22. OOP is based on ?

 A. Program & Process B. Function and Data

 C. File and Disk D. Input and Output


23. Pointer is a ?

 A. Variable

B. Method

 C. Data

D. Design of data and methods


24. SOP stands for ?

 A. Sum of Product B. Same on Product

 C. soft on Process D. Sample of Program


25. Domain value is.......?

 A. Data type B. Data under column

 C. Attribute Name D. Entity Name

 

26. POP is a …………

 A. Device B. Function

 C. Topology D. Language


27. GSM is related with …………..

 A. Computer Network B.Computing System 

C. Mobile system D. Internet  


28. Tera byte (TB) is unit of measurement for ?

 A. Light waves B. Speed of air craft

 C. Computer’s memory D. Band width

 

29. Typedef is a/an ?

A. Keyword B. Constant

 C. Variable D. Array name


30. Information security is related with ………… ?

 A. Hardware Protection

B. Server Protection

 C. Internet access Protection

D. Online Fraud & Crime Control


31. SUM() function returns?

 A. Highest value B. Lowest value

 C. Addition of Number D. Positive value


32. Preprocessor begins with character …………

 A. # B. /

 C. * D. +


33. GROUP BY clause helps to ……….. the table data.

 A .Summarize B. Sort  

 C. Group D. List


34. LED monitor is a/an ?

 A. Input device B. Output device

 C. Memory unit D. Processing unit 

35. WLL stands for ?

 A. Wireless Low Level B. Wireless Lowest Loop

 C. Wireless Local Loop D. Wireless Local Line


36. To which of these enumerators can be assigned ?

 A. integer B. negative

 C. enumerator D. all of the mentioned


37. Can two functions declare variables (non static) with the same

name ?

 A. No

B. Yes

 C. Yes, but not a very efficient way to write programs

 D. No, it gives a runtime error.


38. The operator used for dereferencing or indirection is ……….

 A. * B. &

 C. - > D. - > >


39. Which one of the following is not a possible state for a pointer ?

 A. hold the address of the specific object

 B. point one post of the end of an object

C. zero

D. point to a type0.


40. Which of the following is illegal ?

 A. int*ip; B. string s, *sp=0;

C. int I; double*dp=&I; D. int*pi=0;


41. What is the index number of the last element of an array with 73elements ?

 A. 71 B. 72

 C. 73 D. Programmer-defined


42. How are the constants declared ?

 A. Const Keyword

B. # define preprocessor

 C. both const Keyword and # define preprocessor

 D. S define


43. The ………….. mode tells C++ to open a file for input

A. add::ios B. in::file

 C. ios::app D. ios::in


44. Using the wardrobe structure within the ShopList structure is an example of a good programming principle, known as ………..

 A. reusability B. polymorphism

 C. redundancy D. recursion


45. When you omit parameter from a function call, value can be

provided by.

 A. Formal Parameters B. reference parameters

 C. Overloaded parameters D. default parameters


46. The first element in a string is

 A. the name of the string

B. the first character in the string

 C. the length of the string

 D. the name of the array holding the string


47. Variable declared outside a block are 

 …………

 A. global B. universal

 C. stellar D. external


48. The compiler converts your C++ instructions into ………….

 A. edited code B. object code

 C. source code D. translated code


49. A fundamental data type such as int or double is a …………

 A. programmer-defined type B. complex type

 C. nonscalar type D. scalar type


50. The returns type you code for all constructors is …………….

 A. Void

 B. the class type

 C. the same type as the first data number defined in the class

 D. no type


51. When an object-oriented program detects on error within the function …..........

 A. throws an exception B. throws function, C. catches a message D. catches an exception


52. Using a statement at the wrong time or with an inappropriate

object creates a ……………..

 A. logical error B. syntax error

 C. compiler error D. language error


53. When you create a derived class and instantiate an object then

………

 A. the parent class object must be constructed first.

 B. the child class object must be constructed first.

 C. the parent class object must not be constructed.

 D. the child class object must not be constructed.


54. A normal C++  that acts in special ways on newly defined data types is said to be …………….


55. A function in a derived class that has the same name as a function in the parent class, then it will …………….

 A. will override the base class function.

 B. will cause an error message to display.

C. will be overridden by the base class function.

 D. will execute immediately often the base class function executes.


56. A constructor always has

 A. communicational cohesion B. temporal cohesion

 C. logical cohesion D. no cohesion


57. Binary trees with threads are called as ………….

 A. Special trees B. Pointer trees

 C. Threaded trees D. None of the above


58. In Binary trees nodes with no successor are called ………..

 A. End nodes B. Final nodes

 C. Last nodes D. Terminal nodes


59. Every node N in a binary tree T except the root has a unique parent called the ………….. of N.

 A. Predecessor B. Antecedents

 C. Precursor D. None of the above


60. The in order traversal of tree will yield a sorted listing of elements of tree is …………

 A. Merging B. AVL Trees

 C. Binary trees D. Binary search trees


61. The post order traversal of a binary tree is DEBFCA. Find out

the pre order traversal.

 A. ABFCDE B. ADBFEC

 C. ABDECF D. ABDCEF


62. A technique for direct search is

 A. Hashing B. Tree search

 C. Binary search D. Linear search


63. A full binary tree with 2n + 1 nodes contain.

 A. n leaf nodes B. n non-leaf nodes

 C. n-1 leaf nodes D. n-1 non-leaf nodes


64. To include integrity constraint in an existing relation use :

 A. Modify table B. Drop table

 C. Alter table D. Create table


65. Which of the following is not an integrity constraint ?

 A. Not null B. Positive

 C. Unique D. Check predicate


66. When grouping cells within a K-map, the cells must be combined in groups of ……………..

 A. 2s B. 1, 2, 4, 8, etc.

 C. 4s D. 3s


67. The NAND or NOR gates are referred to as “universal” gates

because any one :

 A. can be found in almost all digital circuits.

 B. can be used to build all the other types of gates.

 C. are used in all countries.

 D. were the first gates to be integrated.


68. Why IP protocol is considered as unreliable ?

 A. A packet may be lost

 B. Packets may arrive out of order

 C. Duplicate packets may be erated

D. All of the above


69. What is www.mail.yahoo.com

 A. A file B. A network

 C. A topoloty D. An email service


70. What is the full form of RAID ?

 A. Redundant Array of Independent Disks.

 B. Redundant Array of Important Disks.

 C. Random Access of Independent Disks.

 D. Random Access of Important Disks.


Right Option को Comment Box में  लिखे




Comments