Year Wise Selected Question for Class 12th JAC Board

 

2020

1) C++ is developed by

(i) Dennis Ritchie              (ii) ken Thompson           (iii) martin Richard           (iv) Bjarne Stroustrup

Ans:- (iv)

2) String Terminator character is  

(i) ‘/0’                                    (ii) ‘/n’                                  (iii) ‘\b’                                 (iv) none of these

Ans:- (i)

3) DBMS Stand for

(i) Database management system           

(ii) Database manual system

(iii) Define management system

(iv) None of these

Ans:- (i)

4.) The smallest individual unit in

(i) Semicolon                      (ii) Data type                      (iii) Token            (iv) Keyword

Ans:- (iii)

5) The process of finding the location of the particular element in the array is called

(i) Traversal                        (ii) searching                      (iii) Sorting                          (iv) None of these

Ans:- (ii)

6) The Boolean expression A.(B+C)=AB+AC is

(i) Associative law            (ii) Commutative law      (iii) Absorption law          (iv) Distributive law

Ans:- (iv)

7) Destructor name is preceded by

(i) !                                         (ii) #                                       (iii) $                                      (iv) ~

Ans:- (iv)

8) The term ‘attribute’ refers to a

(i) Table                                (ii) Row                                 (iii) Column                         (iv) Relation

Ans:- (iv)

9) main is a/an

(i) Object                             (ii) Function                        (iii) Literals                          (iv) none of these                            Ans:- (ii)

10) Fstream class is used for

(i) Input operation                                           (ii) Output operation

(iii) Input/OutputOperaton                         (iv) none of these

Ans:- (iii)

11) A set of logical operators

(i) +, -, *, /, %                                                     (ii) >, <, >=, <=, ==, !=

(iii) &&, ||, !                                                       (iv) ? :

Ans:- (i)

12) Pointer is a

(i) Variable that holds address of other variable                 (ii) Pointer name is preceded by

(iii) Void pointer is a pointer that can hold the address of any data type

(iv) All of these

13) Stack follows

(i) GIGO Technique         (ii)FIFO Technique                          

(iii) LIFO Technique         (iv) none of these

Ans:-

14) When several classes inherit the properties of same common class it is called

(i) Single inheritance                       (ii) Multiple inheritance

(iii) Hierarchical inheritance         (iv) none of these

Ans:-

15) People standing in a line is an example of

(i) Stack                                (iii) Queue                           (iii) Array                              (iv) Linked list

Ans:-

16) ………………….is a browser

(i) C++                   (iii) Firefox                                          (iii) Telnet                            (iv) Cookies

Ans:-

 

2019

17) A set of conditional/ternary operator(s) is/are

(i) +, -, *, /, %                     (ii) >, <, >=, <=, ==, !=

(iii) &&, ||, !                                       (iv) ? :

Ans:-

18) Which operator has the lowest precedence?

(i)   Sizeof                                            (ii) Unary

(iii) Assignment                                 (iv) Comma

Ans:-

19) In C++ programming strlen() function is used for

(i) count the length of string

(ii) copy two strings

(iii) compare two strings

(iv) concatenate two strings

Ans:-

20) In C++ programming array index is always starts from.

(i) 0                        (ii) 1                       (iii) 2                      (iv) 3

Ans:-

21) Which of the following is the symbol of AND operator?

(i) ||                      (ii) &&   (iii) &                     (iv) none of these

Ans:-

22) While loop check the condition on

(i) Top   (ii) bottom          (iii) middle           (iv) none of these

Ans:-

23)What will be the output of the following condition statement A=15>=15?15:16

(i) 16                      (ii) 15                     (iii)31                     (iv)none of these

Ans:-

24) If an array is declared as intarr [5][5], how many elements can it store

(i) 0                        (ii) 5                       (iii)10                     (iv)25

Ans:-

25) In C++ programming ‘\v’ is used for

(i) form feed                      (ii) Line brake    

(iii)Vertical tab                   (iv)Alarm

Ans:-

26) Which of the following data structure is non linear type?

(i) string                               (ii) lists  (iii) Stacks                            (iv) none of these

Ans:-

27) The Operation of processing each element in the list is known as

