Skip to content

Lesson 03 #129

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 35 commits into from
Mar 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
6d8dda2
Create README.md
JEKLUND251 Mar 4, 2025
ec0b53d
Update README.md
JEKLUND251 Mar 4, 2025
08494d8
Update README.md
JEKLUND251 Mar 4, 2025
4d289e1
Create Images subfolder
JEKLUND251 Mar 4, 2025
5ff6a5e
Add files via upload
JEKLUND251 Mar 4, 2025
76d6adf
Delete lesson_00/JustinEKlund.md/Images subfolder
JEKLUND251 Mar 4, 2025
094cf02
Rename IMG_2810.jpg to Images subfolder
JEKLUND251 Mar 4, 2025
f8174e6
Rename Images subfolder to Images
JEKLUND251 Mar 4, 2025
7a9fa54
Rename lesson_00/JustinEKlund.md/Images to lesson_00/JustinEKlund.md/…
JEKLUND251 Mar 4, 2025
1be4541
Add files via upload
JEKLUND251 Mar 4, 2025
01d896e
Rename IMG_2810 (1).jpg to readme pic 1
JEKLUND251 Mar 4, 2025
15e3d77
Update README.md
JEKLUND251 Mar 5, 2025
706c4c2
Delete lesson_00/JustinEKlund.md/Images files directory
JEKLUND251 Mar 5, 2025
3d2cd35
Add files via upload
JEKLUND251 Mar 5, 2025
c89c4d2
Delete lesson_00/JustinEKlund.md/Images file directory
JEKLUND251 Mar 5, 2025
1eb5166
Create txt
JEKLUND251 Mar 5, 2025
f9b0b73
Add files via upload
JEKLUND251 Mar 5, 2025
edfaa94
Delete lesson_00/JustinEKlund.md/Images/txt
JEKLUND251 Mar 5, 2025
aa23cde
Update README.md
JEKLUND251 Mar 5, 2025
f2c7cf9
Fix: Punctuation and grammar
VicenteVigueras Mar 7, 2025
c91781d
Merge branch 'code-differently:main' into main
JEKLUND251 Mar 10, 2025
f770163
Merge branch 'code-differently:main' into main
JEKLUND251 Mar 10, 2025
fec1b98
Merge branch 'code-differently:main' into main
JEKLUND251 Mar 10, 2025
58a4a65
Merge branch 'code-differently:main' into main
JEKLUND251 Mar 10, 2025
a1bbed5
Merge branch 'code-differently:main' into main
JEKLUND251 Mar 11, 2025
90c2cc4
Merge branch 'code-differently:main' into main
JEKLUND251 Mar 11, 2025
52ba282
Merge branch 'code-differently:main' into main
JEKLUND251 Mar 11, 2025
ad7e866
added in lesson 3 quiz work
JEKLUND251 Mar 11, 2025
d74da43
commited the changes requested by anthony
JEKLUND251 Mar 12, 2025
1267efe
chore: cleaning up errors in quiz for test run.
JEKLUND251 Mar 12, 2025
d8d9aec
Merge branch 'main' into lesson_03
JEKLUND251 Mar 12, 2025
1dd4f62
Merge branch 'main' into lesson_03
JEKLUND251 Mar 13, 2025
4980f5e
chore:pushing changes up
JEKLUND251 Mar 14, 2025
efdcf32
Merge branch 'main' into lesson_03
JEKLUND251 Mar 14, 2025
c16ac10
chore: delete lesson_04/anthonydmays/justineklund/README.md
anthonydmays Mar 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lesson_03/quiz/quiz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ quiz:
- $2y$10$FquR69q7W4E68TX/SNCB7u8Ri0DOFRDqsUPdGfuyIBjZJRVFkNI.6
- $2y$10$FSWRA7hulVpyVxd8s67Nxuq/1cdmviW24qqoUbqihBf79cR.w9yly
- $2y$10$Qy1IsNsfuJvA384ypL/72uWubUuNbMRp4LD6j/LM0RIH66D/HIjF6
justin:
- $2y$10$yAoLMl8ij6NqmOWbedu/bu0jBUwJn29cr/l2riI9I89tSXvk6RD.q
- $2y$10$6wlesIJWKciE1ljq3CC0W.kOlNyNhkCdUxaLUWFFd/4GKn5FUT/2O
- $2y$10$5iFZunbLe8IG3LBzoRYGluE2.7gSl/L4cXEbib08pX3tYmiDyS/7G
niapack:
- $2y$10$AHKmPPaTlafHO3T5q..kAuAhAy4n8Kn.wcY7ZAeYgokCjitwyjqE2
- $2y$10$Z0g.9UO7qwkwoeNe8byn3.MVNIiIKBxa6ztLVHzDz.m5Ao5ozGqh6
Expand Down Expand Up @@ -84,3 +88,4 @@ quiz:
- $2y$10$7/GS4n5j/5TXQc5zjDzlc.2xBKwRqrsksWzcl7VKRwa.fDxzdficS
- $2y$10$9mfdal67CXoVG2phPKe1s.BpAT6HQeyQIiDtStfFazkPMW2AaW6Zu
- $2y$10$LiCnvad23bwZWZbxXLhs3.r/YdwIX9eAFtjofaW1AH3Htnc9sEU1G

