QUIZ-A-THON PYTHON LEVEL 1

QUIZ-A-THON PYTHON LEVEL 1

1st Grade

20 Qs

quiz-placeholder

Similar activities

แบบฝึกหัดพินอิน

แบบฝึกหัดพินอิน

1st - 5th Grade

16 Qs

Tolstoy ~ çocukluk /Zeynep Acar

Tolstoy ~ çocukluk /Zeynep Acar

1st - 5th Grade

20 Qs

Kuis Bahasa Indonesia

Kuis Bahasa Indonesia

1st - 5th Grade

15 Qs

Vocabulary Queen Amina P. 6-10 . List 2

Vocabulary Queen Amina P. 6-10 . List 2

1st - 5th Grade

21 Qs

ADMINISTRASI PERUSAHAAN NEGARA

ADMINISTRASI PERUSAHAAN NEGARA

1st Grade

15 Qs

Mini Game Giáng Sinh

Mini Game Giáng Sinh

1st - 5th Grade

20 Qs

Animal ABCs (1)

Animal ABCs (1)

1st - 5th Grade

15 Qs

MATEMATIKA PERKALIAN

MATEMATIKA PERKALIAN

1st - 5th Grade

15 Qs

QUIZ-A-THON PYTHON LEVEL 1

QUIZ-A-THON PYTHON LEVEL 1

Assessment

Quiz

Others

1st Grade

Practice Problem

Medium

Created by

Kaustubh Pandey

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...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? print(type(10))

A)

B)

C)

D)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a variable x with the value 5 in Python?

A) int x = 5

B) x = int(5)

C) x == 5

D) x = 5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? x = [1, 2, 3] print(x[3])

A) 3

B) 1

C) IndexError

D) None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? print(bool(0))

A) True

B) False

C) 0

D) None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to create a comment in Python?

A) // This is a comment

B) # This is a comment

C) /* This is a comment */

D)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code? print("2" + "3")

A) 5

B) 23

C) 6

D) Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the len() function do in Python?

A) Returns the length of a variable name

B) Returns the length of an integer

C) Returns the length of an object

D) Returns the sum of all elements in a list

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?