How many instructions can a computer program execute at a time?
One
What is input?
How the program gets data. ie. keyboard or touchscreen.
What is output?
How the program sends out the data. ie. screen, file, network.
What is process?
When a programs performs computations on data.
What is an algorithm?
A sequences of instructions that solve a problem.
What is a flowchart?
graphical language for creating an viewing computer programs.
What is a program?
A list of statements.
What do statements do in programs?
Carry out an action one at a time.
What is a string literal?
input or output statement consisting of characters in double quotes. “Go #57”
What ae characters?
Letters, numbers and symbols
How is newline represented?
/n
What does /n do?
Cause the output to move to the next output line.
Is /n able to be seen in the output?
No it is invisible.
is a space from hitting the spacebar considered a character?
yes
Given variable numCars = 9, what statement outputs 9?
Put numCars to output
Put “To be” to output
Put “or not to be” to output
how will this display and why.
To beor not to be, there is no space between be and or because the space was not input between the quotes.
What is a comment?
Is text meant to be read by a person, but is ignored by the program.
In coral what characters does a comment start with?
//
What line must a comment be on?
it’s own line
Can multiple comments be listed below one another
Example:
//statement
//other statement
Yes
What is whitespace?
refers to blank space between items within a statement. Helps people with reading information but is ignored by execution program.
In binary what does 1 mean?
Current flowing (on)
In binary what does 0 mean?
Current is not flowing (off)
What is an embedded computer?
A computer inside another device.