Which of the following is not a keyword used in Python language?
IOAC - ML Batch Pre-Assessment -4th-Feb

Quiz
•
Professional Development
•
Professional Development
•
Hard
KVCH CORPORATE
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pass
Eval
Assert
Nonlocal
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Python code-compiled or interpreted?
The code is both compiled and interpreted
Neither compiled nor interpreted
Only compiled
Only interpreted
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Amongst which of the following is / are the logical operators in Python?
and
or
not
All of the mentioned above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the operator ** in Python?
Exponentiation
Modulus
Floor division
None of the mentioned above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, ___ defines a block of statements.
Block
Loop
Indentation
None of the mentioned above
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The output of this Python code would be:
>>> x={1:”X”,2:”Y”,3:”Z”}
>>> del x
the del method does not exist for the dictionary
the del would delete the values present in the dictionary
the del would delete the entire dictionary
the del would delete all the keys in a dictionary
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Study the following program:
i = 1:
while True:
if i%3 == 0:
break
print(i)
Which of the following is the correct output of this program?
1 2 3
3 2 1
1 2
Invalid syntax
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
KPM Refresh

Quiz
•
Professional Development
10 questions
Day14_Quiz_NBKR

Quiz
•
Professional Development
10 questions
Day-4 IOAC - ML Python Assessment_12th-Feb-2023

Quiz
•
Professional Development
10 questions
Day 1 - Introduction to Data Science

Quiz
•
Professional Development
10 questions
Valores booleanos, Ejecución Condicional: Cómo tomar decisiones

Quiz
•
Professional Development
10 questions
Day4_Quiz_NBKR

Quiz
•
Professional Development
13 questions
Python Quiz : Loop

Quiz
•
Professional Development
10 questions
Introducción al lenguaje Python

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade