Python Programming Quiz

Python Programming Quiz

5th Grade

25 Qs

quiz-placeholder

Similar activities

Modern Technologies- BTEC

Modern Technologies- BTEC

2nd - 8th Grade

20 Qs

Grade 5 Revision

Grade 5 Revision

5th Grade

20 Qs

Sains Komputer Tingkatan 5 - 1.3.1 Menerangkan get logik

Sains Komputer Tingkatan 5 - 1.3.1 Menerangkan get logik

1st Grade - Professional Development

20 Qs

Quiz 4

Quiz 4

1st - 10th Grade

20 Qs

Google  App - Class 5

Google App - Class 5

5th Grade

20 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Logo

Logo

4th - 5th Grade

25 Qs

FNaF 2

FNaF 2

5th Grade - University

24 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Computers

5th Grade

Practice Problem

Easy

Created by

Khoa Nguyen Hoang Dang

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

c = 25

What is the data type of variable c?

str

float

int

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code below: x = 5 x = 6 print(x)

5

none of them

6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can you use spaces in variable names in Python?

Yes, always

No, spaces are not allowed

Only in the middle of the name

Only at the end of the name

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is Python a popular programming language for beginners?

It's required a lot of programing skills

It's only for experts

It's very expensive to use

It has simple and easy-to-understand code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator can be used to compare two values?

<>

==

><

#

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to display information on the screen in Python?

output()

print()

input()

display()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following lines of code is best to ask for a student's ICT score from user input?

Input("ICT score please")

print("please input your ICT score: ")

input()

input("please input your ICT score: ")

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

Already have an account?