Font size
WorksheetsMidterm Exam
Total questions: 17
Worksheet time: 16mins
A data type that is used to represent single character data.
Int
Float
String
Char
This part sets a control variable to an initial value.
Increment
Decrement
Initialization Expression
Update Expression
After the program has run, you need to be sure that the results are correct, that they are in a form you like, and that your program produces the correct solution in all cases.
Test the Result
Document the Program
Develop an Algorithm
Run the Program
A looping statement that never ends.
Pretest Loop
Posttest Loop
do...While Loop
Infinite Loop
An operators follow a variable. Example: a++, x++ and y++.
Posttest
Pretest
Prefix
Postfix
It is normally consist of a comparison of the control variable to a value.
Update Expression
Continuation Condition
Initialization Expression
increment and Decrement
A pretest loop. It is considered a single executable statement.
For Loop
While Loop
Do...While Loop
Nested Loop
The following are the basic program components except:
Preprocessor Directives
Constant and Type Definition Section
Looping Section
Main Function Heading
It is a loop that uses condition to control whether the body of the loop is executed before going through the loop.
Prefix
Postfix
Pretest
Posttest
A pretest loop examining a Boolean expression before causing a statement to be executed.
Pretest
Posttest
For Loop
While Loop
Smart: Globe; Posttest:
(a)
Mouse: Keyboard; Global:
(a)
Male:Female ; Increment:
(a)
White:Black ; Less Than:
(a)
Cup:Saucer ; Char:
(a)
Answer the given expression given below
Answer the expression given below
