-
Notifications
You must be signed in to change notification settings - Fork 29
Danielson Adjocy's lesson_03 quiz #111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
anthonydmays
merged 29 commits into
code-differently:main
from
DaFDE31:feature/lesson_03/quizzes
Aug 14, 2025
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
9eb6e4e
Added files
080667e
update
a97238e
update
d744235
update
cb68f78
update
5365174
update
33ac6e1
update
98336a7
update
651807f
”update”
DaFDE31 c1a0491
finished README
DaFDE31 2ac0d00
fix:fixing chhange requests
c63cfb7
feat: add work email
a48373f
Merge pull request #1 from DaFDE31/feature/no-ref/personal-readme
DaFDE31 15daaa9
Merge branch 'code-differently:main' into main
DaFDE31 e17ae60
Merge branch 'code-differently:main' into main
DaFDE31 3c89d60
Merge branch 'code-differently:main' into main
DaFDE31 fa32d54
Merge branch 'code-differently:main' into main
DaFDE31 06ce81e
Merge branch 'code-differently:main' into main
DaFDE31 451ca3c
feat: added test and passing
DaFDE31 41fd2bc
chore:updating
DaFDE31 0d9edf6
Merge branch 'main' into feature/lesson_03/quizzes
DaFDE31 c19808c
Merge branch 'main' into feature/lesson_03/quizzes
DaFDE31 48072ab
Merge branch 'main' into feature/lesson_03/quizzes
DaFDE31 72f5ea9
Update quiz.yaml
DaFDE31 f56e725
Merge branch 'main' into feature/lesson_03/quizzes
DaFDE31 f0a9f99
Update quiz.yaml
DaFDE31 8bc97da
revert: reverted another_quiz.ts
DaFDE31 28bbc17
Update quiz.yaml
DaFDE31 0a222cb
fix: quizzes.module.ts
DaFDE31 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| import { | ||
| AnswerChoice, | ||
| MultipleChoiceQuizQuestion, | ||
| QuizQuestion, | ||
| QuizQuestionProvider, | ||
| } from 'codedifferently-instructional'; | ||
|
|
||
| export class DanielsonAdjocyQuiz implements QuizQuestionProvider { | ||
| getProviderName(): string { | ||
| return 'danielsonadjocy'; | ||
| } | ||
|
|
||
| makeQuizQuestions(): QuizQuestion[] { | ||
| return [ | ||
| DanielsonAdjocyQuiz.makeQuestion0(), | ||
| DanielsonAdjocyQuiz.makeQuestion1(), | ||
| DanielsonAdjocyQuiz.makeQuestion2(), | ||
| ]; | ||
| } | ||
|
|
||
| private static makeQuestion0(): QuizQuestion { | ||
| return new MultipleChoiceQuizQuestion( | ||
| 0, | ||
| 'What should go first in a pc frame?', | ||
| new Map<AnswerChoice, string>([ | ||
| [AnswerChoice.A, 'CPU'], | ||
| [AnswerChoice.B, 'GPU'], | ||
| [ | ||
| AnswerChoice.C, | ||
| 'Motherboard', | ||
| ], | ||
| [AnswerChoice.D, 'Power supply'], | ||
| ]), | ||
| AnswerChoice.UNANSWERED, | ||
| ); // Replace `UNANSWERED` with the correct answer. | ||
| } | ||
|
|
||
| private static makeQuestion1(): QuizQuestion { | ||
| return new MultipleChoiceQuizQuestion( | ||
| 1, | ||
| 'True or False: Data in a computer is represented by Binary, Decimal, and Hexadecimal', | ||
| new Map<AnswerChoice, string>([ | ||
| [AnswerChoice.A, 'True'], | ||
| [AnswerChoice.B, 'False'], | ||
| ]), | ||
| AnswerChoice.UNANSWERED, | ||
| ); // Replace `UNANSWERED` with the correct answer. | ||
| } | ||
|
|
||
| private static makeQuestion2(): QuizQuestion { | ||
| return new MultipleChoiceQuizQuestion( | ||
| 2, | ||
| 'What is the brain of the computer?', | ||
| new Map<AnswerChoice, string>([ | ||
| [AnswerChoice.A, 'CPU'], | ||
| [AnswerChoice.B, 'GPU'], | ||
| [AnswerChoice.C, 'Motherboard'], | ||
| [AnswerChoice.D, 'Power supply'], | ||
| ]), | ||
| AnswerChoice.UNANSWERED, | ||
| ); // Replace `UNANSWERED` with the correct answer. | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.