Masigaderic
On this page, you find all documents, package deals, and flashcards offered by seller masigaderic.
- 513
- 0
- 18
Community
- Followers
- Following
520 Reviews received
531 items
Javascript Revision Question with Verified Solutions 2024
1. How do you create a function in JavaScript? - function myFunction() 
2. What is the proper format for creating a comment block in JavaScript? - /* Comment Line 1 
Comment Line 2 */ 
3. When is a web page Document Object Model created? - It's created by the browser after it's 
loaded. 
4. Which of the following variable types is stored in the Heap? - Array 
5. In Javascript, what is length? - The property which references the size of an array's variable. 
6. In Javascript, what is scope? ...
- Exam (elaborations)
- • 5 pages •
1. How do you create a function in JavaScript? - function myFunction() 
2. What is the proper format for creating a comment block in JavaScript? - /* Comment Line 1 
Comment Line 2 */ 
3. When is a web page Document Object Model created? - It's created by the browser after it's 
loaded. 
4. Which of the following variable types is stored in the Heap? - Array 
5. In Javascript, what is length? - The property which references the size of an array's variable. 
6. In Javascript, what is scope? ...
JavaScript Revision Question with Verified Answers
1. Inside which HTML element do we put the JavaScript - <script> 
2. What is the correct JavaScript syntax to change the content of the HTML element below? 
3. <p id="demo">This is a demonstration.</p> - 
ElementById("demo").innerHTML = "Hello World!"; 
4. Where is the correct place to insert a JavaScript - Both the <head> section and the <body> 
section are correct 
5. What is the correct syntax for referring to an external script called ""? - <script ...
- Exam (elaborations)
- • 3 pages •
1. Inside which HTML element do we put the JavaScript - <script> 
2. What is the correct JavaScript syntax to change the content of the HTML element below? 
3. <p id="demo">This is a demonstration.</p> - 
ElementById("demo").innerHTML = "Hello World!"; 
4. Where is the correct place to insert a JavaScript - Both the <head> section and the <body> 
section are correct 
5. What is the correct syntax for referring to an external script called ""? - <script ...
JavaScript Questions with Direct Answers 2024
JavaScript always "lives" within what HTML tag? - <script> 
Using the dot syntax, which (conceptually) would be how you "select" Oxford? - 
Earth.NorthAmerica.USA.Ohio.Oxford 
Which is an example of an event handler? - onclick 
Which of the following would be how you test if the variable "b" is equal to the number 5? - if(b==5) 
{} 
Describe what a use would see as a result of the following JavaScript: 
alert("hello world!") - An alert box would pop up that said ""hello world! 
...
- Exam (elaborations)
- • 3 pages •
JavaScript always "lives" within what HTML tag? - <script> 
Using the dot syntax, which (conceptually) would be how you "select" Oxford? - 
Earth.NorthAmerica.USA.Ohio.Oxford 
Which is an example of an event handler? - onclick 
Which of the following would be how you test if the variable "b" is equal to the number 5? - if(b==5) 
{} 
Describe what a use would see as a result of the following JavaScript: 
alert("hello world!") - An alert box would pop up that said ""hello world! 
...
Javascript practice Questions with Merged Answers 2024
Inside which HTML element do we put the JavaScript? 
<script> 
<javascript> 
<scripting> 
<js> - ... 
What is the correct JavaScript syntax to write "Hello World"? 
("Hello World") 
("Hello World") 
"Hello World" 
("Hello World") - ... 
Where is the correct place to insert a JavaScript? 
The <head> section 
Both the <head> section and the <body> section are correct 
The <body> section - ... 
4. What is the correct syntax for referring to ...
- Exam (elaborations)
- • 6 pages •
Inside which HTML element do we put the JavaScript? 
<script> 
<javascript> 
<scripting> 
<js> - ... 
What is the correct JavaScript syntax to write "Hello World"? 
("Hello World") 
("Hello World") 
"Hello World" 
("Hello World") - ... 
Where is the correct place to insert a JavaScript? 
The <head> section 
Both the <head> section and the <body> section are correct 
The <body> section - ... 
4. What is the correct syntax for referring to ...
JavaScript Practice Exam Questions with Merged Answers 2024
JavaScript programs are executed by a JavaScript _________ in a Web browser. - Interpreter 
Regular functions must include which of the following? - All of the above (Keyword function, 
Open/close curly braces, Parenthesis (with or without parameters)) 
When using the Math object a programmer MUST create an instance of the JavaScript core object by 
calling the constructor (i.e. Math math = new Math()). - False 
Functions in JavaScript are self-contained units of program written to accomplish ...
- Exam (elaborations)
- • 4 pages •
JavaScript programs are executed by a JavaScript _________ in a Web browser. - Interpreter 
Regular functions must include which of the following? - All of the above (Keyword function, 
Open/close curly braces, Parenthesis (with or without parameters)) 
When using the Math object a programmer MUST create an instance of the JavaScript core object by 
calling the constructor (i.e. Math math = new Math()). - False 
Functions in JavaScript are self-contained units of program written to accomplish ...
Javascript MIS Final Exam Study Questions with Verified Answers.
Javascript - A modern day programming language that is a peer of HTML and CSS 
 Statement - Makes up the logical set of instructions that tell your browser what to do 
 Function - A reusable chunk of code that does something 
 Strings - Pieces of text 
 Values - Words and punctuation marks that have a specific representation 
 Variables - A name for a value 
 HTML - All about displaying things 
 CSS - All about making things look good 
 = - The assignment operator 
 Alert() - Used to display te...
