All mock tests are FREE till 31 December — register to save your progress
HTET PGT CS · UNIT 03 · MOCK TEST

Programming Concepts & Python — Mock Test 2

13 questions · about 15 minutes. Press End Mock any time to see your score and the correct answers.

0 / 13 answered 00:00
Q1.

In context of C++, which of the following is a valid statement ?

C++ के संदर्भ में, निम्न में से कौन-सा एक उचित कथन है ?

Q2.

In C file handling equivalent to scanf("%d",&val); is :

C फाइल हैंडलिंग में scanf("%d",&val); के तुल्य है :

Q3.

A variable declared within the block {} has the following scope :

ब्लॉक {} के भीतर घोषित एक चर का निम्नलिखित स्कोप होता है :

Q4.

What is a copy constructor ?

कॉपी कंस्ट्रक्टर क्या है ?

Q5.

In the given declaration of an array : float height[50];

एक ऐरे के निम्न डिक्लेरेशन में : float height[50];

Q6.

The functions 'cin' and 'cout' resolve the necessary conversions at :

फंक्शन 'cin' और 'cout' आवश्यक रूपांतरणों को हल करते हैं :

Q7.

In C++, << operator used for shifting bits can also be used for :

C++ में बिट खिसकाने वाले ऑपरेटर << को और किस कार्य में प्रयोग किया जा सकता है ?

Q8.

Which of the following is the scope resolution operator in C++ language ?

C++ लैंग्वेज में निम्नलिखित में से कौन - सा स्कोप रिजॉल्यूशन ऑपरेटर है ?

Q9.

Inheritance allows the following in C++ program :

इनहेरिटेंस C++ प्रोग्राम में निम्नलिखित की अनुमति देता है :

Q10.

A generic function can be created using the following :

निम्नलिखित का उपयोग करके एक जेनेरिक फंक्शन बनाया जा सकता है :

Q11.

Consider the following C++ statements :

int x;
int& y = x;

The statements

y = 25;
x = 2*x + 30;

update the value of x and y as :

निम्नलिखित C++ कथनों पर विचार करें :

int x;
int& y = x;

कथन

y = 25;
x = 2*x + 30;

x और y के मान को अपडेट करता है :

Q12.

Which symbol should be used to pass the object by reference in C++ ?

C++ में रेफरेंस द्वारा ऑब्जेक्ट को पास करने के लिए किस चिन्ह का उपयोग किया जाना चाहिए ?

Q13.

What is meant by multiple inheritance ?

मल्टिपल इनहेरिटेंस से क्या तात्पर्य है ?