Explore topic-wise MCQs in CSC.

This section includes 50 Mcqs, each offering curated multiple-choice questions to sharpen your CSC knowledge and support exam preparation. Choose a topic below to get started.

1.

What do the following declaration signify?    int (*pf)();

A. pf is a pointer to function.
B. pf is a function pointer.
C. pf is a pointer to a function which return int
D. pf is a function of pointer variable.
Answer» D. pf is a function of pointer variable.
2.

Which of the following can access private data members or member functions of a class?

A. Any function in the program.
B. All global functions in the program.
C. Any member function of that class.
D. Only public member functions of that class.
Answer» D. Only public member functions of that class.
3.

Which of the following keywords is used to control access to a class member?

A. Default
B. Break
C. Protected
D. Asm
Answer» D. Asm
4.

Which of the following statement is correct with respect to the use of friend keyword inside a class?

A. A private data member can be declared as a friend.
B. A class may be declared as a friend.
C. An object may be declared as a friend.
D. We can use friend keyword as a class name.
Answer» C. An object may be declared as a friend.
5.

Which of the following access specifies is used in a class definition by default?

A. Protected
B. Public
C. Private
D. Friend
Answer» D. Friend
6.

Which of the following statements is correct about the constructors and destructors?

A. Destructors can take arguments but constructors cannot.
B. Constructors can take arguments but destructors cannot.
C. Destructors can be overloaded but constructors cannot be overloaded.
D. Constructors and destructors can both return a value.
Answer» C. Destructors can be overloaded but constructors cannot be overloaded.
7.

Which of the following statements is correct when a class is inherited publicly?

A. Public members of the base class become protected members of derived class.
B. Public members of the base class become private members of derived class.
C. Private members of the base class become protected members of derived class.
D. Public members of the base class become public members of derived class.
Answer» E.
8.

How can we make a class abstract?

A. By making all member functions constant.
B. By making at least one member function as pure virtual function.
C. By declaring it abstract using the static keyword.
D. By declaring it abstract using the virtual keyword.
Answer» C. By declaring it abstract using the static keyword.
9.

Which of the following two entities (reading from Left to Right) can be connected by the dot operator?

A. A class member and a class object.
B. A class object and a class.
C. A class and a member of that class.
D. A class object and a member of that class.
Answer» E.
10.

Which of the following statement is correct regarding destructor of base class?

A. Destructor of base class should always be static.
B. Destructor of base class should always be virtual.
C. Destructor of base class should not be virtual.
D. Destructor of base class should always be private.
Answer» C. Destructor of base class should not be virtual.
11.

Which of the following statements is incorrect?

A. Friend keyword can be used in the class to allow access to another class.
B. Friend keyword can be used for a function in the public section of a class.
C. Friend keyword can be used for a function in the private section of a class.
D. Friend keyword can be used on main().
Answer» E.
12.

What happens when we try to compile the class definition in following code snippet? class Birds {}; class Peacock : protected Birds {};

A. It will not compile because class body of Birds is not defined.
B. It will not compile because class body of Peacock is not defined.
C. It will not compile because a class cannot be protectedly inherited from other class.
D. It will compile succesfully.
Answer» E.
13.

The current in a given circuit is not to exceed 24 A. Which value of fuse is best?

A. a fuse is not necessary
B. 10 A
C. 24 A
D. 20 A
Answer» D. 20 A
14.

An ohmmeter is an instrument for measuring

A. current
B. voltage
C. resistance
D. wattage
Answer» D. wattage
15.

An ammeter is an electrical instrument used to measure

A. current
B. voltage
C. resistance
D. none of the above
Answer» B. voltage
16.

A circuit breaker is a

A. fuse
B. switch
C. resettable protective device
D. resistor
Answer» D. resistor
17.

  A neutral atom with an atomic number of five has how many electrons?

A. 1
B. 5
C. none
D. depends on the type of atom
Answer» C. none
18.

A wiper is the sliding contact in a

A. switch
B. photoconductive cell
C. thermistor
D. potentiometer
Answer» E.
19.

If there is 6 A of current through the filament of a lamp, how many coulombs of charge move through the filament in 1.75 s?

A. 10.5 C
B. 105 C
C. 3.4 C
D. 34 C
Answer» B. 105 C
20.

A multimeter measures

A. current
B. voltage
C. resistance
D. current, voltage, and resistance
Answer» E.
21.

The unit of electrical charge is the

A. volt
B. ampere
C. joule
D. coulomb
Answer» E.
22.

A material that does not allow current under normal conditions is a(n)

