Algorithms – Chapter 3

The conditions A program does not always run sequentially. Normally it makes a decision at some point to execute only part of itself. Programming languages provide instructions on how to make these choices. Among these instructions we have conditional instructions. Conditional instruction (simple) Alternative (conditional) instruction Flowcharts were one of the important tools for writing …

Read moreAlgorithms – Chapter 3

Object-Oriented Programming with Java, part I – Exercise 58

This program accepts user input and adds it to a list until the user inputs the same word twice at which point it stops. My Code Model Code Comments I’ll count that as somewhat of an epic failure. My boolean variable could have been replaced by a simple break in the if statement and the …

Read moreObject-Oriented Programming with Java, part I – Exercise 58

Learning French in Paris, Leçon 4 – 1

What do you like? Person speaking French English Frank Quel genre de musique est-ce que vous aimez, Stéphanie? What type of music do you like, Stephanie? Stéphanie Oh, j’aime bien l’opéra français, surtout Carmen, mais j’aime aussi le pop anglaise. Oh, I like French opera, especially Carmen, but I also like English pop. Frank Et …

Read moreLearning French in Paris, Leçon 4 – 1