1. Understanding data types is very important in programming. Which of the following is NOT a valid datatype?
2. Which item would be best represented using an 'integer' data type?
3. The diagram below shows the three famous programming constructs: Sequence, Selection and Iteration. An example of Selection is the use of _______________ and an example of Iteration would be the use of a _______________
4. This man is the inventor of the famous analytical engine and is often called the "Father of the computer". What is his name?
5. In the following code, the output is '3030'. If you however, comment out line 2, then the output will be '60'. Can you explain why?
6. A big supermarket is making a database to store its food and ingredients. e.g. Weight(Kg) = 1.54; Quantity in Stock= 6; Gluten-Free=False. What is the most appropriate data type for the Weight and Gluten_Free variables?
7. Programming languages can fall in one of two categories. Low or High level. Which of the following statements is true?
Statement 1
Languages are described as high level or low level. Low-level languages,
such as assembly language, more closely reflect the mechanical workings of the
CPU. High-level languages include Java, JavaScript, C++, Ruby, BASIC or Python,
while low-level languages include assembly language, and machine code.
Statement 2
Languages are described as high level or low level. Low-level languages,
such as python, more closely reflect the mechanical workings of the CPU.
High-level languages include assembly language, and machine code.
while low-level languages include Java, JavaScript, C++, Ruby, BASIC or Python.
Both statements are false!
Statement 1 is true
Both statements are true ...
Statement 2 is true
8. ____________ are sets of step-by-step instructions for the computer to follow. They are at the heart of all computer programs.
9. You can write algorithms in plain English before you decide which programming language you want to use. Writing algorithms this way is called _____________
10. _________________is one of the four cornerstones of Computer Science. It involves breaking down a complex problem or system into smaller parts that are more manageable and easier to understand