Erstellt von Katzz
vor etwa 10 Jahre
|
||
What is Data?
What is 'information'?
What is a variable?
---------------------------------------------------------
What is a constant?
Ian explains that '3' is a variable whereas 's' isn't. Explain why he is right/wrong.
Emma starts her programming with a variable, _f64. Ian says she is wrong because a variable shouldn't contain numbers. Is he right?
What are 'data types'?
What do 'internal codes' do?
What is the most common data type?
What is an integer data type?
What is a real data type and when is it used?
What is the most popular code for representing real numbers?
Why can the decimal in a floating-point number float?
Are all floating-point numbers that a computer represents right?
What is an FPU?
Fixed-point numbers are more accurate than floating-point numbers , then why are they used?
What is a 'string'?
What does the data type 'boolean' represent?
What is the primitive data type of Boolean?
What is Boolean logic?
What does the boolean operator AND mean?
What does the boolean operator OR mean?
What does the boolean operator NOT mean?
Turn over to memorise all of the operators of python
What would happen if you multiplied a number with a string.
E.g. 'Kinder' * 5
How would you write this in Boolean:
When the door is open and it is cold outside I have to wear my coat
What is a 'complier'?
Real data types can hold any data (decimal and whole), then what's the point of integer data types?
The date/time variable is used to store date and time. What are the advantages of this data type?
What are data structures?
Explain the 2 most common data structures.
What are one-dimensional arrays?
Example of a one-dimensional array
Array: carMakers = ["Ford", "Land Rover", "Vauxhall", "Nissan", "Mercedes"]
Use a coded solution to identify "Mercedes" as the car_name.
subject = Computer Science
How do you slice this string so that you can also see the 5th letter to the 11th letter.
How can you slice this string so that you can only see the 10th letter?
3.1.3
What is a while statement / while loop?
What are the 3 fundamental control structures?
Program flow control represented as a flowchart
What does the 'Start' and 'End' symbol represent?
What does the 'Process' symbol represent?
What does the 'Decision' symbol represent?
Example of flowchart
Flowchart showing an iteration loop.
*It'll keep repeating until the statement is false.
A flowchart representing selection
*If condition is true, perform action 1, else perform action and end.
3.1.4
What are the advantages of program control flowcharts?
What are procedures and functions?
What are the definitions of a PROCEDURE and FUNCTION?
What are the 2 types of functions?
What are BUILT-IN functions provided by and stored by?
Built-in functions are the real power of any programming language.
Why are they so useful?
Built-in function example
What are common built-in functions in python?
What is a PARAMETER?
When is a parameter used?
Why can't functions be used in the same manner as procedures?
Give 2 reasons as to why functions are used