Computing- Flowcharts,arithmetic
operators, variables, hardware and
software
FLOWCHARTS
THERE ARE DIFFERENT SHAPES TO
REPRESENT EACH STEP IN A
FLOWCHART
Picture representation of an
algorithm
Variables
A variable is a location in a memory in
which you can temporarily store texts
or numbers
Data types- integers, characters,
string, float(decimal), Boolean.
The way in which data is stored in a computer
equal in python is writen as ==, not
equal to in python is written as ! =
Data is input by a
user into a variable
Arithmetic operations
MOD- Remainder 23 MOD 5 =3 (This is
because when you divide 23 by 5 the
remainder is3)
MOD is written as % in python. you
can use it to see if a number is even
Hardware and Software
A computer system is made up of
hardware and software
Hardware is any physical
component that makes up the computer
Software is any program that runs
on a computer
There are two types of
software-system software and
application software
System software-Programs that are needed to
enable the computer to function, For example,
an operating system such as Windows
Operating Systems
Software that manages a computer's hardware and provides
a user interface, some operating systems are iOS, Windows,
Linux
Functions: Provides a user interface,manages how programs use main
memory, allows processor management,manages peripherals,mangaes
applications, provides security
Utility software
Utilities provide extra functionality, utilities can be grouped into
categories which are computer security, file organisation and
system maintenance
Application Software-Programs that are
needed to perform tasks for the user For
example, word processing software
(Microsoft Word)
Pseaudocode
closer to actual
programming language
Pseudo code is a kind of structured
English for describing algorithms
allows the programmer to focus on the logic of the algorithm
without being distracted by the syntax of the programming language
an arrow next to a variable means that its
assigned to something e.g mealcost⬅️4.00
An IF statement is a selection statement.The next statement to be
executed depends on whether the condition being tested is true or
false