Williams Tech.Smartlearners
On this page, you find all documents, package deals, and flashcards offered by seller masigabethwel.
- 1346
- 0
- 52
Community
- Followers
- Following
2 Reviews received
1397 items
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 ...
JavaScript Final Exam Revision Questions with Complete Solutions
What is NOT true about let, var, and const? 
-let and const were new additions in ES6 
-let can be defined in block scope 
-let can be redeclared in the same scope 
-const cannot be reassigned - let can be redeclared in the same scope 
TRUE OR FALSE: By default, event handlers are set to the bubbling phase. - True 
Which function of the XMLHttpRequest object sends the request to the server? - send 
Which of these is not among the parameters used in the XMLHttpRequest open function? 
-HTTP method...
- Exam (elaborations)
- • 5 pages •
What is NOT true about let, var, and const? 
-let and const were new additions in ES6 
-let can be defined in block scope 
-let can be redeclared in the same scope 
-const cannot be reassigned - let can be redeclared in the same scope 
TRUE OR FALSE: By default, event handlers are set to the bubbling phase. - True 
Which function of the XMLHttpRequest object sends the request to the server? - send 
Which of these is not among the parameters used in the XMLHttpRequest open function? 
-HTTP method...
JavaScript Final Exam Review Complete Answers 2024
The ________ object is an object that is created by the browser for each new HTML page that is 
viewed? - Document 
 Which tool helps you get an element by it's value of the id attribute? - getElementById(); 
 What are the functions that handle events called - Handlers 
 What does a getElementById return if the "id" does not exist? - Null 
 What is the purpose of innerHTML - To retrieve the content of the element with the specified 
Id 
 Which DOM property retrieves the first HTML element ...
- Exam (elaborations)
- • 3 pages •
The ________ object is an object that is created by the browser for each new HTML page that is 
viewed? - Document 
 Which tool helps you get an element by it's value of the id attribute? - getElementById(); 
 What are the functions that handle events called - Handlers 
 What does a getElementById return if the "id" does not exist? - Null 
 What is the purpose of innerHTML - To retrieve the content of the element with the specified 
Id 
 Which DOM property retrieves the first HTML element ...
Javascript Final Exam Questions Solved and Verified
What is the name of the method that provides the database variable when we're using the angular-inmemory-web-api package? - createDb 
Google Material design is a: - Design Language 
Material allows you to create a custom light or custom dark theme - True 
What variable type does the createDb method return? - Object 
The following code will correctly inject the content service into the component: 
constructor(contentService: ContentService){} - False 
Material allows you to create a custom ligh...
- Exam (elaborations)
- • 3 pages •
What is the name of the method that provides the database variable when we're using the angular-inmemory-web-api package? - createDb 
Google Material design is a: - Design Language 
Material allows you to create a custom light or custom dark theme - True 
What variable type does the createDb method return? - Object 
The following code will correctly inject the content service into the component: 
constructor(contentService: ContentService){} - False 
Material allows you to create a custom ligh...
JavaScript EXAM -3 Review questions with Complete Solutions
Define a function - function name(parameter) { 
//logical block 
return value; 
} 
how to get html from dom - ElementById("idName"); 
var result = ElementById("idName"); 
DOM styles - We can access all standard css styles using the getElement attribute. 
var result = ElementById("idName"); 
 = "pink"; //Change text to pink 
var calculateButton = ElementById("calculate"); 
calculateBility = "hidden"; //hide the Calculate 
DOM events - We can assign events to html that we get from the ...
- Exam (elaborations)
- • 6 pages •
Define a function - function name(parameter) { 
//logical block 
return value; 
} 
how to get html from dom - ElementById("idName"); 
var result = ElementById("idName"); 
DOM styles - We can access all standard css styles using the getElement attribute. 
var result = ElementById("idName"); 
 = "pink"; //Change text to pink 
