Interview questions

Computer interview questions – page 103

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

  1. A permanent memory is called

    1. A.ALU
    2. B.CPU
    3. C.ROM
    4. D.RAM
    Show answer

    C. ROM

  2. Which of the following computer language is used for artificial intelligence?

    1. A.C
    2. B.COBOL
    3. C.PROLOG
    4. D.FORTRAN
    Show answer

    C. PROLOG

  3. An unary operator! represents

    1. A.Unary minus
    2. B.Logical not operator
    3. C.Decrement operator
    4. D.Increment operator
    Show answer

    B. Logical not operator

  4. The single character input/output functions are

    1. A.scan f ( ) and print f ( )
    2. B.get char ( ) and print f ( )
    3. C.scan f ( ) and put char ( )
    4. D.get char ( ) and put char ( )
    Show answer

    D. get char ( ) and put char ( )

  5. The general form of the condition expression is

    1. A.Expression ? expression 2 : expression 3
    2. B.Expression 3? Expression 2: expression 1
    3. C.Expression 2? expression 3? Expression 1
    4. D.None of these
    Show answer

    A. Expression ? expression 2 : expression 3

  6. The break statement is used to exit from a

    1. A.Do loop
    2. B.For loop
    3. C.Switch statement
    4. D.All of these
    Show answer

    D. All of these

  7. The most common use of the one dimensional array in C is

    1. A.Function
    2. B.Data
    3. C.Character
    4. D.String
    Show answer

    D. String

  8. Which header file should be included if it is required to develop a function that can accept variable number of arguments?

    1. A.Stdarg.h
    2. B.Stdio.h
    3. C.Stdlib.h
    4. D.Vardar.h
    Show answer

    A. Stdarg.h

  9. A single character input from the keyboard can be obtained by using the function

    1. A.Scan f( )
    2. B.Put char( )
    3. C.Get char( )
    4. D.Print f( )
    Show answer

    C. Get char( )

  10. The operator << and >> are

    1. A.Assignment operators
    2. B.Bitwise logical operators
    3. C.Logical operators
    4. D.Relational operators
    Show answer

    B. Bitwise logical operators

  11. An error in the program is called

    1. A.A function
    2. B.A bug
    3. C.A variable
    4. D.An error only
    Show answer

    B. A bug

  12. Ready made library functions are used for

    1. A.Output
    2. B.Input
    3. C.Neither input nor output
    4. D.Input and output
    Show answer

    D. Input and output

  13. The maximum length of the variable is ___ characters.

    1. A.22
    2. B.32
    3. C.52
    4. D.62
    Show answer

    B. 32

  14. Which one of the following indicates the solution method?

    1. A.Algorithm
    2. B.Program
    3. C.Flow chart
    4. D.All the above
    Show answer

    D. All the above

  15. Which of the following is an intermediate language?

    1. A.Pseudo code
    2. B.Basic
    3. C.FORTRAN
    4. D.Computer language
    Show answer

    A. Pseudo code

  16. Each element in a structure has a

    1. A.Unique variable
    2. B.Unique name
    3. C.Name
    4. D.Space
    Show answer

    B. Unique name

  17. For two-dimensional arrays data are usually entered

    1. A.Array wise
    2. B.Element wise
    3. C.Row-wise
    4. D.Column-wise
    Show answer

    C. Row-wise

  18. The memory closest to the processor is known as

    1. A.Cache
    2. B.Internal
    3. C.External
    4. D.Primary
    Show answer

    A. Cache

  19. The method of checking the pseudo codes is called ___

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

    B. Walk through

  20. Keywords cannot be used as ____

    1. A.Variables
    2. B.Variables or constant names
    3. C.Constant names
    4. D.None of the above
    Show answer

    B. Variables or constant names

  21. Which of the following are called white space characters?

    1. A.The blank space
    2. B.New line character
    3. C.Blank space & new line character
    4. D.None of the above
    Show answer

    C. Blank space & new line character

  22. ____ are declared within the body of a function.

    1. A.Variables
    2. B.Local variables
    3. C.Main functions
    4. D.Arrays
    Show answer

    B. Local variables

  23. ____ is an effective tool for programming scientific, mathematical and engineering computations.

    1. A.Parameter
    2. B.Main function
    3. C.Recursion
    4. D.Local variable
    Show answer

    C. Recursion

  24. By using ____ the speed of the process can be increased.

    1. A.Integer
    2. B.Unsigned integer
    3. C.Short integer
    4. D.Long integer
    Show answer

    C. Short integer

  25. A variable is an algebraic expression that temporarily assumes the properties of a constant is called

    1. A.Function
    2. B.Dummy parameter
    3. C.Parameter
    4. D.Operator
    Show answer

    C. Parameter

  26. A function can return

    1. A.Two values
    2. B.No value
    3. C.Only one value
    4. D.Many values
    Show answer

    C. Only one value

  27. ____ have no meaning outside the body of a function.

    1. A.Variables
    2. B.Main functions
    3. C.Global variables
    4. D.Local variables
    Show answer

    D. Local variables

  28. ____ groups a number of program statements into a single unit.

    1. A.Array
    2. B.Structure
    3. C.Variable
    4. D.Function
    Show answer

    D. Function

  29. When one loop is constructed within another loop it is called a

    1. A.For loop
    2. B.Do loop
    3. C.Do-while loop
    4. D.Nested loop
    Show answer

    D. Nested loop

  30. By pressing ___ key, the user can exit the turbo C environment.

    1. A.Ctrl + X
    2. B.Alt + X
    3. C.Ctrl + A
    4. D.Enter
    Show answer

    B. Alt + X

Companies that ask Computer questions