Concept of Programming
Concept of Programming
a) I/O
b) Flow
c) Terminal
d) Decision
View Answer
Answer: c
Explanation: The symbol denotes a terminal. It is used for indication of start and
stop nodes of a program.
7. There should be certain set standards on the amount of details that should be
provided in a flowchart.
a) True
b) False
View Answer
Answer: b
Explanation: The statement is false. There should be no set standards on the
amount of details that should be provided in a flowchart.
5. The action performed by a ___________ structure must eventually cause the loop to
terminate.
a) sequence
b) case
c) repetition
d) process
View Answer
Answer: c
Explanation: The action performed by a repetition structure must eventually cause
the loop to terminate. Otherwise, an infinite loop is created.
a) Module
b) Terminal
c) Process
d) i/o operation
View Answer
Answer: a
Explanation: This symbol is that of a module. The terminal is denoted by a rounded
rectangle. I/O operation by a parallelogram and process by a rectangle.
a) sequence
b) case
c) repetition
d) process
View Answer
Answer: c
Explanation: This is a repetition structure. The action performed by a repetition
structure must eventually cause the loop to terminate. Otherwise, an infinite loop is
created.
a) sequence
b) case
c) repetition
d) process
View Answer
9. A _______ is a connector showing the relationship between the representative
shapes.
a) line
b) arrow
c) Process
d) box
View Answer
Answer: b
Explanation: Arrows are the connectors that show the relationship between
different shapes. They also show the flow of the program.
a) Decision
b) Input/Output
c) Process
d) Module
View Answer
Answer: a
Explanation: The answer is decision. Conditions are given in this box and then the
result is checked accordingly if the condition is true or false.
5. The statement that tells the computer to get a value from an input device and
store it in a memory location.
a) read
b) write
c) READ
d) WRITE
View Answer
Answer: c
Explanation: The READ statement is used to take the input. READ being a keyword
should be in capital letters.
6. _____________ are identified by their addresses, we give them names (field names /
variable names) using words.
a) Memory variables
b) Memory Locations
c) Memory Addresses
d) Data variables
View Answer
Answer: b
Explanation: Memory locations are identified by their addresses, we give them
names (field names/variable names) using words descriptive to us such as ctr as
opposed to a location addresses such as 19087.
This set of Computer Fundamentals Multiple Choice Questions & Answers (MCQs)
focuses on “Structural Programming”.
3. A ________ is a directed graph that describes the flow of execution control of the
program.
a) Flowchart
b) Flow graph
c) Complexity curve
d) Algorithm
View Answer
Answer: a
Explanation: A flowchart is a directed graph. It simply describes the flow of
execution control of the program.
A program should be ________
a) Secure
b) Sequential
c) Ordered
d) Simple
View Answer
Answer: b
Explanation: It is natural to write a program as a sequence of program structures
such as sequences, choices and loops.
____(condition)
action
a) Else
b) Elif
c) If
d) Switch
View Answer
Answer: c
Explanation: The if statement follows that syntax. If is a choice statement. Else is
also a choice statement.