Ict Revision 2024-2025
Ict Revision 2024-2025
A line indicates where the next part is ( separates vocab & contents of the lesson) - Vocabs are words
that may be hard to understand and forget, doesn’t contain all vocabs
A * indicates that a part needs to be reviewed again
Python font
Normal font
Vocabulary
_________________________________________________________
_________
Key information
How trace tables work - click on the unit name for more information
and examples
Explanation:
- In this case it will add one each time the
loop repeats.
- The for loop will run exactly 10 times for
the values 1 to 10. Each time the code loops it will print the value
of i. This means that the code will print the numbers 1 to 10.
- Loop variable: In computer programming, a loop variable is a
variable that is set in order to execute some iterations of a "for"
loop - ALWAYS STARTS AT 0 & EXECUTED UNTIL THE
VALUE OF THE LOOP VARIABLE == NUMBER IN THE
BRACKETS AFTER range()
→ Basically, FOR i = 0 TO 4 == for i in range (5)
Both will print:
0 1st time
1 2nd time
2 3rd time
3 4th time
4 5th time
Creating an array:
cars = [“Ford”,”Volvo”,”BMW”]
print(cars)
Or
Using append function and get introduced with how results can be
printed each in a line:
flavours = [“Vanilla”]
print(“__________________”)
print(“The ice cream flavours available are:”)
Output:
Remove function:
- Template: variableName.remove(“what you want to remove from
the list”)
E.g:
flavours.remove("mintchoco")
print(“The new flavours are”,flavours)
Output:
If you dont want the output of flavours to be like this and want to print
them in a more organized way where each flavour is dedicated to 1 line,
you can check out 9.1.6
Code:
Number = 6
print(“I have chosen a number between 1 and 10”)
Guess = int(input(“What do you think is it?”))
If guess == number:
print(“You guessed correctly!”)
Elif guess > 0 and guess <10:
print(“Not correct”)
Else:
print(“Not a valid guess”)
If you entered:
1 or 10 Extreme data
<1 or 10< Invalid data
2-9 Normal data
This could be represented better on a number line. Draw one in your
notebook if it would help.
String manipulation:
upper(): makes all input capital (e.g: Super -> SUPER)
lower(): makes all input lowercase (e.g: OHmygod -> ohmygod)
capitalize(): makes the first letter uppercase and the others lowe (asjdwu
-> Asjdwu)
Understanding software - Digital devices use a number of different types of software in order
to complete a task:
UNIT 3 - MANAGING DATA
● THIS IS A MINI UNIT & IT WOULD BE CONTINUED WHEN
STUDYING IN UNIT 5
● Presentation is linked to the title
● QUIZLET ( includes all vocabulary)
Big Data: Datasets that are too large or complex for traditional
data-processing applications, e.g. databases or spreadsheets,
to process
5Vs:The terms used to describe the concept of Big Data:
volume. Velocity variety, value, veracity.
CLASS DISCUSSION: