These ICS4U Grade 12 Computer Science python coding questions will form a part of your final grade for this course and are to be handed in for grading.
For all of the following questions:
Your grade will be based on your ability to demonstrate the overall expectations from the Ontario Computer Studies Curriculum
A1 – Data Types and Expressions
A2 – Modular Programming
A4 – Code Maintenance
C1 – Modular Design
File Name: “ICS4UquadraticClass.py”
You are going to be writing a program that helps students with some grade 10 math work.
Consider the following:
You want to design a Class in Python to represent Quadratic Objects
Constructor:
Fields:
Methods:
Create a main method that illustrates the functionality of all the methods inside your Quadratic Class. There is no specific problem to solve using the class.
File Name: “ICS4UfractionQuiz.py”
You are going to be designing a game to help elementary school students with fraction calculations
You want to design a Class in Python to represent Fraction Objects
Constructor:
Fields:
Methods:
Create a main method that acts as a quiz for students.
Questions consist of two improper fractions
You are going to simulate a simple multi player dice game
Players are randomly assigned a type when they join the game.
The game is simple. The player rolls 2 dice. The sum of the dice is recorded. Players will win the amount of points showing on their dice roll based on the following rules:
File Name: “ICS4UdiceGameObjects.py”
Let the user enter how many players will play the game and how many rounds to play.
The simulation should show the following each round for each player
When the game is over it should output the player(s) with the highest amount of points
File Name: – Any thing you want, you might need multiple modifications
Does one type of player have a better chance at winning then another type of player? You need to give me numerical evidence generated from your simulation to support your answer. Modify your code and use it to generate data for your conclusions.
You can summarize your conclusions in a report structure / presentation / video. You decide the best format to communicate your results.
Optional Fun Connection: