Questions LLC
Login
or
Sign Up
Ask a New Question
Javascript
Page 4
Questions (277)
Clarita wants to add a game to her website. Which one of these languages will she use to make the game interactive? (1 point)
1 answer
asked by
Johovah_Witness
10 views
Which JavaScript expression represents the situation in which the score is equal to 5 or to 6? (1 point) Responses score == 5 ||
1 answer
asked by
Johovah_Witness
29 views
What is the output of this program? let sizes = [ "mini", "small", "medium" ]; sizes.push() = "large";
1 answer
asked by
Johovah_Witness
14 views
Which of these will print to the terminal where commands are entered? (1 point) Responses document.getElementById()
1 answer
asked by
Johovah_Witness
13 views
In JavaScript, it is not necessary to declare a variable. (1 point) Responses True True False
1 answer
asked by
Johovah_Witness
12 views
What two parameters are needed for addEventListener()? (1 point) Responses the event and the action the event and the action the
1 answer
asked by
Johovah_Witness
8 views
Which of these will create an array designed for items that will change as the program progresses? (1 point) Responses const
1 answer
asked by
Johovah_Witness
17 views
Which of these is a proper JavaScript comment? (1 point) Responses # this function will return the user’s high score # this
1 answer
asked by
Johovah_Witness
11 views
Which element is the JavaScript statement document.register.firstName.value structured according to? (1 point) Responses script
1 answer
asked by
Johovah_Witness
10 views
JavaScript variables are normally declared using _____ when the value may change or _____ when the value will not change. (1
1 answer
asked by
Johovah_Witness
14 views
Which one of these will create a pop-up box? (1 point) Responses document.getElementById() document.getElementById()
1 answer
asked by
Johovah_Witness
14 views
Which of the following is included in the Programming Languages level of the game development stack?
audio editing tools 3D
1 answer
asked anonymously
40 views
Which one of these will create a pop-up box?
(1 point) Responses document.getElementById() document.getElementById()
1 answer
asked by
Shogun
12 views
What is the danger of using the document.write() method?
(1 point) Responses It is less secure than getting the element by its
1 answer
asked by
Shogun
15 views
Which line of JavaScript will prevent the page from refreshing after a web form has been submitted?
(1 point) Responses
1 answer
asked by
Shogun
8 views
Which one of these is an accurate description of JavaScript?
(1 point) Responses It is a client-side language. It is a
1 answer
asked by
Shogun
8 views
Which element is the JavaScript statement document.register.firstName.value structured according to?
(1 point) Responses script
1 answer
asked by
Shogun
10 views
What will this line of code do?
document.getElementById("firstGreeting").innerHTML = "Welcome!" (1 point) Responses put the word
1 answer
asked by
Shogun
10 views
Which of these will print to the terminal where commands are entered?
(1 point) Responses document.getElementById()
1 answer
asked by
Shogun
18 views
Which method will add an item to the end of a JavaScript array?
(1 point) Responses length() length() push() push() add() add()
1 answer
asked by
Shogun
9 views
Which of the following shows the correct way to write the first line of a JavaScript function called sayHello()?
(1 point)
1 answer
asked by
Shogun
11 views
When a JavaScript variable is declared, its data type must be specified.
(1 point) Responses True True False
1 answer
asked by
Shogun
8 views
What will appear in the console after this program runs?
let x = 5; let y = "9"; let z = x + y; console.log(z) (1 point)
1 answer
asked by
Shogun
15 views
In JavaScript, it is not necessary to declare a variable.
(1 point) Responses True True False
1 answer
asked by
Shogun
12 views
What is the output of this program?
let sizes = [ "mini", "small", "medium" ]; sizes[4] = "large"; console.log(sizes); (1 point)
1 answer
asked by
Shogun
29 views
What is the output of this program?
let sizes = [ "mini", "small", "medium" ]; sizes.push() = "large"; console.log(sizes.length);
1 answer
asked by
Shogun
14 views
Which of these is a proper JavaScript comment?
(1 point) Responses # this function will return the user’s high score # this
1 answer
asked by
Shogun
10 views
Which JavaScript expression represents the situation in which the score is equal to 5 or to 6?
(1 point) Responses score == 5 ||
1 answer
asked by
Shogun
16 views
JavaScript variables are normally declared using _____ when the value may change or _____ when the value will not change.
(1
1 answer
asked by
Shogun
11 views
Given this JavaScript array, which line of code will print “tofu” to the console?
const proteinChoices = ["beef", "chicken",
1 answer
asked by
Shogun
13 views
Which symbol is used in JavaScript to check if two values are not equal?
(1 point) Responses != != !== !== =/= =/= =|
1 answer
asked by
Shogun
9 views
What is the output of this program?
let weather = "sunny"; if (weather == "rain") { document.write("Wear a raincoat."); } else {
1 answer
asked by
Shogun
17 views
JavaScript is a compiled language.
(1 point) Responses True True False
1 answer
asked by
Shogun
11 views
What two parameters are needed for addEventListener()?
(1 point) Responses the event and the action the event and the action the
1 answer
asked by
Shogun
2 views
JavaScript can be used to validate user input.
(1 point) Responses True True False
1 answer
asked by
Shogun
11 views
Which method of accessing HTML elements with JavaScript is the MOST popular, and why?
(1 point) Responses using the ID because it
1 answer
asked by
Shogun
14 views
Which of the following is a way to declare a variable in JavaScript?
(1 point) Responses let let if if def def then
1 answer
asked by
Shogun
8 views
Which of these will create an array designed for items that will change as the program progresses?
(1 point) Responses const
1 answer
asked by
Shogun
16 views
In this first line of a JavaScript for loop, what is i called?
for (let i=1; i<=10; i++){ (1 point) Responses the loop variable
1 answer
asked by
Shogun
11 views
Which one of these is an accurate description of JavaScript?
(1 point) Responses It is a client-side language. It is a
1 answer
asked by
Shogun
10 views
What will the variable type of score be after this line of code executes?
let score; (1 point) Responses none; there will be an
1 answer
asked by
Shogun
7 views
In this first line of a JavaScript for loop, what is i<=10 called?
for (let i=1; i<=10; i++){ (1 point) Responses the
1 answer
asked by
Shogun
9 views
Which method will add an item to the end of a JavaScript array?
length() push() add() amend ()
1 answer
asked by
Blue
13 views
What will the variable type of score be after this line of code executes?
let score; none, there will be an error message
1 answer
asked anonymously
14 views
What is the output of this program?
let sizes = [ "mini", "small", "medium" ]; sizes [4] = "large"; console.log(sizes.length);
1 answer
asked anonymously
18 views
What is the output of this program?
let sizes = [ "mini", "small", "medium" ]; sizes [4] = "large"; console.log(sizes.length);
1 answer
asked anonymously
16 views
let sizes = [
"mini", "small", "medium" ]; sizes [4] = "large"; console.log(sizes.length);
1 answer
asked by
Blue
16 views
Which method of accessing HTML elements with JavaScript is the MOST popular, and why?
using the ID because it makes the code more
1 answer
asked anonymously
14 views
Which JavaScript expression represents the situation in which the score is equal to 5 or to 6?
score 5 score == 6 score == 5 or
1 answer
asked anonymously
18 views
In JavaScript, it is not necessary to declare a variable.
1 answer
asked anonymously
9 views
Pages
1
2
3
4
5
6
Parent Categories (15)
Coding
Coding languages
Coding/Programming
Computer Programming
Computer Science/Programming
Front-end Development
Game Development
HTML
HTML/CSS
Programming
Programming Language
Programming Languages
Programming or Computer Science
Web Development
Web development languages