Python_Mock

Python_Mock

Professional Development

50 Qs

quiz-placeholder

Similar activities

WARM UP ACTIVITY

WARM UP ACTIVITY

Professional Development

50 Qs

FCPC-DBMS2-Prelim Exam

FCPC-DBMS2-Prelim Exam

Professional Development

50 Qs

AT8 - la gestione delle relazioni interne ed esterne

AT8 - la gestione delle relazioni interne ed esterne

Professional Development

50 Qs

Linux - Up to Disk Partition (Assesment)

Linux - Up to Disk Partition (Assesment)

Professional Development

53 Qs

Social Media Marketing

Social Media Marketing

Professional Development

50 Qs

ReactJS OVerview Unit 11-18

ReactJS OVerview Unit 11-18

Professional Development

50 Qs

Nghiệp vụ chung (1-50)

Nghiệp vụ chung (1-50)

Professional Development

50 Qs

Python_Mock

Python_Mock

Assessment

Quiz

Information Technology (IT)

Professional Development

Medium

Created by

Avakaza Technologies

Used 22+ 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?