stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Basic Programming Flashcards | StudBud
Explore
/
Basic Programming
What is iteration?
What is Python?
Basic Programming
11 terms
·
StudBud Administration
·
44 plays
Programming Concepts OCR Computer Science AS
Flashcards
11 cards
F
Practice quiz
P
Host live
L
Questions
11
Answers
1
What is Python?
A database
A snake
A programming language
A word processor
2
What is iteration?
Repeating something again and again.
Selecting what to do.
Choosing what to do.
Carrying out something in sequence.
3
What is Pseudocode?
A way to write code in python.
Random code
A secret code
A solution for designing and planning code.
4
What is a variable?
A number
a space in the computer’s memory where data can be stored.
Text
Something that is fixed
5
What can you store in a variable?
You can't store anything
Numbers only
Text only
Anything you want the program to remember.
6
What will happen when you run this code: Print("Hello World")
It will display nothing
Print the word "print hello world"
print the words Hello World
Come up with a syntax error
7
When do we use for loops?
When we know how many times we want to repeat.
When we don't know how many times we want to repeat.
When we want to repeat a sequence of code.
When we don't want to repeat.
8
What does casting mean?
Changing something to an integer.
Casting people in a movie role.
Changing something to a string.
Changing the type of data you are working with.
9
What is an algorithm?
A block of code
Something important
A variable
A sequence of steps designed to perform a particular task.
10
When do we use while loops?
When you are not sure.
When you don't know how many times to repeat code.
When you want to comment on your code.
While you are programming.
11
In programming what does selection mean?
Selecting what to name the program.
Repeating something again and again.
Carrying out instructions in order.
Choosing what to do next.