Home / Engineering / Problem Solving and Python Programming MCQs / Page 32

Problem Solving and Python Programming MCQs | Page - 32

Dear candidates you will find MCQ questions of Problem Solving and Python Programming here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.

M

Mr. Dubey • 51.17K Points
Coach

Q. 311) 43')

(A) importerror
(B) valueerror
(C) typeerror
(D) nameerror
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 312) Which of the following statements is true?

(A) the standard exceptions are automatically imported into python programs
(B) all raised standard exceptions must be handled in python
(C) when there is a deviation from the rules of a programming language, a semantic error is thrown
(D) if any exception is thrown in try block, else block is executed
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 313) Which of the following is not a standard exception in Python?

(A) nameerror
(B) ioerror
(C) assignmenterror
(D) valueerror
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 314) Syntax errors are also known as parsing errors.

(A) true
(B) false
(C) ---
(D) ---
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 315) An exception is                          

(A) an object
(B) a special function
(C) a standard module
(D) a module
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 316)                                                exceptions are raised as a result of an error in opening a particular file.

(A) valueerror
(B) typeerror
(C) importerror
(D) ioerror
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 317) Which of the following blocks will be executed whether an exception is thrown or not?

(A) except
(B) else
(C) finally
(D) assert
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 318) Which of these definitions correctly describes a module?

(A) denoted by triple quotes for providing the specification of certain program elements
(B) design and implementation of specific functionality to be incorporated into a program
(C) defines the specification of how it is to be used
(D) any program that reuses code
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 319) Which of the following is not an advantage of using modules?

(A) provides a means of reuse of program code
(B) provides a means of dividing up tasks
(C) provides a means of reducing the size of the program
(D) provides a means of testing individual parts of the program
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 320) Program code making use of a given module is called a              of the module.

(A) client
(B) docstring
(C) interface
(D) modularity
View Answer Discuss Share

Explore Sets

Problem Solving and Python Programming MCQs Set 1

Problem Solving and Python Programming MCQs Set 2

Problem Solving and Python Programming MCQs Set 3

Problem Solving and Python Programming MCQs Set 4

Problem Solving and Python Programming MCQs Set 5

Problem Solving and Python Programming MCQs Set 6

Problem Solving and Python Programming MCQs Set 7

Problem Solving and Python Programming MCQs Set 8

Problem Solving and Python Programming MCQs Set 9

Problem Solving and Python Programming MCQs Set 10

Problem Solving and Python Programming MCQs Set 11

Problem Solving and Python Programming MCQs Set 12

Problem Solving and Python Programming MCQs Set 13

Problem Solving and Python Programming MCQs Set 14

Problem Solving and Python Programming MCQs Set 15

Problem Solving and Python Programming MCQs Set 16

Problem Solving and Python Programming MCQs Set 17

Problem Solving and Python Programming MCQs Set 18

Problem Solving and Python Programming MCQs Set 19

Problem Solving and Python Programming MCQs Set 20

Problem Solving and Python Programming MCQs Set 21

Problem Solving and Python Programming MCQs Set 22

Problem Solving and Python Programming MCQs Set 23

Problem Solving and Python Programming MCQs Set 24

Problem Solving and Python Programming MCQs Set 25

Problem Solving and Python Programming MCQs Set 26

Problem Solving and Python Programming MCQs Set 27

Problem Solving and Python Programming MCQs Set 28

Problem Solving and Python Programming MCQs Set 29

Problem Solving and Python Programming MCQs Set 30

Problem Solving and Python Programming MCQs Set 31

Problem Solving and Python Programming MCQs Set 32

Problem Solving and Python Programming MCQs Set 33

Problem Solving and Python Programming MCQs Set 34

Problem Solving and Python Programming MCQs Set 35

Problem Solving and Python Programming MCQs Set 36

Problem Solving and Python Programming MCQs Set 37

Problem Solving and Python Programming MCQs Set 38

Problem Solving and Python Programming MCQs Set 39

Problem Solving and Python Programming MCQs Set 40

Problem Solving and Python Programming MCQs Set 41

Problem Solving and Python Programming MCQs Set 42

Problem Solving and Python Programming MCQs Set 43