
50 Question Programming Quiz (Python Challenges 2 to 10) 191224
Authored by Patrick Kilgarriff
Computers
6th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of this Python program?
To calculate the sum of two numbers
To calculate the difference between two numbers
To calculate the average of two numbers
To print two numbers
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which variable stores the calculated average in this program?
num1
num2
average
result
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this program calculate?
Perimeter of a rectangle
Area of a rectangle
Volume of a rectangle
Diagonal of a rectangle
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the formula used to calculate the area in this program?
width + height
width - height
width * height
(width + height) / 2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this program output if the user inputs 6 and 3 for num1 and num2 respectively?
9
2
3
18
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if num2 is 0 in this program?
Syntax error
Runtime error (division by zero)
It will print The result is: 0
It will print The result is: infinity
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this Python program output if the user enters "John" for the name variable and "French" for the subject variable?
I like French as well!
I like John as well!
What is your favourite subject John?
It will throw an error
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
48 questions
Q1 - 49 Quiz
Quiz
•
6th Grade
55 questions
DDPTJKT - Penilaian Individual
Quiz
•
4th Grade - University
50 questions
CAT - Gr 10 - Hardware & Software
Quiz
•
KG - University
50 questions
Quiz Latihan Soal-Soal UTS Pengantar Organisasi Komputer
Quiz
•
KG - University
52 questions
Google Drawing
Quiz
•
6th - 8th Grade
50 questions
pangkalan data lanjutan tingkatan 5
Quiz
•
1st Grade - University
50 questions
HTML,CSS
Quiz
•
3rd Grade - University
50 questions
GRADE 6 FINAL ICT EXAMINATION
Quiz
•
6th Grade
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