Python_Mock

Python_Mock

Professional Development

50 Qs

quiz-placeholder

Similar activities

Redes de Computadores - Revisão

Redes de Computadores - Revisão

Professional Development

52 Qs

RSS CHEMISTRY

RSS CHEMISTRY

Professional Development

50 Qs

Cloud Computing Unit 1 Quiz PE-4

Cloud Computing Unit 1 Quiz PE-4

Professional Development

50 Qs

Trilogia do Saber- Aulão de TI

Trilogia do Saber- Aulão de TI

Professional Development

50 Qs

Revisão 3° Sistemas (AVB3)

Revisão 3° Sistemas (AVB3)

Professional Development

50 Qs

Quiz sobre Linguagens de Programação

Quiz sobre Linguagens de Programação

Professional Development

47 Qs

Google Workspace ( Sheets, Slides, Meet, Chat )

Google Workspace ( Sheets, Slides, Meet, Chat )

Professional Development

54 Qs

Cloud Computing Quiz 2

Cloud Computing Quiz 2

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`

Access all questions and much more by creating a free account

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?