Skip to content

Commit 74092fd

Browse files
committed
remove some more interronegatives
1 parent d0888f6 commit 74092fd

File tree

5 files changed

+40
-40
lines changed

5 files changed

+40
-40
lines changed

courses/fundamentals_of_ada/040_statements.rst

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -308,15 +308,15 @@ Quiz
308308
309309
.. container:: column
310310

311-
Which block is **not** legal?
311+
Which block(s) is (are) legal?
312312

313-
A. | ``X := A;``
314-
| ``Y := A;``
315-
B. | ``X := B;``
316-
| ``Y := C;``
317-
C. | :answermono:`X := One_T(X + C);`
318-
D. | ``X := One_T(Y);``
319-
| ``Y := Two_T(X);``
313+
A. | :answermono:`X := A;`
314+
| :answermono:`Y := A;`
315+
B. | :answermono:`X := B;`
316+
| :answermono:`Y := C;`
317+
C. | ``X := One_T(X + C);``
318+
D. | :answermono:`X := One_T(Y);`
319+
| :answermono:`Y := Two_T(X);`
320320
321321
.. container:: animate
322322

@@ -928,20 +928,20 @@ Quiz
928928
929929
A, B : Integer := 123;
930930
931-
Which loop block is **not** legal?
931+
Which loop block(s) is (are) legal?
932932

933-
A. | :answermono:`for A in 1 .. 10 loop`
934-
| :answermono:`A := A + 1;`
935-
| :answermono:`end loop;`
936-
B. | ``for B in 1 .. 10 loop``
937-
| ``Put_Line (Integer'Image (B));``
938-
| ``end loop;``
939-
C. | ``for C in reverse 1 .. 10 loop``
940-
| ``Put_Line (Integer'Image (C));``
941-
| ``end loop;``
942-
D. | ``for D in 10 .. 1 loop``
943-
| ``Put_Line (Integer'Image (D));``
933+
A. | ``for A in 1 .. 10 loop``
934+
| ``A := A + 1;``
944935
| ``end loop;``
936+
B. | :answermono:`for B in 1 .. 10 loop`
937+
| :answermono:`Put_Line (Integer'Image (B));`
938+
| :answermono:`end loop;`
939+
C. | :answermono:`for C in reverse 1 .. 10 loop`
940+
| :answermono:`Put_Line (Integer'Image (C));`
941+
| :answermono:`end loop;`
942+
D. | :answermono:`for D in 10 .. 1 loop`
943+
| :answermono:`Put_Line (Integer'Image (D));`
944+
| :answermono:`end loop;`
945945
946946
.. container:: animate
947947

courses/fundamentals_of_ada/080_expressions/02-membership_tests.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ Quiz
7070
subtype Weekdays_T is Days_T range Mon .. Fri;
7171
Today : Days_T;
7272
73-
Which condition is **not** legal?
73+
Which condition(s) is (are) legal?
7474

75-
A. :answermono:`if Today = Mon or Wed or Fri then`
76-
B. ``if Today in Days_T then``
77-
C. ``if Today not in Weekdays_T then``
78-
D. ``if Today in Tue | Thu then``
75+
A. ``if Today = Mon or Wed or Fri then``
76+
B. :answermono:`if Today in Days_T then`
77+
C. :answermono:`if Today not in Weekdays_T then`
78+
D. :answermono:`if Today in Tue | Thu then`
7979

8080
.. container:: animate
8181

courses/fundamentals_of_ada/080_expressions/04-conditional_expressions.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,12 @@ Quiz
264264
F : Float;
265265
B : Boolean;
266266
267-
Which statement is **not** legal?
267+
Which statement(s) is (are) legal?
268268

269-
A. :answermono:`F := if X < 0.0 then Sqrt (-1.0 * X) else Sqrt (X);`
270-
B. ``F := Sqrt (if X < 0.0 then -1.0 * X else X);``
271-
C. ``B := (if X < 0.0 then Sqrt (-1.0 * X) < 10.0 else True);``
272-
D. ``B := (if X < 0.0 then Sqrt (-1.0 * X) < 10.0);``
269+
A. ``F := if X < 0.0 then Sqrt (-1.0 * X) else Sqrt (X);``
270+
B. :answermono:`F := Sqrt (if X < 0.0 then -1.0 * X else X);`
271+
C. :answermono:`B := (if X < 0.0 then Sqrt (-1.0 * X) < 10.0 else True);`
272+
D. :answermono:`B := (if X < 0.0 then Sqrt (-1.0 * X) < 10.0);`
273273

274274
.. container:: animate
275275

courses/fundamentals_of_ada/140_access_types/05-accessibility_checks.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ Quiz
114114
Local_Object : aliased Integer;
115115
begin
116116
117-
Which assignment is **not** legal?
117+
Which assignment(s) is (are) legal?
118118

119-
A. ``Global_Access := Global_Object'Access;``
120-
B. :answermono:`Global_Access := Local_Object'Access;`
121-
C. ``Local_Access := Global_Object'Access;``
122-
D. ``Local_Access := Local_Object'Access;``
119+
A. :answermono:`Global_Access := Global_Object'Access;`
120+
B. ``Global_Access := Local_Object'Access;``
121+
C. :answermono:`Local_Access := Global_Object'Access;`
122+
D. :answermono:`Local_Access := Local_Object'Access;`
123123

124124
.. container:: animate
125125

courses/fundamentals_of_ada/intro_160_genericity.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,12 @@ Quiz
278278
(A : T1;
279279
B : T2);
280280
281-
Which is **not** a legal instantiation?
281+
Which is (are) legal instantiation(s)?
282282

283-
A. :answermono:`procedure A is new G (String, Character);`
284-
B. ``procedure B is new G (Character, Integer);``
285-
C. ``procedure C is new G (Integer, Boolean);``
286-
D. ``procedure D is new G (Boolean, String);``
283+
A. ``procedure A is new G (String, Character);``
284+
B. :answermono:`procedure B is new G (Character, Integer);`
285+
C. :answermono:`procedure C is new G (Integer, Boolean);`
286+
D. :answermono:`procedure D is new G (Boolean, String);`
287287

288288
.. container:: animate
289289

0 commit comments

Comments
 (0)