
Beginning Python (Video 27)
Interactive Video
•
Information Technology (IT), Architecture, Mathematics
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a prime number?
A number that is even
A number divisible by any number
A number divisible by 2 and 3
A number divisible by 1 and itself only
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is the number 1 not considered a prime number?
It is divisible by 2
It is divisible by 3
It is only divisible by itself
It is not divisible by any number
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'divisors' list in the Prime Number Checker?
To store numbers that are prime
To store numbers that divide evenly into the input number
To store even numbers
To store odd numbers
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we start checking divisors from 2 in the Prime Number Checker?
To check only odd numbers
To avoid checking even numbers
Because 2 is the smallest prime number
Because 1 divides every number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What issue was identified when testing the Prime Number Checker with negative numbers?
Negative numbers are not considered at all
Negative numbers are always odd
Negative numbers are considered prime
Negative numbers are always even
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What condition was added to ensure numbers less than 2 are not considered prime?
Check if the number is even
Check if the number is odd
Check if the number is less than 0
Check if the number is greater than or equal to 2
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What programming concepts were summarized at the end of the video?
Loops and conditionals
Functions and variables
Data types and operators
Classes and objects
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?