CBSE - MCQ Question Banks (के. मा. शि. बो . -प्रश्नमाला )

PreviousNext

Q. 189501 A large number of ions or charged particles are present in ionosphere due to the


A. absorption of ultraviolet rays

B. reflection of infrared rays

C. transmission of visible rays

D. absorption of large wavelength rays

Right Answer is: A

SOLUTION

A large number of ions or charged particles are present in ionosphere due to ionisation, which occurs due to the absorption of high energy radiation like ultraviolet radiations coming from the sun by air molecules.


Q. 189502 The area to be covered for T.V. telecast is doubled. Then, the height of transmitting antenna will have to be 


A. halved.

B. doubled.

C. quadrupled.

D. kept unchanged.

Right Answer is: B

SOLUTION


Q. 189503 The function of a transmitter is to


A. produce message signals.

B. convert message signals.

C. receive message signals.

D. destroy message signals.

Right Answer is: B

SOLUTION

The function of a transmitter is to convert the message signals produced by the source of information into a form that can be transmitted through the channel connecting the transmitter and the receiver.


Q. 189504 The heights of a transmitting antenna and a receiving antenna are 40 m and 60 m, respectively. The maximum distance between them for satisfactory communication in line of sight mode is:


A. 35.5 km

B. 45.5 km

C. 50.3 km

D. 65.5 km

Right Answer is: C

SOLUTION


Q. 189505 The power radiated from a linear antenna is proportional to


A. 1/(length of antenna).

B. wavelength of the signal.

C. length of antenna.

D. 1/(wavelength of the signal)2.

Right Answer is: D

SOLUTION


Q. 189506 The angular frequency of a carrier wave is twice that of the modulating angular frequency. The amplitude modulated signal contains frequencies


A. .

B. .

C. .

D. .

Right Answer is: A

SOLUTION


Q. 189507 A carrier wave is generated by a tank circuit containing 1 nanofarad capacitor and 10 microhenry inductor. The frequency of the carrier wave is


A. 1000 kHz.

B. 1592 kHz.

C. 3184 kHz.

D. 4999 kHz.

Right Answer is: B

SOLUTION


Q. 189508 An audio signal of 2.2 kHz modulates a carrier wave of frequency 100 MHz. The frequency range of FM wave is


A. (97.8—102.2) MHz.

B. (97.8—102.2) kHz.

C. (99.99—100.0022) kHz.

D. (99.99—100.0022) MHz.

Right Answer is: D

SOLUTION


Q. 189509 An audio signal of 3 kHz modulates a carrier wave and produces a frequency deviation of 60 kHz. The frequency modulation index is


A. 0.05.

B. 6.67.

C. 20.

D. 180.

Right Answer is: C

SOLUTION


Q. 189510 If the minimum voltage in an AM wave is 0.75 V and maximum voltage is 1.25 V. The modulation index is


A. 0.25.

B. 0.5.

C. 0.75.

D. 1.

Right Answer is: A

SOLUTION


Q. 189511 The minimum length of antenna required to transmit a radio signal of frequency 100 MHz is


A. 7.5 m.

B. 3 m.

C. 0.75 m.

D. 0.3 m.

Right Answer is: C

SOLUTION


Q. 189512 If the wavelength of the radiation is halved, the effective power radiated by an antenna will be


A. four times the original power radiated.

B. three times the original power radiated.

C. double times the original power radiated.

D. equal to the original power radiated.

Right Answer is: A

SOLUTION


Q. 189513 A frequency modulated wave is represented by an equation, e = 10 sin (5  108t + 6 sin1000t). The modulating signal frequency is


A. 79.62 MHz.

B. 159 MHz.

C. 312 MHz.

D. 500 MHz.

Right Answer is: B

SOLUTION


Q. 189514 A message signal of frequency 12 kHz and peak voltage of 20 volts is used to modulate a carrier frequency of 2 MHz and peak voltage of  30 volts. Then modulation index is


A.   1000, 1018 kHz

B.  2020, 1980 kHz

C.  2000, 2098 kHz

D.  2020, 2040 kHz

Right Answer is: B

SOLUTION

The side bands are 2000 + 20 kHz = 2020 kHz
and (2000 – 20) kHz = 1980 kHz


