1) The results of your code is displayed a) on the canvas b) on the script c) on the phone 2) What is the term used to describe how we name objects a) naming b) camelCase c) script 3) Where are images to be placed? a) on the screen b) in a text area c) in an image holder 4) Sequencing refers to a) the length of your code b) repeating things over and over c) naming elements properly d) putting things in the correct order 5) User interface means a) the way in which a user interacts with the app b) things like a text box, or a button c) putting comments for each block of code d) things like a mouse click or mouseover 6) an algorithm is a) step by step directions for any problem b) step by step instructions that a computer can follow c) a list of steps in math 7) Choose the list of UI elements a) buttons, images, text area boxes b) mouse clicks, scrools, mouseover c) something that listens for a click d) the way in which a user interacts with the app 8) How do computers read binary code? a) as ones or zeros b) as electrical on and off pulses c) as javascript d) as black and white boxes 9) How many bits in a byte? a) 4 b) 8 c) 12 d) 16 10) What part of code is written for the coder (person), not the computer? a) onEvent blocks b) comments c) variables d) UI elements 11) Which direction does the x axis run? a) vertical b) horizontal 12) What is a short section of code called? a) algorithm b) canvas c) script d) app 13) What does the term "debugging"  refer to? a) a moth was found on an old computer b) to write the correct code c) to find the mistake in your code d) to look for a flea in your computer e) both A and C 14) What is the name of the language we are learning? a) javascript b) python c) java d) C+++ 15) What does an event listener "listen" for? a) an image to move b) a command like a click c) objects like a button or text area d) a background to click 16) What is an event driven program? a) an app that runs code when something happens b) an app that is driven by current events c) an app that refers to how a person interacts with the events 17) What direction does the y azis run? a) vertical b) horizontal 18) Create a new variable called score, and make it equal to 0 a) VAR score=zero; b) var score=0; c) Variable score=0; 19) Make the variable score increase by 10 a) var score +10; b) score=score+10; c) var score = score+10; 20) Examine the code. What is the problem? a) the randomNumber block is incorrect b) the objects are not named correctly c) the onEvent block doesn't have a comment 21) Examine the code block. What do the last two parameters (numbers) represent a) the x and y location b) the size of the element c) the range of motion for the object 22) What are examples of UI events? a) clicks, mouseovers, arrow keys b) events, objects, elements c) text areas images, screens 23) Where would I find the coordinates 50,300? a) upper right b) lower right c) upper left d) lower left 24) Where would I find the coordinates 300,300? a) upper right b) lower right c) upper left d) lower left 25) Where would I find the coordinates 160,225 ? a) upper right b) upper left c) center

Code vocab and concept #2

Leaderboard

Visual style

Mga Option

I-switch ang template

I-restore ang gi-autosave: ?