Flashcards
Programming
Flashcards do conjunto (14)
- 1What are the 5 main data types?CRIBS (Character, Real, Integer, Boolean and string)
- 2What is the C in CRIBS used for?Character - A single character
e.g !"£$%^&*() - 3What is the R in CRIBS used for?Real - Decimal numbers
e.g 1.89 - 4What is the I in CRIBS used for?Integer - A whole number
e.g 99 - 5What does the B in CRIBS stand for?Boolean - True/False
e.g True - 6What does the S in CRIBS stand for?String - Any character
e.g "Hello" - 7What is the definition of Concatenation?Concatenation is when you join data together to form a longer string.
e.g "Snow" and "ball" Becomes "Snowball" - 8What is the definition of Casting?Casting is when you need to temporarily change the data type of a variable.
e.g Casting is needed because score is an integer
score = 4
print("You have scored " + str(score) + " points") - 9What does SQL stand for?Structured Query Language
- 10What are the 3 main command words and what are they for?SELECT * is used when you want to select all fields from a table.
FROM is used to declare which table you are using
WHERE is your search criteria. This uses different operators - 11What are the 3 main Translators?Assembler
Compiler
Interpreter - 12What is the Assembler Translator for/what does it do?Translates assembly language into low level code
- 13What is the Compiler Translator for/what does it do?Translates the source code into machine code all at once.
- 14What is the Interpreter Translator for/what does it do?Translates the source code into machine code 1 line at a time.
Informações
- Descrição
- Computing Revision FlashCards sobre Programming, criado por Cole Owen em 09-02-2019.
- Criado por
- Cole Owen
- Visualizações
- 0
- Avaliação