Q. 189515 The effective power radiated by a long wavelength baseband signal would be


A.   Small

B.  Large

C.  Comparable

D.  Very small

Right Answer is: A

SOLUTION

Power radiated is proportional to (e/)2.
This implies that for the same antenna length the power radiated increases with decreasing l. Hence, the effective power radiated by a long wavelength baseband signal would be small.


Q. 189516 At what height, a peak ionization occurs?


A.   At great heights

B.  Close to the earth

C.  At intermediate heights 

D.  Height doesn’t matter

Right Answer is: B

SOLUTION

The density of atmosphere decreases with height. At great height, the solar radiation is intense but there are few molecules to be ionized. Close to the earth, even through the molecular communication is very high, the radiation intensity is low. So that ionization is again low. However, at some intermediate heights, there occurs a peak of ionization density.


Q. 189517 To radiate signals with high efficiency, the antennas should have a size


A.   Equal to wavelength l 

B.  Smaller than wavelength l

C.  Larger than wavelength l

D.  Comparable to wavelength l

Right Answer is: D

SOLUTION

To radiate signals with high efficiency, the antennas should have a size comparable to the wavelength l of the signal.


Q. 189518 In communication using radio waves, an antenna at the transmitter radiates which of the following type of wave?


A.   Electrical waves

B.  Sound waves 

C.  em waves

D.  Radio waves

Right Answer is: C

SOLUTION

In communication using radio waves, an antenna at the transmitter radiates em waves, which travel through space and reach the receiving antenna at the other end.


Q. 189519  Alternation is


A.  A device that converts one form of energy into another

B. Referred to as unwanted signal that disturbs the transmission

C. The loss of strength of a signal

D. A device which extracts the designed message signals.

Right Answer is: C

SOLUTION

Alternation is the loss of strength of a signal while propagating through a medium.


Q. 189520 In a communication system, out of three elements which of the following is the physical medium that connects the other two?


A. Transmitter

B. Channel

C. Receiver

D. Speaker

Right Answer is: B

SOLUTION

Every communication system has three essential elements : Transmitter, Channel, Receiver. Channel is the physical medium that connects the other two.


Q. 189521 The modulation index of an FM is 0.45. If modulating frequency is 4 kHz, the maximum deviation of frequency would be


A.   100 Hz

B.  500 Hz

C.  1000 Hz

D.  1800 Hz

Right Answer is: D

SOLUTION


Q. 189522 The numbers of AM broadcast stations that can be accommodated in a 400 kHz bandwidth for the highest modulating frequency 20 kHz will be


A.

B. 10

C.

D. 8

Right Answer is: B

SOLUTION

Number of channels 


Q. 189523 Radio waves of constant amplitude can be generated with


A. Filter

B. Rectifier

C. FET

D. Oscillator

Right Answer is: D

SOLUTION


Q. 189524 At longer wavelengths, the antenna


A.   Should have large physical size and located on or very near to the ground

B.  Should have large physical size but far from the ground

C.  Should have small physical size and very near to the ground

D.  Should have small physical size and far from the ground

Right Answer is: A

SOLUTION

At longer wavelengths, the antennas have large physical size and should be located very near to the radiate signals with high efficiency, the antenna should have a size comparable to this wavelength l of the signal.


Q. 189525 A message signal of frequency 12 kHz and peak voltage of 20 volts is used to modulate a carrier frequency of 2 MHz and peak voltage of  30 volts. Then modulation index is


A.   0.6 

B.  0.7

C.  0.67

D.  0.58

Right Answer is: C

SOLUTION

Modulation = 20/30 = 2/3 = 0.67


Q. 189526 Given that radius of earth is 6.4 × 106 m and a transmitting antenna at the top of a tower has a height 40 m and the height of the receiving antenna is 50 m. What is the maximum distance between them for satisfactory communication in los mode?


A.  45 km 

B.  48 km

C.  50 km

D.  57 km

Right Answer is: B

SOLUTION


Q. 189527 If a band width is large enough to accommodate a few harmonics


A.   Rectangular signal is more or less recovered

B.  No rectangular wave will form

C.  Any other form of wave will form

D.  No wave will form

Right Answer is: C

SOLUTION

