Object Oriented Programming MCQs

Page No. 10

Abstraction principle includes___________


aUse abstraction at its minimum

✖


bUse abstraction to avoid longer codes

✖


cUse abstraction whenever possible to avoid duplication

✓


dUse abstraction whenever possible to achieve OOP

✖



Which among the following can be viewed as combination of abstraction of data and code.


aClass

✖


bObject

✓


cInheritance

✖


dInterfaces

✖


View Answer Object

Abstraction can apply to ____________


aControl and data

✓


bOnly data

✖


cOnly control

✖


dClasses

✖


View Answer Control and data

Abstraction gives higher degree of ________


aClass usage

✖


bProgram complexity

✖


cIdealized interface

✓


dUnstable interface

✖


View Answer Idealized interface

Object is ________ abstraction.


aObject

✖


bLogical

✖


cReal

✓


dHypothetical

✖


View Answer Real

Class is _________ abstraction.


aObject

✖


bLogical

✓


cReal

✖


dHypothetical

✖


View Answer Logical

Hiding the implementation complexity can ____________


aMake the programming easy

✓


bMake the programming complex

✖


cProvide more number of features

✖


dProvide better features

✖



Which among the following best defines abstraction?


aHiding the implementation

✖


bShowing the important data

✖


cHiding the important data

✖


dHiding the implementation and showing only the features

✓



For constructor overloading, each constructor must differ in ___________ and __________


aNumber of arguments and type of arguments

✓


bNumber of arguments and return type

✖


cReturn type and type of arguments

✖


dReturn type and definition

✖



Which among the following helps to create a temporary instance?


aImplicit call to a default constructor

✖


bExplicit call to a copy constructor

✖


cImplicit call to a parameterized constructor

✖


dExplicit call to a constructor

✓



Goto Page No.

Page 10 of 93

Alphabetical MCQs Categories
—

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"
—

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan