
50 Question Programming Quiz (Python Challenges 2 to 10) 191224

Quiz
•
Computers
•
6th Grade
•
Medium

Patrick Kilgarriff
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
45 questions
Google Drawings Extended

Quiz
•
6th - 8th Grade
50 questions
2024-25 - Y7 - Python Turtle Programming EOU Assessment

Quiz
•
6th Grade
50 questions
KUIS TKJ KE-2

Quiz
•
KG - University
45 questions
Quiz-PTS2-TIK Gr4

Quiz
•
4th Grade - University
45 questions
Basic Computer Knowledge

Quiz
•
KG - University
45 questions
keyboarding

Quiz
•
6th - 8th Grade
45 questions
Teknologi jaringan Berbasis Luas

Quiz
•
1st - 12th Grade
46 questions
Midterm revision for grade 6

Quiz
•
6th 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
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
21 questions
Input Output Storage Device

Quiz
•
5th - 8th Grade