The band width is large enough to accommodate a few harmonics, the information is not lost and the rectangular signal is more or less recovered. This is so because the highest harmonic, less is its contribution to the wave form.


Q. 189528 The wavelength of an electromagnetic wave in wave guide is


A. more than that in free space

B. less than that in free space

C. directly proportional to group velcoity

D. inversely proportional to phase velocity

Right Answer is: A

SOLUTION

The wavelength of an electromagnetic wave in a wave guide is more than that in free space. This is because the velocity of e.m. wave in wave guide is more than that in air and . As v increases, wavelength increases for a fixed frequency.


Q. 189529 An amplitude modulated wave is represented by V = 300 [1+0.8sin 3040 t] sin (6.28 x 106 t). What is carrier frequency?


A. 10-7 Hz

B. 10-6 Hz

C. 106 Hz

D. 107 Hz

Right Answer is: C

SOLUTION


Q. 189530 The value of atomic mass unit (a.m.u) is


A. 1.6610-27 kg.

B. 2.6610-27 kg.

C. 6.02310-27 kg.

D. 2.4410-27 kg.

Right Answer is: A

SOLUTION


Q. 189531 The radio waves of frequency 300 MHz to 3000 MHz belongs to


A. high frequency band.

B. very high frequency band.

C. ultra high frequency band.

D. super high frequency band.

Right Answer is: C

SOLUTION

The radio waves of frequency 300 MHz to 3000 MHz belongs to ultra high frequency band as their wavelength is between 10 cm to 1m.


Q. 189532 Long distance short-wave radio broad-casting uses


A. ground wave.

B. ionospheric wave.

C. direct wave.

D. sky wave.

Right Answer is: B

SOLUTION

Ionosphere is composed of ionised matter that plays a major role in space communication. It is found that electromagnetic waves of frequency more than 54 MHz are not reflected from the ionosphere but refracted. So, radio waves of short frequency range 1710 kHz to 540 kHz are used for long distance propagation round the globe, by the method of sky wave propagation or ionospheric propagation.


Q. 189533 Preceding the detection, the carrier frequency is usually changed to


A. higher frequency.

B. intermediate frequency.

C. lower frequency.

D. does not change at all.

Right Answer is: C

SOLUTION

The transmitted message gets attenuated in propagating through the channel. The receiving antenna is therefore, to be followed by an amplifier and a detector. In addition, to facilitate further processing, the carrier frequency is usually changed to a lower frequency because the detected signal may not be strong enough to be made use of and hence, is required to be amplified.


Q. 189534 जो शब्द मुख्य उपवाक्य को आश्रित उपवाक्य से जोड़ते हैं, उन्हें क्या कहते हैं?


A. समानाधिकारी समुच्चयबोधक

B. परिणामसूचक

C. संयोजक

D. व्यधिकरण समुच्चयबोधक

Right Answer is: D

SOLUTION

जो शब्द मुख्य उपवाक्य को आश्रित उपवाक्य से जोड़ते हैं, उन्हें व्यधिकरण समुच्चयबोधक कहते हैं|


Q. 189535 जो शब्द समानाधिकार वाले शब्दों को जोड़ते हैं, उन्हें क्या कहते हैं?


A. विभाजक

B. समानाधिकारी

C. समानाधिकारी समुच्चयबोधक

D. व्यधिकरण समुच्चयबोधक

Right Answer is: C

SOLUTION

जो शब्द समान अधिकार वाले शब्दों को जोड़ते हैं, उन्हें समानाधिकारी समुच्चयबोधक कहते हैं?


Q. 189536 निम्नलिखित में कौन-सा शब्द समुच्चयबोधक नहीं है?


A. इसलिए

B. पर

C. अरे

D. ताकि

Right Answer is: A

SOLUTION

‘अरे’ शब्द विस्मयादिबोधक है तथा अन्य सभी समुच्चयबोधक शब्द हैं|


Q. 189537 निम्नलिखित में कौन-सा शब्द विकल्पमूलक नहीं है?


A. कि

B. परन्तु

C. अथवा

D.

Right Answer is: B

SOLUTION

‘परन्तु’ शब्द दो विरोधसूचक वाक्यों को मिलाता है| अतः यह विभाजक है न कि विकल्पमूलक| 