- Exam (elaborations)
- • 3 pages •
Javascript - A modern day programming language that is a peer of HTML and CSS 
 Statement - Makes up the logical set of instructions that tell your browser what to do 
 Function - A reusable chunk of code that does something 
 Strings - Pieces of text 
 Values - Words and punctuation marks that have a specific representation 
 Variables - A name for a value 
 HTML - All about displaying things 
 CSS - All about making things look good 
 = - The assignment operator 
 Alert() - Used to display te...
JavaScript Midterm Exam Questions with Complete solutions
1. Consider the following "..." What is the best way to remove the property regex so the result 
would be this code snippet "..." - myJSONOe; 
2. Which of the following will check whether a variable vRact exists or not - if (typeof vRact 
=="undefined")() 
3. Which of the following code snippits will toggle a div element's background color? - THE LAST 
ONE 
4. How can created cookies be deleted using JavaScript: - 2. overwrite with an expiry date in the 
past 
5. Which of the followin...
- Exam (elaborations)
- • 3 pages •
1. Consider the following "..." What is the best way to remove the property regex so the result 
would be this code snippet "..." - myJSONOe; 
2. Which of the following will check whether a variable vRact exists or not - if (typeof vRact 
=="undefined")() 
3. Which of the following code snippits will toggle a div element's background color? - THE LAST 
ONE 
4. How can created cookies be deleted using JavaScript: - 2. overwrite with an expiry date in the 
past 
5. Which of the followin...
JavaScript General terms Definition summary for Exam Review
<script type="type/javascript"></script> - JS tag 
// - comment tag 
numbers, strings, boolean - data types 
var gpa; - variable declaration 
a-z, A-Z, _, 0-9 - valid variable characters 
+ - adds two operands 
- - subtracts second operand from the first 
* - multiplies both operands 
/ - divides first operand by second 
% - modulus operator; remainder of integer division 
++ - increment operator; increases integer value by one 
-- - decrement operator; decreases integer value by o...
- Exam (elaborations)
- • 5 pages •
<script type="type/javascript"></script> - JS tag 
// - comment tag 
numbers, strings, boolean - data types 
var gpa; - variable declaration 
a-z, A-Z, _, 0-9 - valid variable characters 
+ - adds two operands 
- - subtracts second operand from the first 
* - multiplies both operands 
/ - divides first operand by second 
% - modulus operator; remainder of integer division 
++ - increment operator; increases integer value by one 
-- - decrement operator; decreases integer value by o...
Javascript Final Exam Study Questions with Complete Solutions
- mean answers comes before the questions** 
Anywhere in the body of a web page - Where are <form> </form> tags placed? 
submit, reset, & hidden - Buttons that can be automatically created using the type attribute are: 
By email, to a javascript program, & to a server - Which of the following are ways to submit form 
data? 
name - When using a set of radio button, which attribute must be the same for all buttons in the set? 
shortString = longSr (6, 3); - Which line of code should b...
- Exam (elaborations)
- • 12 pages •
- mean answers comes before the questions** 
Anywhere in the body of a web page - Where are <form> </form> tags placed? 
submit, reset, & hidden - Buttons that can be automatically created using the type attribute are: 
By email, to a javascript program, & to a server - Which of the following are ways to submit form 
data? 
name - When using a set of radio button, which attribute must be the same for all buttons in the set? 
shortString = longSr (6, 3); - Which line of code should b...
Javascript Final Exam Revision: 50 Question with Complete and Verified Solutions
1.Inside which HTML element do we put the JavaScript? 
a) <javascript> 
b) <js> 
c) <script> 
d) <scripting> - c) <script> 
2. What is the correct JavaScript syntax to write "Hello World"? 
a) ("Hello World") 
b) "Hello World" 
c) ("Hello World") 
d) ("Hello World") - c) ("Hello World") 
3. Where is the correct place to insert a JavaScript? 
a) Both the <head> section and the <body> section are correct 
b) The <body> section 
c) The ...
- Exam (elaborations)
- • 12 pages •
1.Inside which HTML element do we put the JavaScript? 
a) <javascript> 
b) <js> 
c) <script> 
d) <scripting> - c) <script> 
2. What is the correct JavaScript syntax to write "Hello World"? 
a) ("Hello World") 
b) "Hello World" 
c) ("Hello World") 
d) ("Hello World") - c) ("Hello World") 
3. Where is the correct place to insert a JavaScript? 
a) Both the <head> section and the <body> section are correct 
b) The <body> section 
c) The ...
OCR 2023 GCE Sociology H580/02: Researching and understanding social inequalities A Level Question Paper & Mark Scheme (Merged)
OCR 2023 GCSE Economics J205/01: Introduction to economics Question Paper & Mark Scheme (Merged
OCR 2023 Biology A H020/02: Depth in biology AS Level Question Paper & Mark Scheme (Merged)
OCR 2023 Biology A H020/01: Breadth in biology OCR 2023Biology AH020/01: Breadth in biology AS Level Question Paper & Mark Scheme (Merged)AS Level Question Paper & Mark Scheme (Merged)
OCR 2023 Biology A H020/02: Depth in biology AS Level Question Paper & Mark Scheme (Merged)