Interview questions

Computer interview questions – page 50

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

  1. a + b = b + c is not a valid arithmetic statement because the left hand side ____

    1. A.constant
    2. B.a variable
    3. C.an expression
    4. D.none of the above
    Show answer

    C. an expression

  2. Which of the following is a loop structure available in C?

    1. A.While structure
    2. B.For structure
    3. C.Do-while structure
    4. D.All the above
    Show answer

    D. All the above

  3. Which of the following statements is used to come out of the loop?

    1. A.Continue
    2. B.Break
    3. C.Both
    4. D.None of the above
    Show answer

    B. Break

  4. The general format of the one dimensional array declaration is ____

    1. A.Data type
    2. B.Data type array name;
    3. C.Data type array – name [n];
    4. D.Type array [n]
    Show answer

    C. Data type array – name [n];

  5. Which of the following operators return a true value only when both the operands are true?

    1. A.Assignment
    2. B.AND
    3. C.OR
    4. D.NOT
    Show answer

    B. AND

  6. For initialization of two dimensional arrays the operation is performed in _____

    1. A.Diagonal
    2. B.Operator wise
    3. C.Row-wise
    4. D.Column wise
    Show answer

    C. Row-wise

  7. A structure declaration without any variables describe ____

    1. A.Wizard
    2. B.Template
    3. C.Shape of a structure
    4. D.Both (a) & (b)
    Show answer

    B. Template

  8. Which of the following are fundamental control structures?

    1. A.Iteration
    2. B.Branching
    3. C.Sequencing
    4. D.All the above
    Show answer

    D. All the above

  9. The method of checking the pseudo codes is called _____

    1. A.Branching
    2. B.Iteration
    3. C.Walk through
    4. D.Sequencing
    Show answer

    C. Walk through

  10. Which of the following is a clause in the for loop structure?

    1. A.Assign
    2. B.Alter
    3. C.Logic
    4. D.All the above
    Show answer

    D. All the above

  11. For the particular variables, some specific values are assumed in _____

    1. A.An input box
    2. B.An output box
    3. C.Decision box
    4. D.All boxes
    Show answer

    A. An input box

  12. The flow charts are ____

    1. A.Representing our thoughts exactly
    2. B.Precise
    3. C.Easy to understand
    4. D.All the above
    Show answer

    D. All the above

  13. Instruction section has _____

    1. A.Processing instruction
    2. B.Input instructions
    3. C.Output instructions
    4. D.All the above
    Show answer

    D. All the above

  14. The subscript is always _____

    1. A.A variable
    2. B.An integer
    3. C.A positive integer
    4. D.A negative integer
    Show answer

    C. A positive integer

  15. The control structures have _____

    1. A.Only one entry point only one exit point
    2. B.Many exit points
    3. C.Many entry points
    4. D.All of these
    Show answer

    A. Only one entry point only one exit point

  16. _____ is a picture in which the flows of computational paths are depicted.

    1. A.Algorithm
    2. B.Program
    3. C.Code
    4. D.Flow chart
    Show answer

    D. Flow chart

  17. Among unary operation which operator represents increment?

    1. A.--
    2. B.++
    3. C.-
    4. D.!
    Show answer

    B. ++

  18. The function scanf is used to ___

    1. A.To take logical decisions
    2. B.Input a set of values
    3. C.Print a set of values
    4. D.Do mathematical manipulations
    Show answer

    B. Input a set of values

  19. Which of the following is not a valid data type in C Language?

    1. A.Double
    2. B.Char
    3. C.Long
    4. D.Float
    Show answer

    B. Char

  20. Who developed C language?

    1. A.Ken Thomson
    2. B.Peter Norton
    3. C.Dennis Ritchie
    4. D.Von Neuman
    Show answer

    C. Dennis Ritchie

  21. Which of the following are used to enclose the body of a function?

    1. A.{}
    2. B.[]
    3. C.()
    4. D.None of above
    Show answer

    A. {}

  22. The C language is a ____ language.

    1. A.Middle
    2. B.Low
    3. C.High
    4. D.None of above
    Show answer

    A. Middle

  23. By the process of linking, the resulting code is called as ____

    1. A.Source code
    2. B.Object code
    3. C.Executable code
    4. D.None of the above
    Show answer

    C. Executable code

  24. In the ____ structure, the logical expression is checked first.

    1. A.Do-while
    2. B.If
    3. C.While-loop
    4. D.All types
    Show answer

    C. While-loop

  25. The keyword struct introduces _____

    1. A.Array declaration
    2. B.Loop declaration
    3. C.Structure declaration
    4. D.All of the above
    Show answer

    C. Structure declaration

  26. Which of the following will fix the length from the values assigned in the declaration statement?

    1. A.C compiler
    2. B.CPU of C
    3. C.Editor
    4. D.Star Office compiler
    Show answer

    A. C compiler

  27. A list of variables in the function definition of an input is called ____

    1. A.Local variable
    2. B.Variable
    3. C.Dummy parameter
    4. D.Parameter
    Show answer

    C. Dummy parameter

  28. Which of the following is the internal memory of the computer?

    1. A.CPU register
    2. B.Cache
    3. C.Main memory
    4. D.All of these
    Show answer

    D. All of these

  29. During the data gathering phase of system analysis step,

    1. A.The system design specification are outlined
    2. B.A number of specialized forms may be prepared
    3. C.Program flow charts are often prepared
    4. D.A standard manual is of little use
    Show answer

    B. A number of specialized forms may be prepared

  30. Data system management has long-term viability as

    1. A.An integrated database accessible to all requires independent management
    2. B.It requires much technical knowledge
    3. C.It requires large investments
    4. D.None of these
    Show answer

    A. An integrated database accessible to all requires independent management

Companies that ask Computer questions