Q. 189538’ इस वाक्य में प्रयुक्त स

‘आज वर्षा होगी अथवा आँधी आएगी<div class= Right Answer is: D

SOLUTION

उपर्युक्त वाक्य में ‘अथवा’ शब्द दो समान अधिकारवाले वाक्यों को अलग करने के लिए प्रयुक्त किया गया है| अतःयह समुच्चयबोधक शब्द है|


Q. 189539 जो शब्द दो उपवाक्यों को जोड़कर उनका उद्देश्य स्पष्ट कराते हैं, उन्हें क्या कहते हैं?


A. उद्देश्यसूचक

B. उद्देश्य

C. उद्देश्यमूलक

D. उद्देशीय

Right Answer is: A

SOLUTION

जो शब्द दो उपवाक्यों को जोड़कर उनका उद्देश्य स्पष्ट कराते हैं, उन्हें उद्देश्यसूचक कहते हैं|


Q. 189540 निम्नलिखित में से कौन-सा शब्द विभाजक है?


A. और

B. ताकि

C. लेकिन

D. क्योंकि

Right Answer is: C

SOLUTION

‘लेकिन’ शब्द का प्रयोग दो विरोधसूचक वाक्यों को जोड़कर किया जाता है| अतः यह विभाजक शब्द है|


Q. 189541 यह वाक्य समुच्चयबोधक के किस

सोनम और अंजली खेल रही हैं<div class= Right Answer is: B

SOLUTION

उपर्युक्त वाक्य में ‘और’ दो सामान आधार वाले शब्दों को जोड़ रहा है| अतः यह वाक्य संयोजक समुच्चयबोधक का उदाहरण है|


Q. 189542 निम्नलिखित में से उद्देश्यसूचक समुच्चयबोधक शब्द का चयन कीजिए-


A. और

B. इसलिए

C. अथवा

D. ताकि

Right Answer is: D

SOLUTION

विकल्प (घ) को छोड़कर शेष सभी विकल्प अन्य समुच्चयबोधक के शब्द हैं|


Q. 189543 जो समुच्चयबोधक शब्द एक समान व्यक्तियों या वस्तुओं में से एक का ग्रहण या त्याग बताएँ, उन्हें क्या कहते हैं?


A. विभाजक

B. विकल्पसूचक

C. संयोजक

D. उद्देश्यसूचक

Right Answer is: B

SOLUTION

जो समुच्चयबोधक शब्द एक समान व्यक्तियों या वस्तुओं में से एक का ग्रहण या त्याग बताएँ, उन्हें विक्ल्पसूचक कहते हैं|


Q. 189544 समुच्चयबोधक शब्द कितने प्रकार के होते हैं?


A. दो

B. तीन

C. चार

D. पाँच

Right Answer is: A

SOLUTION

समुच्चयबोधक दो प्रकार के होते हैं- समानाधिकरण समुच्चयबोधक और व्यधिकरण समुच्चयबोधक |


Q. 189545 उद्देश्यसूचक शब्द होते हैं-


A. दो शब्दों, वाक्यांशों या वाक्यों को जोड़ने वाले शब्द

Right Answer is: C

SOLUTION

दो उपवाक्यों को जोड़कर उनके उद्देश्य को बताने वाले शब्द उद्देश्यसूचक समुच्चयबोधक कहलाते हैं|


Q. 189546 परिणामसूचक शब्द होते हैं-


A. दो शब्दों, वाक्यांशों या वाक्यों को जोड़ने वाले शब्द

Right Answer is: C

SOLUTION

दो उपवाक्य को जोड़कर उनके परिणाम की और संकेत करने वाले शब्द परिणामसूचक कहलाते हैं| 


Q. 189547 निम्नलिखित में से कौन-सा विकल्प सही है?


A. तथा – संयोजक

B. इसलिए – परिणामसूचक

C. क्योंकि – विकल्पकसूचक

D. पर – उद्देश्यसूचक

Right Answer is: D

SOLUTION

विकल्प (घ) को छोड़कर शेष सभी समुच्चयबोधक शब्द अपने सही भेद के साथ दिए गए हैं|


Q. 189548 निम्नलिखित में से कौन-सा विकल्प व्यधिकरण समुच्चयबोधक का नहीं है?


A. तथा

B. क्योंकि

C. ताकि

D. इसलिए

Right Answer is: A

SOLUTION

‘तथा’ समानाधिकरण समुच्चयबोधक शब्द है तथा अन्य सभी व्यधिकरण समुच्चयबोधक हैं|


Q. 189549 निम्नलिखित में से कौन-सा विकल्प सही है?


A. इसलिए – विभाजक

B. ताकि  – संयोजक

C. तथा – विकल्पसूचक

D. किंतु – योजक

Right Answer is: C

SOLUTION

विकल्प (ग) के अलावा अन्य सभी  विकल्प सुमेलित नहीं है|


Q. 189550 An instrument is rated 200 W, 484 Ω for a 220 V supply. The peak voltage and the rms current through the instrument is


A. 220V, 0.45 A

B. 220 V, 0.86 A

C. 311 V, 0.45 A

D. 311 V, 0.86 A

Right Answer is: D

SOLUTION

The peak voltage of the source is, Vm=Vrms=2×220 V=331 VThe rms current is given by,I=PVrms =200 W220 V =0.86 A


Q. 189551 When an iron nail is brought near a bar magnet, it gets attracted towards the bar magnet.


A.

B.

C.

D.

Right Answer is: C

SOLUTION

The two nails are attracted to same pole of the bar magnet and hence, acquires same polarity. As a result, like poles of the nail repel each other.


Q. 189552 A 20 µF capacitor is connected across a 200V, 50 Hz ac supply. The peak current through the circuit is


A. 0.6 A

B. 6.28 A

C. 8.856 A

D. 0.8866 A

Right Answer is: C

SOLUTION

The capacitive reactance is, Xc=12πνC 12π×50(20×10-6)Ω 3.184 Ω The rms current is,I=VXC =200 V31.84 Ω=6.281 AThe peak current is,im=2I=(1.41)(6.281 A)     =8.856 A


Q. 189553 The instantaneous current in a circuit is, I=12sin (ωt+θ). The rms value of the current is,


A. 1 A

B. 2 A

C. 12A

D. 12

Right Answer is: C

SOLUTION

I, instantaneous value of current is, I=I0sinωt and rms value of current is Irsm=I02 Here, I instantaneous value of current is, I=12sinωt+ΦThus, I0=12Irms=I02         =122         =12  


Q. 189554 All statements in C++ terminate with


A. double quotes.

B. semicolon.

C. colon.

D. single quotes.

Right Answer is: B

SOLUTION

Every statement in C++ terminates with a semicolon (;). It indicates the end of the line.


Q. 189555 main ( ) which has the program code to be executed is a/an


A. class.

B. sub class.

C. object.

D. function name.

Right Answer is: D

SOLUTION

Every C++ program has a function named main(). In a program execution is always starts from main() function.


Q. 189556 Procedural language paradigm gives more emphasis on 


A. data than the work performed on it.

B. doing things rather than on data itself.

C. objects and classes.

D. principles of data hiding, abstraction and encapsulation.

Right Answer is: B

SOLUTION

Procedural programming aims at procedures. It is a list of instructions telling a computer, step by step, what to do, usually having a linear order of execution from the first statement to the second.


Q. 189557 The correct output of the following program is
 #include
int i=20;
void main()
{
int i=5;
cout < < i  < < endl < < ::i ;
}


A. 5 5.

B. 20 20.

C. 5 20.

D. 20 5.

Right Answer is: C

SOLUTION

:: is a scope resolution operator, used to access global value of i.


Q. 189558 The statement which is valid or legal in C++ is


A. an identifier can start with the “ _ ”.

B. an identifier can begin with a digit.

C. that all special characters are allowed in C++ identifiers.

D. single character constants that have type char.

Right Answer is: A

SOLUTION

Identifiers can start with _, but not digits. Identifier is an arbitrarily long sequence of letters and digits. Upper and lower case are different. Single character constants have type int.


Q. 189559 The invalid real constant is


A. 152E05.

B. 1.52E07.

C. 152E+8.

D. 172.E5.

Right Answer is: D

SOLUTION

A real constant in exponent form has two parts: a mantissa and an exponent. The mantissa must be either an integer or a proper real constant. The mantissa is followed by a letter E or e and the exponent. The exponent must be an integer.


