Skip to content

Commit

Permalink
Add quizzes for NLP 4
Browse files Browse the repository at this point in the history
  • Loading branch information
ornelladotcom committed Jun 25, 2021
1 parent e82b2ec commit f5d892c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 32 deletions.
2 changes: 1 addition & 1 deletion 6-NLP/4-Hotel-Reviews-1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ Now that you have explored the dataset, in the next lesson you will filter the d

This lesson demonstrates, as we saw in previous lessons, how critically important it is to understand your data and its foibles before performing operations on it. Text-based data, in particular, bears careful scrutiny. Dig through various text-heavy datasets and see if you can discover areas that could introduce bias or skewed sentiment into a model.

## [Pre-lecture quiz](https://jolly-sea-0a877260f.azurestaticapps.net/quiz/38/)
## [Post-lecture quiz](https://jolly-sea-0a877260f.azurestaticapps.net/quiz/38/)

## Review & Self Study

Expand Down
66 changes: 35 additions & 31 deletions quiz-app/src/assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2041,48 +2041,52 @@
"title": "NLP 4: Pre-Lecture Quiz",
"quiz": [
{
"questionText": "q1",
"questionText": "What information can we get from text that was written or spoken by a human?",
"answerOptions": [
{
"answerText": "a",
"answerText": "patterns and frequencies",
"isCorrect": "false"
},
{
"answerText": "b",
"isCorrect": "true"
"answerText": "sentiment and meaning",
"isCorrect": "false"
},
{
"answerText": "c",
"isCorrect": "false"
"answerText": "both of the above",
"isCorrect": "true"
}
]
},
{
"questionText": "q2",
"questionText": "What is sentiment analysis?",
"answerOptions": [
{
"answerText": "a",
"answerText": "a study of whether a family heirloom has sentimental value",
"isCorrect": "false"
},
{
"answerText": "a method of systematically identifying, extracting, quantifying, and studying affective states and subjective information",
"isCorrect": "true"
},
{
"answerText": "b",
"answerText": "the ability to tell whether someone is sad or happy",
"isCorrect": "false"
}
]
},
},
{
"questionText": "q3",
"questionText": "What question could be answered using a dataset of hotel reviews, Python, and sentiment analysis?",
"answerOptions": [
{
"answerText": "a",
"isCorrect": "false"
"answerText": "What are the most frequently used words and phrases in reviews?",
"isCorrect": "true"
},
{
"answerText": "b",
"isCorrect": "true"
"answerText": "Which resort has the best pool?",
"isCorrect": "false"
},
{
"answerText": "c",
"answerText": "Is there valet parking at this hotel?",
"isCorrect": "false"
}
]
Expand All @@ -2094,48 +2098,48 @@
"title": "NLP 4: Post-Lecture Quiz",
"quiz": [
{
"questionText": "q1",
"questionText": "What is the essence of NLP?",
"answerOptions": [
{
"answerText": "a",
"answerText": "categorizing human language into happy or sad",
"isCorrect": "false"
},
{
"answerText": "b",
"answerText": "interpreting meaning or sentiment without having to have a human do it",
"isCorrect": "true"
},
{
"answerText": "c",
"answerText": "finding outliers in sentiment and examining them",
"isCorrect": "false"
}
]
},
{
"questionText": "q2",
"questionText": "What are some things you might look for while cleaning data?",
"answerOptions": [
{
"answerText": "a",
"isCorrect": "true"
"answerText": "characters in other languages",
"isCorrect": "false"
},
{
"answerText": "b",
"answerText": "blank rows or columns",
"isCorrect": "false"
},
{
"answerText": "both of the above",
"isCorrect": "true"
}
]
},
{
"questionText": "q3",
"questionText": "It is important to understand your data and its foibles before performing operations on it.",
"answerOptions": [
{
"answerText": "a",
"isCorrect": "false"
},
{
"answerText": "b",
"answerText": "true",
"isCorrect": "true"
},
{
"answerText": "c",
"answerText": "false",
"isCorrect": "false"
}
]
Expand Down

0 comments on commit f5d892c

Please sign in to comment.