There are 1 repository under grade11edison topic.
Generate a QR Code for our Business Card (practice)
We are predicting what will happen in the code based on the statements we were given.
We are investigating what is wrong with the code and answer the questions given.
In this program we are modifying the code by adding variables and combining them using concatenation symbols.
Add comments to the code below to predict what will happen when it is run. In addition we explain what the variable(s) are called and where they are used.
We are investigating the code by answering questions on what a certain line would do. We also looked at what was wrong with the code.
Make it assign input into the 'name' variable. The challenge was to put a prompt in the input command to ask the user for their name. In addition, ask the user some questions
We are predicting the outcome of the input statements and reflecting if we have the right answer. If not, we talk about our mistakes.
We are predicting the outcome of the input statements and reflecting if we have the right answer. If not, we talk about our mistakes.
I modified the code to make it more personalized to the user and add and multiply numbers that are given to it.
We created different types of calculators. They were the Area Calculator, Perimeter Calculator, Tip calculator and Volume Calculator
I was assigned to write a prediction of what it will do when it runs. The prediction should be added to the code as comments. Then I ran the code, comparing what happens to your prediction. Then I commented on the differences between my prediction and what actually happened.
We predicted what would happen in this code if certain lines of code were altered. We also examined the many features and sections of the code.
We are predicting what the code will do when it runs. The predictions should be added to the code as comments.
I used comments to answer the investigation questions on the example code.
We had to modify the starter code. I had to add a line of code asking the user to enter a third number. I also had to edit the IF/ELIF/ELSE statements to confirm whether the third number is bigger/smaller/the same as the first number and whether it is bigger/smaller/the same as the second number. Also if all three numbers are the same.
A program called "Time Reminder"
In this program we renamed the function so that it has a sensible name. Then it got the user to input a country. Store it in a variable. Call the function again with the variable as the parameter.
This program will define four subroutines - add, subtract, multiply, divide that add multiply. Two numbers and return the result. Each should have two integer number arguments. The user is asked to input two numbers. These numbers will be passed as arguments into one of the subroutines.
We are predicting what the code will do when it runs. The predictions should be added to the code as comments.
We used comments to answer the investigation questions on the example code.
The user is asked at the end if they guessed correctly. Then if they did, display a “Well done” message. If they didn’t, display a “Never mind” message. As well as checking whether the answer is too high or too low, add a line that checks whether the guess is equal to the answer and if it isn’t, displays a “Bad luck” message.
I wrote a program called "Test Grader". The program should allow the user to enter a test mark between 1 and 100 If the number entered is too high or too low, a message should be displayed informing the user of this. It will tell the user when they failed or passed and what letter grade they got.
We are writing a prediction of what it will do when it runs.
Use comments to answer the investigation questions on the example code.
In the modified tasks, I was given some starter code. Use the instructions below to make changes to the code. I commented on my changes to explain what you have done.
We are creating a login page. We have the correct password. The user is to input their username and password. If the user inputs the correct password, they will be able to login. If the user inputs the wrong password, they will be able to try again. They have 3 tries. If they fail they will have to restart the program.
It was a do now in which the class was assigned. We had a total of 5 tasks. Each task was different
We explored the built-in functions of the math module. Some examples are squareRoot, absolute value, power, sum, subtraction, division, and multiplication. After that we did a practice run of how we can use math in code.
Learn how to write and call basic subroutines.