BCHS Y9 Python Topic 6 Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Zahid Razzak
Used 5+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
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
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
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
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.
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
SUMATIF TENGAH SEMESTER PEMOGRAMAN DASAR KELAS 10

Quiz
•
10th Grade
25 questions
Python

Quiz
•
9th - 12th Grade
25 questions
Python - Unit Test 2

Quiz
•
9th Grade - University
25 questions
Code.org: Web Development: Unit 2 Lessons 1 - 9

Quiz
•
6th - 9th Grade
25 questions
Arduino Programming Basics Quiz

Quiz
•
9th Grade
25 questions
Year 9 Computing

Quiz
•
9th Grade
25 questions
Programming in Python

Quiz
•
9th Grade
25 questions
STRUKTUR KAWALAN - ASK TINGKATAN 2

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade