IOAC - ML Batch Pre-Assessment -4th-Feb

IOAC - ML Batch Pre-Assessment -4th-Feb

Professional Development

10 Qs

quiz-placeholder

Similar activities

Quiz - 6 HTML, CSS

Quiz - 6 HTML, CSS

Professional Development

10 Qs

HI Life - Chapter 1

HI Life - Chapter 1

Professional Development

15 Qs

Welcome to Kodland

Welcome to Kodland

Professional Development

10 Qs

Tableau Platform Quiz

Tableau Platform Quiz

Professional Development

15 Qs

python dictionary and set

python dictionary and set

Professional Development

15 Qs

ABREDES - Devasc Python

ABREDES - Devasc Python

Professional Development

14 Qs

Day 7

Day 7

Professional Development

10 Qs

Python Basics - Second step of Baby python

Python Basics - Second step of Baby python

Professional Development

10 Qs

IOAC - ML Batch Pre-Assessment -4th-Feb

IOAC - ML Batch Pre-Assessment -4th-Feb

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

KVCH CORPORATE

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a keyword used in Python language?

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?