Python Workshop 1

Python Workshop 1

11th Grade

10 Qs

quiz-placeholder

Similar activities

ASSESMENT

ASSESMENT

9th - 12th Grade

10 Qs

Arduino Car: Physics and Chemistry Quiz

Arduino Car: Physics and Chemistry Quiz

11th Grade

15 Qs

Tes materi Implementasi Proses Bisnis TJKT

Tes materi Implementasi Proses Bisnis TJKT

10th Grade - University

10 Qs

Video Game Design - Quiz4 -L5 -P

Video Game Design - Quiz4 -L5 -P

9th - 12th Grade

10 Qs

Matematika Rabu 30 Juli 2025

Matematika Rabu 30 Juli 2025

1st Grade - University

10 Qs

Microsoft Word 2019 Advanced – Unit 1 (Review of Basic Concepts)

Microsoft Word 2019 Advanced – Unit 1 (Review of Basic Concepts)

10th Grade - University

15 Qs

Assesmen Diagnostik

Assesmen Diagnostik

11th Grade

10 Qs

Pemahaman Sistem Komputer Kelas 8

Pemahaman Sistem Komputer Kelas 8

8th Grade - University

15 Qs

Python Workshop 1

Python Workshop 1

Assessment

Quiz

Information Technology (IT)

11th Grade

Hard

Created by

Indrani Borra

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image
  1. What is the output of this code block?

"124"

124

Error

1231

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
  1. What is the result of the code ?

2

2

2

10

2

2

2

8

2

2

2

16

3.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

  1. Which of the following are valid variable names in Python?

    (Select all that apply)

my_var

2nd_value

_temp

first-name

value_2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
  1. What is the output of the following code?

"oga"

"rgg"

"ogr"

"ogm"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
  1. What will happen when the following code runs?

Error because tuples are immutable and can’t be modified

Prints ([1],) because the list inside the tuple is mutable

Prints ([],) because tuple elements can’t change

Error because you can’t append to tuple elements

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
  1. What will be the output of the following code?

'John'

'Person'

'Name'

{'name': 'John', 'age': 30}

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

  1. Which of the following can NOT be used as a dictionary key in Python?

String

Integer

List

Tuple

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?