O Level Previous paper
Открыть в Telegram
https://youtube.com/@Satya806 सभी लोग इस Channel को Subscribe कर लो https://t.me/O_levelpaper Telegram group Quiz 👉https://t.me/o_levelsatya #M4-R5_Paper #M2R5 #O_Level #M3R5_Notes #M1R5Video #PaidClass_O_Level #O_Level_Notes #Satya_Sir
Больше755
Подписчики
-124 часа
-37 дней
-630 дней
Архив постов
Q16What will be the output of the following Python code?
l=[1, 0, 2, 0, 'hello', '', []] list(filter(bool, l)) a) [1, 0, 2, ‘hello’, ”, []] b) Error c) [1, 2, ‘hello’] d) [1, 0, 2, 0, ‘hello’, ”, []]
Q15 Which of the following is the truncation division operator in Python?
a) |
b) // c) / d) %
Q(14)What are the values of the following Python expressions?
2**(3**2) (2**3)**2 2**3**2
Q(13)Python supports the creation of anonymous functions at runtime, using a construct called __________
a) pi
b) anonymous c) lambda d) none of the mentioned
Q(12)Which of the following functions can help us to find the version of python that we are currently working on?
a) sys.version(1)
b) sys.version(0) c) sys.version() d) sys.version
Q(11)What will be the output of the following Python code?
i = 1 while True: if i%3 == 0: break print(i) i + = 1
Q(10)Which of the following character is used to give single-line comments in Python?
a) //
b) # c) ! d) /*
Q(9)Which keyword is used for function in Python language?
a) Function
b) Def c) Fun d) Define
Q(8)Which of the following is used to define a block of code in Python language?
a) Indentation
b) Key c) Brackets d) All of the mentioned
Q(7)What will be the value of the following Python expression?
4 + 3 % 5 a) 7 b) 2 c) 4 d) 1
Q(6)keywords in Python are in _________
a) Capitalized
b) lower case c) UPPER CASE d) None of the mentioned
Q(5)Python code compiled or interpreted?
a) Python code is both compiled and interpreted
b) Python code is neither compiled nor interpreted c) Python code is only compiled d) Python code is only interpreted
Q(4)Which of the following is the correct extension of the Python file?
a) .python
b) .pl c) .py d) .p
Q(3)Python case sensitive when dealing with identifiers?
a) no
b) yes c) machine dependent d) none of the mentioned
Q(2)Which type of Programming does Python support?
a) object-oriented programming
b) structured programming c) functional programming d) all of the mentioned
Q(1)Who developed Python Programming Language?
a) Wick van Rossum
b) Rasmus Lerdorf c) Guido van Rossum d) Niene Stom
