stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Programing concepts Flashcards | StudBud
Explore
/
Programing concepts
Programing concepts
12 terms
·
StudBud Administration
·
469 plays
A computing quiz on programming concepts.
Flashcards
12 cards
F
Practice quiz
P
Host live
L
Questions
12
Answers
1
In python what is the correct symbol to use for asignment
!=
("text")
==
=
2
What is a nested if statement
Having multiple selections using eg "if, elif else"
Having an if statement after another
Having one if statement within another
3
What is definite iteration?
Where you repeat a line of code until it is told to stop
A program carries out a process a set amount of times.
Iteration that definitely happens
Repeating code until a condition is met
4
Define iteration
Causing lines of code to repeat
Selecting which section of code to execute.
Assigning a pronoun to an object
Doing the same thing over and over
5
What will be the output?
neither
error
no
yes
6
Why would you use a nested if statement
If you want to check 2 variables
When you forgot how to use AND OR NOT
7
What is selection
Deciding which piece of code to execute based on variable(s)
Choosing the name of a variable
Choosing a value for a variable
Selecting which path to follow
8
What is assignment?
Giving a value to a variable
Importing a library function
Entering a value in to an array
Defining a variable or function
9
What is indefinite iteration
Iteration that simultaneously exists and does not exist
Iteration that might not happen
Code that repeats until a certain condition is met
Lines of code are repeated a set amount of times
10
What is sequencing?
Writing an nth term rule
Putting lines of code in the correct order
Writing lines of code
Assigning variables in the right order
11
Which is the correct way round?
2, 1
21
1, 2
12
12
What is an infinite loop?
A definite loop where you tell it to run for ever
a loop that is infinite
A conditional loop where the condition will never be met
A loop with unlimited amount of lines