Class Notes
Class Notes
SCRATCH VS PYTHOn
Arithmetic operator : +, -, *, / and other symbols that can be used for arithmetic
calculations,
Graphical user interface : also known as GUI is used to interact with a computer using
icons and menus
Script mode : pythons text editor which allows programmers to enter a list of
commands and they are executed together.
Variable :a named memory location used to store data of a given type during program
execution, a variable can change value as the program runs.
2
Similarities :
Input () is used to take input from a user. If you wish to store this input you need to
assign it to a variable
Casting : the process of ensuring that data is set to the correct data type
3
CASTING :
Integer - X = int(input(“Enter a Number”))
BIDMAS
4
You can check for errors/bugs using a test plan. Common errors you might encounter
include :
● MISSING BRACKETS
● MISSING QUOTATION MARKS
● VARIABLE NAMING MISMATCHES
● VARIABLES NOT CAST TO CORRECT DATA TYPE
Debug : The process of identifying and removing errors from a computer program
Automate : to make something that was done manually, automatic using technology.
Sensor : a device that is able to gather data from its surroundings to respond to or
record
Smart device : a device that utilises sensors and is connected to other devices
Test plan : a structured approach to testing whether your solution works as expected
System software is the software that all computers have and it makes the system work
as expected.
Web browser : a software application that allows users to locate, access and display
information on the world wide web
General purpose software : software used for more than one purpose