Interview questions

Computer interview questions – page 45

3,888 questions. Tap “Show answer” to check yourself.

  1. ____ storage class variables are defined in another program.

    1. A.Register
    2. B.Auto
    3. C.Extern
    4. D.Static
    Show answer

    C. Extern

  2. ____ Type is used to declare a generic pointer in C++.

    1. A.Int
    2. B.Void
    3. C.Static
    4. D.Float
    Show answer

    B. Void

  3. Which is a conditional operator?

    1. A.@
    2. B.>
    3. C.<
    4. D.?:
    Show answer

    D. ?:

  4. Built in Data type is also called as ___ data type.

    1. A.Fundamental
    2. B.Secondary
    3. C.Void
    4. D.Integer
    Show answer

    A. Fundamental

  5. The constant that should not have fractional part is ___

    1. A.Float
    2. B.Double
    3. C.Integer
    4. D.Exponent
    Show answer

    C. Integer

  6. What is the other name for variable?

    1. A.While
    2. B.Visual
    3. C.Identifier
    4. D.Constant
    Show answer

    C. Identifier

  7. ____ constant is a signed real number.

    1. A.Char
    2. B.String
    3. C.Integer
    4. D.Floating point
    Show answer

    D. Floating point

  8. ___ type is further divided into int and char.

    1. A.Float
    2. B.Int
    3. C.Char
    4. D.Integral
    Show answer

    D. Integral

  9. The enum, unsigned int, short int and int data type's uses ___ bits.

    1. A.8
    2. B.16
    3. C.32
    4. D.64
    Show answer

    B. 16

  10. Where a condition is checked to see whether to do one or more iteration is _____

    1. A.Definite iteration
    2. B.Sequencing
    3. C.Indefinite iteration
    4. D.None of these
    Show answer

    B. Sequencing

  11. Which one is the valid real constant?

    1. A.85.46
    2. B.85
    3. C.0.85
    4. D.Both a and c
    Show answer

    D. Both a and c

  12. ______ variables are sensitive to the data type they point to.

    1. A.Char
    2. B.Pointer
    3. C.Integer
    4. D.Float
    Show answer

    B. Pointer

  13. For example class boy, ____ is a user defined data type of class.

    1. A.Class
    2. B.Type
    3. C.Boy
    4. D.User
    Show answer

    C. Boy

  14. When a=6, c= ++a what will be the value of c?

    1. A.6
    2. B.7
    3. C.8
    4. D.9
    Show answer

    B. 7

  15. ____ class is another qualifier that can be added to a variable declaration.

    1. A.Register
    2. B.Static
    3. C.Sub
    4. D.Storage
    Show answer

    D. Storage

  16. ____ storage class global variable known to all functions in the current program.

    1. A.Register
    2. B.Extern
    3. C.Static
    4. D.Auto
    Show answer

    B. Extern

  17. The address number starts at ___

    1. A.1
    2. B.2
    3. C.3
    4. D.Null
    Show answer

    D. Null

  18. _____ are the kind of data that variables hold in a programming language.

    1. A.Conditional type
    2. B.Constant type
    3. C.Variable type
    4. D.Data types
    Show answer

    D. Data types

  19. The operands and the operators are grouped in a specific logical way of evaluation is called ____

    1. A.Assignment
    2. B.Association
    3. C.Arithmetic
    4. D.Class
    Show answer

    B. Association

  20. Rick Mascitti coined the name ___

    1. A.Visual BASIC
    2. B.COBOL
    3. C.C++
    4. D.BASIC
    Show answer

    C. C++

  21. ____ is a sequence of characters surrounded by double quotes.

    1. A.Constant
    2. B.Numeric
    3. C.Character
    4. D.String literal
    Show answer

    D. String literal

  22. How many fundamental data types are there in C++?

    1. A.1
    2. B.2
    3. C.3
    4. D.4
    Show answer

    C. 3

  23. ____ is an operator which returns the memory size requirements in terms of bytes.

    1. A.Double
    2. B.Size
    3. C.Size of
    4. D.Long
    Show answer

    C. Size of

  24. What are shift operators?

    1. A.<<
    2. B.>>
    3. C.>
    4. D.Both (a) and (b)
    Show answer

    D. Both (a) and (b)

  25. _____ variable of the same data type can be declared in a single declaration statement.

    1. A.Two
    2. B.Three
    3. C.Only one
    4. D.More than one
    Show answer

    D. More than one

  26. The best way to insert a new slide in a presentation is to use the

    1. A.Normal view
    2. B.Special view
    3. C.Slide show view
    4. D.Slide sorter view
    Show answer

    D. Slide sorter view

  27. Which term is related with increasing or decreasing the space between characters?

    1. A.Page number
    2. B.Spacing
    3. C.Header
    4. D.Footer
    Show answer

    B. Spacing

  28. Which term is related with decorative text?

    1. A.Cross- reference
    2. B.Hyperlink
    3. C.Clipart
    4. D.Wordart
    Show answer

    D. Wordart

  29. To add a row at the end of a table, click the last cell of the last row, and then press ____

    1. A.Alt
    2. B.Tab
    3. C.Space
    4. D.Ctrl
    Show answer

    B. Tab

  30. Press ___ to end a presentation.

    1. A.Tab
    2. B.Esc
    3. C.P
    4. D.E
    Show answer

    B. Esc

Companies that ask Computer questions