This commit is contained in:
dev sp
2023-11-21 14:21:58 +00:00
parent bb07b814e3
commit cb3d9994df
6 changed files with 88 additions and 159 deletions

View File

@@ -1,6 +1,6 @@
[
{
"id" : 1,
"id" : 17567,
"qs" : "Inside which HTML element do we put the JavaScript?",
"options" : [
"<script>",
@@ -13,7 +13,7 @@
"status": ""
},
{
"id" : 2,
"id" : 4545,
"qs" : "Where is the correct place to insert a JavaScript?",
"options" : [
"The <head> section",
@@ -25,7 +25,7 @@
"status": ""
},
{
"id" : 3,
"id" : 223,
"qs" : "What is the correct syntax for referring to an external script called 'xxx.js'?",
"options" : [
"&ltscript href="xxx.js">",
@@ -37,7 +37,7 @@
"status": ""
},
{
"id" : 4,
"id" : 867,
"qs" : "The external JavaScript file must contain the <script> tag.",
"options" : [
"True",
@@ -48,7 +48,7 @@
"status": ""
},
{
"id" : 5,
"id" : 5544,
"qs" : "How do you write "Hello World" in an alert box?",
"options" : [
"alertBox("Hello World");",
@@ -61,7 +61,7 @@
"status": ""
},
{
"id" : 6,
"id" : 765,
"qs" : "How do you create a function in JavaScript?",
"options" : [
"function myFunction()",
@@ -73,7 +73,7 @@
"status": ""
},
{
"id" : 7,
"id" : 108,
"qs" : "How do you call a function named "myFunction"?",
"options" : [
"call function myFunction()",
@@ -85,7 +85,7 @@
"status": ""
},
{
"id" : 8,
"id" : 4328,
"qs" : "How to write an IF statement in JavaScript?",
"options" : [
"if i = 5 then",
@@ -98,7 +98,7 @@
"status": ""
},
{
"id" : 9,
"id" : 989,
"qs" : "Which of the following is a disadvantage of using JavaScript?",
"options" : [
"Client-side JavaScript does not allow the reading or writing of files.",
@@ -111,7 +111,7 @@
"status": ""
},
{
"id" : 10,
"id" : 1450,
"qs" : "How to write an IF statement for executing some code if "i" is NOT equal to 5?",
"options" : [
"if (i <> 5)",
@@ -124,7 +124,7 @@
"status": ""
},
{
"id" : 11,
"id" : 211,
"qs" : "How does a WHILE loop start?",
"options" : [
"while i = 1 to 10",