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 1

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

0 / 25 answered 00:00
Q1.

In Python .......... function returns the number of characters in string argument.

पायथन में यह फंक्शन स्ट्रिंग में कैरेक्टर की संख्या बताता है :

Q2.

Which programming pays more attention on data rather than functions?

कौन-सी प्रोग्रामिंग फंक्शन्स की बजाय डेटा पर अधिक ध्यान देती है?

Q3.

.......... refers to the procedure of representing essential features without including the background details.

.......... बैकग्राउंड डिटेल्स को शामिल किए बिना आवश्यक विशेषताओं का प्रतिनिधित्व करने की प्रक्रिया को रिप्रेजेंट करता है।

Q4.

In Python Dictionaries organize the information by ........, not position.

पायथन में Dictionaries जानकारी को स्थिति के अनुसार नहीं, ........ द्वारा व्यवस्थित करता है।

Q5.

In Python "==" operator returns true if :

पायथन में "==" ऑपरेटर सत्य देता है यदि :

Q6.

A .......... is the specification of legal values for variable of the type.

एक वेरिएबल की मान्य मूल्यों का विनिर्देश है :

Q7.

In Python .......... operator is used to determine the element's presence or absence in list.

पायथन में .......... ऑपरेटर का उपयोग लिस्ट में एलीमेंट की उपस्थिति एवं अनुपस्थिति को निर्धारित करने के लिए किया जाता है।

Q8.

In Python, .......... is the type of sequence that resembles a list, except that, unlike a list, it is immutable.

पायथन में .......... एक प्रकार का अनुक्रम है जो एक सूची जैसा दिखता है, सिवाय इसके कि, एक सूची के विपरीत, यह अपरिवर्तनीय है।

Q9.

.......... is a set of rules for carrying out some calculation either by hand or by machine.

हाथ या मशीन पर कुछ गणना करने के लिए नियमों का सेट .......... कहलाता है।

Q10.

Which procedure is characterized by the fact that the procedure calls itself again and again till the base condition is met?

किस प्रक्रिया की यह विशेषता होती है कि वह प्रक्रिया स्वयं को बार-बार कॉल करती है जब तक कि आधार शर्त पूरी नहीं हो जाती है?

Q11.

If a class contains at least one pure virtual function, it is called as ............. class.

यदि किसी क्लास में कम से कम एक प्योर वर्चुअल फंक्शन हो, तो उस क्लास को कहा जाता है :

Q12.

Tuples in Python are :

पायथन में टपल्स हैं :

Q13.

In python elements of the list are written inside :

पायथन में लिस्ट के एलीमेंट्स ---------- के अंदर लिखे जाते हैं।

Q14.

Pictorial representation of an algorithm is called as :

किसी एल्गोरिथ्म का सचित्र निरूपण कहलाता है :

Q15.

In Python dictionary key value pairs are separated by :

पायथन में Dictionary Key Value जोड़े को अलग किया जाता है :

Q16.

In Python instance methods use ........... as first default parameter.

इंस्टेंस मैथड्स प्रथम डिफॉल्ट पैरामीटर के रूप में ------------- का उपयोग करते हैं।

Q17.

Step by step description of how to arrive at a solution to a given problem is known as :

किसी दी गई समस्या के समाधान तक पहुँचने के स्टेप-बाइ-स्टेप विवरण को कहा जाता है :

Q18.

This module converts the python source file into .pyc file :

यह मॉड्यूल पायथन सोर्स फाइल को .pyc फाइल में परिवर्तित करता है :

Q19.

The software containing an interpreter that converts the byte code into machine code where the python program runs is called as :

वह सॉफ्टवेयर जिसमें एक इन्टरप्रेटर होता है जो बाइट कोड को मशीन कोड में परिवर्तित करता है जहाँ पायथन प्रोग्राम रन होता है, उसे कहा जाता है :

Q20.

Which of the following constructor related concept is non-relevant in C++ ?

कन्स्ट्रक्टर संबंधी सिद्धान्तों में निम्न में से कौन-सा C++ में अप्रासंगिक है ?

Q21.

In C++, which of the following is not a derived container under STL ?

C++ में, निम्न में से कौन-सा STL के अन्तर्गत एक डिराइव्ड कंटेनर नहीं है ?

Q22.

In C++, an overloaded unary operator defined as a member function requires how many variables to be passed as function argument ?

C++ में, सदस्य फलन के रूप में परिभाषित एक ओवरलोडेड युनरी ऑपरेटर को फंक्शन आर्ग्युमेंट के तौर पर कितने चर पास किये जाने की आवश्यकता होगी ?

Q23.

How many times 'save trees' will be displayed by C++ loop ?

do { cout << "save trees"; } while(0);

C++ लूप के द्वारा 'save trees' कितनी बार प्रदर्शित किया जायेगा ?

do { cout << "save trees"; } while(0);
Q24.

Consider Column-I and Column-II in context of C++ :

Column-IColumn-II
i. Privatea. Data type modifier
ii. Sizeofb. Visibility specifier
iii. Staticc. Operator
iv. Longd. Storage class

Match of Column-I and Column-II is :

C++ के संदर्भ में स्तम्भ-I तथा स्तम्भ-II पर विचार कीजिए :

स्तम्भ-Iस्तम्भ-II
i. Privatea. Data type modifier
ii. Sizeofb. Visibility specifier
iii. Staticc. Operator
iv. Longd. Storage class

स्तम्भ-I तथा स्तम्भ-II का सुमेल है :

Q25.

Choose true statements about virtual functions in C++ :

I : The virtual functions must be member of some class.

II : They cannot be static members.

III: A virtual function can be a friend of another class.

C++ में वर्चुअल फलनों के बारे में सत्य कथनों का चुनाव कीजिए :

I : वर्चुअल फलन किसी क्लास के सदस्य फलन होने ही चाहिए।

II : वे स्टेटिक सदस्य नहीं हो सकते।

III: एक वर्चुअल फलन अन्य क्लास का मित्र फलन हो सकता है।