Inputs/Outputs/Vocab
Programming
Development Process
Miscellaneous
100

What is sequential programming?

Program runs in the order the code is written

100


-What will the "width" of the "BottomButton" be when the program is finished running?

setProperty(topButton, width, 70);

setProperty(BottomButton, width, 60);

setProperty(topButton, width, 80);

setProperty(BottomButton,width, 50);

50

100

Investigating and reflecting

these two steps in the process involve completing interviews and surveys with the target audience to gauge a further understanding of what the app’s purpose will be.

100

In 1976, these two people founded Apple Computer, Inc.

Steve jobs and Steve Wozniak

200

What is event driven programming?

Commands in the program will only run when the user interacts with the program in a specific way, such as clicking a button.

200

-If the user does NOT click the button what color will "topButton" be when this program finishes running?


setProperty(topButton, background-color, green);

setProperty(topButton, background-color, red);

onEvent(topButton, “click”, function (){

setProperty(topButton, background-color, blue);

setProperty(topButton, background-color, orange);

});

Red

200

What is the first stage of app design?

Sketching out your design is the beginning stage of app design, where you sketch out an user interface and start thinking about all of the elements and IDs that you want in your program.



200

Which U.S. state is known as the “Land of 10,000 Lakes?”

Minnesota

300

What are some reasons to put comments in programs?

-They help programmers debug, they help document the code so other programmers will understand it, they enable programmers to track their work in case they have to refer to it later on.

300

The following program is run. Then the user clicks the "topButton" button TWICE. What will be displayed in the console?

console.log(“pig”);

onEvent(topButton, “click”, function(){

console.log(“dog”);

});

console.log(“cat”);

pig

cat

dog 

dog

300

What does prototyping mean?

The process of programming your app, getting feedback from your partner, and trying out solutions for the ideas that you designed.

300

M&M’S Fruit Chews would eventually become what popular candy?

Starburst

400

If your input is this:

"100" + 102;


What is the output?

100102

400

Which line of code in this program is MOST likely to result in an error?

var x = 5;

var y = 3;

console.log(x + y);

console.log(z);

console.log(x);

console.log(y);

console.log(“100”);

console.log(90);


console.log(z);

400

Why would you test an app?

You should test the app to make sure there are no bugs, also to see if the programmer wants to add anything or improve it.



400

What occasion corresponds with the longest day of the year?

Summer solstice

500

What does concatenation mean?

To combine Strings together

500

The following program is run. Then the user clicks the "bottomButton" FOUR TIMES. Then the user clicks the topButton ONE TIME. What will be displayed in the console?

onEvent("topButton","click", function (){

console.log("aaa");

});

console.log("bbb");

onEvent("bottomButton","click", function (){

console.log("aaa");

});

console.log("bbb");

bbb

bbb

aaa

aaa

aaa

aaa

aaa

500

What is the purpose of a design specification?

To describe how a program is going to work and how users will interact with it.

500

What was the first vegetable ever to be grown in space?

A potato

M
e
n
u