Skip to content

Commit 6d59cf4

Browse files
committed
Line edits2
1 parent 7aaa4ac commit 6d59cf4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

learn-pr/language/dotnet-debug/7-knowledge-check.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ uid: learn.dotnet-debug.7-knowledge-check
33
title: Module assessment
44
metadata:
55
title: Module assessment
6-
description: Check what you've learned.
6+
description: Check what you learned.
77
author: jongalloway
88
ms.author: jogallow
99
ms.manager: markl
@@ -33,24 +33,24 @@ quiz:
3333
choices:
3434
- content: '`Debug.Assert(count != 0, "Count should not be 0.");`'
3535
isCorrect: false
36-
explanation: "Assert tests a condition. If it's true, nothing will happen or else the application will enter break mode. So here, if the count is 0, it will enter break mode."
36+
explanation: "Assert tests a condition. If it's true, nothing happens or else the application enters break mode. So here, if the count is 0, it enters break mode."
3737
- content: '`Debug.Assert(count == 0, "Count should not be 0.");`'
3838
isCorrect: false
39-
explanation: "Assert tests a condition. If it's true, nothing will happen or else the application will enter break mode. So here, if the count is 0, nothing will happen."
39+
explanation: "Assert tests a condition. If it's true, nothing happens or else the application enters break mode. So here, if the count is 0, nothing happens."
4040
- content: '`Debug.WriteIf(count != 0, "Count should not be 0.");`'
4141
isCorrect: false
4242
explanation: "This code prints a message when the count doesn't equal 0."
4343
- content: '`Debug.WriteIf(count == 0, "Count should not be 0.");`'
4444
isCorrect: true
45-
explanation: "This code will only print a debug message when the count is 0."
45+
explanation: "This code only prints a debug message when the count is 0."
4646
- content: "What are the top two values a debugger provides?"
4747
choices:
4848
- content: "Control of your program execution and observation of your program's state"
4949
isCorrect: true
5050
explanation: "The two main values almost every debugger provides are the ability to control program execution and to observe program state."
5151
- content: "Modifying program values and changing your program output"
5252
isCorrect: false
53-
explanation: "Changing your program's output isn't useful because it will only have effect when the application is being debugged."
53+
explanation: "Changing your program's output isn't useful because it only has an effect when the application is being debugged."
5454
- content: "Observing your program's state and modifying your program values"
5555
isCorrect: false
5656
explanation: "Observing and modifying values are important, but it's also important to be able to control the flow of program execution."
@@ -62,7 +62,7 @@ quiz:
6262
- content: "Use the Variables panel because it shows all variables that are currently in scope."
6363
isCorrect: false
6464
explanation: "While the Variables panel does display all variables currently in scope, it's not the best way to watch the value of a specific variable."
65-
- content: "Hover over the variable in the code editor to display the value."
65+
- content: "Display the value by hovering over the variable in the code editor."
6666
isCorrect: false
6767
explanation: "While hovering does display the variable's current value, it's a manual process and isn't efficient."
6868
- content: "Use the Watch panel to select specific variables or expressions to watch throughout the program's execution."

0 commit comments

Comments
 (0)