Class 12 Computer Science MCQs Python Revision Tour Set - 2 - MyCSTutorial - The Path To Success in Exam
Class 12 Computer Science MCQs Python Revision Tour Set - 2 - MyCSTutorial - The Path To Success in Exam
–2
mycstutorial.in/class-12-computer-science-mcq-python-revision-tour-set-2
August 9, 2021
a) Yes
b) No
c) Machine dependent
d) None of these
Answer : a) Yes
a) name_of_student
b) 2_name_of_student
c) student_name_2
d) None of these
Answer : b) 2_name_of_student
a) eval
b) nonlocal
c) pass
d) assert
Answer : a) eval
a) in
b) it
c) __init__
d) on
Answer : a) in
a) class
b) list
c) dictionary
d) tuple
Answer : a) class
a) p$t
b) p**t
c) p^t
d) p*t
Answer : b) p**t
27. How you will write the formula of compound interest in Python?
a) p * 1 + r/100 ** t
b) p * 1 + r/100 ** t – p
c) p * (1 + r/100)**t – p
d) None of these
Answer : c) p * 1 + r/100 ** t – p
a) a=10,500
b) a,b = 10,500
c) a = b = 10
d) a b = 10 500
Answer : d) a b = 10 500
a) String
b) Integer
c) Boolean
d) None
Answer : d) None
a) String
b) Integer
c) Boolean
d) None
Answer : a) String
a) yield
b) lambda
c) final
d) finally
Answer : c) final
a) else
b) delete
c) global
d) from
Answer : b) delete
a) 1
b) 2
c) 3
d) 4
Answer : b) 2
b) Multi-line strings
d) None
a) Single quote ‘ ‘
b) Double quote ” “
d) All of these
a) name = “mycs \
tutorial.in”
tutorial.in”””
c) name = ”’ mycs
tutorial.in”’
d) All of these