Python_Mock

Python_Mock

Professional Development

50 Qs

quiz-placeholder

Similar activities

C_S4CPB_2408

C_S4CPB_2408

Professional Development

52 Qs

Project Management Quiz

Project Management Quiz

Professional Development

49 Qs

Revisão 3° Sistemas (AVB3)

Revisão 3° Sistemas (AVB3)

Professional Development

50 Qs

Trilogia do Saber- Aulão de TI

Trilogia do Saber- Aulão de TI

Professional Development

50 Qs

redes

redes

Professional Development

45 Qs

Redes de Computadores - Revisão

Redes de Computadores - Revisão

Professional Development

52 Qs

Google Workspace ( Sheets, Slides, Meet, Chat )

Google Workspace ( Sheets, Slides, Meet, Chat )

Professional Development

54 Qs

Cloud Computing Unit 1 Quiz PE-4

Cloud Computing Unit 1 Quiz PE-4

Professional Development

50 Qs

Python_Mock

Python_Mock

Assessment

Quiz

Information Technology (IT)

Professional Development

Medium

Created by

Avakaza Technologies

Used 26+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?