stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Computational Thinking and Basic Python Flashcards | StudBud
Explore
/
Computational Thinking and Basic Python
Computational Thinking and Basic Python
20 terms
·
StudBud Administration
·
116 plays
This quiz goes over the basic computational thinking terminology and some basic Python
Flashcards
20 cards
F
Practice quiz
P
Host live
L
Questions
20
Answers
1
What is a variable identifier?
The value of the variable
The name of a variable
What is displayed on screen following the print command
2
Which is the correct syntax for a print statement in Python
print(Hello World)
Print("Hello World")
print "Hello World"
print("Hello World")
3
Which of these would not be involved in decomposing a problem?
All are involved in decomposing a problem
Dividing into smaller parts
Working out who could help you solve part of the problem
Adding more parts to the problem so it becomes more complex
4
What is Syntax?
Grammar for a programming language
An error in the code
Using capitals with your variables
5
What is computational thinking?
Thinking in binary
A technique for solving open-ended problems
Coding/Programming
Computers thinking for us
6
Why should we learn computational thinking?
To solve complex problems more easily
We shouldn't learn computational thinking
To help solve difficult problems immediately
To think like robots
7
An algorithm is...
A series of instructions to carry out a task
A kind of music
A programming language
A plan
8
What do you do when you decompose a problem?
Fix it
Build it up
Break it down into smaller parts
Bury it
9
Which of the following would concatenate two strings together
Name = ("Bob) print ("hello + Name)
Name = (Bob) print ("hello " + Name)
Name = "Bob" print ("hello " + Name)
10
Which of these statements would assign a string value to the variable MyName?
MyName = "Horatio"
MyName == "Horatio"
MyName = 5
MyName = ("Horatio")
11
What is pattern recognition?
None
Building models from patterns
Breaking down a complex problem into smaller problems
Looking for similarities among and within problems
12
Which of the following contains a pattern?
All cars have wheels
My friend has an iPhone
My car is blue
I ate a banana for breakfast
13
What do you do when you sequence something?
Identify a series of steps for a task
Put things into disarray
Cause confusion and delay
Cause a problem
14
What does the \n command do?
Puts in an extra space
Allows for a hidden comment
Creates a new line
Displays the value of a variable on screen
15
Breaking a complex problem down into smaller problems and solving each one individually.
Decomposition
Loops
Programming
Abstraction
16
Picking out the important bits of information from the problem, ignoring the others.
Pattern Recognition
Decompostion
Abstraction
Algorithmic Thinking
17
Which of the following is not an example of computational thinking?
Planning how to beat your enemies in a video game level
Accidentally beating a video game level
Plan how to collect & exit to complete a video game level
18
Which of the following is not an example of computational thinking when planning where to eat?
Considering all of the options before deciding on the best
Letting the bossiest friend decide where to go
Discuss and plan from a short list of places
19
What is a loop?
Two scoops of ice cream
Create a set of instructions
Tie a shoe
Repeat the same sequence multiple times
20
Which of the following is an example of using computational thinking?
Choosing which movie to watch
Planning your route when taking a long trip
None of these are examples of computational thinking
Helping your mom decide what to cook for dinner