Python Essentials 1 - Exam

Python Essentials 1 - Exam

Professional Development

40 Qs

quiz-placeholder

Similar activities

Python Basics 2

Python Basics 2

5th Grade - Professional Development

36 Qs

GENERAL APTITUDE

GENERAL APTITUDE

Professional Development

35 Qs

Java Training Final Assessment

Java Training Final Assessment

Professional Development

40 Qs

Informática - Introdução

Informática - Introdução

Professional Development

35 Qs

ENSA 86-127

ENSA 86-127

Professional Development

42 Qs

MS-900 - Describe Microsoft 365 Pricing and Support

MS-900 - Describe Microsoft 365 Pricing and Support

Professional Development

37 Qs

Switch Staff Challenge 2025 - Explorer

Switch Staff Challenge 2025 - Explorer

Professional Development

41 Qs

ĐỀ KIỂM TRA HỌC KỲ 1 TIN 10

ĐỀ KIỂM TRA HỌC KỲ 1 TIN 10

Professional Development

40 Qs

Python Essentials 1 - Exam

Python Essentials 1 - Exam

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Ademola Damilola

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Media Image

How many element does the lst list contain?

zero

three

one

two

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Media Image

What is the output of the following piece of code if the user enters two lines containing 3 and 2 respectively?

3

0

2

1

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which of the following snippet shows the correct way of handling multiple exceptions in a single except clause?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE SELECT QUESTION

20 sec • 5 pts

Media Image

Which of the following lines correctly invoke the function defined below?

(Select TWO answers)

fun (b=1)

fun (b=0, a=1)

fun (0,1,2)

fun(0)

5.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Media Image

Assuming that my_tuple is a correctly created tuple, the fact that tuples are immutable means that the following instructions:

may be illegal if the tuple contains strings

can be executed if and only if the tuple contains at least two elements

is illegal

is fully correct

6.

MULTIPLE SELECT QUESTION

20 sec • 5 pts

Which of the following variable names are ILLEGAL and will cause the SyntaxError exception?

(Select TWO answer)

In

for

print

in

7.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Media Image

What is the output of the following snippet?

(4,)

44

(4)

4

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?