diff --git a/client/src/templates/Challenges/odin/show.tsx b/client/src/templates/Challenges/odin/show.tsx index fece1ccdba4..29380b4312e 100644 --- a/client/src/templates/Challenges/odin/show.tsx +++ b/client/src/templates/Challenges/odin/show.tsx @@ -20,6 +20,7 @@ import { ChallengeNode, ChallengeMeta } from '../../../redux/prop-types'; import Hotkeys from '../components/hotkeys'; import VideoPlayer from '../components/video-player'; import CompletionModal from '../components/completion-modal'; +import HelpModal from '../components/help-modal'; import PrismFormatted from '../components/prism-formatted'; import { challengeMounted, @@ -46,7 +47,8 @@ const mapDispatchToProps = (dispatch: Dispatch) => updateChallengeMeta, challengeMounted, updateSolutionFormValues, - openCompletionModal: () => openModal('completion') + openCompletionModal: () => openModal('completion'), + openHelpModal: () => openModal('help') }, dispatch ); @@ -58,6 +60,7 @@ interface ShowOdinProps { description: string; isChallengeCompleted: boolean; openCompletionModal: () => void; + openHelpModal: () => void; pageContext: { challengeMeta: ChallengeMeta; }; @@ -211,12 +214,14 @@ class ShowOdin extends Component { videoId, videoLocaleIds, bilibiliIds, + fields: { blockName }, question: { text, answers, solution }, assignments } } }, openCompletionModal, + openHelpModal, pageContext: { challengeMeta: { nextChallengePath, prevChallengePath } }, @@ -358,9 +363,19 @@ class ShowOdin extends Component { > {t('buttons.check-answer')} + + @@ -399,6 +414,7 @@ export const query = graphql` block fields { slug + blockName } question { text diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/add-looping-logic-to-your-code-using-the-do-while-and-while-statements-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/add-looping-logic-to-your-code-using-the-do-while-and-while-statements-in-c-sharp.md index 9da297c5928..8049c971ca3 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/add-looping-logic-to-your-code-using-the-do-while-and-while-statements-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/add-looping-logic-to-your-code-using-the-do-while-and-while-statements-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Add Looping Logic to Your Code Using the `do`-`while` and `while` Statements in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- A developer needs to iterate through an array of items to find one that matches a certain criteria. Which is the best iteration statement for this purpose? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/branch-the-flow-of-code-using-the-switch-case-construct-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/branch-the-flow-of-code-using-the-switch-case-construct-in-c-sharp.md index de833c5aa0e..b2eadb0b64d 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/branch-the-flow-of-code-using-the-switch-case-construct-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/branch-the-flow-of-code-using-the-switch-case-construct-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Branch the Flow of Code Using the `switch`-`case` Construct in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- What is the purpose of the `break` keyword? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/challenge-project-develop-branching-and-looping-structures-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/challenge-project-develop-branching-and-looping-structures-in-c-sharp.md index 92e82819c19..8d5a596852d 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/challenge-project-develop-branching-and-looping-structures-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/challenge-project-develop-branching-and-looping-structures-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Develop Branching and Looping Structures in C# challenge project on Microsoft Learn. Then, answer the question below. + ## --text-- A developer needs to create an iteration statement. Under what condition is a `while` statement a better choice than a `do` statement? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/control-variable-scope-and-logic-using-code-blocks-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/control-variable-scope-and-logic-using-code-blocks-in-c-sharp.md index 522485e8f96..607d8ae6969 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/control-variable-scope-and-logic-using-code-blocks-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/control-variable-scope-and-logic-using-code-blocks-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Control Variable Scope and Logic Using Code Blocks in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- Which of the following describes the affect of a `using` statement? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/evaluate-boolean-expressions-to-make-decisions-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/evaluate-boolean-expressions-to-make-decisions-in-c-sharp.md index d1d8a51dc51..087b1de6730 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/evaluate-boolean-expressions-to-make-decisions-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/evaluate-boolean-expressions-to-make-decisions-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Evaluate Boolean Expressions to Make Decisions in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- Which of the following lines of code is a valid use of the conditional operator? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/guided-project-develop-conditional-branching-and-looping-structures-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/guided-project-develop-conditional-branching-and-looping-structures-in-c-sharp.md index 1d07420a0ec..edb3a4368a3 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/guided-project-develop-conditional-branching-and-looping-structures-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/guided-project-develop-conditional-branching-and-looping-structures-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Develop Conditional Branching and Looping Structures in C# guided project on Microsoft Learn. Then, answer the question below. + ## --text-- When is it appropriate to use a `switch-case` construct rather than a `if-elseif-else` construct? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/iterate-through-a-code-block-using-the-for-statement-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/iterate-through-a-code-block-using-the-for-statement-in-c-sharp.md index cc84ee88d01..126645d1928 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/iterate-through-a-code-block-using-the-for-statement-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/add-logic-to-c-sharp-console-applications/iterate-through-a-code-block-using-the-for-statement-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Iterate Through a Code Block Using the `for` Statement in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- Which of the following `for` statements is correct? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/add-decision-logic-to-your-code-using-if-else-and-else-if-statements-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/add-decision-logic-to-your-code-using-if-else-and-else-if-statements-in-c-sharp.md index 6df7656eec1..0df3de9c0fb 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/add-decision-logic-to-your-code-using-if-else-and-else-if-statements-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/add-decision-logic-to-your-code-using-if-else-and-else-if-statements-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Add Decision Logic to Your Code Using `if`, `else`, and `else if` Statements in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- Which of the choices below is not a valid operator in C#? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/call-methods-from-the-dot-net-class-library-using-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/call-methods-from-the-dot-net-class-library-using-c-sharp.md index 7ad3781dedd..483086dc122 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/call-methods-from-the-dot-net-class-library-using-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/call-methods-from-the-dot-net-class-library-using-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Call Methods from the .NET Class Library Using C# module on Microsoft Learn. Then, answer the question below. + ## --text-- What is an object? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/challenge-project-develop-foreach-and-if-elseif-else-structures-to-process-array-data-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/challenge-project-develop-foreach-and-if-elseif-else-structures-to-process-array-data-in-c-sharp.md index 78efabe8ff6..42182ba4014 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/challenge-project-develop-foreach-and-if-elseif-else-structures-to-process-array-data-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/challenge-project-develop-foreach-and-if-elseif-else-structures-to-process-array-data-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Develop `foreach` and `if`-`elseif`-`else` Structures to Process Array Data in C# challenge project on Microsoft Learn. Then, answer the question below. + ## --text-- A developer is working with two other developers to update a collection of applications. The developers will use code comments during the update process. Which of the following describes an appropriate use of code comments? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/create-readable-code-with-conventions-whitespace-and-comments-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/create-readable-code-with-conventions-whitespace-and-comments-in-c-sharp.md index ab320f65dbc..280c284e63d 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/create-readable-code-with-conventions-whitespace-and-comments-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/create-readable-code-with-conventions-whitespace-and-comments-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Create Readable Code with Conventions, Whitespace, and Comments in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- Which of the following is a bad reason to use a code comment? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/guided-project-develop-foreach-and-if-elseif-else-structures-to-process-array-data-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/guided-project-develop-foreach-and-if-elseif-else-structures-to-process-array-data-in-c-sharp.md index 824d77f6bfa..09450a7626e 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/guided-project-develop-foreach-and-if-elseif-else-structures-to-process-array-data-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/guided-project-develop-foreach-and-if-elseif-else-structures-to-process-array-data-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Develop `foreach` and `if`-`elseif`-`else` Structures to Process Array Data in C# guided project on Microsoft Learn. Then, answer the question below. + ## --text-- A developer writes an application that uses a `foreach` loop to iterate through an array containing 20 elements. After the application is complete, the developer learns that the array must be updated to include 40 elements. The application needs to examine all 40 array elements. Which of the following items describes the required code update? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/install-and-configure-visual-studio-code.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/install-and-configure-visual-studio-code.md index 2b823ab1657..293d196cf6f 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/install-and-configure-visual-studio-code.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/install-and-configure-visual-studio-code.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Install and Configure Visual Studio Code module on Microsoft Learn. Then, answer the question below. + ## --text-- Which of the following choices provides the best description of an Integrated Development Environment (IDE)? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/store-and-iterate-through-sequences-of-data-using-arrays-and-the-foreach-statement-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/store-and-iterate-through-sequences-of-data-using-arrays-and-the-foreach-statement-in-c-sharp.md index 8149d082eb4..ff8a59faad8 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/store-and-iterate-through-sequences-of-data-using-arrays-and-the-foreach-statement-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-and-run-simple-c-sharp-console-applications/store-and-iterate-through-sequences-of-data-using-arrays-and-the-foreach-statement-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Store and Iterate Through Sequences of Data Using Arrays and the `foreach` Statement in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- Which of the following foreach statements is syntactically correct? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/challenge-project-create-a-mini-game.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/challenge-project-create-a-mini-game.md index 74a50b662e2..1f9c05bfa10 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/challenge-project-create-a-mini-game.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/challenge-project-create-a-mini-game.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Create a Mini-Game challenge project on Microsoft Learn. Then, answer the question below. + ## --text-- A developer wants to create a method that returns a value in an array. Which of the following options would be a good choice for a method signature? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/create-c-sharp-methods-that-return-values.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/create-c-sharp-methods-that-return-values.md index 9991929bd51..a9b515292fa 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/create-c-sharp-methods-that-return-values.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/create-c-sharp-methods-that-return-values.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Create C# Methods that Return Values module on Microsoft Learn. Then, answer the question below. + ## --text-- Which of the following options correctly returns a `string` value? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/create-c-sharp-methods-with-parameters.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/create-c-sharp-methods-with-parameters.md index f93eab1fa13..987fc1a4c7c 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/create-c-sharp-methods-with-parameters.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/create-c-sharp-methods-with-parameters.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Create C# Methods with Parameters module on Microsoft Learn. Then, answer the question below. + ## --text-- Given the method signature, diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/guided-project-plan-a-petting-zoo-visit.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/guided-project-plan-a-petting-zoo-visit.md index 67cf7ef2173..aea8d011c19 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/guided-project-plan-a-petting-zoo-visit.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/guided-project-plan-a-petting-zoo-visit.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Plan a Petting Zoo Visit guided project on Microsoft Learn. Then, answer the question below. + ## --text-- What is the purpose of defining an optional parameter in a method? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/write-your-first-c-sharp-method.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/write-your-first-c-sharp-method.md index 4265f888f9d..9c519fc45b8 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/write-your-first-c-sharp-method.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/create-methods-in-c-sharp-console-applications/write-your-first-c-sharp-method.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Write Your First C# Method module on Microsoft Learn. Then, answer the question below. + ## --text-- Which of the following correctly declares a method? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/challenge-project-debug-a-c-sharp-console-application-using-visual-studio-code.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/challenge-project-debug-a-c-sharp-console-application-using-visual-studio-code.md index 614282cabef..a3c277a6b52 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/challenge-project-debug-a-c-sharp-console-application-using-visual-studio-code.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/challenge-project-debug-a-c-sharp-console-application-using-visual-studio-code.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Debug a C# Console Application Using Visual Studio Code challenge project on Microsoft Learn. Then, answer the question below. + ## --text-- Which of the following options can be used set a breakpoint in Visual Studio Code? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/create-and-throw-exceptions-in-c-sharp-console-applications.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/create-and-throw-exceptions-in-c-sharp-console-applications.md index d150a0c6aa5..a69bca3fe8c 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/create-and-throw-exceptions-in-c-sharp-console-applications.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/create-and-throw-exceptions-in-c-sharp-console-applications.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Create and Throw Exceptions in C# Console Applications module on Microsoft Learn. Then, answer the question below. + ## --text-- When should a method throw an exception? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/guided-project-debug-and-handle-exceptions-in-a-c-sharp-console-application-using-visual-studio-code.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/guided-project-debug-and-handle-exceptions-in-a-c-sharp-console-application-using-visual-studio-code.md index ef71b049989..29d1a1fab5f 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/guided-project-debug-and-handle-exceptions-in-a-c-sharp-console-application-using-visual-studio-code.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/guided-project-debug-and-handle-exceptions-in-a-c-sharp-console-application-using-visual-studio-code.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Debug and Handle Exceptions in a C# Console Application Using Visual Studio Code guided project on Microsoft Learn. Then, answer the question below. + ## --text-- When is an `ArgumentOutOfRangeException` exception thrown? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/implement-exception-handling-in-c-sharp-console-applications.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/implement-exception-handling-in-c-sharp-console-applications.md index 8d76fb02c27..d5c119ead9b 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/implement-exception-handling-in-c-sharp-console-applications.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/implement-exception-handling-in-c-sharp-console-applications.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Implement Exception Handling in C# Console Applications module on Microsoft Learn. Then, answer the question below. + ## --text-- When is an `ArrayTypeMismatchException` exception thrown? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/implement-the-visual-studio-code-debugging-tools-for-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/implement-the-visual-studio-code-debugging-tools-for-c-sharp.md index 2eb7b805f1e..211c8a0fe71 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/implement-the-visual-studio-code-debugging-tools-for-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/implement-the-visual-studio-code-debugging-tools-for-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Implement the Visual Studio Code Debugging Tools for C# module on Microsoft Learn. Then, answer the question below. + ## --text-- Which section of the RUN AND DEBUG view is used to track the current point of execution within the running application? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/review-the-principles-of-code-debugging-and-exception-handling.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/review-the-principles-of-code-debugging-and-exception-handling.md index 5082edd0fba..fb54c916c41 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/review-the-principles-of-code-debugging-and-exception-handling.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/debug-c-sharp-console-applications/review-the-principles-of-code-debugging-and-exception-handling.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Review the Principles of Code Debugging and Exception Handling module on Microsoft Learn. Then, answer the question below. + ## --text-- What is the relationship between the type of exception and the information it contains? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/challenge-project-work-with-variable-data-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/challenge-project-work-with-variable-data-in-c-sharp.md index 847ab5ae91e..2132f7a9f5a 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/challenge-project-work-with-variable-data-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/challenge-project-work-with-variable-data-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Work with Variable Data in C# challenge project on Microsoft Learn. Then, answer the question below. + ## --text-- To sort a string array, why is it important to use the `String.Trim()` method on each array element before sorting? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/choose-the-correct-data-type-in-your-c-sharp-code.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/choose-the-correct-data-type-in-your-c-sharp-code.md index 1ea71af23eb..775269bc9ee 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/choose-the-correct-data-type-in-your-c-sharp-code.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/choose-the-correct-data-type-in-your-c-sharp-code.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Choose the Correct Data Type in Your C# Code module on Microsoft Learn. Then, answer the question below. + ## --text-- A piece of code must store whole numeric values between negative and positive `1,000,000`. Which data type should you choose? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/convert-data-types-using-casting-and-conversion-techniques-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/convert-data-types-using-casting-and-conversion-techniques-in-c-sharp.md index 329c9305a1e..d66b9bb6506 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/convert-data-types-using-casting-and-conversion-techniques-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/convert-data-types-using-casting-and-conversion-techniques-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Convert Data Types Using Casting and Conversion Techniques in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- What type of action is being performed when changing a `float` into an `int`? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/format-alphanumeric-data-for-presentation-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/format-alphanumeric-data-for-presentation-in-c-sharp.md index 3c3cbc4381f..cf7d56e8cfb 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/format-alphanumeric-data-for-presentation-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/format-alphanumeric-data-for-presentation-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Format Alphanumeric Data for Presentation in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- For the C# code `Console.WriteLine("C110".PadLeft(6, '0'));`, which is the expected output? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/guided-project-work-with-variable-data-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/guided-project-work-with-variable-data-in-c-sharp.md index 0414a8b434b..3fa55459cb6 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/guided-project-work-with-variable-data-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/guided-project-work-with-variable-data-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Work with Variable Data in C# guided project on Microsoft Learn. Then, answer the question below. + ## --text-- For the code `decimal.TryParse(numberString, out myConvert))` when the type of `numberString` is a String. diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/modify-the-content-of-string-using-built-in-string-data-type-methods-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/modify-the-content-of-string-using-built-in-string-data-type-methods-in-c-sharp.md index cb6c9cc80ba..618a8d08892 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/modify-the-content-of-string-using-built-in-string-data-type-methods-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/modify-the-content-of-string-using-built-in-string-data-type-methods-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Modify the Content of Strings Using Built-In String Data Type Methods in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- Which method finds the next index of either the `-` char, the `=` char, or the `_` char? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/perform-operations-on-arrays-using-helpers-methods-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/perform-operations-on-arrays-using-helpers-methods-in-c-sharp.md index 35aa9b6df4f..aeac0495b53 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/perform-operations-on-arrays-using-helpers-methods-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/perform-operations-on-arrays-using-helpers-methods-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Perform Operations on Arrays Using Helper Methods in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- Which method changes the order of items in an `string` array? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/guided-project-calculate-and-print-student-grades.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/guided-project-calculate-and-print-student-grades.md index 2fa4818f4d3..7a7836123bb 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/guided-project-calculate-and-print-student-grades.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/guided-project-calculate-and-print-student-grades.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Calculate and Print Student Grades guided project on Microsoft Learn. Then, answer the question below. + ## --text-- What is wrong with the following code? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/guided-project-calculate-final-gpa.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/guided-project-calculate-final-gpa.md index a7e0bd988c2..f4d5d576477 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/guided-project-calculate-final-gpa.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/guided-project-calculate-final-gpa.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Calculate Final GPA guided project on Microsoft Learn. Then, answer the question below. + ## --text-- Suppose `decimal gradePointAverage = 3.99872831m;`. diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/perform-basic-operations-on-numbers-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/perform-basic-operations-on-numbers-in-c-sharp.md index bde528a98d4..64bf2f449cc 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/perform-basic-operations-on-numbers-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/perform-basic-operations-on-numbers-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Perform Basic Operations on Numbers in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- What is the value of the following result? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/perform-basic-string-formatting-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/perform-basic-string-formatting-in-c-sharp.md index 9db5ff7c83b..d1ccc332dc6 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/perform-basic-string-formatting-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/perform-basic-string-formatting-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Perform Basic String Formatting in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- Which of the following lines of code correctly uses string interpolation assuming that the variable `value` is a string? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/store-and-retrieve-data-using-literal-and-variable-values-in-c-sharp.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/store-and-retrieve-data-using-literal-and-variable-values-in-c-sharp.md index 4845220e7ad..5780fb0135e 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/store-and-retrieve-data-using-literal-and-variable-values-in-c-sharp.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/store-and-retrieve-data-using-literal-and-variable-values-in-c-sharp.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Store and Retrieve Data Using Literal and Variable Values in C# module on Microsoft Learn. Then, answer the question below. + ## --text-- Which of the following lines of code creates a variable correctly? diff --git a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/write-your-first-c-sharp-code.md b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/write-your-first-c-sharp-code.md index 2e80c8b6cfe..8b321777d96 100644 --- a/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/write-your-first-c-sharp-code.md +++ b/curriculum/challenges/english/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/write-your-first-c-sharp-code.md @@ -14,6 +14,10 @@ This challenge will be partially completed on the Microsoft Learn platform. Foll # --question-- +## --assignment-- + +Complete the Write Your First C# Code module on Microsoft Learn. Then, answer the question below. + ## --text-- What is the difference between `Console.Write` and `Console.WriteLine`? diff --git a/shared/config/challenge-types.ts b/shared/config/challenge-types.ts index b9cceeb2fc8..c1993d9993c 100644 --- a/shared/config/challenge-types.ts +++ b/shared/config/challenge-types.ts @@ -93,7 +93,7 @@ export const viewTypes = { [colab]: 'frontend', [exam]: 'exam', [msTrophy]: 'msTrophy', - [multipleChoice]: 'video', + [multipleChoice]: 'odin', [python]: 'modern' };