Q. 189560 To implement the relationship in C++ we use


A. polymorphism.

B. inheritance.

C. overloading.

D. overriding.

Right Answer is: B

SOLUTION

The property by which one class (subclass) inherits the properties of super class is known as inheritance. This is a relationship between subclass (derived class) and superclass (base class).


Q. 189561 A string literal refers to


A. multiple character surrounded by single quotes.

B. multiple characters surrounded by double quotes.

C. strings where terminating character ‘ 0’ is not added.

D. character constants.

Right Answer is: B

SOLUTION

A string literal is a sequence of characters surrounded by double quotes.


Q. 189562 A temporary instance of a class means


A. creating one object.

B. creating two object.

C. an anonymous object.

D. an anonymous class.

Right Answer is: C

SOLUTION

A temporary instance of a class means an anonymous object (having no name) of the same class.


Q. 189563 If there is more than one statement within the block of a for loop, the bracket which is placed at the beginning and the ending of the loop block is


A. parenthesis ().

B. braces {}.

C. square brackets [].

D. arrows < >.

Right Answer is: B

SOLUTION

{} are used for more than one statement in the block of a for loop. When there is a single statement then () are used.
For example:
for (i=0; i <=10; i++).
It will execute the code within for loop for 10 times.


Q. 189564 The correct output of the following code is -

#include< iostream.h > void main() { int i=5; if (i>2) {
   cout < < ”hello”; } else    cout < < ”this is end”; }


A. print hello one time.

B. print only this is end.

C. compiler error.

D. run time error.

Right Answer is: A

SOLUTION

An if statement tests a particular condiiton; if the condition evaluates to true, a course-of-action is followed i.e., a statement or set-of-statements is executed. Otherwise, the course-of-action is ignored. It will always print hello because we have used assignment operator here instead of comparison operator.


Q. 189565 Relational operators determine relations among


A. similar operations.

B. different operands.

C. existing expressions.

D. logical operators.

Right Answer is: B

SOLUTION

Relational operators determine the relation among different operands. It compare numbers and characters and does not work with strings. If comparison is true, the relational expression results into value 1 or 0.


Q. 189566 What is a recursive function?
Right Answer is:

SOLUTION

A function that calls itself directly or indirectly is referred to as recursive  function.


Q. 189567 What are the three expressions given in the for statement? 
Right Answer is:

SOLUTION

The three expressions are the initialization expression, test expression and the increment/decrement (reinitialization) expression.


Q. 189568 Name the header files to which the following belong:   (i)  puts()                    (ii)  strcmp()
Right Answer is:

SOLUTION

puts() belongs to stdio.h header file and strcmp() belongs to string.h header file.


Q. 189569 What are the two types of functions available in C++?
Right Answer is:

SOLUTION

The two types of functions available in C++ are:

Implicit and Explicit functions.


Q. 189570 What is a modular programming?
Right Answer is:

SOLUTION

Modular programming is the breaking down of the program into smaller sub tasks, which in turn may be broken down again so that the lowest-level functions are as simple as possible.


Q. 189571 Determine the output:          a = 1;          b = a++;          cout << a++;          cout << (b+a);          cout << ++b;
Right Answer is:

SOLUTION

The output of the above code is 2 4 2.


Q. 189572 What are the basic features of object oriented programming?
Right Answer is:

SOLUTION

The basic features of object oriented programming are data abstraction, data encapsulation, inheritance, and polymorphism.


Q. 189573 Name the header file(s) that is needed for successful compilation                                                                                                              of the following C++ code :- 

        void main()         {               char String[20];               gets(String);               strcat(String, “CBSE”);               puts(String);         }
Right Answer is:

SOLUTION

The header files needed for the successful compilation of the above code are: string.h and stdio.h.


Q. 189574 A function's argument list is known as the


A. abstraction.

B. modularity.

C. signature.

D. address.

Right Answer is: C

SOLUTION

The key to function overloading is a function's argument list which is also known as the function signature.


Q. 189575 The act of representing essential features without including the background details and explanations is


A. data abstraction.

B. encapsulation.

C. data hiding.

D. inheritance.

Right Answer is: A

