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

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

Professional Development

10 Qs

quiz-placeholder

Similar activities

Java Collections

Java Collections

Professional Development

14 Qs

Day 1 - Introduction to Data Science

Day 1 - Introduction to Data Science

Professional Development

10 Qs

Software Development Quiz

Software Development Quiz

6th Grade - Professional Development

10 Qs

Foundational Knowledge Review (Day 3)

Foundational Knowledge Review (Day 3)

Professional Development

10 Qs

Python - Estruturas de Decisão

Python - Estruturas de Decisão

Professional Development

10 Qs

module 3-4

module 3-4

Professional Development

10 Qs

Python Basics II

Python Basics II

Professional Development

12 Qs

Simple Python Quiz

Simple Python Quiz

Professional Development

15 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?