stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Coding Fundamentals Flashcards | StudBud
Explore
/
Coding Fundamentals
Coding Fundamentals
24 terms
·
StudBud Administration
·
66 plays
Imported from external platform
Flashcards
24 cards
F
Practice quiz
P
Host live
L
Questions
24
Answers
1
Which of these is a "conditional" statement?
I like apples
Don't pick up cabbage
If I finish dinner then I can have dessert
I have cake for dessert
2
[Code] Does this student get sweets?
Yes
No
3
What is a loop?
Repeating a task
Doing many tasks at once
Following a list of tasks
Doing a task quickly
4
What does "NOT True" mean?
False
Can't say
Neither True nor False
True
5
[Code] What is the value of
dayOfTheWeek
?
"Friday"
2009
2020
"Sunday"
6
What's another name for a "conditional statement"?
While statement
Maybe statement
If statement
Loop statement
7
What can you do with code?
Make games and websites
Communicate over long distances
Program robots
Control washing machines
8
[Code] Do I buy apples today?
No
Yes
9
What does "NOT NOT NOT True" mean?
False
True
10
When does the "else" block run?
Never
When the "If" is true
Always
When the "If" is false
11
Which "OR" statement is
False
?
False OR False
True OR True
False OR True
True OR False
12
[Code] Do I take my umbrella?
No
Yes
13
Which "AND" statement is
True
?
True AND False
False AND False
True AND True
False AND True
14
[Code] What's the value of
counter
after this loop
5
0
7
1
15
[Code] What is the value of
addNumbers
?
7
3
4
"Hello World"
16
How many times does this code loop?
Forever
5 times
50 times
Once
17
What two values can a Boolean be?
Up/Down
Yes/No
True/False
Apples/Bananas
18
[Code] Do we have lunch, or go outside and play?
Go outside and play
Eat lunch
19
You can have an "If" without an "Else"
False
True
20
What is it called when there's a mistake in the code?
Time to go home
Bug
Whoopsie!
Uh oh...
21
[Code] After running 50 metres, can the runner stop running?
No
Yes
22
Where did the term "Software Bug" come from?
A bug wrote some bad code
Programmers are scared of bugs
A bug got stuck in a computer
23
[Code] What is the value of
fruit
?
5
fruit
10
"bananas + apples"
24
Which of these activities involve a loop?
Turning on a light
Sitting down on a chair
Eating a bowl of cereal
Jumping once