Python Programming Quiz

Python Programming Quiz

11th Grade

15 Qs

quiz-placeholder

Similar activities

Python básico

Python básico

9th - 12th Grade

20 Qs

Java Основи

Java Основи

11th Grade - University

16 Qs

Conceitos Fundamentais de Programação

Conceitos Fundamentais de Programação

9th Grade - University

11 Qs

แบบทดสอบก่อนเรียน ตัวแปรและตัวดำเนินการ

แบบทดสอบก่อนเรียน ตัวแปรและตัวดำเนินการ

11th Grade

10 Qs

Алгоритмді әзірлеу

Алгоритмді әзірлеу

9th - 12th Grade

10 Qs

Quizz

Quizz

1st - 12th Grade

16 Qs

Большое Повторение C#

Большое Повторение C#

5th Grade - University

15 Qs

Avaliação Pensamento Computacional - Prático

Avaliação Pensamento Computacional - Prático

1st Grade - Professional Development

10 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Science

11th Grade

Medium

Created by

Nhoung Nhem

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

y = int(5.5)

print(x+y)

what is this answer?

10

10.60

11

10.6

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to comment multiple lines in Python?

Use triple quotes (''' or """) to comment multiple lines in Python.

Use a single hashtag (#) at the beginning of each line to comment multiple lines in Python.

Use double slashes (//) to comment multiple lines in Python.

Use a single forward slash and asterisk (/*) at the beginning and end of the block to comment multiple lines in Python.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = "Salary"

y = "500$"

print(x+y)

what is this answer?

Salary500$

Salary 500$

salary500$

salary 500$

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = "Salary"

y = "500$"

print(x,y)

what is this answer?

Salary 500$

Salary500$

salary500$

salary 500$

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to comment 1 lines in Python?

""" """

#

''' '''

##

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

y = 5

.............. = x+y

print(z)

what is this answer?

x

y

z

x+y

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

how to know type of Python?

print(type())

print(type)

print type()

print type

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?