RI Y2 CEP Lesson 6 Slides 2020
Uploaded by dontsueme · 10 December 2024
Preview
Text from the first pagesLesson 6Tic Tac Toe . Temperature Conversion . Project 1
Lesson objectives•Tic Tac Toe•Temperature Conversion Program•Release of Project 1
Creating Tic Tac Toe - instruction
How to represent the state of game ?•use a list to represent the state of the game this is a better format to express the state
Creating Tic Tac Toe – show board
Creating Tic Tac Toe – update state
Creating Tic Tac Toe – main function
Assignment : Tic Tac Toe•Create a complete 2 player Tic Tac Toe Game:•determine all the states that win game•check winner •check draw•determine winner•determine draw
Temperature Conversion Program
Assignment : Temperature Conversion Program•def displayWelcome()•def getConvertTo()•def displayFahrenToCelsius(start,end)•def displayCelsiusToFahren(start,end)•def main()•call main() A template is provided in the assignment.Rename it before submission.
Content continues in the PDF. Download PDF
Related notes
- SST (for revision practice) 2024 S3 Computing EOY P2 QP_FinalExam Papers · 2024
- Computing o level notes Notes/Practices · 2023
- BVSS Prelim P1 MSExam Papers · 2024
- BVSS Prelim P1 CPExam Papers · 2024
- CWSS Prelim P1 CPExam Papers · 2024
- CWSS Prelim P1 MSExam Papers · 2024
- computing notesNotes/Practices
- SST 2024 Prelim Paper 1 Ans [revised for 2025] Exam Papers · 2024
- SST 2024 Prelim Paper 1 [revised for 2025] Exam Papers · 2024
- [Notes for Computing] All Definitions/ TermsNotes/Practices · 2025
- [Notes for Computing] Heavily Compressed TextbookNotes/Practices · 2025
- All Computing Terms/DefinitionsNotes/Practices · 2025
- See all Computing notes

