GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Computing summer revision year 10

Catrin Fielding Computing GCSE Englisch 23 Karten

Computing summer revision year 10

Karten in diesem Stapel (23)

  1. 1What does 30DIV4 output?7
  2. 2What does 30/4 output?7.5
  3. 3What does 30MOD4 output?2
  4. 4What is14^4 the equivalent of?14 x 14 x 14 x 14
  5. 5What is an integer? (data type)A whole number eg. 6
  6. 6What is a real number? (data type)A number with a fraction or decimal eg. 6.284
  7. 7What is Boolean data type? (data type)True or False
  8. 8What is a character? (data type)A single alphabetic or numeric character eg. a, 5, £
  9. 9What is a string? (data type)Two or more characters enclosed in speech marks eg. "hello" "12345"
  10. 10How do you find the length of a string?Use the function len()
    eg. name = Elizabeth
    print (len(name))
    >>> 9
  11. 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]
  12. 12what is 11+10 (in binary)101 (5)
  13. 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
  14. 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.
  15. 15How do you work out available colours?2^colour depth
    eg. 5-bit allows for 2^5 = 32 available colours
  16. 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.
  17. 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.
  18. 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
  19. 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".
  20. 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.
  21. 21NOT gatesNOT gates
  22. 22AND gateAND gate
  23. 23OR gateOR 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

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck