-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQuestions.js
36 lines (35 loc) · 1.09 KB
/
Questions.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// list of all questions, choices, and answers
var questions = [
{
title: "Commonly used data types DO NOT include:",
choices: ["strings", "booleans", "alerts", "numbers"],
answer: "alerts"
},
{
title: "The condition in an if / else statement is enclosed within ____.",
choices: ["quotes", "curly brackets", "parentheses", "square brackets"],
answer: "parentheses"
},
{
title: "Arrays in JavaScript can be used to store ____.",
choices: [
"numbers and strings",
"other arrays",
"booleans",
"all of the above"
],
answer: "all of the above"
},
{
title:
"String values must be enclosed within ____ when being assigned to variables.",
choices: ["commas", "curly brackets", "quotes", "parentheses"],
answer: "quotes"
},
{
title:
"A very useful tool used during development and debugging for printing content to the debugger is:",
choices: ["JavaScript", "terminal / bash", "for loops", "console.log"],
answer: "console.log"
}
];