Interview questions
Computer interview questions – page 50
3,888 questions. Tap “Show answer” to check yourself.
-
a + b = b + c is not a valid arithmetic statement because the left hand side ____
- A.constant
- B.a variable
- C.an expression
- D.none of the above
Show answer
C. an expression
-
Which of the following is a loop structure available in C?
- A.While structure
- B.For structure
- C.Do-while structure
- D.All the above
Show answer
D. All the above
-
Which of the following statements is used to come out of the loop?
- A.Continue
- B.Break
- C.Both
- D.None of the above
Show answer
B. Break
-
The general format of the one dimensional array declaration is ____
- A.Data type
- B.Data type array name;
- C.Data type array – name [n];
- D.Type array [n]
Show answer
C. Data type array – name [n];
-
Which of the following operators return a true value only when both the operands are true?
- A.Assignment
- B.AND
- C.OR
- D.NOT
Show answer
B. AND
-
For initialization of two dimensional arrays the operation is performed in _____
- A.Diagonal
- B.Operator wise
- C.Row-wise
- D.Column wise
Show answer
C. Row-wise
-
A structure declaration without any variables describe ____
- A.Wizard
- B.Template
- C.Shape of a structure
- D.Both (a) & (b)
Show answer
B. Template
-
Which of the following are fundamental control structures?
- A.Iteration
- B.Branching
- C.Sequencing
- D.All the above
Show answer
D. All the above
-
The method of checking the pseudo codes is called _____
- A.Branching
- B.Iteration
- C.Walk through
- D.Sequencing
Show answer
C. Walk through
-
Which of the following is a clause in the for loop structure?
- A.Assign
- B.Alter
- C.Logic
- D.All the above
Show answer
D. All the above
-
For the particular variables, some specific values are assumed in _____
- A.An input box
- B.An output box
- C.Decision box
- D.All boxes
Show answer
A. An input box
-
The flow charts are ____
- A.Representing our thoughts exactly
- B.Precise
- C.Easy to understand
- D.All the above
Show answer
D. All the above
-
Instruction section has _____
- A.Processing instruction
- B.Input instructions
- C.Output instructions
- D.All the above
Show answer
D. All the above
-
The subscript is always _____
- A.A variable
- B.An integer
- C.A positive integer
- D.A negative integer
Show answer
C. A positive integer
-
The control structures have _____
- A.Only one entry point only one exit point
- B.Many exit points
- C.Many entry points
- D.All of these
Show answer
A. Only one entry point only one exit point
-
_____ is a picture in which the flows of computational paths are depicted.
- A.Algorithm
- B.Program
- C.Code
- D.Flow chart
Show answer
D. Flow chart
-
Among unary operation which operator represents increment?
- A.--
- B.++
- C.-
- D.!
Show answer
B. ++
-
The function scanf is used to ___
- A.To take logical decisions
- B.Input a set of values
- C.Print a set of values
- D.Do mathematical manipulations
Show answer
B. Input a set of values
-
Which of the following is not a valid data type in C Language?
- A.Double
- B.Char
- C.Long
- D.Float
Show answer
B. Char
-
Who developed C language?
- A.Ken Thomson
- B.Peter Norton
- C.Dennis Ritchie
- D.Von Neuman
Show answer
C. Dennis Ritchie
-
Which of the following are used to enclose the body of a function?
- A.{}
- B.[]
- C.()
- D.None of above
Show answer
A. {}
-
The C language is a ____ language.
- A.Middle
- B.Low
- C.High
- D.None of above
Show answer
A. Middle
-
By the process of linking, the resulting code is called as ____
- A.Source code
- B.Object code
- C.Executable code
- D.None of the above
Show answer
C. Executable code
-
In the ____ structure, the logical expression is checked first.
- A.Do-while
- B.If
- C.While-loop
- D.All types
Show answer
C. While-loop
-
The keyword struct introduces _____
- A.Array declaration
- B.Loop declaration
- C.Structure declaration
- D.All of the above
Show answer
C. Structure declaration
-
Which of the following will fix the length from the values assigned in the declaration statement?
- A.C compiler
- B.CPU of C
- C.Editor
- D.Star Office compiler
Show answer
A. C compiler
-
A list of variables in the function definition of an input is called ____
- A.Local variable
- B.Variable
- C.Dummy parameter
- D.Parameter
Show answer
C. Dummy parameter
-
Which of the following is the internal memory of the computer?
- A.CPU register
- B.Cache
- C.Main memory
- D.All of these
Show answer
D. All of these
-
During the data gathering phase of system analysis step,
- A.The system design specification are outlined
- B.A number of specialized forms may be prepared
- C.Program flow charts are often prepared
- D.A standard manual is of little use
Show answer
B. A number of specialized forms may be prepared
-
Data system management has long-term viability as
- A.An integrated database accessible to all requires independent management
- B.It requires much technical knowledge
- C.It requires large investments
- D.None of these
Show answer
A. An integrated database accessible to all requires independent management