

FID WORK March 20th 2024- Preconditions and Postconditions
Presentation
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Kabir Singh
FREE Resource
7 Slides • 4 Questions
1
Preconditions and Postconditions lesson
2
NO QUIZ TODAY!!!! QUIZ HAS BEEN SHIFTED FOR THURSDAY!!!!
You are welcome for the no quiz today. We do though have a lesson. Keep going for the lesson
3
Objectives/ Question of Day
Students will be able to:
Identify the preconditions and postconditions of an algorithm
Implement an algorithm to calculate the average of the values in a one-dimensional (1D) array
Implement an algorithm to calculate the sum of the values in a one-dimensional (1D) array
Investigation Question: How can I perform calculations on the values stored in a 1D array?
4
Level 1
Please complete level 1, reading file. In your notes, label 3.5 and write what you notice/ wonder about the code
5
Open Ended
What do you notice in the program?
6
Open Ended
What do you wonder?
7
Vocabulary- goes in your notes
postcondition - a condition that must always be true just after the execution of a code segment
precondition - a condition that must always be true just before the execution of a code segment
text file - a file that contains letters, numbers, and/or symbols but has no special formatting
8
Open Ended
When have you had to use a precondition or postcondition?
9
Task
Activity guide+ code.org
Please complete levels 2-5 on code.org
As you go on, complete the Pre- Conditions and Post- conditions activity guide
I have copied/ pasted the name, it is there
When you are done, please continue
10
Open Ended
What was awesome about writing your code?
What is one action you can take to improve your code?
What questions do you have about today?
11
That is it.
HOMEWORK:
Study for quiz tomorrow
Preconditions and Postconditions lesson
Show answer
Auto Play
Slide 1 / 11
SLIDE
Similar Resources on Wayground
9 questions
R099 Idea Generation Continued
Presentation
•
9th Grade
10 questions
TLE 9 CSS Q1 WEEK 1 DAY 2
Presentation
•
9th Grade
10 questions
Themes & Elements of Geography
Presentation
•
9th Grade
12 questions
Artificial Intelligence
Presentation
•
8th - 9th Grade
8 questions
Some British Slang
Presentation
•
9th Grade
7 questions
Realidades 1 2a Listening Activity 6
Presentation
•
9th Grade
10 questions
Point Slope Form
Presentation
•
9th Grade
8 questions
HTTP and its History
Presentation
•
9th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade