From b14e18009a21f33d6971709742af6ea38c06012a Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 12:51:37 -0400 Subject: [PATCH 01/21] [!] Replace "blanks" with more technical term "whitespace" --- .../030_basic_types/04-enumeration_types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/030_basic_types/04-enumeration_types.rst b/courses/fundamentals_of_ada/030_basic_types/04-enumeration_types.rst index ad033c008..424575138 100644 --- a/courses/fundamentals_of_ada/030_basic_types/04-enumeration_types.rst +++ b/courses/fundamentals_of_ada/030_basic_types/04-enumeration_types.rst @@ -204,6 +204,6 @@ D. ``V4 : Enum_T := Enum_T'Value ("Able Baker Charlie");`` A. Legal B. Legal - conversion is case-insensitive - C. Legal - leading/trailing blanks are ignored + C. Legal - leading/trailing whitespace is ignored D. :ada:`Value` tries to convert entire string, which will fail at run-time From 10637cae10f32fa04d28b1325d7ebea74a2ab93e Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 12:55:30 -0400 Subject: [PATCH 02/21] [!] Correcting the statement (-10 is assigned to V, V is not assigned to -10) --- .../030_basic_types/02-discrete_numeric_types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types.rst b/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types.rst index d4fc0c52f..1f3d9b904 100644 --- a/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types.rst +++ b/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types.rst @@ -220,7 +220,7 @@ What happens when you try to compile/run this code? A. Compile error B. Run-time error -C. :answer:`V is assigned to -10` +C. :answer:`V is assigned the value -10` D. Unknown - depends on the compiler .. container:: animate From 6ab2dfcb4d13ce9aa592f056cc2c9be1be197aba Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 12:59:15 -0400 Subject: [PATCH 03/21] [!] Typo fix (should be "Unsigned" not "Signed" for var reference) --- .../030_basic_types/02-discrete_numeric_types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types.rst b/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types.rst index 1f3d9b904..89d9f21da 100644 --- a/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types.rst +++ b/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types.rst @@ -181,7 +181,7 @@ Neighbor Attributes for All Scalars ... Signed := Signed_T'Succ (Signed); -- Signed = 0 ... - Unsigned := Unsigned_T'Pred (Unsigned); -- Signed = 255 + Unsigned := Unsigned_T'Pred (Unsigned); -- Unsigned = 255 ------------------------------------ Min/Max Attributes for All Scalars From 53e0fd932d059eeea7142c180aea85b942ce865c Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 15:07:31 -0400 Subject: [PATCH 04/21] [-] Remove "So" in order to make this line read less like a dependency from the previous statement --- .../030_basic_types/02-discrete_numeric_types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types.rst b/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types.rst index 89d9f21da..c55a3c8cf 100644 --- a/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types.rst +++ b/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types.rst @@ -73,7 +73,7 @@ Operators for Signed Integer Type Exponentiation (:ada:`**`) result will be a signed integer - - So power **must** be :ada:`Integer` ``>= 0`` + - Power **must** be :ada:`Integer` ``>= 0`` .. warning:: Division by zero |rightarrow| :ada:`Constraint_Error` From 9e55698e42f6416e6cedb9f02d9296191dcf9100 Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 15:09:30 -0400 Subject: [PATCH 05/21] [!] Changing "Digits" to lowercase "digits" --- courses/fundamentals_of_ada/030_basic_types/10-subtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/030_basic_types/10-subtypes.rst b/courses/fundamentals_of_ada/030_basic_types/10-subtypes.rst index ed53a5237..c98076243 100644 --- a/courses/fundamentals_of_ada/030_basic_types/10-subtypes.rst +++ b/courses/fundamentals_of_ada/030_basic_types/10-subtypes.rst @@ -163,5 +163,5 @@ Which subtype definition is valid? A. This generates a run-time error because the first enumeral specified is not in the range of :ada:`Weekdays_T` B. Compile error - no type specified C. Correct - standalone subtype - D. :ada:`Digits 6` is used for a type definition, not a subtype + D. :ada:`digits 6` is used for a type definition, not a subtype From 1c1fcf353f0ca938c74c6b34da9371e15e7ed6c6 Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 15:11:19 -0400 Subject: [PATCH 06/21] [!] Typo fix: Cymk should be Cmyk --- .../fundamentals_of_ada/labs/answers/030_basic_types.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/courses/fundamentals_of_ada/labs/answers/030_basic_types.txt b/courses/fundamentals_of_ada/labs/answers/030_basic_types.txt index 9c3cfb7db..e65497cc5 100644 --- a/courses/fundamentals_of_ada/labs/answers/030_basic_types.txt +++ b/courses/fundamentals_of_ada/labs/answers/030_basic_types.txt @@ -7,14 +7,14 @@ procedure Main is type Degrees_T is mod 360; - type Cymk_T is (Cyan, Magenta, Yellow, Black); + type Cmyk_T is (Cyan, Magenta, Yellow, Black); Number_Of_Tests : Number_Of_Tests_T; Test_Score_Total : Test_Score_Total_T; Angle : Degrees_T; - Color : Cymk_T; + Color : Cmyk_T; --Declarations --Implementation @@ -34,7 +34,7 @@ begin -- operations / attributes Test_Score_Total := Test_Score_Total / Test_Score_Total_T (Number_Of_Tests); Angle := Angle + 359; - Color := Cymk_T'Pred (Cymk_T'Last); + Color := Cmyk_T'Pred (Cmyk_T'Last); Put_Line (Test_Score_Total'Image); Put_Line (Angle'Image); From 26cad2743de6f8da89f91427947a6ae00badeacb Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 15:12:21 -0400 Subject: [PATCH 07/21] [!] Typo fix: Cymk to Cmyk --- .../fundamentals_of_ada/labs/prompts/030_basic_types/main.adb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/courses/fundamentals_of_ada/labs/prompts/030_basic_types/main.adb b/courses/fundamentals_of_ada/labs/prompts/030_basic_types/main.adb index bb3e17f08..4bb3d5d10 100644 --- a/courses/fundamentals_of_ada/labs/prompts/030_basic_types/main.adb +++ b/courses/fundamentals_of_ada/labs/prompts/030_basic_types/main.adb @@ -9,8 +9,8 @@ procedure Main is -- type Degrees_T is ? -- Angle : Degrees_T; - -- type Cymk_T is ? - -- Color : Cymk_T; + -- type Cmyk_T is ? + -- Color : Cmyk_T; begin From 3758b646c86791b8d7b95da8ab482c0cef7cac0f Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 15:15:00 -0400 Subject: [PATCH 08/21] [!] Changing typename to "identifier" for consistency with earlier slides --- courses/fundamentals_of_ada/050_array_types/01-introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/050_array_types/01-introduction.rst b/courses/fundamentals_of_ada/050_array_types/01-introduction.rst index ed4608503..1c4c5cd12 100644 --- a/courses/fundamentals_of_ada/050_array_types/01-introduction.rst +++ b/courses/fundamentals_of_ada/050_array_types/01-introduction.rst @@ -12,7 +12,7 @@ What Is an Array? .. container:: latex_environment small - :ada:`type is array (Index_Type) of Component_Type;` + :ada:`type is array (Index_Type) of Component_Type;` where From 7cca6aa226c213b7596bd768090b04bc5a8e6222 Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 15:16:05 -0400 Subject: [PATCH 09/21] [!] Changing type to match diagram (Integer_16 instead of 32) --- courses/fundamentals_of_ada/050_array_types/01-introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/050_array_types/01-introduction.rst b/courses/fundamentals_of_ada/050_array_types/01-introduction.rst index 1c4c5cd12..155a07e69 100644 --- a/courses/fundamentals_of_ada/050_array_types/01-introduction.rst +++ b/courses/fundamentals_of_ada/050_array_types/01-introduction.rst @@ -27,7 +27,7 @@ where .. code:: Ada - type Array_T is array (0 .. 3) of Interfaces.Integer_32; + type Array_T is array (0 .. 3) of Interfaces.Integer_16; .. image:: array_diagram.svg From 7e5bea9fde877c07852f51da88d45168ea8a112c Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 15:20:08 -0400 Subject: [PATCH 10/21] [!] Typo fix for typename (Array_T should be Bit_Array_T) --- .../050_array_types/03-unconstrained_array_types.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/courses/fundamentals_of_ada/050_array_types/03-unconstrained_array_types.rst b/courses/fundamentals_of_ada/050_array_types/03-unconstrained_array_types.rst index 20df2bb67..75e266d23 100644 --- a/courses/fundamentals_of_ada/050_array_types/03-unconstrained_array_types.rst +++ b/courses/fundamentals_of_ada/050_array_types/03-unconstrained_array_types.rst @@ -242,10 +242,10 @@ Quiz Which declaration(s) is (are) legal? - A. ``AAA : Array_T (0..99);`` - B. :answermono:`BBB : Array_T (1..32);` - C. :answermono:`CCC : Array_T (17..16);` - D. ``DDD : Array_T;`` + A. ``AAA : Bit_Array_T (0..99);`` + B. :answermono:`BBB : Bit_Array_T (1..32);` + C. :answermono:`CCC : Bit_Array_T (17..16);` + D. ``DDD : Bit_Array_T;`` .. container:: column @@ -253,7 +253,7 @@ Quiz Explanations - A. :ada:`Array_T` index is :ada:`Positive` which starts at 1 + A. :ada:`Bit_Array_T` index is :ada:`Positive` which starts at 1 B. OK, indices are in range C. OK, indicates a zero-length array D. Object must be constrained From b58af496c3e93a706429f488ec5dc78f6394d3c7 Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 16:02:22 -0400 Subject: [PATCH 11/21] [!] Typo fix - "staring" to "starting" --- .../120_limited_types/03-creating_values.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/120_limited_types/03-creating_values.rst b/courses/fundamentals_of_ada/120_limited_types/03-creating_values.rst index 8589da80c..ae5d40422 100644 --- a/courses/fundamentals_of_ada/120_limited_types/03-creating_values.rst +++ b/courses/fundamentals_of_ada/120_limited_types/03-creating_values.rst @@ -70,7 +70,7 @@ Writing Limited Constructor Functions function F return Spin_Lock is begin ... - -- This is not legal staring with Ada2005 + -- This is not legal starting with Ada2005 return Global_X; -- this is a copy end F; From 9d4c663c54acd141cb71aa030aff616ff0c8af2e Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 16:03:56 -0400 Subject: [PATCH 12/21] [!] Made quiz question plural since there are multiple answers --- .../130_program_structure/05-visibility_limits.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/130_program_structure/05-visibility_limits.rst b/courses/fundamentals_of_ada/130_program_structure/05-visibility_limits.rst index ab11b98de..72905baca 100644 --- a/courses/fundamentals_of_ada/130_program_structure/05-visibility_limits.rst +++ b/courses/fundamentals_of_ada/130_program_structure/05-visibility_limits.rst @@ -178,7 +178,7 @@ Quiz .. container:: column - Which return statement would be legal in ``P.Child.X?`` + Which return statement(s) would be legal in ``P.Child.X?`` A. :answermono:`return Object_A;` B. :answermono:`return Object_B;` From 1f1e47d194c08cf18402552e9ca89502ce8f9397 Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 16:54:17 -0400 Subject: [PATCH 13/21] [-] Remove "attributes" because we are mixing terminology --- .../170_tagged_derivation/01-introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/170_tagged_derivation/01-introduction.rst b/courses/fundamentals_of_ada/170_tagged_derivation/01-introduction.rst index 6b6ad791c..53cb0d589 100644 --- a/courses/fundamentals_of_ada/170_tagged_derivation/01-introduction.rst +++ b/courses/fundamentals_of_ada/170_tagged_derivation/01-introduction.rst @@ -13,7 +13,7 @@ Object-Oriented Programming with Tagged Types type T is tagged record ... -* Child types can add new components (*attributes*) +* Child types can add new components * Object of a child type can be **substituted** for base type * Primitive (*method*) can :dfn:`dispatch` **at run-time** depending on the type at call-site * Types can be **extended** by other packages From d10dbd794c3c7ed410055fa71e50ea5332f2751f Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 16:55:19 -0400 Subject: [PATCH 14/21] [-] Remove inconsistent terminology (method) --- .../170_tagged_derivation/01-introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/170_tagged_derivation/01-introduction.rst b/courses/fundamentals_of_ada/170_tagged_derivation/01-introduction.rst index 53cb0d589..fe7841f74 100644 --- a/courses/fundamentals_of_ada/170_tagged_derivation/01-introduction.rst +++ b/courses/fundamentals_of_ada/170_tagged_derivation/01-introduction.rst @@ -15,7 +15,7 @@ Object-Oriented Programming with Tagged Types * Child types can add new components * Object of a child type can be **substituted** for base type -* Primitive (*method*) can :dfn:`dispatch` **at run-time** depending on the type at call-site +* Primitive can :dfn:`dispatch` **at run-time** depending on the type at call-site * Types can be **extended** by other packages - Conversion and qualification to base type is allowed From 86a66fcbf2e6138ce1fe290fefc10e1d643f5733 Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 16:57:03 -0400 Subject: [PATCH 15/21] [!] Typo fix ("Child" should be "Dog") --- .../180_polymorphism/04-exotic_dispatching_operations.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/180_polymorphism/04-exotic_dispatching_operations.rst b/courses/fundamentals_of_ada/180_polymorphism/04-exotic_dispatching_operations.rst index 78780159b..29b68971b 100644 --- a/courses/fundamentals_of_ada/180_polymorphism/04-exotic_dispatching_operations.rst +++ b/courses/fundamentals_of_ada/180_polymorphism/04-exotic_dispatching_operations.rst @@ -47,7 +47,7 @@ Special Case for Equality type Dog is new Animal with null record; overriding function "=" (Left : Dog; Right : Dog) return Boolean; Animal_1, Animal_2 : Animal; - Dog_1, Dog_2 : Child; + Dog_1, Dog_2 : Dog; Any_Animal_1 : Animal'Class := Animal_1; Any_Animal_2 : Animal'Class := Animal_2; Dog_Animal : Animal'Class := Dog_1; From 606be9288db9aa8e1659a1cbb1467b4cae4b8279 Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 16:58:56 -0400 Subject: [PATCH 16/21] [!] Bulldog should derive from dog --- .../180_polymorphism/04-exotic_dispatching_operations.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/180_polymorphism/04-exotic_dispatching_operations.rst b/courses/fundamentals_of_ada/180_polymorphism/04-exotic_dispatching_operations.rst index 29b68971b..9b8a9ce35 100644 --- a/courses/fundamentals_of_ada/180_polymorphism/04-exotic_dispatching_operations.rst +++ b/courses/fundamentals_of_ada/180_polymorphism/04-exotic_dispatching_operations.rst @@ -79,7 +79,7 @@ Controlling Result (1/2) type Dog is new Animal with null record; -- OK, Feed_Treats is implicitly inherited - type Bulldog is new Animal with record + type Bulldog is new Dog with record Has_Underbite : Boolean; end record; -- ERROR no implicitly inherited function Feed_Treats From 75c81d100cce04c5e90259fc8dc19c3f420e4938 Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 17:00:41 -0400 Subject: [PATCH 17/21] [!] Reformatting to see if it fixes the "Ada View" bullet missing info --- .../230_interfacing_with_c/03-parameter_passing.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/courses/fundamentals_of_ada/230_interfacing_with_c/03-parameter_passing.rst b/courses/fundamentals_of_ada/230_interfacing_with_c/03-parameter_passing.rst index 319dc3bf0..ecd5a434b 100644 --- a/courses/fundamentals_of_ada/230_interfacing_with_c/03-parameter_passing.rst +++ b/courses/fundamentals_of_ada/230_interfacing_with_c/03-parameter_passing.rst @@ -64,6 +64,7 @@ Passing Structures As Parameters * Ada View .. code:: Ada + type Enum is (E1, E2, E3) with Convention => C; type Rec is record A, B : int; From 8bafeb06c11eb0fc29195bf5c504e3f37e6a5847 Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 17:03:29 -0400 Subject: [PATCH 18/21] [!] Typo fix: change "Input" to "Get_Vector" --- courses/fundamentals_of_ada/070_subprograms/02-syntax.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/070_subprograms/02-syntax.rst b/courses/fundamentals_of_ada/070_subprograms/02-syntax.rst index 92f14ec98..27ef66dc3 100644 --- a/courses/fundamentals_of_ada/070_subprograms/02-syntax.rst +++ b/courses/fundamentals_of_ada/070_subprograms/02-syntax.rst @@ -172,7 +172,7 @@ Direct Recursion - No Declaration Needed else return Get_Vector & Next; end if; - end Input; + end Get_Vector; ---------------------------- Indirect Recursion Example From e1a72c77a432a29ab883cba397fc65cd987b6bad Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 17:35:29 -0400 Subject: [PATCH 19/21] [!] Adding explicit conversion so that numbers are meaningful --- .../labs/answers/230_interfacing_with_c.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/courses/fundamentals_of_ada/labs/answers/230_interfacing_with_c.txt b/courses/fundamentals_of_ada/labs/answers/230_interfacing_with_c.txt index c3376fda2..aeb4ae3b5 100644 --- a/courses/fundamentals_of_ada/labs/answers/230_interfacing_with_c.txt +++ b/courses/fundamentals_of_ada/labs/answers/230_interfacing_with_c.txt @@ -20,11 +20,11 @@ procedure Main is Object_Feet : constant Data_T := (Distance => 6_000.0, Distance_Type => Feet, - Seconds => One_Minute_In_Seconds); + Seconds => Interfaces.C.C_float(One_Minute_In_Seconds)); Object_Meters : constant Data_T := (Distance => 3_000.0, Distance_Type => Meters, - Seconds => One_Hour_In_Seconds); + Seconds => Interfaces.C.C_float(One_Hour_In_Seconds)); Object_Miles : constant Data_T := (Distance => 1.0, Distance_Type => From 66fc9d6daa173f11e3d18ea5a59977271a85724d Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 18:19:36 -0400 Subject: [PATCH 20/21] [!] Typo fixes --- .../030_basic_types/02-discrete_numeric_types_with_mod.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types_with_mod.rst b/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types_with_mod.rst index 7eafbf9a4..0b7d937dc 100644 --- a/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types_with_mod.rst +++ b/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types_with_mod.rst @@ -73,7 +73,7 @@ Operators for Signed Integer Type Exponentiation (:ada:`**`) result will be a signed integer - - So power **must** be :ada:`Integer` ``>= 0`` + - Power **must** be :ada:`Integer` ``>= 0`` .. warning:: Division by zero |rightarrow| :ada:`Constraint_Error` @@ -243,7 +243,7 @@ Neighbor Attributes for All Scalars ... Signed := Signed_T'Succ (Signed); -- Signed = 0 ... - Unsigned := Unsigned_T'Pred (Unsigned); -- Signed = 255 + Unsigned := Unsigned_T'Pred (Unsigned); -- Unsigned = 255 ------------------------------------ Min/Max Attributes for All Scalars From 754a0e741b86389bdb58150965ef1b418e77ef71 Mon Sep 17 00:00:00 2001 From: Dana Binkley Date: Wed, 2 Jul 2025 18:25:17 -0400 Subject: [PATCH 21/21] [!] Rephrasing answer for V assignment --- .../030_basic_types/02-discrete_numeric_types_with_mod.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types_with_mod.rst b/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types_with_mod.rst index 0b7d937dc..29d621920 100644 --- a/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types_with_mod.rst +++ b/courses/fundamentals_of_ada/030_basic_types/02-discrete_numeric_types_with_mod.rst @@ -282,7 +282,7 @@ What happens when you try to compile/run this code? A. Compile error B. Run-time error -C. :answer:`V is assigned to -10` +C. :answer:`V is assigned the value -10` D. Unknown - depends on the compiler .. container:: animate