61 changes: 61 additions & 0 deletions lesson_03/quiz/src/quizzes/justin_eklund_quiz.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
import {
AnswerChoice,
MultipleChoiceQuizQuestion,
QuizQuestion,
QuizQuestionProvider,
} from 'codedifferently-instructional';

export class JustinsQuiz implements QuizQuestionProvider {
getProviderName(): string {
return 'justin';
}

makeQuizQuestions(): QuizQuestion[] {
return [
JustinsQuiz.makeQuestion0(),
JustinsQuiz.makeQuestion1(),
JustinsQuiz.makeQuestion2(),
];
}

private static makeQuestion0(): QuizQuestion {
return new MultipleChoiceQuizQuestion(
0,
'How many planets are in our solar system?',
new Map<AnswerChoice, string>([
[AnswerChoice.A, '8'],
[AnswerChoice.B, '9'],
[AnswerChoice.C, '12'],
[AnswerChoice.D, '10'],
]),
AnswerChoice.UNANSWERED,
); // Replace `UNANSWERED` with the correct answer.
}

private static makeQuestion1(): QuizQuestion {
return new MultipleChoiceQuizQuestion(
1,
'How many states are there in the United States?',
new Map<AnswerChoice, string>([
[AnswerChoice.A, '53'],
[AnswerChoice.B, '52'],
[AnswerChoice.C, '48'],
[AnswerChoice.D, '50'],
]),
AnswerChoice.UNANSWERED,
); // Replace `UNANSWERED` with the correct answer.
}
private static makeQuestion2(): QuizQuestion {
return new MultipleChoiceQuizQuestion(
2,
'What date does Christmas fall on?',
new Map<AnswerChoice, string>([
[AnswerChoice.A, 'December 25th'],
[AnswerChoice.B, 'December 24th'],
[AnswerChoice.C, 'December 26th'],
[AnswerChoice.D, 'December 23rd'],
]),
AnswerChoice.UNANSWERED,
); // Replace `UNANSWERED` with the correct answer.
}
}
4 changes: 3 additions & 1 deletion lesson_03/quiz/src/quizzes/quizzes.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { MontezBradleyQuiz } from './montez_quiz.js';
import { NiaPackquiz } from './nia_quiz.js';
import { OliviaJamesQuiz } from './olivia_james_quiz.js';
import { RasheedMillerQuiz } from './rasheed_miller_quiz.js';

import { JustinsQuiz } from './justin_eklund_quiz.js';
export const Quizzes = Symbol.for('Quizzes');

// Add your quiz provider here.
Expand All @@ -40,13 +40,15 @@ const QUIZ_PROVIDERS = [
KhaylaSaundersQuiz,
DylanLaffertyQuiz,
RasheedMillerQuiz,
JustinsQuiz,
NiaPackquiz,
DavisDQuiz,
AnanatawaQuiz,
OliviaJamesQuiz,
ChanelHuttQuiz,
JeremiahWingQuiz,
JasonWatsonQuiz,

];

@Module({
Expand Down