Python_Mock

Python_Mock

Professional Development

50 Qs

quiz-placeholder

Similar activities

Nghiệp vụ TD (1-50)

Nghiệp vụ TD (1-50)

Professional Development

50 Qs

Quiz o programowaniu

Quiz o programowaniu

Professional Development

45 Qs

MME Mantenimiento y diagnóstico

MME Mantenimiento y diagnóstico

Professional Development

49 Qs

Agribusiness and Livestock Worksheet Questions

Agribusiness and Livestock Worksheet Questions

Professional Development

50 Qs

Living in IT Era 4,5,6 Long Quiz

Living in IT Era 4,5,6 Long Quiz

Professional Development

50 Qs

Power BI Review

Power BI Review

Professional Development

50 Qs

SAEB 3ºano - Português e Matemática

SAEB 3ºano - Português e Matemática

Professional Development

47 Qs

Perkembangan Teknologi dan Game

Perkembangan Teknologi dan Game

Professional Development

50 Qs

Python_Mock

Python_Mock

Assessment

Quiz

Information Technology (IT)

Professional Development

Practice Problem

Medium

Created by

Avakaza Technologies

Used 26+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is NOT a feature of Python?

A. Platform independent
B. Dynamically typed
C. Manual memory management
D. Interpreted Language

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is an infinite loop in Python?

A. while True:
B. for i in range(1, 10, -1):
C. while i > 0:
D. Both A and C

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which keyword is used to skip the current iteration of a loop?

A. skip
B. continue
C. pass
D. break

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you access the last character of a string s?

A. s[-1]
B. s[len(s)]
C. s[len(s)-1]
D. Both A and C

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the join() method do in threading?

A. Joins two threads
B. Waits for a thread to finish execution
C. Merges thread results
D. None of the above

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the items() method in Dictionary return?

A. Keys of the dictionary
B. Values of the dictionary
C. Key-value pairs as tuples
D. Items of dictionary

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

How many times will the following loop execute?

A. `3`
B. `2`
C. `1`
D. `0`

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?