Wheebox sppu mcq pdf computer engineering
![80 most important OOPS mcq sppu [PDF] 1 oops mcq, oop mcq with answers, oop mcq with answers pdf, oops mcq pdf download, oop mcqs sppu, oop mcqs pdf download, oop sppu mcq, object oriented programming mcq with answers pdf, OOPS mcq sppu](https://netflixsub.com/wp-content/uploads/2021/05/WhatsApp-Image-2021-05-02-at-09.33.22-1024x683.jpeg)
80 most important object oriented programming mcq (OOPS mcq sppu) for pune university online exam. OOPS mcq pdf download link is also provided. These OOPS mcq questions with answers pdf will help you in your Object oriented programming mcq test. Best Luck.
Q. Which of the following is correct about class and structure?
A) class can have member functions while structure cannot.
B) class data members are public by default while that of structure are private.
C) Pointer to structure or classes cannot be declare
D) class data members are private by default while that of structure are public by default.
class data members are private by default while that of structure are public by default.
Q. cout is a/an __ .
A) operator
B) function
C) object
D) macro
object
Q. An object is
A) one instance of a class
B) another word for a class
C) a class with static method
D) a method that accesses a class
one instance of a class
Q. Which of the following is false for cin?
A) it represents standard input
B) it is object of iostream class
C) it is a class of which stream is an object
D) using cin the data can be read from user’s terminal
it is a class of which stream is an object
Q. Data members which are static
A) cannot be assigned a value
B) can be only used in static function
C) cannot be defined in a union
D) cannot be accessed outside the class
can be only used in static function
Q. What will be the output of the program?
include
void main ()
{ float x=5, y=2;
int result;
result=x%y;
cout<_ used to make a copy of one class object from another class object of the ae class type.
A) Constructor
B) Copy Constructor
C) Destructor
D) Copy Destructor
Copy Constructor
Q. When are the global objects are destroyed?
A) When the control comes out of the block in which they are being useD)
B) when the program terminates.
C) When the control comes out of the function in which they are being useD)
D) As soon as local object die
when the program terminates.
Q. ………………. is automatically created when constructors are useD)
A) Objects
B) Destructors
C) Arrays
D) Reference
Destructors
Q. What does your class can hold?
A) data
B) functions
C) both a&b
D) none of the mentioned
both a&b
object oriented programming mcq with answers pdf
Q. Which of the following statement is correct?
A) A constructor is called at the time of declaration of an object.
B) A constructor is called at the time of use of an object.
C) A constructor is called at the time of declaration of a class.
D) A constructor is called at the time of use of a class.
A constructor is called at the time of declaration of an object.
Q. >> is called as …………. operator.
A) insertion
B) extraction
C) greater than
D) lesser than
extraction
Q. While overloading binary operators using member function, it requires argument/s.
A) Zero
B) One
C) Two
D) Three
One
Q. When overloading unary operators using Friend function,it requires___ argument/s.
A) Zero
B) One
C) Two
D) None of these.
One
Q. Operator overloading is also called …………….. polymorphism.
A) run time
B) initial time
C) compile time
D) completion time
compile time
Q. In the case of …………….. function, arguments may be passed either by value or by reference.
A) private
B) friend
C) member
D) public
friend
Q. We can overload which of the following C++ operators.
A) Arithmetic operator (+, -, , /)
B) Class Member Access Operators (., .)
C) Size operator(sizeof)
D) all of above
Arithmetic operator (+, -, , /)
Q. class X, class Y and class Z are derived from class BASE. This is _ inheritance.
A) Multiple
B) Multilevel
C) Hierarchical
D) Single
Hierarchical
Q. What is the syntax of inheritance of class?
A) class name
B) class name : access specifer
C) class name : access specifer class name
D) None of the mentioned
class name : access specifer class name
Q. When a subclass is inherited from only one superclass it is known as
A) Single Inheritance
B) Multiple Inheritance
C) Hierarchical Inheritance
D) Multilevel Inheritance
Single Inheritance
Wheebox SPPU mcq PDF
Q. In case of inheritance where both base and derived class are having constructors, when an object of derived class is created then___________ .
A) constructor of derived class will be invoked first
B) constructor of base class will be invoked first
C) constructor of derived class will be executed first followed by base class
D) constructor of base class will be executed first followed by derived class
constructor of base class will be executed first followed by derived class
Q. When a child class inherits traits from more than one parent class, this type of inheritance is called ___ inheritance.
A) Hierarchical
B) Hybrid
C) Multilevel
D) Multiple
Multiple
Q. What is the difference between protected and private access specifiers in inheritance?
A) private member is not inheritable and not accessible in derived class.
B) protected member is inheritable and also accessible in derived class.
C) Both are inheritable but private is accessible in the derived class.
D) Both are inheritable but protected is not accessible in the derived class.
protected member is inheritable and also accessible in derived class.
Q. Operator overloading provides a flexible option for the creation of new …………….. for most of the C++ operations.
A) class
B) function
C) object
D) definitions
definitions
Q. Operators such as …………………. cannot be overloadeD)
A) +
B) ++
C) : :
D) = =
: :
Q. —– helps keep track of the variable usage in our program.
A) Data Dictionary
B) Flow Chart
C) Algorithm
D) Control Structure
Data Dictionary
Q. Communication between modules called as———
A) Cohesion
B) Coupling
C) Linking
D) None of the above
Coupling
OOPS mcq pdf
Q. In….. type of decision logic flow of the processing continues through the module when the resultant of decision is false.
A) Positive logic
B) Negative logic
C) Straight through logic
D) decision logic
Negative logic
Q. Which loop executed at least once?
A) while/while end
B) repeat/until
C) automatic counter
D) for loop
repeat/until
Q. Which is not problem solving steps.
A) Identify the problem
B) identify alternative ways to solve the problem
C) select one of alternative to solve the problem
D) understand the problem
select one of alternative to solve the problem
Q. The solution to problem is——-
A) the step by step instructions to solve the problem
B) the program
C) the results
D) all of the above
the step by step instructions to solve the problem
Q. Computers are built to deal with ———-type of solutions
A) algorithmic solutions
B) heuristic solutions
C) both a and b
D) none of above
both a and b
Q. How many types of loop logic structures are there?
A) One
B) Two
C) Three
D) Four
Three
Q. ———type of operators are used to produce single result combining two separate conditions.
A) mathematical
B) relational
C) logical
D) unary
logical
Q. The following statement Area=widthheight is an example of ———-
A) expression
B) equation
C) one of above
D) none of above
equation
Q. ———-keeps the track of the variable usage in our program.
A) Control Structures
B) Flow chart
C) Algorithm
D) Data dictionary
Data dictionary
Q. Evaluate the following equation for R given A=4,B=5,C=8 is R=A+B2-(C+4)/A
A) 11
B) 10
C) 12
D) 13
11
Q. In flowchart diamond indicates ———-
A) decision
B) input/output
C) processing
D) start
decision
OOP mcqs sppu
Q. Testing the solution ————-
A) provides a validation of solution
B) is not necessary
C) does not find logic errors
D) should only be after the program onn computer is completed.
provides a validation of solution
Q. To develop a solution PAC chart is used for
A) Define and Understand Problem
B) Define input and output
C) Breaks the solution into parts
D) Define the steps of solution
Define and Understand Problem
Q. External documentation————
A) provides communication to the user
B) is necessary
C) provides communication and reminders to programmers
D) none of above
provides communication to the user
Q. While using interactivity chart approach ———Approach is used.
A) Bottom up
B) Top down
C) Mix
D) None of above
Top down
Q. From following list which is not problem solving tool?
A) Structure chart
B) IPO chart
C) Problem analysis chart
D) Interaction diagram
Interaction diagram
Q. Avearage (list) is an example of ————
A) Utility function
B) Mathematical functions
C) Statistical functions
D) String function
Mathematical functions
Q. The logic structure that branches to execute one of two possible sets of instructions is known as ——–
A) Sequential structure
B) Decision structure
C) Loop structure
D) Case structure
Decision structure
Q. Three ways to couple modules are through the use of __
A) Global variable, return Values, parameters
B) Local variable, Global variable, return Values
C) Local variable, Global variable, parameters
D) None of the above
Global variable, return Values, parameters
Q. ————-type of variables couple data from module to module.
A) Local
B) Global
C) Static
D) None of above
Global
Q. In which method, the address of variable sent from one module to another module.
A) Call by value
B) Call by reference
C) None of above
D) Both a and b
Call by reference
Q. In ———–loop the condition is processed after last instructions in the loop.
A) While/while end
B) Repeat/until
C) Automatic counter
D) None of above
Repeat/until
Q. In ————–type of decision logic there is no ELSE part of the instruction.
A) Positive logic
B) Straight through logic
C) Negative logic
D) None of above
Straight through logic
Q. ———–logic structure executes one set of instructions out of several.
A) Case
B) Decision
C) Loop
D) Sequential
Case
Q. A decision Table consists of———–
A) Conditions
B) Actions
C) Both of these
D) None of these
Both of these
Q. —————parameters are passed in function calling.
A) Actual
B) Formal
C) Both a and b
D) None of above
Actual
Q. ————module may be processed only once or they may be part of loop.
A) Process
B) Control
C) Initialization
D) Wrap up
Process
Q. ——structure executes the instruction one after the another in sequence.
A) Decision
B) Sequence
C) Loop
D) All of above
Sequence
Q. calculation module is example of ———–module.
A) Print
B) Initialization
C) Control
D) Process
Process
Q. First step in process of problem solving is to
A) design a solution
B) define a problem
C) practicing solution
D) organizing data
define a problem
Q. Which is not problem solving steps.
A) Identify the problem
B) identify alternative ways to solve the problem
C) select one of alternative to solve the problem
D) understand the problem
select one of alternative to solve the problem
Q. Computers are built to deal with ———-type of solutions
A) algorithmic solutions
B) heuristic solutions
C) both a and b
D) none of above
both a and b
OOPS mcq sppu
Q. ———type of operators are used to produce single result combining two separate conditions.
A) mathematical
B) relational
C) logical
D) unary
logical
Q. Evaluate the following equation for R given A=4,B=5,C=8 is R=A+B*2-(C+4)/A
A) 11
B) 10
C) 12
D) 13
11
Q. In flowchart diamond indicates ———-
A) decision
B) input/output
C) processing
D) start
decision
Q. Testing the solution ————-
A) provides a validation of solution
B) is not necessary
C) does not find logic errors
D) should only be after the program onn computer is completed.
provides a validation of solution
Q. To develop a solution PAC chart is used for
A) Define and Understand Problem
B) Define input and output
C) Breaks the solution into parts
D) Define the steps of solution
Define and Understand Problem
Q. External documentation————
A) provides communication to the user
B) is necessary
C) provides communication and reminders to programmers
D) none of above
provides communication to the user
Q. While using interactivity chart approach ———Approach is used.
A) Bottom up
B) Top down
C) Mix
D) None of above
Top down
Q. Avearage (list) is an example of ————
A) Utility function
B) Mathematical functions
C) Statistical functions
D) String function
Mathematical functions
Q. —– Helps keep track of the variable usage in our program.
A) Data Dictionary
B) Flow Chart
C) Algorithm
D) Control Structure
Data Dictionary
OOPS mcq sppu
Q. Communication between modules called as———
A) Cohesion
B) Coupling
C) Linking
D) None of the above
Coupling
Q. In….. type of decision logic flow of the processing continues through the module when the resultant of decision is false.
A) Positive logic
B) Negative logic
C) Straight through logic
D) decision logic
Negative logic
Q. Which loop executed at least once?
A) while/while end
B) repeat/until
C) automatic counter
D) for loop
repeat/until
Q. The solution to problem is——-
A) the step by step instructions to solve the problem
B) the program
C) the results
D) all of the above
the step by step instructions to solve the problem
Q. How many types of loop logic structures are there?
A) One
B) Two
C) Three
D) Four
Three
Q. Which Is The Lowest Form Of Cohesion
A) Logical Cohesion
B) Communication Cohesion
C) Temporal Cohesion
D) Coincidental Cohesion
Coincidental Cohesion
Q. ———-keeps the track of the variable usage in our program.
A) Control Structures
B) Flow chart
C) Algorithm
D) Data dictionary
Data dictionary
Q. Three ways to couple modules are through the use of __
A) Global variable, return Values, parameters
B) Local variable, Global variable, return Values
C) Local variable, Global variable, parameters
D) None of the above
Global variable, return Values, parameters
Q. In which method, the address of variable sent from one module to another module.
A) Call by value
B) Call by reference
C) None of above
D) Both a and b
Call by reference
Q. ———–logic structure executes one set of instructions out of several.
A) Case
B) Decision
C) Loop
D) Sequential
Case
Q. A decision Table consists of———–
A) Conditions
B) Actions
C) Both of these
D) None of these
Both of these
Q. ——structure executes the instruction one after the another in sequence.
A) Decision
B) Sequence
C) Loop
D) All of above
Sequence
oops mcq, oop mcq with answers, oop mcq with answers pdf, oops mcq pdf download, oop mcqs sppu, oop mcqs pdf download, oop sppu mcq, object oriented programming mcq with answers pdf, OOPS mcq sppu