Parts of a program Flashcards
(9 cards)
1
Q
What is the Problem Solving Process
A
- UNDERSTAND the problem
- Define the EXPECTED OUTCOME
- Clearly define all the DATA
- Top-down SEQUENCE the required tasks
- Write PSEUDOCODE or draw a detailed flowchart
- TEST the logic
- WRITE the code
2
Q
Write and WriteLine methods do what?
A
Display text output
3
Q
What does \t do?
A
Tabs a line
4
Q
What does \n do?
A
Creates a new line
5
Q
What does \r do?
A
Causes the cursor to go to the beginning of the current line(not the next line)
6
Q
What does \ do?
A
Causes the backslash to be be printed
7
Q
What does ' do?
A
Causes a single quotation to be printed.
8
Q
What does " do?
A
Causes a double quotation to be printed.
9
Q
What is a variable?
A
Named locations in the computer’s memory (They hold one value at a time)