stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Duplicate of Duplicate of Programming Concepts Flashcards | StudBud
Explore
/
Duplicate of Duplicate of Programming Concepts
Duplicate of Duplicate of Programming Concepts
11 terms
·
StudBud Administration
RECAP OF LAST WEEK
Flashcards
11 cards
F
Practice quiz
P
Host live
L
Questions
11
Answers
1
Why is an "if" statement used?
To repeat an instruction IF needed
To plan a step by step instruction to complete a task
To allow code to be executed repeatedly
To complete an action if a condition is met
2
What programming construct is in use here?
Iteration
Decomposition
Selection
Abstraction
3
An "if" statement is usually accompanied by
A "when" statement
A "do" statement
An "after" statement
An "else" statement
4
What type of loop is While
Definite
Functional
Selection
Conditional
5
A planned algorithm can be written as:
English, written description, flowchart only
Shapes, numbers, text, and images
Pseudocode, flowchart, written description
Pseudocode and flowchart only
6
What is the command to close "if" statement
"endif"
"whatif"
"shutif"
"closeif"
7
What does the following operator mean: >=
Less than OR equal to
Lesson than AND equal to
Greater than AND equal to
Greater than OR equal to
8
What is an algorithm
A set of sentences and stories
A set of games and matches
A set of step by step instructions to achieve a purpose
A set of variables and values
9
What are two types of loops in Python
Oh Well
For and While
For a little While
Four and Well
10
A program calculates the average national salary. What data type would be used for the output?
Float
Boolean
Integer
String
11
What is another term for iteration?
Executed
Selection
Guiding
Repetition