-
Notifications
You must be signed in to change notification settings - Fork 0
/
questions.json
70 lines (66 loc) · 1.93 KB
/
questions.json
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
[
{"questions" : "An array in c++ is",
"choices" : {
"a":"is dynamic and does not require a size at compile time",
"b":"is static and requires a valid size at compile time",
"c":"is formatted in the patten of key-value pairs"
},
"answers" : "c"
},
{"questions" : "An dictionary in python is",
"choices" : {
"a":"a hash map where the relationship is key-value pairs",
"b":"a dynamic array that is resized when the array is full",
"c":"a linked list where each node is a pointer to the next value in the array"
},
"answers" : "a"
},
{"questions" : "What is CRUD",
"choices" : {
"a":"CREATE READ UPDATE DESTROY",
"b":"CRY READ UPDATE DROP",
"c":"CREATE READ UPDATE DELETE"
},
"answers" : "c"
},
{"questions" : "The advantage of a linear search is its ____________",
"choices" : {
"a":"complexity",
"b":" efficiency",
"c":" simplicity"
},
"answers" : "c"
},
{"questions" : "A ________ search is more efficient than a ________ search.",
"choices" : {
"a":"character, string",
"b":" integer, double",
"c":"binary, linear"
},
"answers" : "c"
},
{"questions" : "When you work with a dereferenced pointer, you are actually working with",
"choices" : {
"a":" a variable whose memory has been allocated",
"b":" a copy of the value pointed to by the pointer variable",
"c":"the actual value of the variable whose address is stored in the pointer variable"
},
"answers" : "c"
},
{"questions" : "The __________, also known as the address operator, returns the memory address of a variable.",
"choices" : {
"a":" asterisk (* )",
"b":" ampersand ( & )",
"c":" percent sign ( % )"
},
"answers" : "b"
},
{"questions" : "A function may return a pointer but the programmer must ensure that the pointer",
"choices" : {
"a":"still points to a valid object after the function ends",
"b":" has not been assigned an address",
"c":" was received as a parameter by the function"
},
"answers" : "a"
}
]