BCHS Y9 Python Topic 6 Quiz

BCHS Y9 Python Topic 6 Quiz

9th - 12th Grade

•

30 Qs

quiz-placeholder

Similar activities

2ND QTR-QUIZ 4-JDBC Prepared Statements-12-1-2022

2ND QTR-QUIZ 4-JDBC Prepared Statements-12-1-2022

12th Grade

•

25 Qs

Principles of Business chapter 1

Principles of Business chapter 1

9th - 12th Grade

•

25 Qs

Y7 Introduction to Computing Assessment

Y7 Introduction to Computing Assessment

8th - 9th Grade

•

25 Qs

UTS PBO XI RPL Merdeka

UTS PBO XI RPL Merdeka

11th Grade

•

25 Qs

ULANGAN SEMESTER GENAP MAPEL SKD

ULANGAN SEMESTER GENAP MAPEL SKD

12th Grade - University

•

25 Qs

Pemrograman Berorientasi Objek Sumatif 2

Pemrograman Berorientasi Objek Sumatif 2

11th Grade

•

25 Qs

Quiz pro 1 kelas 12

Quiz pro 1 kelas 12

12th Grade

•

25 Qs

BCHS Y9 Python Topic 6 Quiz

BCHS Y9 Python Topic 6 Quiz

Assessment

Quiz

•

Computers

•

9th - 12th Grade

•

Practice Problem

•

Medium

Created by

Zahid Razzak

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the Python code snippet do when executed?

It will subtract two numbers entered by the user.

It will multiply two numbers entered by the user.

It will concatenate two numbers entered by the user and print the result.

It will add two numbers entered by the user.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the correct output of the Python code if the user enters '5' for number1 and '3' for number2?

8

15

2

53

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the int() function do in Python?

Converts a string into an integer

Converts an integer into a string

Sums two numbers

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the code if number1 = 3, number2 = 4, and number3 = 5?

12

60

15

20

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python statement is used to display a message on the screen?

display()

output()

print()

show()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the program print if the user enters "Red" as their favourite colour?

That's a nice colour!

good!

That's also my favourite!

Please enter a valid colour.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the program print if the user enters "Blue" as their favourite colour?

That's a nice colour!

good!

That's also my favourite!

Please enter a valid colour.

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?