NEW
Font size
WorksheetsA sip of JavaScript
Total questions: 9
Worksheet time: 5mins
What kind if code is this?
JavaScript
HTML
C++
Python
JavaScript was first designed as a language for
Making Coffee
Making interactive web pages
Programming the space shuttle
Advanced math processing
"Java" and "JavaScript" are both programming languages. Why was the name JavaScript chosen?
It is very similar to Java
It made people think it was sort of related to Java
Its very useful for making Coffee
Programmers drink a lot of coffee
Does this web page use JavaScript?
No. It just has one line of simple text
Yes. The javascript file is separate
I have no earthly idea.
It can't be determined from information supplied.
What does "console.log" on line 22 do?
It prints out some information to help programmers like me understand how the code works
It puts another log on the fire
It moves the web page to the location (x, y)
It plots an X-Y graph
The function parameter "e" on line 18 is abbreviation for what what word?
Event
Evergreen
Entity
Enter
What does line 27 do?
Tells the browser window to call onMouseMove when the user moves a cursor over the page.
Moves the mouse cursor to the center of the web page.
Pulls the the mouse's tail.
This snippet of code is most likely from what language?
HTML
Python
JavaScript
C++
What is the purpose of the call to the function stroke() on line 30
Stop the code
Draw the path like a pen or paintbrush stroke.
