No student devices needed. Know more
15 questions
Of the elements of programming, which are always used by every program?
Input and Output
Input and looping
Control and arithmetic
A high score in a video game may change over time. Where is this value stored for the program to work with?
Variable
Loop
Conditional
Why are conditional statements important?
They monitor the input
The control a program loop by stopping it at a specified predetermined event.
The deliver the output
They receive data from the computer calculation
What is a loop?
Data that changes over time
Controlled calculations
Putting information into the computer and generating an output display
Cycling through a set of instructions until a condition is met
How is output from a program characterized?
Saving data in a file
Entering information into a program
The end result of the program
The processing of data
If you wanted to assign a value to a variable, which operator would you use?
==
=
=!
equals
How does a loop know when to stop?
It stops when it reaches the last line of the program
When a predetermined condition is met
It stops after the first trial run
After 100 runs
What is a variable?
A number
A place in memory that holds a data value that changes
A data value that changes
A placeholder for a piece of information that can change
condition
loop
variable
Which of the following statements is correct?
Algorithms define the routes through programs and the sequence in which instructions occur
Data defines the routes through programs. Algorithms control the sequence in which instructions occur
Algorithms define the routes through programs. Data controls the sequence in which instructions occur
These specify the execution of the statements depending whether the condition is satisfied or not
Variables
Loops
Conditionals
The element of computer programming allows interaction of the program with the external entities
variable
input/output
loop
conditional
Which of the following can't be considered as a variable?
Age
Name
Philippines
Grade
Area
PI
=
R
What is/are true about pseudocode?
somewhere between English and a coding language.
used by programmers to figure out the logic and flow of their programs without having to worry about syntax.
more precise than English but less precise than a coding language.
all of these
Explore all questions with a free account