var calculateButton = ElementById("calculate"); 
calculateBility = "hidden"; //hide the Calculate 
DOM events - We can assign events to html that we get from the ...
javascript Exam Study Questions and Answers for new updates
1. What is the proper function to call to print to the screen? - println 
2. What keyword do you need to use to define a variable in JavaScript? - var 
3. What function do you need to call to ask the user of the program to enter text? - readLine 
4. To ask the user of the program for a number, which function should you use? - Both readInt 
and readFloat are for numbers. 
5. What will the following code print to the screen? 
println(2 + 2); - 4 
6. What symbol do you use to do division in JavaSc...
- Exam (elaborations)
- • 8 pages •
1. What is the proper function to call to print to the screen? - println 
2. What keyword do you need to use to define a variable in JavaScript? - var 
3. What function do you need to call to ask the user of the program to enter text? - readLine 
4. To ask the user of the program for a number, which function should you use? - Both readInt 
and readFloat are for numbers. 
5. What will the following code print to the screen? 
println(2 + 2); - 4 
6. What symbol do you use to do division in JavaSc...
JavaScript Exam Sample Questions with Verified Answers 2024
What is NOT true about let, var, and const? 
-let and const were new additions in ES6 
-let can be defined in block scope 
-let can be redeclared in the same scope 
-const cannot be reassigned - let can be redeclared in the same scope 
TRUE OR FALSE: By default, event handlers are set to the bubbling phase. - True 
Which function of the XMLHttpRequest object sends the request to the server? - send 
Which of these is not among the parameters used in the XMLHttpRequest open function? 
-HTTP method...
- Exam (elaborations)
- • 5 pages •
What is NOT true about let, var, and const? 
-let and const were new additions in ES6 
-let can be defined in block scope 
-let can be redeclared in the same scope 
-const cannot be reassigned - let can be redeclared in the same scope 
TRUE OR FALSE: By default, event handlers are set to the bubbling phase. - True 
Which function of the XMLHttpRequest object sends the request to the server? - send 
Which of these is not among the parameters used in the XMLHttpRequest open function? 
-HTTP method...
Javascript Exam Reviewer Questions Detailed Answers
<input> 
element is used to create different types of input fields, such as text fields, checkboxes, radio buttons, 
submit buttons, etc. 
type 
The specific type of input is defined by the ____ attribute. 
<textarea> 
element is used to create a multiline text input field where users can enter larger blocks of text 
<select> 
element creates a dropdown list 
<option> 
element defines the available options within the dropdown 
<button> 
- element is used to create ...
- Exam (elaborations)
- • 7 pages •
<input> 
element is used to create different types of input fields, such as text fields, checkboxes, radio buttons, 
submit buttons, etc. 
type 
The specific type of input is defined by the ____ attribute. 
<textarea> 
element is used to create a multiline text input field where users can enter larger blocks of text 
<select> 
element creates a dropdown list 
<option> 
element defines the available options within the dropdown 
<button> 
- element is used to create ...
JavaScript Exam I Revision Questions and Answers for New updates
- answers comes before Questions 
var - To declare a variable in JavaScript, you use the keyword __________. 
location - A variable is actually the name of a __________ in the computer's memory. 
dynamic (loose) - A language that checks the type of a variable during runtime uses __________ 
typing. 
+ (concatenation) - The __________ operator can join strings or characters. 
conditional - To assign a value to a variable based on a specific condition, you can use the 
__________ operator. 
Fa...
- Exam (elaborations)
- • 10 pages •
- answers comes before Questions 
var - To declare a variable in JavaScript, you use the keyword __________. 
location - A variable is actually the name of a __________ in the computer's memory. 
dynamic (loose) - A language that checks the type of a variable during runtime uses __________ 
typing. 
+ (concatenation) - The __________ operator can join strings or characters. 
conditional - To assign a value to a variable based on a specific condition, you can use the 
__________ operator. 
Fa...
JavaScript EXAM 2 Study Questions with Direct Answers
Global Variables - Global variables are variables that ALL function have access to these variables. 
Where are global variables located? - They are usually declared outside of ALL functions 
Local Variables - Local variables are variable that can not accessed by another function. 
Where are local variables located? - They are declared within a function. 
When a function calls another function, it sometimes needs to transfer data TO the function it is calling. - 
Passing parameter 
When a called ...
- Exam (elaborations)
- • 2 pages •
Global Variables - Global variables are variables that ALL function have access to these variables. 
Where are global variables located? - They are usually declared outside of ALL functions 
Local Variables - Local variables are variable that can not accessed by another function. 
Where are local variables located? - They are declared within a function. 
When a function calls another function, it sometimes needs to transfer data TO the function it is calling. - 
Passing parameter 
When a called ...
OCR 2023 GCE MATHEMATICS A H240/02: PURE MATHEMATICS AND STATISTICS A LEVEL QUESTION PAPER & MARK SCHEME (MERGED)
OCR 2023 Biology A H020/01: Breadth in biology AS Level Question Paper & Mark Scheme (Merged