Python Programming Quiz

Python Programming Quiz

11th Grade

15 Qs

quiz-placeholder

Similar activities

Java Основи

Java Основи

11th Grade - University

16 Qs

Quizz_Python_Basic_If_Elif_Else

Quizz_Python_Basic_If_Elif_Else

9th Grade - University

10 Qs

Conceitos Fundamentais de Programação

Conceitos Fundamentais de Programação

9th Grade - University

11 Qs

OOP 1.TM C programiranje drugi kviz

OOP 1.TM C programiranje drugi kviz

11th Grade

18 Qs

Python_MTA-SEC2-H

Python_MTA-SEC2-H

KG - Professional Development

16 Qs

Bilgisayar Bilimi - 2

Bilgisayar Bilimi - 2

9th - 12th Grade

18 Qs

Lập trình giải quyết bài toán trên máy tính

Lập trình giải quyết bài toán trên máy tính

11th Grade

10 Qs

Programming knowledge contest ( 1st level )

Programming knowledge contest ( 1st level )

9th - 12th Grade

20 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?