Karteikarten
Computing summer revision year 10

Karten in diesem Stapel (23)
- 1What does 30DIV4 output?7
- 2What does 30/4 output?7.5
- 3What does 30MOD4 output?2
- 4What is14^4 the equivalent of?14 x 14 x 14 x 14
- 5What is an integer? (data type)A whole number eg. 6
- 6What is a real number? (data type)A number with a fraction or decimal eg. 6.284
- 7What is Boolean data type? (data type)True or False
- 8What is a character? (data type)A single alphabetic or numeric character eg. a, 5, £
- 9What is a string? (data type)Two or more characters enclosed in speech marks eg. "hello" "12345"
- 10How do you find the length of a string?Use the function len()
eg. name = Elizabeth
print (len(name))
>>> 9 - 11Show the result of each pass when the list [4, 2, 5, 3, 1] is bubble sorted[2, 4, 3, 1, 5]
[2, 3, 1, 4, 5]
[2, 1, 3, 4, 5]
[1, 2, 3, 4, 5] - 12what is 11+10 (in binary)101 (5)
- 13What is 8-bit overflowOverflow errors happen when the binary numbers are added together but the answer is over 8-bits
eg. 11111111+00000001 = error - 14What is resolutionHow many pixels in a 1-inch square. The more pixels on the screen, the higher the resolution and the better the quality of the picture will be. The higher the image resolution, the more memory is needed to store the graphic.
- 15How do you work out available colours?2^colour depth
eg. 5-bit allows for 2^5 = 32 available colours - 16What is a constant?Data values that stay the same every time a program is executed are known as constants. Constants are not expected to change.
- 17What is a variable?Variables are data values that can change when the user is asked a question, for example, their age. Variables may change during program execution.
- 18What are syntax errors?Mistakes in the way that the code is written and will not run.
eg. spelling mistakes and incorrect use of punctuation - 19What are logic errors?Mistakes in the logic of a program that will run but will produces different results from what was designed or expected
eg. Adding "2" and "2" together will concatenate to produce an answer of "22". - 20What are runtime errorsErrors which will cause the program or computer to crash even if there appears to be nothing wrong with the program code. Running out of memory will often cause a runtime error.
- 21NOT gates

- 22AND gate

- 23OR gate

Informationen
- Beschreibung
- GCSE Computing Karteikarten am Computing summer revision year 10, erstellt von Catrin Fielding am 15/05/2017.
- Erstellt von
- Catrin Fielding
- Aufrufe
- 0
- Bewertung