Rajasthan Polytechnic Third Year Paper 2016 – Object Oriented Programming Through C++
Which operator is having the highest precedence?
(a) Prefix
(b) Unary
(c) Shift
(d) Equality
Select the right option.
Given the variables p,q are char type and r,s,t are of int type
(1) t=(r*s)/(r+s);
(2) t=(p*q)/(r+s);
(a) 1 is true but 2 is false
(b) 1 is false but 2 is true
(c) both 1 and 2 are true
(d) both 1 and 2 are false
Which one is suitable for extended precision floating point variable?
(a) Float
(b) Double
(c) Long double
(d) Extended float
_______have the return type void
(a) All functions
(b) All constructors
(c) All destructors
(d) None of these
What will happen when defining the enumerated type?
(a) It will not allocate memory
(b) It will allocate memory
(c) It will not allocate memory to its variables
(d) None of these
What is an array?
(a) An array is a series of elements of same type in contiguous memory locations
(b) An array is a series of elements
(c) An array is a series of elements of same type placed in non-contiguous memory locatins
(d) None of these
Constant are also called as
(a) Keyword
(b) Pre-processor
(c) Literals
(d) None of these
? : Operator is called as
(a) Conditional operator
(b) Relational operator
(c) Casting operator
(d) None of these
The switch statement is also called as
(a) Selective structure
(b) Loop structure
(c) Certain structure
(d) None of these
Which looping process is best when the number of iterations are known?
(a) For
(b) While
(c) Do-while
(d) All above
Leave a Reply