BCHS Y9 Python Topic 6 Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Zahid Razzak
Used 5+ times
FREE Resource
Enhance your content in a minute
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
Types of Network and Defensive Design
Quiz
•
9th - 12th Grade
25 questions
12BG-Challenge Understanding Translators and Their Functions
Quiz
•
11th Grade
25 questions
BTEC Creative Digital Media - Unit 01 - Test 02
Quiz
•
10th - 11th Grade
25 questions
ADMINISTRASI SISTEM JARINGAN - Penilaian Tengah Semester (Remidi dan Susulan)
Quiz
•
11th Grade
30 questions
Programming Techniques
Quiz
•
8th - 10th Grade
25 questions
III 3rdQ Quiz 1
Quiz
•
12th Grade
25 questions
Computer Knowledge
Quiz
•
11th - 12th Grade
25 questions
Solutions. Test on un5 (Techn, modal perfect,quantifiers)
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
