Repository navigation
Expand file tree
/
Copy pathdata.js
More file actions
86 lines (82 loc) · 2.61 KB
/
Copy pathdata.js
File metadata and controls
86 lines (82 loc) · 2.61 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
export const data =[
{
question: "Which of the following is NOT a JavaScript data type?",
option1: "Boolean",
option2: "Number",
option3: "Float",
option4: "Undefined",
ans: 3, // "Float" is not a separate data type in JavaScript.
},
{
question: "What does CSS stand for?",
option1: "Computer Style Sheets",
option2: "Cascading Style Sheets",
option3: "Creative Style Sheets",
option4: "Colorful Style Sheets",
ans: 2, // Cascading Style Sheets is correct.
},
{
question: "Which HTML tag is used to define an internal stylesheet?",
option1: "<style>",
option2: "<script>",
option3: "<css>",
option4: "<link>",
ans: 1, // <style> is correct.
},
{
question: "Which language runs in a web browser?",
option1: "Java",
option2: "C",
option3: "Python",
option4: "JavaScript",
ans: 4, // JavaScript runs in a browser.
},
{
question: "Which method is used to find the largest number in JavaScript?",
option1: "Math.ceil()",
option2: "Math.max()",
option3: "Math.floor()",
option4: "Math.round()",
ans: 2, // Math.max() finds the largest number.
},
{
question: "Which SQL statement is used to extract data from a database?",
option1: "GET",
option2: "SELECT",
option3: "EXTRACT",
option4: "OPEN",
ans: 2, // SELECT is used to extract data in SQL.
},
{
question: "Which of the following is a server-side JavaScript environment?",
option1: "React",
option2: "Node.js",
option3: "Vue.js",
option4: "Angular",
ans: 2, // Node.js is server-side.
},
{
question: "What is the correct file extension for Python scripts?",
option1: ".java",
option2: ".py",
option3: ".js",
option4: ".html",
ans: 2, // .py is the correct extension for Python scripts.
},
{
question: "What does the '===' operator do in JavaScript?",
option1: "Checks if values are equal",
option2: "Checks if values and types are equal",
option3: "Assigns a value",
option4: "Checks inequality",
ans: 2, // "===" checks for strict equality in JavaScript.
},
{
question: "Which of the following is used for version control?",
option1: "Git",
option2: "npm",
option3: "Docker",
option4: "Webpack",
ans: 1, // Git is a version control tool.
},
]