Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » Python » Python Objective Questions

Python Objective Questions - Set 3

Set 3 of 3


Question: 41

(A) 4
(B) 3
(C) 5
(D) None

Level: Beginner Category of MCQ: other


Question: 42

(A) Error
(B) Compile time error
(C) Run time error
(D) None

Level: Beginner Category of MCQ: exceptions


Question: 43

(A) Tuple
(B) Dictionary
(C) List
(D) Array

Level: Expert Category of MCQ: other


Question: 44

(A) (A) Lists
(B) (B) Dictionary
(C) (C) Tuples
(D) (D) Class

Level: Expert Category of MCQ: other


Question: 45

(A) print(names.append(" "))
(B) print(" ".join(names))
(C) print(names.join("%s ", names))
(D) print(names.concatenate(" "))

Level: Beginner Category of MCQ: other


Question: 46

(A) 3
(B) 13
(C) 7
(D) 15

Level: Beginner Category of MCQ: regularexpressions


Question: 47

(A) a) 2 3 -4 3
(B) b) 2 3 -3 3.12
(C) c) 2 4 -3 3
(D) d) 2 3 -4 3.12

Level: Expert Category of MCQ: other


Question: 48

(A) Yes
(B) No

Level: Beginner Category of MCQ: other


Question: 49

(A) Hello World
(B) hello World
(C) <class 'str'>
(D) str

Level: Practitioner Category of MCQ: variables


Question: 50

(A) type(name)
(B) print(type(name))
(C) print(name)
(D) type()

Level: Beginner Category of MCQ: variables


Question: 51

(A) __str
(B) __str
(C) _str_
(D) None of these

Level: Beginner Category of MCQ: variables


Question: 52

(A) Yes
(B) No
(C) Depends on Python Version

Level: Beginner Category of MCQ: other


Question: 53

(A) +
(B) /
(C) -
(D) ()

Level: Beginner Category of MCQ: operators



Test Your Python Skills Python Cheat Sheet