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. Format flags may be combined using
(A) The bitwise OR operator (|)
(B) The logical OR operator (||)
(C) The bitwise AND operator (&)
(D) The logical AND operator (&&)
Answer: (A) The bitwise OR operator (|)
Q2. A base class may also be called a
(A) Child class
(B) Subclass
(C) Derived class
(D) Parent class
Answer: (D) Parent class
Q3. The use of the break statement in a switch statement is
(A) Optional
(B) Compulsory
(C) Not allowed. It gives an error message
(D) To check an error
Answer: (A) Optional
Q4. A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program?
(A) char function(double d, char c)
(B) int function(int d, char c)
(C) Both (a) and (b)
(D) Neither (a) nor (b)
Answer: (B) int function(int d, char c)
Q5. You can use the C++ _ function to assign a value to a String variable
(A) Assign
(B) Copy
(C) String
(D) Strcpy
Answer: (D) Strcpy
Q6. In object-oriented terms, an exception may be considered a(n) _
(A) Child
(B) Encapsulation
(C) Message
(D) Scalar type
Answer: (C) Message
Q7. In C++, a function contained within a class is called
(A) A member function
(B) An operator
(C) A class function
(D) A method
Answer:(A) A member function
Q8. A derived class __ override attributes of a parent class
(A) May
(B) May if the two classes have the same name
(C) Must
(D) Must not
Answer: (A) May
Q9. Overloading involves writing two or more functions with __
(A) Different names and different argument lists
(B) Different names and the same argument list
(C) The same name and different argument lists
(D) The same name and the same argument list
Answer: (C) The same name and different argument lists
Q10. The best form of coupling is _
(A) Complete
(B) Tight
(C) Loose
(D) Free
Answer:(C) Loose
Q11. The code class Descendant : virtual public Ancestor indicates that
(A) The members of Ancestor will be included more than once in Descendant
(B) The members of Ancestor will be included only once in Descendant
(C) The members of Descendant will be included more than once in Ancestor
(D) The members of Descendant will be included only once in Ancestor
Answer:(B) The members of Ancestor will be included only once in Descendant
Q12. An object is a(n) _ of a class
(A) Owner
(B) Function
(C) Definition
(D) Instance
Answer: (D) Instance
Q13. Which of the following will store the number 320000 as a Float number?
(A) counPop = (float) 3.2e5;
(B) counPop = (float) 3.2e6;
(C) counPop = (float) .32e5;
(D) counPop = (float) .32e7;
Answer: (A) counPop = (float) 3.2e5;
Q14. With communicational cohesion
(A) A tasks and the data are related
(B) The tasks are related; the data are not
(C) The data are related; the tasks are not
(D) The tasks and the data are unrelated
Answer: (C) The data are related; the tasks are not
Q15. Which of the following C++ expressions will find the square root of the number 16?
(A) pow (16, 2) (b) root (16, 2)
(B) sqroot (16)
(C) sqrt (16, 2)
(D) sqrt (16)
Answer: (D) sqrt (16)
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.