[930d1e]: / AWS / quizes / Chapter2_Quizes.json

Download this file

103 lines (103 with data), 3.5 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
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
[
{
"question": "Which of the following R data structures are homogeneous:",
"type": "many_choice",
"shuffle_answers": true,
"answers": [
{
"answer": "Vector",
"correct": true,
"feedback": "Correct."
},
{
"answer": "Matrix",
"correct": true,
"feedback": "Correct."
},
{
"answer": "Array",
"correct": true,
"feedback": "Correct."
},
{
"answer": "List",
"correct": false,
"feedback": "Incorrect. A list can contain any type of data."
},
{
"answer": "Data Frame",
"correct": false,
"feedback": "Incorrect. A column of a data frame can be of any data type, but the data within a given column must be of the same type."
},
{
"answer": "Tibble",
"correct": false,
"feedback": "Incorrect. A tibble is a modified data frame."
}
]
},
{
"question": "Which if the following is true of a matrix?",
"type": "many_choice",
"shuffle_answers": true,
"answers": [
{
"answer": "2-dimensional",
"correct": true,
"feedback": "Correct."
},
{
"answer": "Homogeneous",
"correct": true,
"feedback": "Correct."
},
{
"answer": "1-dimensional",
"correct": false,
"feedback": "Incorrect."
},
{
"answer": "Heterogeneous",
"correct": false,
"feedback": "Incorrect."
},
{
"answer": "Must be a square",
"correct": false,
"feedback": "Incorrect. The matrix can have unequal dimensions."
},
{
"answer": "Is an array",
"correct": true,
"feedback": "Correct. A matrix is a special type of array."
}
]
},
{
"question": "When working with data frames, you must be cautious because:",
"type": "many_choice",
"shuffle_answers": true,
"answers": [
{
"answer": "If different data types exist in the data frame, all data will be coerced to a single type.",
"correct": false,
"feedback": "Incorrect. A data frame is a heterogeneous data structure."
},
{
"answer": "If a given column contains different data types, all data within that column will be coerced to a single data type.",
"correct": true,
"feedback": "Correct."
},
{
"answer": "Missing data will be thrown out.",
"correct": false,
"feedback": "Incorrect. R can account for missing data."
},
{
"answer": "R may become confused if your imported input files are not well-formatted.",
"correct": true,
"feedback": "Correct. Beware of Excel."
}
]
}
]