Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password

Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

JavaScript

Quiz yourself by thinking what should be in each of the black spaces below before clicking on it to display the answer.
        Help!  

Question
Answer
What was JavaScript originally designed to add to HTML pages? - A. Styling - B. Structure - C. Interactivity - D. Semantics   show
🗑
show B. Scripting language  
🗑
show B. A lightweight programming language  
🗑
show C. Brendan Eich  
🗑
show B. To add interactivity and dynamic behavior to web pages  
🗑
What was the original name of JavaScript when it was first introduced in 1995? - A. Java - B. TypeScript - C. LiveScript - D. ActionScript   show
🗑
In which year was JavaScript officially introduced as part of Netscape Navigator 2? - A. 1995 - B. 1996 - C. 1997 - D. 1998   show
🗑
show C. JScript  
🗑
What is the standardized version of JavaScript called, which was first published in 1997? - A. JavaScript 1.0 - B. ECMAScript - C. TypeScript - D. LiveScript   show
🗑
show C. Netscape  
🗑
show B. ECMAScript 3  
🗑
show C. 2009  
🗑
show B. No  
🗑
How do Java and JavaScript differ? - A. They are the same in both concept and design. - B. They are completely different in both concept and design. - C. Java is a subset of JavaScript. - D. JavaScript is a subset of Java.   show
🗑
Which company developed Java? - A. Microsoft - B. Netscape - C. Sun Microsystems - D. Google   show
🗑
In which category of programming languages does Java fall? - A. Scripting languages - B. Markup languages - C. Styling languages - D. Powerful and complex programming languages, similar to C and C++   show
🗑
show True  
🗑
What does JavaScript provide to HTML designers? - A. A styling tool - B. A programming tool - C. A markup tool - D. A data storage tool   show
🗑
Who are the typical users of JavaScript in web design? - A. Professional programmers only - B. HTML authors who are not necessarily programmers - C. Database administrators - D. Network engineers   show
🗑
What is one characteristic of JavaScript's syntax? - A. It is very complex - B. It is identical to Java - C. It is very simple - D. It requires advanced programming knowledge   show
🗑
What can almost anyone do with JavaScript in their HTML pages? - A. Create complex software - B. Put small "snippets" of code - C. Design graphic interfaces - D. Develop operating systems   show
🗑
What can JavaScript be set to do when something happens, like when a page has finished loading or when a user clicks on an HTML element? A. Change the browser's theme B. Execute a script C. Create a new HTML page D. Connect to a database   show
🗑
show C. It can read and write HTML elements  
🗑
show B. Validate data  
🗑
What can JavaScript detect about the visitor? - A. Visitor's location - B. Visitor's browser - C. Visitor's IP address - D. Visitor's operating system   show
🗑
show C. In both the head and body sections  
🗑
show C. Immediately while the page loads into the browser  
🗑
show A. Yes  
🗑
What happens if you write `document.write("Hello")` in JavaScript? A. It will print "Hello" in the console B. It will change the content of an HTML element C. It will write "Hello" directly to the HTML document D. It will alert "Hello"   show
🗑
Which event can JavaScript be set to react to? - A. When the browser is closed - B. When a user clicks on an HTML element - C. When the computer starts - D. When a file is downloaded   show
🗑
show B. Validating the form input  
🗑
Is this case Sensitive or not? inside of { } <div id="main"> <h1>Today's Headline</h1> <p>Regular paragraph text goes here. {</P>} </div>   show
🗑
Which Case is Correct? Case 1: alert("Hello world"); Case 2; Alert("Hello world");   show
🗑
Is adding Semi-Colon recommended when creating JavaScript? True or False   show
🗑
A confirm box is often used if you want the user to verify or accept something.   show
🗑
When a confirm box pops up, the user will have to click either "OK" or "Cancel" to proceed.   show
🗑
If the user clicks "OK", the box returns true. If the user clicks "Cancel", the box returns false.   show
🗑
`return ___________`. That means, "if submitting, then call the function validate()".   show
🗑
show executed  
🗑
show True  
🗑
The return statement is used to specify the value that is Validated from the function.   show
🗑
show False, must use  
🗑
show True  
🗑
Loops execute a block of code a specified number of times, or while a specified condition is true.   show
🗑
show Two  
🗑
The do...while loop is a variant of the while loop. This loop will execute the block of code ONCE, and then it will ________ the loop as long as the specified condition is true.   show
🗑


   

Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
 
To hide a column, click on the column name.
 
To hide the entire table, click on the "Hide All" button.
 
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
 
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.

 
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how
Created by: user-1839714