Skip to content

Commit 7ae8b3f

Browse files
committed
Added more indices to important concepts and terminology
1 parent 3187210 commit 7ae8b3f

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

source/ch2_firstjavaprogram.ptx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<title>Classes and Objects</title>
99

1010
<p>
11-
<idx>Object-Oriented Programming (OOP)</idx>
12-
Depending on how deep your knowledge of Python and programming in general is, you may or may not be familiar with classes and objects. These two important <term>Object-Oriented Programming (OOP)</term> concepts will briefly be discussed. If you already have a good understanding of classes and objects in Python, this section may be skipped.
11+
<idx>object-oriented programming</idx> <idx>OOP</idx>
12+
Depending on how deep your knowledge of Python and programming in general is, you may or may not be familiar with classes and objects. These two important <term>Object-Oriented Programming</term> (<term>OOP</term>) concepts will briefly be discussed. If you already have a good understanding of classes and objects in Python, this section may be skipped.
1313
</p>
1414

1515
<p>

source/ch4_conditionals.ptx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ The <c>switch</c> statement is not used very often, and we recommend you do not
389389
<section xml:id="boolean-operators">
390390
<title>Boolean Operators</title>
391391

392-
<p><idx>Boolean operators</idx>
393-
The conditionals used in the if statement can be Boolean variables, simple comparisons, and compound Boolean expressions.
392+
<p><idx>boolean operators</idx> <idx>simple comparisons</idx> <idx>compound boolean expressions</idx>
393+
The conditionals used in the if statement can be <term>boolean variables</term>, <term>simple comparisons</term>, and <term>compound boolean expressions</term>.
394394
</p>
395395

396396
<p><idx>ternary operator</idx>

source/ch5_loopsanditeration.ptx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public class StringIterationExample {
173173
<title>Indefinite Loops</title>
174174

175175
<p><idx><c>while</c> loop</idx>
176-
Both Python and Java support the <c>while</c> loop, which continues to execute as long as a condition is true.
176+
Both Python and Java support the <idx><c>while</c></idx> loop, which continues to execute as long as a condition is true.
177177
Here is a simple example in Python that counts down from 5:
178178
</p>
179179
<program interactive="activecode" language="python">
@@ -321,7 +321,6 @@ public class DoWhileExample {
321321
</choice>
322322
</choices>
323323
</exercise>
324-
325324
</reading-questions>
326325
</section>
327326
</chapter>

0 commit comments

Comments
 (0)