20 questions
What is the difference between a flowchart and pseudocode?
A flowchart is diagramatic whilst pseudocode is written in a programming language (eg. Pascal, Java, Visual Basic).
A flowchart is textual whilst pseudocode is diagrammatic.
A flowchart is a diagrammatic description of an algorithm whilst pseudocode is a textual description of an algorithm.
Fowchart and pseudocode are representations of algorithms.
Which of the following assignment statements is assigning text to a variable?
myName = "Sir Philip"
myAge = 24
myTax = salary * .20
myGWA = 1.76
An identifier is the 'name' given to a variable.
For example:
distanceToSchool = 5 & " km"
What is the value of the variable?
5
5 km
5km
distanceToSchool
What structure is depicted in this flowchart?
sequence
selection
loop
case
What is the purpose of this symbol in creating program flowcharts?
It evaluates a condition to determine the which action to take.
It signals the beginning and the end of the program.
It evaluates arithmetic operations.
It declares the variables used in the program.
What is the purpose of this symbol in creating program flowcharts?
It connects symbols and directs the flow of data in the program.
It declares the variables used in the program.
It evaluates arithmetic operations.
It signals the beginning and the end of the program.
What is the purpose of this symbol in creating program flowcharts?
It evaluates a condition to determine the which action to take.
It signals the beginning and the end of the program.
It connects symbols and directs the flow of data in the program.
It is used in accepting inputs or generating outputs in the program
What is the purpose of this symbol in creating program flowcharts?
It connects the the part of a flowchart to another part of the flowchart located on the same page.
It connects the the part of a flowchart to another part of the flowchart located at a different page.
It connects symbols and directs the flow of data in the program.
It signals the beginning and the end of the program.
What is the purpose of this symbol in creating program flowcharts?
It connects the the part of a flowchart to another part of the flowchart located on the same page.
It connects the the part of a flowchart to another part of the flowchart located at a different page.
It evaluates a condition to determine the which action to take.
It evaluates arithmetic operations.
What is the purpose of this symbol in creating program flowcharts?
It declares the variables used in the program.
It evaluates a condition to determine the which action to take.
It evaluates arithmetic operations.
It connects symbols and directs the flow of data in the program.
What is the purpose of this symbol in creating program flowcharts?
It evaluates arithmetic operations and/or assign a new value to a variable.
It evaluates a condition to determine the which action to take.
It signals the beginning and the end of the program.
It connects the the part of a flowchart to another part of the flowchart located on the same page.
What is the purpose of this symbol in creating program flowcharts?
It evaluates a condition to determine the which action to take.
It signals the beginning and the end of the program.
It connects symbols and directs the flow of data in the program.
It connects the the part of a flowchart to another part of the flowchart located at a different page.
The given image is a representation of what structure?
sequence
selection
loop
case
The given image is a representation of what structure?
sequence
selection
loop
case
The given image is a representation of what structure?
sequence
selection
loop
case
Refer to the given flowchart:
What is the output of the program?
3
4
num3
0.714
Error
What do you call the series of procedures to solve problems?
blue print
lesson plan
algorithm
procedures
When can algorithms be used?
Only with computers
Only with flowcharts
Only when programming
Any time to design solutions to problems
An algorithm illustrates:
some steps in no particular order, and following no logical reasoning.
a series steps in a particular order, following logical reasoning.
some random shapes in a flowchart but in a set of order.
a series of decisions needed to bake a cake.
If you are ask by your teacher to create a flowchart to find all the factors of a composite number given by the user, what are the most efficient structures will you use?
sequence and selection
selection and loop
nested loops
case and loop