Exam 3: Ifthenelse Control Structure
Exam 1: Introduction to Structured Design30 Questions
Exam 2: Simple Sequence Control Structure30 Questions
Exam 3: Ifthenelse Control Structure30 Questions
Exam 4: Dowhile Control Structurecounter-Controlled Loops30 Questions
Exam 5: Dowhile Control Structuretrailer Record Logic30 Questions
Exam 6: Modularization30 Questions
Exam 7: Case Control Structure30 Questions
Exam 8: Dountil Control Structure30 Questions
Exam 9: Introduction to Arrays30 Questions
Exam 10: Introduction to Object-Oriented Design30 Questions
Exam 11: Inheritance30 Questions
Exam 12: Other Class and Object Relationships30 Questions
Exam 13: Array Applications30 Questions
Exam 14: Master File Update Processing30 Questions
Exam 15: Control-Break Processing30 Questions
Select questions type
There is no ANSI-approved standard for pseudocode.
Free
(True/False)
4.9/5
(36)
Correct Answer:
True
Which program flowcharting symbol is used to indicate a choice between two alternative paths?
Free
(Multiple Choice)
4.8/5
(43)
Correct Answer:
D
The decision point in an IFTHENELSE statement is called an unconditional branch.
Free
(True/False)
4.8/5
(31)
Correct Answer:
False
A connector symbol is placed at the entry point of an IFTHENELSE control structure.
(True/False)
4.9/5
(40)
If no special alternative action is required when the condition tested in an IFTHENELSE pattern is false,we refer to this as a
(Multiple Choice)
4.8/5
(40)
The following pseudocode
IF AVG THEN
GRADE "A"
ELSE
IF THEN
GRADE "B"
ELSE
GRADE "P"
ENDIF
ENDIF
Represents a
(Multiple Choice)
4.8/5
(35)
In a nested IFTHENELSE pattern,all the tests are always made,one after the other.
(True/False)
4.9/5
(36)
Pseudocode may be a more suitable tool than flowcharting when working on complex problems.
(True/False)
4.7/5
(37)
In a nested IFTHENELSE pattern,it is probable that many of the tests will be skipped.
(True/False)
5.0/5
(29)
The value of a character-string constant is usually enclosed in either single or double quotes.
(True/False)
4.9/5
(48)
Which of the following terms is an example of a character-string constant?
(Multiple Choice)
4.8/5
(37)
An algorithm can be expressed by the use of an informal language called
(Multiple Choice)
4.8/5
(37)
If the variable named AVG has a value of 73,what is the value of GRADE after the instructions corresponding to the following pseudocode are executed?
IF AVG THEN
GRADE = "A"
ELSE
IF THEN
GRADE = "B"
ELSE
GRADE = "P"
ENDIF
ENDIF
(Multiple Choice)
4.8/5
(45)
The statements Write A and Write "A" will always produce the same output.
(True/False)
4.9/5
(45)
In a sequential IFTHENELSE pattern,whether tests after the first one are made depends upon the outcome of the preceding tests.
(True/False)
4.8/5
(35)
If the variable named ANSWER has a value of 1,what will be output after the instructions corresponding to the following pseudocode are executed?
IF ANSWER THEN
Write "Hello"
ELSE
IF ANSWER THEN
Write "Goodbye"
ELSE
Write "Good day"
ENDIF
ENDIF
(Multiple Choice)
4.8/5
(32)
Showing 1 - 20 of 30
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)