THE BIG PICTURE
Why should you learn about programming and computer
Programming helps develop problem-solving skills, in
particular, the ability to deal with complexity.
Topic 3 Selection
Remember that algorithms can only do three things:
We first introduced the concept of selection in Topic 1 and said that
it was important because it allows algorithms to make choices a
Topic 4 Iteration
Computers are not just good at following instructions.
They're good at following instructions FAST.
But consider how long it takes for a programmer to write these
Even if the programmer knows what they want t
Topic 6 Arrays
SIMPLE VS COMPLEX TYPES
Data types are critically important in that they determine the
properties of the variables and values being processed.
All of the data types we have dealt with so far have been built
into the language.
Topic 5 Modular
TOP DOWN DESIGN
Programming is Hard!
Most programmers and computer scientists would probably
agree that programming is hard.
This is not so much that it is hard to learn (although you
might think it is right now!).
But rather t
HISTORY AND ORIGINS
In this unit, we will be studying the C language.
C was one of the first high-level languages that made it easy
for programmers to write portable programs.
Advantages of C:
It is easy
While loops Switch case (Designed for when you dont know how many times the loop repeats)
We could use a count function to only run the while loop a set amount of times
The syntax of the for loop is:
for(initialisation; condition; increment)