stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
She Codes Quiz Flashcards | StudBud
Explore
/
She Codes Quiz
She Codes Quiz
28 terms
·
StudBud Administration
·
100 plays
Imported from external platform
Flashcards
28 cards
F
Practice quiz
P
Host live
L
Questions
28
Answers
1
What is the output of the following code?
x + y
53
error
8
2
What is the output of the following code?
Hello, Alice
Hello, Bob
Hello, stranger
An error
3
Libraries are...
the order in which statements are executed
a collection of prewritten code that we can use to make coding task simpler
an element of code that only happens if something is true
the process of detecting and removing errors "bugs" in our code
4
What is the output of the following code?
An error
Hello, stranger
Hello, Alice
Hello, Bob
5
Debugging is
the process of detecting and removing errors "bugs" in our code
a collection of prewritten code that we can use to make coding task simpler
an element of code that only happens if something is true
the order in which statements are executed
6
Flow is
an element of code that only happens if something is true
a collection of prewritten code that we can use to make coding task simpler
the process of detecting and removing errors "bugs" in our code
the order in which statements are executed
7
What is the output of the following code?
Python is fantastic
Pyhton is
Python is x
an error
8
What is the output of the following code?
error
hello world
HelloWorld
Hello World
9
What is the output of the following code?
10 is less than 20
a is less than b
a is greater than b
a is equal to b
10
Printing is...
how programmers display values in the output screen
A container that a program uses to store and remember information
a list of steps in a program that are all together like a math problem
the rules for the structure of the symbols, punctuation, and words in code
11
What is the output of the following code?
multiply(5,6)
30
result
a * b
12
What is the output of the following code?
53
z
error
8
13
What is the output of the following code?
a + b
add(3,4)
result
7
14
What is the output of the following code?
Error
Negative
Positive
Zero
15
Syntax is...
a list of steps in a program that are all together like a math problem
how programmers display values in the output screen
the rules for the structure of the symbols, punctuation, and words in code
A container that a program uses to store and remember information
16
A function is...
how programmers display values in the output screen
a list of steps in a program that are all together like a math problem
the rules for the structure of the symbols, punctuation, and words in code
A container that a program uses to store and remember information
17
What is the output of the following code?
Hello, Bob
An error
Hello, stranger
Hello, Alice
18
What is the output of the following code?
it depends on what the user enters
Hello name
Error: name is not defined
Hello Enter your name
19
What is the output of the following code?
8
53
error
x + y
20
What is the output of the following code?
53
x + y
error
8
21
What is the output of the following?
33
Error
123
var1 + var2 + var3
22
Which keyword is used for a function in Python?
fun
def
define
function
23
What is the output of the following code?
hello world
HelloWorld
error
Hello World
24
Which character is used to give single-line comments in Python?
#
//
!
/*
25
A variable is...
how programmers display values in the output screen
the rules for the structure of the symbols, punctuation, and words in code
a list of steps in a program that are all together like a math problem
A container that a program uses to store and remember information
26
What is the output of the following code?
Error
Negative
Zero
Positive
27
A conditional is
a collection of prewritten code that we can use to make coding task simpler
the process of detecting and removing errors "bugs" in our code
the order in which statements are executed
an element of code that only happens if something is true
28
What is the output of the following code?
a is less than b
20 is equal to 20
a is equal to b
a is greater than b