Interview questions
Computer interview questions – page 103
3,888 questions. Tap “Show answer” to check yourself.
-
A permanent memory is called
- A.ALU
- B.CPU
- C.ROM
- D.RAM
Show answer
C. ROM
-
Which of the following computer language is used for artificial intelligence?
- A.C
- B.COBOL
- C.PROLOG
- D.FORTRAN
Show answer
C. PROLOG
-
An unary operator! represents
- A.Unary minus
- B.Logical not operator
- C.Decrement operator
- D.Increment operator
Show answer
B. Logical not operator
-
The single character input/output functions are
- A.scan f ( ) and print f ( )
- B.get char ( ) and print f ( )
- C.scan f ( ) and put char ( )
- D.get char ( ) and put char ( )
Show answer
D. get char ( ) and put char ( )
-
The general form of the condition expression is
- A.Expression ? expression 2 : expression 3
- B.Expression 3? Expression 2: expression 1
- C.Expression 2? expression 3? Expression 1
- D.None of these
Show answer
A. Expression ? expression 2 : expression 3
-
The break statement is used to exit from a
- A.Do loop
- B.For loop
- C.Switch statement
- D.All of these
Show answer
D. All of these
-
The most common use of the one dimensional array in C is
- A.Function
- B.Data
- C.Character
- D.String
Show answer
D. String
-
Which header file should be included if it is required to develop a function that can accept variable number of arguments?
- A.Stdarg.h
- B.Stdio.h
- C.Stdlib.h
- D.Vardar.h
Show answer
A. Stdarg.h
-
A single character input from the keyboard can be obtained by using the function
- A.Scan f( )
- B.Put char( )
- C.Get char( )
- D.Print f( )
Show answer
C. Get char( )
-
The operator << and >> are
- A.Assignment operators
- B.Bitwise logical operators
- C.Logical operators
- D.Relational operators
Show answer
B. Bitwise logical operators
-
An error in the program is called
- A.A function
- B.A bug
- C.A variable
- D.An error only
Show answer
B. A bug
-
Ready made library functions are used for
- A.Output
- B.Input
- C.Neither input nor output
- D.Input and output
Show answer
D. Input and output
-
The maximum length of the variable is ___ characters.
- A.22
- B.32
- C.52
- D.62
Show answer
B. 32
-
Which one of the following indicates the solution method?
- A.Algorithm
- B.Program
- C.Flow chart
- D.All the above
Show answer
D. All the above
-
Which of the following is an intermediate language?
- A.Pseudo code
- B.Basic
- C.FORTRAN
- D.Computer language
Show answer
A. Pseudo code
-
Each element in a structure has a
- A.Unique variable
- B.Unique name
- C.Name
- D.Space
Show answer
B. Unique name
-
For two-dimensional arrays data are usually entered
- A.Array wise
- B.Element wise
- C.Row-wise
- D.Column-wise
Show answer
C. Row-wise
-
The memory closest to the processor is known as
- A.Cache
- B.Internal
- C.External
- D.Primary
Show answer
A. Cache
-
The method of checking the pseudo codes is called ___
- A.Sequencing
- B.Walk through
- C.Branching
- D.Iteration
Show answer
B. Walk through
-
Keywords cannot be used as ____
- A.Variables
- B.Variables or constant names
- C.Constant names
- D.None of the above
Show answer
B. Variables or constant names
-
Which of the following are called white space characters?
- A.The blank space
- B.New line character
- C.Blank space & new line character
- D.None of the above
Show answer
C. Blank space & new line character
-
____ are declared within the body of a function.
- A.Variables
- B.Local variables
- C.Main functions
- D.Arrays
Show answer
B. Local variables
-
____ is an effective tool for programming scientific, mathematical and engineering computations.
- A.Parameter
- B.Main function
- C.Recursion
- D.Local variable
Show answer
C. Recursion
-
By using ____ the speed of the process can be increased.
- A.Integer
- B.Unsigned integer
- C.Short integer
- D.Long integer
Show answer
C. Short integer
-
A variable is an algebraic expression that temporarily assumes the properties of a constant is called
- A.Function
- B.Dummy parameter
- C.Parameter
- D.Operator
Show answer
C. Parameter
-
A function can return
- A.Two values
- B.No value
- C.Only one value
- D.Many values
Show answer
C. Only one value
-
____ have no meaning outside the body of a function.
- A.Variables
- B.Main functions
- C.Global variables
- D.Local variables
Show answer
D. Local variables
-
____ groups a number of program statements into a single unit.
- A.Array
- B.Structure
- C.Variable
- D.Function
Show answer
D. Function
-
When one loop is constructed within another loop it is called a
- A.For loop
- B.Do loop
- C.Do-while loop
- D.Nested loop
Show answer
D. Nested loop
-
By pressing ___ key, the user can exit the turbo C environment.
- A.Ctrl + X
- B.Alt + X
- C.Ctrl + A
- D.Enter
Show answer
B. Alt + X