SOLUTION

Data abstraction is focussing on important features leaving behind the unessential part.


Q. 189576 The concept in which the unessential features or background details are hidden from the world is known as


A. data abstraction.

B. encapsulation.

C. data hiding.

D. inheritance.

Right Answer is: C

SOLUTION

Data hiding is a concept related to data abstraction.


Q. 189577 With software objects, we don’t need to know how a method is implemented; we just need to know which method to invoke and its interface. This is an example of


A. data abstraction.

B. data hiding.

C. data encapsulation.

D. modularity.

Right Answer is: C

SOLUTION

Through encapsulation, an inteface is made available to the world through which users can use the class.


Q. 189578 Procedural programming is


A. the best programming method.

B. a programming method that localizes the implementation details.

C. a programming method, which implements oops concepts.

D. a programming method, which leads to increased time and cost overheads during design changes.

Right Answer is: D

SOLUTION

Procedural programming is susceptible to design changes, which leads to many modifications in the code. This results in increased time and cost overheads at times.


Q. 189579 The methodology of designing and implementing programs using the key features and building blocks of a programming language is called


A.  programming paradigm.

B. programming procedure.

C. programming function.

D. programming class.

Right Answer is: A

SOLUTION

Paradigm refers to a way of doing things. A programming paradigm gives you an idea how problems are generally analyzed and solved in a particular programming language.


Q. 189580 The data that can be accessed by the non–member functions through the objects of that class is


A. protected data.

B. private data.

C. public data

D. local data.

Right Answer is: C

SOLUTION

Public data is accessible even outside the class.


Q. 189581 The data that can be accessed only through the member functions of that class is


A. public data.

B. private data.

C. global data.

D. protected data.

Right Answer is: B

SOLUTION

Private data is accessible within a class only. Any data which is declared private inside a class is not accessible from outside the class. A function which is not a member or an external class can never access such private data.


Q. 189582 A class represents a group of


A. similar objects.

B. different types of objects.

C. different entities.

D. same variables and different data types.

Right Answer is: A

SOLUTION

A class is a way to bind the data describing an entity and its associated functions together.


Q. 189583 The features implemented by object based programming are


A. information hiding, abstraction, classes, function overloading, inheritance.

B. information hiding, abstraction, classes, function overloading, polymorphism.

C. information hiding, abstraction, classes, function overloading.

D. abstraction, classes, function overloading, polymorphism and inheritance.

Right Answer is: C

SOLUTION

The object-based programming is a subset of object-oriented programming. It implements some of the features of object oriented programming but it does not implement inheritance and thereby polymorphism.


Q. 189584 The relation between objects based and object oriented programming is that


A. object oriented programming is subset of object based programming.

B. object oriented programming is superset of object based programming.

C. object oriented programming is same as object based programming.

D. both are a subset of procedural programming.

Right Answer is: B

SOLUTION

Object oriented programming offers all the features of object based programming and overcomes its limitations by implementing inheritance.


Q. 189585 Dynamic binding is also called


A. early binding.

B. dynamic binding.

C. function binding.

D. late binding.

Right Answer is: D

SOLUTION

Dynamic binding is the process of binding in which compiler binds the indentifiers with its addresses at run-time. It is also known as late binding.


Q. 189586 Static binding is also called


A. late binding.

B. early binding.

C. dynamic binding.

D. function binding.

Right Answer is: B

SOLUTION

When a system determines how to implement an action at compile time, is called early binding or static binding.


Q. 189587 A function’s argument list is known as


A. function’s parameters.

B. function’s members

C. function’s structures.

D. function’s signature.

Right Answer is: D

SOLUTION

The signature of a function is roughly equivalent to its prototype definition.


Q. 189588 If I use virtual function in the base class, then


A. the derived class function would be called.

B. the base class function would be called.

C. base pointer can be called.

D. derived pointer would be called.

Right Answer is: A

SOLUTION

A virtual function is one whose behaviour can be overriden within an inheriting class by a function with the same signature.


Q. 189589 A function having more than one distinct meaning is called


A. virtual function.

B. overloaded function.

C. overloaded operator.

D. polymorph function.

Right Answer is: B

SOLUTION

Function overloading is the feature of OOP in which more than one function could have some name with different argument list.


