Save
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.

Question

What was JavaScript originally designed to add to HTML pages?
- A. Styling
- B. Structure
- C. Interactivity
- D. Semantics
click to flip
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't know

Question

Which type of language is JavaScript classified as?
- A. Markup language
- B. Scripting language
- C. Styling language
- D. Assembly language
Remaining cards (45)
Know
0:00
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

IT0043_M6

JavaScript

QuestionAnswer
What was JavaScript originally designed to add to HTML pages? - A. Styling - B. Structure - C. Interactivity - D. Semantics C. Interactivity
Which type of language is JavaScript classified as? - A. Markup language - B. Scripting language - C. Styling language - D. Assembly language B. Scripting language
What is a scripting language often described as? - A. A heavyweight programming language - B. A lightweight programming language - C. A markup language - D. A compiled language B. A lightweight programming language
Who developed JavaScript? - A. Tim Berners-Lee - B. James Gosling - C. Brendan Eich - D. Guido van Rossum C. Brendan Eich
Which of the following best describes the primary purpose of JavaScript? - A. define the structure of web pages - B. add interactivity and dynamic behavior - C. style the appearance of web pages - D. manage server side operations 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 C. LiveScript
In which year was JavaScript officially introduced as part of Netscape Navigator 2? - A. 1995 - B. 1996 - C. 1997 - D. 1998 B. 1996
What was the name of the JavaScript implementation used in Internet Explorer 3? - A. JS++ - B. ECMAScript - C. JScript - D. LiveScript 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 B. ECMAScript
Which company was responsible for introducing JavaScript to the web browser market in 1996? - A. Microsoft - B. Sun Microsystems - C. Netscape - D. Google C. Netscape
Which version of ECMAScript was supported by major browsers like Internet Explorer, Firefox, Chrome, Opera, and Safari in 1999? - A. ECMAScript 2 - B. ECMAScript 3 - C. ECMAScript 4 - D. ECMAScript 5 B. ECMAScript 3
In which year was ECMAScript 5 published? - A. 2005 - B. 2007 - C. 2009 - D. 2011 C. 2009
Are Java and JavaScript the same language? - A. Yes - B. No 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. B. They are completely different in both concept and design.
Which company developed Java? - A. Microsoft - B. Netscape - C. Sun Microsystems - D. Google C. Sun Microsystems
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++ D. Powerful and complex programming languages, similar to C and C
Is this a Valid JavaScript Structure? True or False <div> <p>regular body text</p> </div> <script> aler("hello"); </script> 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 B. A programming tool
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 B. HTML authors who are not necessarily programmers
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 C. It is very simple
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 B. Put small "snippets" of code
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 B. Execute a script
How can JavaScript interact with HTML elements? - A. It can only read HTML elements - B. It can only write to HTML elements - C. It can read and write HTML elements - D. It cannot interact with HTML elements C. It can read and write HTML elements
What can JavaScript be used for in relation to form data? - A. Store data in a database - B. Validate data - C. Encrypt data - D. Transfer data 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 B. Visitor's browser
Where can JavaScript be placed within an HTML page? - A. Only in the head section - B. Only in the body section - C. In both the head and body sections - D. Outside the HTML page C. In both the head and body sections
When are JavaScript scripts in a page executed? - A. Only after the entire page has finished loading - B. Only when the user interacts with the page - C. Immediately while the page loads into the browser - D. After a specific delay C. Immediately while the page loads into the browser
Is JavaScript case sensitive? - A. Yes - B. No 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" C. It will write "Hello" directly to the HTML document
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 B. When a user clicks on an HTML element
What is a common use of JavaScript related to forms on web pages? - A. Designing the form layout - B. Validating the form input - C. Saving form data to a local file - D. Printing the form 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> Not Sensitive
Which Case is Correct? Case 1: alert("Hello world"); Case 2; Alert("Hello world"); Case 1
Is adding Semi-Colon recommended when creating JavaScript? True or False True
A confirm box is often used if you want the user to verify or accept something. True
When a confirm box pops up, the user will have to click either "OK" or "Cancel" to proceed. True
If the user clicks "OK", the box returns true. If the user clicks "Cancel", the box returns false. True
`return ___________`. That means, "if submitting, then call the function validate()". validate()
A function will be ___________ by an event or by a call to the function. executed
To keep the browser from executing a script when the page loads, you can put your script into a function. True
The return statement is used to specify the value that is Validated from the function. False, returned
Functions that are going to return a value must NOT use the return statement. False, must use
If you declare a variable outside a function, all the functions on your page can access it. The lifetime of these variables starts when they are declared and ends when the page is closed. True
Loops execute a block of code a specified number of times, or while a specified condition is true. True
In JavaScript, there are ___ different kinds of loops: 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. Repeat
Created by: user-1839714
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards