
Leap Year Function and Rules

Interactive Video
•
Computers
•
9th - 10th Grade
•
Hard

Thomas White
FREE Resource
Read more
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main topic of the video?
How to cook a meal
Determining if a year is a leap year using Python
Learning about Python data structures
Understanding Python loops
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a rule for determining a leap year?
A year must be divisible by 2
A year must be divisible by 3
A year must be divisible by 4
A year must be divisible by 5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is the year 2100 not a leap year?
It is divisible by 4 but not by 100
It is not divisible by 4
It is divisible by 400
It is divisible by 100 but not by 400
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What tool is introduced to help implement the leap year function?
A calculator
A spreadsheet
A diagram
A flowchart
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in creating the leap year function in Python?
Writing a loop
Creating a function with a parameter
Importing a library
Defining a variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the first if statement check for?
If the year is divisible by 5
If the year is divisible by 4
If the year is divisible by 2
If the year is divisible by 3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the nested if statement?
To check if the year is divisible by 200
To check if the year is divisible by 100
To check if the year is divisible by 25
To check if the year is divisible by 50
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Communism and Its Global Spread

Interactive video
•
10th - 12th Grade
8 questions
¿Quién inventó el calendario?

Interactive video
•
10th - 12th Grade
6 questions
Why Does January First Start the New Year? - New Year's Explained

Interactive video
•
7th - 12th Grade
3 questions
La rotación y revolución de la tierra: la tierra girando

Interactive video
•
10th - 12th Grade
11 questions
Calendars and Timekeeping Concepts

Interactive video
•
9th - 12th Grade
16 questions
Kumbh Mela Cycle Adjustments

Interactive video
•
9th - 10th Grade
11 questions
Divisibility and Proof Concepts

Interactive video
•
9th - 10th Grade
11 questions
Impact of Mao's Policies in China

Interactive video
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade