Switch to unified view

a b/GoogleCloud/quizes/Chapter2_Quizes.json
1
[
2
    {
3
        "question": "Which of the following R data structures are homogeneous:",
4
        "type": "many_choice",
5
        "shuffle_answers": true,
6
        "answers": [
7
            {
8
                "answer": "Vector",
9
                "correct": true,
10
                "feedback": "Correct."
11
            },
12
            {
13
                "answer": "Matrix",
14
                "correct": true,
15
                "feedback": "Correct."
16
            },
17
            {
18
                "answer": "Array",
19
                "correct": true,
20
                "feedback": "Correct."
21
            },
22
            {
23
                "answer": "List",
24
                "correct": false,
25
                "feedback": "Incorrect.  A list can contain any type of data."
26
            },
27
            {
28
                "answer": "Data Frame",
29
                "correct": false,
30
                "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."
31
            },
32
                        {
33
                "answer": "Tibble",
34
                "correct": false,
35
                "feedback": "Incorrect.  A tibble is a modified data frame."
36
            }
37
        ]
38
    },
39
    {
40
        "question": "Which if the following is true of a matrix?",
41
        "type": "many_choice",
42
        "shuffle_answers": true,
43
        "answers": [
44
            {
45
                "answer": "2-dimensional",
46
                "correct": true,
47
                "feedback": "Correct."
48
            },
49
            {
50
                "answer": "Homogeneous",
51
                "correct": true,
52
                "feedback": "Correct."
53
            },
54
            {
55
                "answer": "1-dimensional",
56
                "correct": false,
57
                "feedback": "Incorrect."
58
            },
59
            {
60
                "answer": "Heterogeneous",
61
                "correct": false,
62
                "feedback": "Incorrect."
63
            },
64
                        {
65
                "answer": "Must be a square",
66
                "correct": false,
67
                "feedback": "Incorrect.  The matrix can have unequal dimensions."
68
            },
69
                        {
70
                "answer": "Is an array",
71
                "correct": true,
72
                "feedback": "Correct.  A matrix is a special type of array."
73
            }
74
        ]
75
    },
76
    {
77
        "question": "When working with data frames, you must be cautious because:",
78
        "type": "many_choice",
79
        "shuffle_answers": true,
80
        "answers": [
81
            {
82
                "answer": "If different data types exist in the data frame, all data will be coerced to a single type.",
83
                "correct": false,
84
                "feedback": "Incorrect.  A data frame is a heterogeneous data structure."
85
            },
86
            {
87
                "answer": "If a given column contains different data types, all data within that column will be coerced to a single data type.",
88
                "correct": true,
89
                "feedback": "Correct."
90
            },
91
            {
92
                "answer": "Missing data will be thrown out.",
93
                "correct": false,
94
                "feedback": "Incorrect.  R can account for missing data."
95
            },
96
            {
97
                "answer": "R may become confused if your imported input files are not well-formatted.",
98
                "correct": true,
99
                "feedback": "Correct.  Beware of Excel."
100
            }
101
        ]
102
    }
103
]