Bihar STET Computer Science – Programming Concepts Set 2

Questions 56-60 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 56

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 03.11.2025 (Shift-I) PYQ

Which Python statement is used to import specific attributes or functions directly into the current namespace?

Answers for question 56

Question 57

MCQ · Single Correct 1 mark

In Python class definitions, what is the role of the special method '__init__(self)'?

Answers for question 57

Question 58

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 03.11.2025 (Shift-I) PYQ

What is the function of the '__init__.py' file inside a directory in Python (prior to namespace packages)?

Answers for question 58

Question 59

MCQ · Single Correct 1 mark

In C++, what is a 'Namespace' used for?

Answers for question 59

Question 60

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 03.11.2025 (Shift-I) PYQ

In Python OOP, how are 'private' instance variables conventionally indicated in variable names?

Answers for question 60
Scroll to Top