Loops
FUNctions
variables/lists
conditionals
wild
100

The times this loop runs

var i =0;

while(i<12){

    i+=2;

}


What is 6

100

The output the following code produces

output = function(){

       console.log("some stuff");

       output();

}

what is no output

100

x at the end of this code is equal to

x<-3

y<-6

z<- x+y

x<- z


what is 9

100

output of the following

if(true && true || false ||true && !true){

      console.log("in");

}else{

     console.log("out");

}

What is out.
100

Mr.M's favorite color

What is purple

200

The times this loop runs

var temp=0;

for(var i =10; i!=temp; i--){

    temp++;

}

What is 5

200

the output the following code produces

var i =10;

output();

output = function(){

    var i += 3;

     console.log("i ="+i);

}

what is an error

200

The list myList contains this after the code is run

var myList = ["some",6,"stuff"];

appendItem(myList, "more");

removeItem(myList, 2);

insertItem(myList, 1, 2);


What is

["some", 2, 6, "more"] 

200

the output of the following code

var i =true;

if(i){

     console.log("whoot");

}

else{

      console.log(25/3);

}

what is whoot

200

The company that created the first personal computer

What is IBM

300

Fill in the blank below to make the following loop execute exactly seven times

for(var i = 21 ; i>0 ; ______){

}

What is i/=3
300
The following function does this


//this is a function

myFunction = function{

         ....//code not shown

}


What is nobody knows

300

output of the following code

var myList= ["hi", "mom"];

myList[10] = "hiiii";

console.log(myList);

What is an error

300

Output of the following code

var i = 16;

var t = " ";

if( i == 16){

    t= t+i;

    if(i == t){

         console.log(i);

     }

     console.log(t);

}

what is " 16" (there is a space before 16)

300

The year when the first personal computer came out

What is 1981

400

The number of times this loop runs

for(var i =20; i >0; i/=2){

    i++;

}

what is an infinite amount of times

400

Output of the following code

var i =0;

output = function(){

       while(i<0){

            console.log("small");

           i++;

       }

        console.log("big");

}

What is no output

400

The name of the error the following code produces

var myList = importPhonebook();

for(var i=0; i<myList.length+1; i++){

     console.log(mylist[i]);

}

What is index out of bounds exception

400

Is the following valid?


A AND B OR C <--> B OR A AND B

What is no

400

What is the meaning of life?

42

500

You're trying to make every other light turn on in a 20 by 20 grid of LEDs. You have access to a turnOn(row, column) function. Write the code that completes the task.

What is 

for(var i =0; i<20; i+=2){

    for(var j =0; j<20; j++){

        turnOn(i,  j);

     }

}

500

var i =10;

output();

output = function(){

    if(i ==2){

        console.log("here we are");

    }else

    {

        console.log("again");

        i--;

        output();

    }

}

what is "again" x 9 + "here we are"

500

var mystery = [ [1,5,10] ["hello","how","are"] ]

this code would extract the word "hello" from the array above.


What is mystery[1][1]

500

Apply DeMorgan's law

~(A or B and (A or B))
What is ~A and ~B or ~A and ~B
500
Birthday of Alan Turing

What is June 23rd 1912