-
Notifications
You must be signed in to change notification settings - Fork 23
fix: merge conflicts #124
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
Merged
fix: merge conflicts #124
Changes from 4 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
1a884f2
feat: added Encoded Answers
TatsuyaRyujin 0ba9b13
fix: encryption
TatsuyaRyujin 43edbbf
test: Encryption
TatsuyaRyujin bc45d7a
fix: merge
TatsuyaRyujin 69bd501
fix: Encoding
TatsuyaRyujin 4546e18
fix: merge conflict
TatsuyaRyujin a7baf54
Merge branch 'main' into evan_03
TatsuyaRyujin b297669
fix: wrong # of quzzes
TatsuyaRyujin e98783a
fix: encryption
TatsuyaRyujin 83475d9
fix: Encoding
TatsuyaRyujin 8a73bd3
test: Multiple Coice Questions Configured incorrectly
TatsuyaRyujin ba58d17
fix: duplicate quiz provider
TatsuyaRyujin e1172a8
Merge branch 'main' into evan_03
TatsuyaRyujin 6e2600a
fix: changed answer choice to UNANSWERED
TatsuyaRyujin d221b09
Merge branch 'code-differently:main' into evan_03
TatsuyaRyujin c5c71f8
Merge branch 'main' into evan_03
anthonydmays 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,77 @@ | ||
import { | ||
AnswerChoice, | ||
MultipleChoiceQuizQuestion, | ||
QuizQuestion, | ||
QuizQuestionProvider, | ||
} from 'codedifferently-instructional'; | ||
|
||
export class EvanPhilakhongQuiz implements QuizQuestionProvider { | ||
getProviderName(): string { | ||
return 'evanphilakhong'; | ||
} | ||
|
||
makeQuizQuestions(): QuizQuestion[] { | ||
return [ | ||
EvanPhilakhongQuiz.makeQuestion0(), | ||
EvanPhilakhongQuiz.makeQuestion1(), | ||
EvanPhilakhongQuiz.makeQuestion2(), | ||
EvanPhilakhongQuiz.makeQuestion3(), | ||
]; | ||
} | ||
|
||
private static makeQuestion0(): QuizQuestion { | ||
return new MultipleChoiceQuizQuestion( | ||
0, | ||
'What is a CPU?', | ||
new Map<AnswerChoice, string>([ | ||
[AnswerChoice.A, 'Computer Power Unit'], | ||
[AnswerChoice.B, 'Complex Processing Unit'], | ||
[AnswerChoice.C, 'Central Processing Unit'], | ||
[AnswerChoice.D, 'Coding Processor Unit'], | ||
]), | ||
AnswerChoice.UNANSWERED, // replace UNANSWERED with correct answer | ||
); | ||
} | ||
|
||
private static makeQuestion1(): QuizQuestion { | ||
return new MultipleChoiceQuizQuestion( | ||
1, | ||
'What is a GPU?', | ||
new Map<AnswerChoice, string>([ | ||
[AnswerChoice.A, 'Graphics Processing Unit'], | ||
[AnswerChoice.B, 'Gaming Power Unit'], | ||
[AnswerChoice.C, 'Graphical Programming Unit'], | ||
[AnswerChoice.D, 'Gaming Processor Unit'], | ||
]), | ||
AnswerChoice.UNANSWERED, // replace UNANSWERED with correct answer | ||
); | ||
} | ||
|
||
private static makeQuestion2(): QuizQuestion { | ||
return new MultipleChoiceQuizQuestion( | ||
2, | ||
'What is a PSU?', | ||
new Map<AnswerChoice, string>([ | ||
[AnswerChoice.A, 'Programming Super Unit'], | ||
[AnswerChoice.B, 'Power Supply Unit'], | ||
[AnswerChoice.C, 'Power Supplier Unit'], | ||
[AnswerChoice.D, 'Power Storing Unit'], | ||
]), | ||
AnswerChoice.UNANSWERED, // repleace UNANSWERED with correct answer | ||
); | ||
} | ||
|
||
private static makeQuestion3(): QuizQuestion { | ||
return new MultipleChoiceQuizQuestion( | ||
3, | ||
'RAM is short for ___?', | ||
new Map<AnswerChoice, string>([ | ||
[AnswerChoice.A, 'Randomly Advanced Memory'], | ||
[AnswerChoice.B, 'Random Access Memory'], | ||
[AnswerChoice.C, 'Temporary Memory'], | ||
[AnswerChoice.D, 'Readlily Access Memory'], | ||
]), | ||
AnswerChoice.UNANSWERED, // replace UNANSWERED with 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
Oops, something went wrong.
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.