(i) sorting                             (ii) Merging                         (iii) Inserting                       (iv)Traversal

Ans:-

28) A Boolean function of n variables has ………..rows of possible input combination

(i) n                        (ii) 2n                     (iii) 2n                     (iv)2n-1

Ans:-

29) Which of the following is not a type of constructor?

(i) copy constructor

(ii) Parameterized constructor

(iii) Default constructor

(iv) Friend constructor

Ans:-

30) The Boolean expression A.(B+C)=AB+AC is called

(i) Associative law

(ii) Commutative law

(iii) Absorption law

(iv) Distributive law

Ans:-

31) In which topology has every node an equal chance to transmit data?

(i) Ring                  (ii) Star                  (iii) Bus                 (iv) mesh

Ans:-

 

32) How many layers are there in the TCP/IP

(i) 1 layer                             (ii) 3 layer            (iii) 5 layers                         (iv) 7 layers

Ans:-

2018

33) Destructor has the same name as the constructor and it is preceded by

(i) !                         (ii) @                     (iii) ~                      (iv) $

Ans:-

34) Which of the following is not a features of C++?

(i) Operator overloading                                               (ii) Inheritance

(iii) Namespace                                                                 (iv) Reflection

Ans:-

35) Which of the following is not the member of class?

(i) Static function                                                              (ii) Friend fuction

(iii) Const function                                                           (iv)Virtual function

Ans:-

36) Which of the following concepts provides facility of using object of one class inside another class?

(i) Operator overloading                                               (ii) Inheritance

(iii) Namespace                                                 (iv) Reflection

Ans:-

37) Which of the following sorting algorithem is of divide- and –conquer type

(i) bubble sort                                                   (ii) Inserion sort

(iii) Quick sort                                                   (iii) All of these

Ans:

38) The operation of processing each element in the list is known as

(i) Sorting                                                            (ii) Merging

(iii) Inserting                                                       (iii) Traversal

Ans:-

39) Transformation of infix operation (A+B*C-D)/E*F to post-fix is

(i) ABC*+D-EF|                                                 (iv) ABC+D-EF*l

(iii) ABC*+D-EF|                                               (iv) none of these

Ans:- (i)

40) The following are components of a database except

(i) user data                                                        (ii) metadata

(iii) reports                                                          (iv) indexes.

Ans:- (iii)

41) A row in a relation is called

(i) Data                                                                 (ii) Tuple

(iii) Domain                                                         (iv) none of these

Ans:- Tuple

42) The Boolean expression A.(B.C)=(A.B).C is called

(i) Associative low                                          (ii) Commutative low

(iii) Absorption low                                        (iv) Distributive low

Ans:- (i)

43) Tautology means a Boolean expression that always results in

(i) True                                                                 (ii) False

(iii) Both(i) and(ii)                                             (iv) none of these

Ans:- (i)

45) ……………..is a network of networks

(i) Internet                                                          (ii) Ethernet

(ii) Webpage                                                      (iv) browser

Ans. (i)

46) which of the following layers is not in OSI modle.

(i) Physical layer                                                (ii) Internet layer

(iii) network layer                                            (iv) transport layer

Ans. (ii)

 47) While loop cheeks the condition on

(i)  top                                                 (ii)  bottom

(iii)  middle                                         (iv)none of these

Ans. (i)

48) A keyword is

(i) an identifier                                    (ii)  in alphabets

(iii)  reserved for instructions             (iv)  none of these

Ans. (i)

49)  A set of Relation Operators are

(i)  +,-,*,/,%                                         (ii)  >,<,>=,<=,==,!=

(iii)&&,||,!                                          (iv) ? :

Ans.  (iv)

50)  If a Class X  inherits form class  Y, then  Y is called ………….of  X.

(i) Super  Class                                    (ii) Sub Class

(iii)  Abstract Class                              (iv) none of these

Ans. (iii)

51) An inline function is

(i) prefixed with keyword inline         (ii) declared and defiend inside the class

(iii) prefixed with inline on the heder and defiend outside the class

(iv) all of these

Ans. (i)

52) Constructors

(i)  are special function                       (ii) have the same name as that the class

(iii) have no returns type                    (iv) all of these

Ans. (ii)