Q. 189590 C++ implements polymorphism through


A. virtual functions only.

B. overloaded functions only.

C. virtual functions, overloaded functions and overloaded operators.

D. polymorphism operators.

Right Answer is: C

SOLUTION

Polymorphism is the attribute that allows one interface to be used with different situations.


Q. 189591 Inheritance is implemented in C++ using syntax somewhat like


A. class < base class name >: < derived class name >

B. class < derived class name >: < base class name >

C. < derived class name >: < base class name >

D. class < derived class name > :: < base class name >

Right Answer is: B

SOLUTION

Inheritance is implemented in C++ by specifying the name of the (base) class from which the class being defined(the derived class) has to inherit from.


Q. 189592 The class, which provides missing functionalities for its member functions, is called


A. base class.

B. concrete class.

C. abstract class.

D. super class.

Right Answer is: B

SOLUTION

Concrete class is the derived class that implements all the missing functionalities which are not implemented in the base class or abstract class.


Q. 189593 Member function is a function defined within a class that acts on


A. the data members in the class.

B. the data members outside the class.

C. the methods within the class.

D. the objects.

Right Answer is: A

SOLUTION

There are two kind of members in a class: data members and member functions. Data members are exactly like the variables in a structure and member functions act on data members in the class.


Q. 189594 Write the output of the following program: 

           #include< iostream.h >             int func(int &x, int y = 10)             {                     if(x%y = =0)                        return ++x;                    else                        return y;             }             void main()             {                       int p = 20, q = 23;                       q = func(p,q);                       cout << p << q << endl;                        p = func(q);                       cout << p << q << endl;                       q = func(p);                       cout << p << q << endl;              }
A. the data members in the class.
B. the data members outside the class.
C. the methods within the class.
D. the objects.

Right Answer is:

SOLUTION

The output is as follows -

          2023

          1023

           1111


Q. 189595 Name the four storage class modifiers. Explain any one of them. 
A. the data members in the class.
B. the data members outside the class.
C. the methods within the class.
D. the objects.

Right Answer is:

SOLUTION

C++ provides four storage class modifiers : auto, register, static and extern. The auto specifier tells that this variable will be created when the function is called and it will be destroyed when the function returns. 


Q. 189596 What is the purpose of header file in a program?
A. the data members in the class.
B. the data members outside the class.
C. the methods within the class.
D. the objects.

Right Answer is:

SOLUTION

Header files, also called include files, provide function prototype declarations for library functions.


Q. 189597 Differentiate between call by value and call by reference of function call.
A. the data members in the class.
B. the data members outside the class.
C. the methods within the class.
D. the objects.

Right Answer is:

SOLUTION

In call by value method, the called function creates its own copies of original values sent to it. Any changes, that are made, occur on the function's copy of values and are not reflected back to the calling function.

Whereas, in call by reference method, the called function accesses and works with the original values using their references. Any changes, that occur, take place on the original values and are reflected back to the calling code.


Q. 189598 Write two advantages of using include compiler directive.
A. the data members in the class.
B. the data members outside the class.
C. the methods within the class.
D. the objects.

Right Answer is:

SOLUTION

(i)  The # include compiler directive includes desired header files in our program.
(ii)  It supports modularity, i.e., a bigger program can be decomposed in terms of header files and later included as a pre-processor directive.


Q. 189599 Why is main function special? Give two reasons.
A. the data members in the class.
B. the data members outside the class.
C. the methods within the class.
D. the objects.

Right Answer is:

SOLUTION

(i)  Whenever a C++ program is executed, only the main() is executed. The execution of a program starts and ends at main().

(ii) The main() is the driver function of the program. If it is not included in the program, no execution can take place.


Q. 189600 What will be the output of the following program:            # include < iostream.h >             void main()              {                   int var1 = 5, var2 = 10;                   for( int i = 1; i <= 2; i++)                    {                         cout << var1++ <<  't'  <<  --var2  << endl;                          cout << var2--  <<  't' << ++var1 << endl;                     }                }
A. the data members in the class.
B. the data members outside the class.
C. the methods within the class.
D. the objects.

Right Answer is:

SOLUTION

The output is:

               5 9

               9 7

               7 7

               7 9


PreviousNext