A. insulator
B. conductor
C. semiconductor
D. valence
Answer» B. conductor
23.

The colored bands for a 4,700 ohm resistor with a ten percent tolerance are

A. yellow, violet, red, gold
B. yellow, violet, orange, gold
C. yellow, violet, red, silver
D. orange, violet, red, silver
Answer» D. orange, violet, red, silver
24.

  When the current is 2.5 A, how many coulombs pass a point in 0.2 s?

A. 12.5 C
B. 1.25 C
C. 0.5 C
D. 5 C
Answer» D. 5 C
25.

Eight-tenths coulomb passes a point in 4 s. The current in amperes is

A. 1.6 A
B. 16 A
C. 2 A
D. 0.2 A
Answer» E.
26.

A two-terminal variable resistor is known as a

A. potentiometer
B. thermistor
C. rheostat
D. wiper
Answer» D. wiper
27.

A thermistor is a type of

A. switch
B. resistor
C. battery
D. power supply
Answer» C. battery
28.

Electrons in the outer orbit are called

A. nuclei
B. valences
C. waves
D. shells
Answer» C. waves
29.

The conductance of an 8 ohm resistance is

A. 12.5 mS
B. 8 mS
C. 12 S
D. 125 mS
Answer» E.
30.

When placed close together, two positively charged materials will

A. attract
B. become neutral
C. become negative
D. repel
Answer» E.
31.

Which of the following is not a type of energy source?

A. generator
B. rheostat
C. solar cell
D. battery
Answer» C. solar cell
32.

The minimum resistance value for a blue, gray, red, silver resistor is

A. 612
B. 6,120
C. 6,800
D. 6,460
Answer» C. 6,800
33.

Current flows in a circuit when

A. a switch is opened
B. a switch is closed
C. the switch is either open or closed
D. there is no voltage
Answer» C. the switch is either open or closed
34.

The unit of electrical charge is the

A. coulomb
B. joule
C. volt
D. watt
Answer» B. joule
35.

Materials with lots of free electrons are called

A. conductors
B. insulators
C. semiconductors
D. filters
Answer» B. insulators
36.

Which of the following concepts means adding new components to a program as it runs?

A. Data hiding
B. Dynamic typing
C. Dynamic binding
D. Dynamic loading
Answer» E.
37.

Which of the following is an abstract data type?

A. int
B. double
C. string
D. Class
Answer» E.
38.

How many types of polymorphisms are supported by C++?

A. 1
B. 2
C. 3
D. 4
Answer» C. 3
39.

Which of the following concepts provides facility of using object of one class inside another class?

A. Encapsulation
B. Abstraction
C. Composition
D. Inheritance
Answer» D. Inheritance
40.

cout is a/an __________ .

A. operator
B. function
C. object
D. macro
Answer» D. macro
41.

Why reference is not same as a pointer?

A. A reference can never be null.
B. A reference once established cannot be changed.
C. Reference doesnt need an explicit dereferencing mechanism.
D. All of the above.
Answer» E.
42.

Which of the following concepts of OOPS means exposing only necessary information to client?

A. Encapsulation
B. Abstraction
C. Data hiding
D. Data binding
Answer» D. Data binding
43.

Which of the following cannot be friend?

A. Function
B. Class
C. Object
D. Operator function
Answer» D. Operator function
44.

How many instances of an abstract class can be created?

A. 1
B. 5
C. 13
D. 0
Answer» E.
45.

Which of the following concept of oops allows compiler to insert arguments in a function call if it is not specified?

A. Call by value
B. Call by reference
C. Default arguments
D. Call by pointer
Answer» D. Call by pointer
46.

Which of the following term is used for a function defined inside a class?

A. Member Variable
B. Member function
C. Class function
D. Classic function
Answer» C. Class function
47.

Which of the following concepts means determining at runtime what method to invoke?

A. Data hiding
B. Dynamic Typing
C. Dynamic binding
D. Dynamic loading
Answer» D. Dynamic loading
48.

Which of the following is not the member of class?

A. Static function
B. Friend function
C. Const function
D. Virtual function
Answer» C. Const function
49.

Which of the following statements is correct?

A. Base class pointer cannot point to derived class.
B. Derived class pointer cannot point to base class.
C. Pointer to derived class cannot be created.
D. Pointer to base class cannot be created.
Answer» C. Pointer to derived class cannot be created.
50.

Which of the following type of class allows only one object of it to be created?

A. Virtual class
B. Abstract class
C. Singleton class
D. Friend class
Answer» D. Friend class