53) In protected inheritance, a public data member of the base class will be treated in a derived class as

(i) public                                              (ii) private

(iii) protected                                      (iv) none of these

Ans. (ii)

54) In a queue, insertion is done at

(i) Rear                                                (ii) Front

(iii) Both(i)and(ii)                                (iv) none of these

Ans. (i)

55) FIFO means

(i)First In First OUT                             (ii) Fast In First Out

(iii) Fast In Fast Out                             (iv) none of these

Ans. (i)

56) Arrangeing elememts of an array in specific order is called

(i) Arrays                                             (ii) Records

(iii) Pointers                                        (iv) none of these

Ans. (i)

57) Number of tuples in a relation is called

(i) Degree                                            (ii) Cardinality

(iii) Attribute                                       (iv) None of these

Ans. (ii)

58) The duplication of data is known as

(i) data redundancy                            (ii) data inconsistency

(iii) data security                                 (iv) none of these

Ans. (ii)

59) How many gates would be required to implement the following Boolean expression after simplification?    XY+X(X+Z)+Y(X+Z)

(i) 1                                                      (ii) 2

(iii) 4                                                    (iv) 5                                                                            Ans. (ii)

60) The solution of X, (X+Y) is equal to

(i) X                                                      (ii)

(iii)X+Y                                                 (iv)none of these

Ans. (i)

2017

61) In a queue, Insertion is done at

(i) Rear                                                (ii) Front

(iii) Both (i) and (ii)                             (iv) none of these

Ans:- (i)

62)FIFO means

(i) First in First out                              (ii) Fast in Fast out

(iii) Fast in fast out                              (iv) none of these

Ans:- (i)

63) Arranging elements of an array in specific order is called

(i) Arrays                                             (ii) Records

(iii) Pointers                                        (iv) none of these

Ans:- (i)

64) Numbers of tuples in relation is called

(i) Degree                                            (ii) Cardinality

(iii) Attribute                                       (iv) none of these

Ans:- (ii)

65) How many gates would be required to implement the following Boolean expression after simplification?

                XY+X(X+Z)+Y(X+Z)

(i ) 1                                                                       (ii) 2

(iii) 4                                                                      (iv) 5

Ans:-

2017

 

1) While loop check the condition on

(i) Top   (ii) bottom          (iii) middle           (iv) none of these

Ans:-

2) A keyword is

(i) an identifier                                    (ii)  in alphabets

(iii)  reserved for instructions             (iv)  none of these

Ans. (i)

3) if a class X inherits form Y, then Y is called............of X.

(i) Super Class                                                 (ii) Sub class

(iii) Abstract Class                               (iv) none of these

Ans:-

4) A set of logical operators

(i) +, -, *, /, %                                                     (ii) >, <, >=, <=, ==, !=

(iii) &&, ||, !                                                       (iv) ? :

Ans:- (i)

5) An inline function is

(i) prefixed with keyword inline         (ii) declared and defiend inside the class

(iii) prefixed with inline on the heder and defiend outside the class

(iv) all of these

Ans. (i)

6) Constructors

(i)  are special function                       (ii) have the same name as that the class

(iii) have no returns type                    (iv) all of these

Ans. (ii)

 

 

2016

(i ) Header file have the file extension

(i ) .h                                                                      (ii) .he

(iii) .hea                                                                (iv) .head

Ans:-

2015

9) main is a/an

(i) Object                             (ii) Function                        (iii) Literals                          (iv) none of these                            Ans:- (ii)

48) A keyword is

(i) an identifier                                    (ii)  in alphabets

(iii)  reserved for instructions             (iv)  none of these

Ans. (i)

4) A set of logical operators

(i) +, -, *, /, %                                                     (ii) >, <, >=, <=, ==, !=

(iii) &&, ||, !                                                       (iv) ? :

Ans:- (i)

5) While loop cheeks the condition on

(i)  Top                                                 (ii)  bottom

(iii)  middle                                         (iv)none of these

Ans. (i)

2013

1.    C++ language has been developed by                                                                                                                                                             

a.       Martin Richard                                   

b.      Bjarne Stroustrup

c.       Ken Thompson

d.      Dennis Ritchie

Post a Comment

Previous Post Next Post