Interview questions
Computer interview questions – page 45
3,888 questions. Tap “Show answer” to check yourself.
-
____ storage class variables are defined in another program.
- A.Register
- B.Auto
- C.Extern
- D.Static
Show answer
C. Extern
-
____ Type is used to declare a generic pointer in C++.
- A.Int
- B.Void
- C.Static
- D.Float
Show answer
B. Void
-
Which is a conditional operator?
- A.@
- B.>
- C.<
- D.?:
Show answer
D. ?:
-
Built in Data type is also called as ___ data type.
- A.Fundamental
- B.Secondary
- C.Void
- D.Integer
Show answer
A. Fundamental
-
The constant that should not have fractional part is ___
- A.Float
- B.Double
- C.Integer
- D.Exponent
Show answer
C. Integer
-
What is the other name for variable?
- A.While
- B.Visual
- C.Identifier
- D.Constant
Show answer
C. Identifier
-
____ constant is a signed real number.
- A.Char
- B.String
- C.Integer
- D.Floating point
Show answer
D. Floating point
-
___ type is further divided into int and char.
- A.Float
- B.Int
- C.Char
- D.Integral
Show answer
D. Integral
-
The enum, unsigned int, short int and int data type's uses ___ bits.
- A.8
- B.16
- C.32
- D.64
Show answer
B. 16
-
Where a condition is checked to see whether to do one or more iteration is _____
- A.Definite iteration
- B.Sequencing
- C.Indefinite iteration
- D.None of these
Show answer
B. Sequencing
-
Which one is the valid real constant?
- A.85.46
- B.85
- C.0.85
- D.Both a and c
Show answer
D. Both a and c
-
______ variables are sensitive to the data type they point to.
- A.Char
- B.Pointer
- C.Integer
- D.Float
Show answer
B. Pointer
-
For example class boy, ____ is a user defined data type of class.
- A.Class
- B.Type
- C.Boy
- D.User
Show answer
C. Boy
-
When a=6, c= ++a what will be the value of c?
- A.6
- B.7
- C.8
- D.9
Show answer
B. 7
-
____ class is another qualifier that can be added to a variable declaration.
- A.Register
- B.Static
- C.Sub
- D.Storage
Show answer
D. Storage
-
____ storage class global variable known to all functions in the current program.
- A.Register
- B.Extern
- C.Static
- D.Auto
Show answer
B. Extern
-
The address number starts at ___
- A.1
- B.2
- C.3
- D.Null
Show answer
D. Null
-
_____ are the kind of data that variables hold in a programming language.
- A.Conditional type
- B.Constant type
- C.Variable type
- D.Data types
Show answer
D. Data types
-
The operands and the operators are grouped in a specific logical way of evaluation is called ____
- A.Assignment
- B.Association
- C.Arithmetic
- D.Class
Show answer
B. Association
-
Rick Mascitti coined the name ___
- A.Visual BASIC
- B.COBOL
- C.C++
- D.BASIC
Show answer
C. C++
-
____ is a sequence of characters surrounded by double quotes.
- A.Constant
- B.Numeric
- C.Character
- D.String literal
Show answer
D. String literal
-
How many fundamental data types are there in C++?
- A.1
- B.2
- C.3
- D.4
Show answer
C. 3
-
____ is an operator which returns the memory size requirements in terms of bytes.
- A.Double
- B.Size
- C.Size of
- D.Long
Show answer
C. Size of
-
What are shift operators?
- A.<<
- B.>>
- C.>
- D.Both (a) and (b)
Show answer
D. Both (a) and (b)
-
_____ variable of the same data type can be declared in a single declaration statement.
- A.Two
- B.Three
- C.Only one
- D.More than one
Show answer
D. More than one
-
The best way to insert a new slide in a presentation is to use the
- A.Normal view
- B.Special view
- C.Slide show view
- D.Slide sorter view
Show answer
D. Slide sorter view
-
Which term is related with increasing or decreasing the space between characters?
- A.Page number
- B.Spacing
- C.Header
- D.Footer
Show answer
B. Spacing
-
Which term is related with decorative text?
- A.Cross- reference
- B.Hyperlink
- C.Clipart
- D.Wordart
Show answer
D. Wordart
-
To add a row at the end of a table, click the last cell of the last row, and then press ____
- A.Alt
- B.Tab
- C.Space
- D.Ctrl
Show answer
B. Tab
-
Press ___ to end a presentation.
- A.Tab
- B.Esc
- C.P
- D.E
Show answer
B. Esc