ABCDEFGHIJK
1
explanationsclasstypeoptionalnameshowiflabelchoice1choice2choice3value
2
ipip
3
browserbrowser
4
calculaterand1
sample(x = c("a", "b"), size = 1, replace = F)
5
calculaterand3
sample(x = c("a", "b"), size = 1, replace = F)
6
centernotetitle## <center>Quiz</center>

### <center>EMSE 4574: Intro to Programming for Analytics, Fall 2020</center>

## Rules:

- You may use your notes and RStudio during the quiz.
- You may **not** use any other resources (e.g. the internet, your classmates, etc.)

## Instructions:

- You will have **5** minutes to complete this quiz.
- The timer will start on the next page.
- Please submit your quiz before the timer ends.
- Once you click **submit**, you will not be able to revise your answers.
7
answer_below_label
label_align_left
textnetID## Before you start:

**Enter your name**:
8
submitstartStart Quiz
9
noteintro## Time Remaining: <span id="time"></span>

- Your quiz will be automatically submitted when the timer ends.
- Once you click **submit**, you will not be able to revise your answers.

<hr>
10
label_align_lefttext*q1arand1 == "a"1) What's your favorite **animal**?
11
label_align_lefttext*q1brand1 == "b"1) What's your favorite **color**?
12
label_align_leftmc*q22) TRUE or FALSE: R is awesome!TRUEFALSE
13
noteq3label3) Use the `mtcars` data frame and the **ggplot2** library to write code to create the following plot:
14
label_align_left
textarea*q3arand3 == "a"```{r, echo = FALSE, fig.width=4, fig.height=3}
ggplot(mtcars, aes(x = mpg, y = disp)) +
geom_point()
```
15
label_align_left
textarea*q3brand3 == "b"```{r, echo = FALSE, fig.width=4, fig.height=3}
ggplot(mtcars, aes(x = disp, y = wt)) +
geom_point()
```
16
submit300000finishSubmit (you cannot undo this)