Functions
Loops
Variables
Conditionals
Miscellaneous
100
What does the "p" in <p> stand for?
paragraph
100
What is a loop?
A way to run a piece of code a certain number of times
100
What is a variable?
A name in code that can be defined with any value
100
What is a conditional?
An If ..., then .... statement. It lets you choose what to do based on if a certain condition is true.
100
what was your favorite thing you learned in girls who code this semester?
any possible answer!
200
Which HTML tag will create the largest heading?

1. <h1>

2. <head>

3. <h6>

4. <heading>

1. <h1>
200
lines = [1, 2, 3, 4, 5] for line in lines: // some code here how many times will this loop run?
5
200
what is the difference between these variables? x = 5 y = 'Summer'
one is a number variable and one is a string variable
200
What will the output of this code be? summerTime = true if summerTime is true: print "yay, time for summer!" else: print "we still have to go to school"
yay, time for summer!
200
give an example of a community that we could help using technology.
multiple answers
300
What should be the first line of your HTML files?

1. <!doctype html>

2. <body>

3. <html>

4. <head>

1. <!doctype html>
300
loopRunning = true while (loopRunning): print "still running!" How can I make this loop stop running?
Set the variable loopRunning = false
300
how do you define a variable and what does that mean? how do i re-define a variable later?
Defining a variable is telling the computer what the word is and what value it is holding. To redefine it later, you use the same name and just set it equal to a different value.
300
what is wrong with this if/else statement in python? x = 5 if x is 5: print "something isn't right" else: print "uh oh"
the else should be a different option from the if, not nested! corrected, it looks like: x = 5 if x is 5: print "something isn't right" else: print "uh oh"
300
What are the four fundamental concepts of computer science?
(1) functions (2) loops (3) variables (4) conditionals
400
What is the correct HTML for creating a hyperlink?

1. <a>http://www.w3schools.com</a>

2. <a name="http://www.w3schools.com">W3Schools.com</a>

3. <a href="http://www.w3schools.com">W3Schools</a>

4. <a url="http://www.w3schools.com">W3Schools.com</a>

3. <a href="http://www.w3schools.com">W3Schools</a>
400
Give an example of a situation when you might want to use a loop.
If you want to go through all instances of something. For example: - print all the numbers in a list - print all the letters in a word
400
what will the output of this code be? x = 5 x = 'good job!' print x
good job!
400
give an example of when you might use a conditional statement.
check if someone's input is valid, for example: if they entered the correct input, continue. Else, give them an error message.
400
What is a use case diagram and when do you use it?
A use case diagram lays out the flow of an application. You use it when designing an app to plan what a user will use the application for, what buttons it will need, and what each screen will show.
500
Fill in the blank. "src" and "alt" in the following element are examples of __________.

<img src="image.gif" alt="MyImage">

attributes
500
write a for loop however you want that will execute 6 times
for letter in 'Python': print 'Current letter: ', letter
500
What is the difference between these two print statements? What will each one print? x = 5 print 'x' print x
The first print statement is printing a string, while the second one is printing a variable called x. x 5
500
write an if/else statement.
multiple answers
500
Name one woman from our spotlight in women who code and how she used coding to accomplish her goals.
multiple possible answers