Higher – SDD – Reading a file into an array

The code below allows us to read a file into an array then process the data. In this case the processing is just to see how many of each of the numbers (1-6) there were in the file. The text file is the result of 1000 D6 rolls. Can you modify the program to work …

National 5 – SDD Predefined Functions

So today we were looking over predefined function. For the N5 course we have to be aware of RANDOM, ROUND, & LENGTH. The RANDOM function picks an integer between two values. import random number=random.randint(1,20) # random(StartValue,EndValue) print(number) The ROUND function rounds a real number (floating point) to a fixed number of decimal points. a=1.2 # 1 …

Business ICT Class Work

Pupils of all the subjects taught in the department, will now find class work in the Teams app. Where it will be posted by your class teacher. To get to Teams first log into Glow, then click on the Teams tile.  You will find you have been automatically added to the correct class Team. If you have any problems, including if you can not log into Glow then please email

Read More