питон 4

питон 4

Professional Development

46 Qs

quiz-placeholder

Similar activities

SOAL UP 1 PROFESSIONAL

SOAL UP 1 PROFESSIONAL

Professional Development

50 Qs

Đề cương Tiếng Anh Quizizz

Đề cương Tiếng Anh Quizizz

Professional Development

42 Qs

ALC Book 20 (Units 3 to 4)

ALC Book 20 (Units 3 to 4)

12th Grade - Professional Development

51 Qs

BOOK 6

BOOK 6

Professional Development

50 Qs

BUILDING MATERIALS & WORKS

BUILDING MATERIALS & WORKS

Professional Development

41 Qs

PLACEMENT (ENGLISH - PAE)

PLACEMENT (ENGLISH - PAE)

Professional Development

50 Qs

Present Simple(starter)

Present Simple(starter)

Professional Development

41 Qs

Unit 3-4-5

Unit 3-4-5

Professional Development

46 Qs

питон 4

питон 4

Assessment

Quiz

English

Professional Development

Practice Problem

Medium

Created by

кек .

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

46 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the not keyword in Python?

Reverses the result of a boolean expression.

Compares two values

Assigns a value to a variable

Ends a loop.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print(type([1, 2, 3]))?

<class 'list'>

<class 'tuple'>

<class 'set'>

<class 'dict'>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function can you use to iterate over both keys and values of a dictionary?

items()

keys()

values()

iterate()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code output? print(10 / 4)

2.5

2

Error

3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represents a valid Python module?

A .py file containing Python code.

A .txt file containing text.

A .exe file containing executable code.

A .csv file containing comma-separated values

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you handle multiple exceptions in a single try block?

Use multiple except clauses

Use a try block for each exception

Write all exceptions on one line separated by semicolons.

Use the finally clause

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will check if a string starts with a specific prefix?

startswith()

endswith()

checkprefix()

beginwith()

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?