Basic Programming Language pdf Online Test – Set 18

Are you guys looking for Computer science Engineering MCQ Questions with Answers PDF Free Download as per Computer science Engineering new exam pattern? You came to the right page. This may assist you to understand and check your knowledge about the Subjects. Students also can take a free test of the Multiple Choice Questions of Computer science Engineering. Each question has four options followed by the right answer. These Computer science Engineering MCQ Questions are selected supported by the newest exam pattern.


Q1. Variables declared outside a block are called _

(A) Global
(B) Universal
(C) Stellar
(D) External

Answer: (A) Global


Q2. Which of the following is a C++ object?

(A) cin
(B) >>
(C) iostream
(D) read()

Answer: (A) cin


Q3. You _ write your own container classes

(A) Must
(B) May
(C) Should not
(D) Must not

Answer: (B) May


Q4. Evaluate the following expression: 7 >=3 + 4 || 6<4 && 2<5

(A) True
(B) False

Answer: (A) True


Q5. Which of the following statements is true?

(A) Data coupling is tighter than pathological coupling
(B) Common coupling is looser than data coupling
(C) Data-structured coupling is looser than control coupling
(D) Control coupling is looser than data coupling

Answer: (C) Data-structured coupling is looser than control coupling


Q6. In the C language, a string is assigned to the

(A) Char type of variable
(B) String type of variable
(C) Conversion specification %s
(D) All of the above

Answer: (A) Char type of variable


Q7. Object-oriented programmers primarily focus on _

(A) Procedures to be performed
(B) The step-by-step statements needed to solve a problem
(C) Objects and the tasks that must be performed with those objects
(D) The physical orientation of objects within a program

Answer: (C) Objects and the tasks that must be performed with those objects


Q8. In C++, you use _ to perform standard input and output operations

(A) Characters
(B) Sequences
(C) Streams
(D) Tests

Answer: (C) Streams


Q9. The loosest type of coupling is

(A) Data coupling
(B) Control coupling
(C) External coupling
(D) Pathological coupling

Answer: (A) Data coupling


Q10. If an exception is thrown and no catch block matches the type of the thrown parameter, then _

(A) The program terminates
(B) The first catch block is executed
(C) The last catch block is executed
(D) The program proceeds with the code following the catch blocks

Answer: (A) The program terminates


Q11. The general principle underlying object-oriented error handling is that a called function should __

(A) Neither check for, nor handle errors
(B) Check for errors but not be required to handle any detected
(C) Handle errors, but not check for them
(D) Both check for and handle errors

Answer: (B) Check for errors but not be required to handle any detected


Q12. The two parts of a function are the

(A) Header and footer
(B) Declarations and statements
(C) Legs and feet
(D) Header and body

Answer: (D) Header and body


Q13. A function in a derived class that has the same name as a function in the parent class __

(A) Will cause an error message to display
(B) Will override the base class function
(C) Will be overridden by the base class function
(D) Will execute immediately after the base class function executes

Answer: (B) Will override the base class function


Q14. Making class members inaccessible to nonmember functions is an example of

(A) Polymorphism
(B) Data hiding
(C) Redundancy
(D) Recursion

Answer: (B) Data hiding


Q15. The right shift operator is represented by the symbol

(A) >
(B) >>
(C) ->
(D) <

Answer: (B) >>


We hope the given Computer science Engineering MCQ Questions with Answers will definitely yield fruitful results. Hope you got enough ideas on the MCQs on Computer science Engineering. If you have any queries related toComputer science Engineering MCQs Multiple Choice Questions with Answers, drop your questions below and will get back to you in no time.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top