Preview

00 - Intro to Programming

 1. Programming is writing computer code to create a _______, in order to solve a ______. Programs consist of a series of instructions to tell a computer exactly what to do and how to do it.
uploads/programming.jpg

  print statement / program

  program / problem

  problem / program

  program / pseudocode

 2. Can you name one of the first ever programming languages?
The first programming languages designed to communicate instructions to a computer 
were written in the 1950s. An early high-level programming language to be designed 
for a computer was __________________, developed by the Germans for 
Z1 by Konrad Zuse between 1943 and 1945.

  Java

  C

  Python

  Plankalkul

 3. Ada Lovelace is widely regarded as the first computer programmer. She wrote the world's first machine algorithm for an early computing machine that existed only on paper.
uploads/Ada.jpg

  False

  True

 4. Press PLAY to run the program. If you wanted to turn the green circle, red, what would you do?

  Change line 11 to: #Draw 3 circles and draw one red one too.

  Change line 12 and replace the 'green' with 'red'. Simple!

  Add the following to the start of line 12 ("change circle to 'red':>>")

  Change line 1 to: change(green = red)

 5. The three main programming constructs are:

  variables, constants and arrays

  if functions, loop functions, and can-do functions

  objects, functions and loops

  sequence (series of statements), selection (if statements) and iteration(loops)

 6. Charles Babbage KH FRS was an English mathematician, philosopher, committed Christian, inventor and mechanical engineer. Babbage originated the concept of a digital programmable computer. He is considered by some to be a ....
Interesting trivia about Charles Babbage and his other views related to programming:
Babbage, in the Ninth Bridgewater Treatise (1837), wrote:

“The object of these pages … is to show that the power and knowledge of the 
great Creator of matter and mind are unlimited.”

In it he describes God as a great programmer.

He draws parallels with the operation of his calculating machine and suggests 
that “… these speculations have led to a more exalted view of the great 
Author of the universe than we have yet possessed.”
uploads/charles.jpg

  "first designer of the computer chip"

  "programming genius that created the language C++"

  "inventor of the calculator"

  "father of the computer"

 7. This man ...
uploads/GuidoAvatar.jpg

  ..is the author of the python programming language.

  ...is the first male programmer in the world

  ..is the co-founder of google with senior responsibility for programming

  ...is the programmer responsible for the creation of the internet

 8. Languages like Python, Java, VB.Net etc, are known as ______ level programming languages. They are easy to use (by a programmer) but need to be translated into _________ code before the instructions can be executed.

  low / high level

  high / maintainable

  low / machine

  high / machine

 9. Consider this simple problem. A cinema is offering discount tickets to anyone who is under 15. Problems can sometimes be expressed using the two techniques showed below. What are they called?
OUTPUT "How old are you?" 

INPUT User inputs their age
STORE the user's input in the age variable
IF age < 15 THEN
	OUTPUT "You are eligible for a discount."
ELSE
	OUTPUT "You are not eligible for a discount."

  Words or Arrows

  Englishcode or Pictures

  Pseudocode (the logic of the solution in plain english) or a Flowchart

  Cartcode or MentoringArrows

 10. Learning to code is a little like going on a long journey. You may want to watch this 60 second video clip before getting stuck in! How do you feel?

  Coding is going to be a piece of cake and I don't think it'll take much work

  I know it's going to be hard work, but I'm excited and look forward to learning!

  Scared and Bored

  Coding ....definitely not for me!