stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Year 9 programming concepts refresher Flashcards | StudBud
Explore
/
Year 9 programming concepts refresher
Year 9 programming concepts refresher
17 terms
·
StudBud Administration
·
31 plays
Imported from external platform
Flashcards
17 cards
F
Practice quiz
P
Host live
L
Questions
17
Answers
1
What does input() do?
Sends input to the to the standard output device (usually a screen)
Gets input from the user from the standard input device (usually keyboard).
Processes input from RAM memory
Allows the programmer to input information
2
If the age is 9 and the weather is sunny, what prints out?
Time to play fortnite
The weather is realld awful tou dont want to go outside
You should gather your friends and go outside
It's playtime but ask your parents first
3
What does >= mean
lesser than or equal too
Greater than or equal too
equal too
lesser than
4
What is an Algorithm?
A mathematical equation
A set of instructions in any order that details how to compelte a task
A set of instructions in order that details how to complete a task
Programming logic
5
What does a WHILE loop do?
Repeats a set of code a certain number if times
Repeats a set of code until a condition is true
Checks for errors in code
Completes one task while performing another
6
If the age is 14 and the weather is sunny, what prints out?
Time to play fortnite
It's playtime but ask your parents first
You should gather your friends and go outside
The weather is realld awful tou dont want to go outside
7
Which data type represents the following: true
Float
Boolean
String
Integer
8
Under what condition does the else statement print?
If age is above 12 and its cloudy
if age is less than 16 and its cloudy
If its sunny outside
If age is below 12 and its cloudy
9
Which data type represents the following " The day is long"
Float
Boolean
String
Integer
10
What does a FOR loop do?
Repeats a set of code a certain number if times
Completes one task while performing another
Repeats a set of code until a condition is true
Checks for errors in code
11
What will the following code print out if age is 15
" You are too young to be here"
Nothing
"What is your age?"
"Welcome Stay a while!"
12
Which data type represents the following: 68
Boolean
Float
Integer
String
13
an if statement can be accompanied by what....
then
else
finally
else if......else
14
What does print() do?
gets user input
prints to the screen directly
prints to the console to be seen on the screen
sends something to the keyboard
15
What is a variable similar too?
A named box that stores information inside of it
A place to store names
A set of instructions
An empty box
16
Which data type represents the following: 6.95
Integer
String
Float
Boolean
17
If the age is 14 and the weather is cloudy, what prints out?
It's playtime but ask your parents first
The weather is realld awful tou dont want to go outside
Time to play fortnite
You should gather your friends and go outside