Skip to content

Commit ab9ca60

Browse files
Merge branch 'slides/140-break-100_packages-into-chapters' into 'master'
Resolve "Break 100_packages into chapters" Closes #140 See merge request feng/training/material!225
2 parents aa0086e + 57dba40 commit ab9ca60

File tree

11 files changed

+717
-751
lines changed

11 files changed

+717
-751
lines changed

courses/fundamentals_of_ada/030_basic_types/06-character_types.rst

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -96,24 +96,7 @@ Ada.Characters.Handling Sample Content
9696
Quiz
9797
------
9898

99-
..
100-
This file is auto-generated from the quiz template, it should not be modified
101-
directly. Read README.md for more information.
102-
103-
.. code:: Ada
104-
105-
type T1 is (NUL, A, B, 'C');
106-
for T1 use (NUL => 0, A => 1, B => 2, 'C' => 3);
107-
type T2 is array (Positive range <>) of T1;
108-
Obj : T2 := "CC" & A & NUL;
109-
110-
Which of the following proposition(s) is (are) true
111-
112-
A. The code fails at run-time
113-
B. ``Obj'Length = 3``
114-
C. :answermono:`Obj (1) = 'C'`
115-
D. :answermono:`Obj (3) = A`
116-
.. include:: quiz/user_defined_character/quiz.rst
99+
.. include:: ../quiz/user_defined_character/quiz.rst
117100

118101
------
119102
Quiz

courses/fundamentals_of_ada/060_record_types/02-components_rules.rst

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -94,29 +94,6 @@ Multiple Declarations
9494
Quiz
9595
------
9696

97-
..
98-
This file is auto-generated from the quiz template, it should not be modified
99-
directly. Read README.md for more information.
100-
101-
.. code:: Ada
102-
103-
type Record_T is record
104-
-- Definition here
105-
end record;
106-
107-
Which record definition(s) is (are) legal?
108-
109-
A. ``Component_1 : array (1 .. 3) of Boolean``
110-
B. :answermono:`Component_2, Component_3 : Integer`
111-
C. ``Component_1 : Record_T``
112-
D. ``Component_1 : constant Integer := 123``
113-
114-
.. container:: animate
115-
116-
A. Anonymous types not allowed
117-
B. Correct
118-
C. No recursive definition
119-
D. No constant component
12097
.. include:: ../quiz/record_component_decl/quiz.rst
12198

12299
------

0 commit comments

Comments
 (0)