BCSC1102 Introduction To Programming Lecture 1
BCSC1102 Introduction To Programming Lecture 1
Sept-Dec 2019
1/14 Dr. Shem Mbandu Angolo, Ph.D. BCSC 1102 Lecture 1
Outline
1 Introduction
2 Compiling Programs
• Or, the program might simply wait for an event, such as a mouse
being clicked, to occur.
• Or, the program might simply wait for an event, such as a mouse
being clicked, to occur.
• Results that are displayed by the program, known as output,
appear in a window, sometimes called the console.
• Or, the program might simply wait for an event, such as a mouse
being clicked, to occur.
• Results that are displayed by the program, known as output,
appear in a window, sometimes called the console.
• Or, the output might be directly written to a file on the system.
• Or, the program might simply wait for an event, such as a mouse
being clicked, to occur.
• Results that are displayed by the program, known as output,
appear in a window, sometimes called the console.
• Or, the output might be directly written to a file on the system.
• If all goes well (and it probably won’t the first time the program
is executed), the program performs its intended functions.
• Or, the program might simply wait for an event, such as a mouse
being clicked, to occur.
• Results that are displayed by the program, known as output,
appear in a window, sometimes called the console.
• Or, the output might be directly written to a file on the system.
• If all goes well (and it probably won’t the first time the program
is executed), the program performs its intended functions.
• If the program does not produce the desired results, it is
necessary to go back and reanalyze the program’s logic.
• Or, the program might simply wait for an event, such as a mouse
being clicked, to occur.
• Results that are displayed by the program, known as output,
appear in a window, sometimes called the console.
• Or, the output might be directly written to a file on the system.
• If all goes well (and it probably won’t the first time the program
is executed), the program performs its intended functions.
• If the program does not produce the desired results, it is
necessary to go back and reanalyze the program’s logic.
• This is known as the debugging phase, during which an attempt
is made to remove all the known problems or bugs from the
program