HTML & CSS
Data Types + Variables
Operators
Conditional Statements
Arrays
Misc
100

HTML stands for this

What is Hyper Text Markup Language

100

The keyword used to create a new variable

What is var

100

Name 3 arithmetic operators

+ - * / %

100

What is the first keyword of a conditional statement?

if

100

What is an array?

a data structure consisting of a collection of elements (values or variables), each identified by at least one array index or key.

100

What is the first index of an array?

0

200

HTML is responsible for _______ and ______

What is Structure and Content

200

Identify the data types of the following variables

name is a string, age is a number, and canDrive is a boolean

200

What is the assignment operator?

=

200

What keyword should you use to complete this chain?

else

200

How many elements can an array have? (assume there are no hardware linitations.)

200

Name 5 programming languages

Varies

300

Based off of the following code, what color with the paragraph text be?

red

300

What is the result of this code?

50 is printed to the console


300

What are the symbols for the strict equality operator?

===

300

In programming, what do conditionals do?

Tells a program to do something depending on whether a condition is met

300

Write down the code for an array called pies that has 3 elements that are different pie flavors.

var pies = ["apple", "pumpkin", "chicken pot"];


300

What are reusable blocks of code that execute a sequence?

Function

400

What text will display on the website if this code runs?

I'm a header

I'm a paragraph

400

What is the name of the data type that has one of two possible values; true or false?

Boolean

400

What is the value of bool? True or False?

False

400

What operator belongs in the blank statement to get the console to log "wahoo!"?

>=, ===, <=

400

How would you access the last element of any array?

var array = [...]
var lastElement = ???;

array[array.length - 1];

400

What is a String (in Javascript)?

A string is a data type used in programming that is used to represent text.


500

What does CSS stand for?

Cascading Style Sheets

500

What is the naming convention used for naming variables / How does it work?

Camel Case. The first letter is lowercase and every other word after is uppercase.

500

You are given a number called n.

What do we know about n if (n % 2 === 1) is true?

It is an odd number

500

For what whole number values of b will the console log "awww yeee"?

4 and under

500

If my array has 400 elements, what is the array index number for the 342nd element?

341

500

How would you call this function?

greet();

M
e
n
u