Documente Academic
Documente Profesional
Documente Cultură
Programming
Picture 1.1
Learning Outcomes:
By the end of the lesson, the students are expected to be able to use appropriate English to:
interpret a flowchart
Exercise 1: Work in pairs. The stages in programming (1-7) are listed below. Fill in the gaps
with the missing stages (a-d). Then try to explain each stage in your own words (use any
theories of SDLC/Software Development Life Cycle you got from other IT Subjects).
a.
b.
c.
d.
1.2. Flowcharting
Exercise 2: Programmers sometimes use flowchart when they are planning a program. These
following symbols are used in making flowchart. Identify each and its function.
No.
Symbols
Name
Function
1.
2.
3.
4.
5.
6.
. This is the terminal symbol which indicates the beginning or the end of a
program. The word 'START must be inserted inside the figure if it is the beginning of the
program and 'STOP' if it is the end of the program.
The figure in the form of a parallelogram
indicates that something is either brought to or taken from the program. The rectangular symbol
stands for processing and indicates a place in the program where action is taken. In a
program, to indicate that a decision has to be made, the diamond -shaped symbol
is used.
The decision is usually in the form of a question that must be answered by either 'yes or 'no'.
Finally, the arrows
are used to show the flow or direction in which the different actions
Exercise 4: Which statement expresses the main idea of the text? Why did you eliminate the
other choice?
1.
2.
3.
Exercise 5: Decide whether these following statements are true (T) or false (F). Then make the
necessary changes so that false statements become true.
1.
A good flowchart takes into account the steps which are necessary to solve the problem.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Exercise 6: Find the passages in the text where the following ideas are expressed.
1.
A programmer must document his program in order that others may be able to
understand it.
2.
3.
4.
5.
a.
b.
c.
d.
e.
f.
Read newspaper.
Take in and put newspaper in the
living room.
Get up, wash, and dress.
Check time.
Newspaper delivered?
Go to the campus.
g.
h.
i.
j.
k.
l.
Time to go?
Any homework?
Have breakfast.
Complete homework.
Start.
Stop
Y
N
Y
N
Exercise 8: Draw a flowchart for one of these activities. Then compare your completed
flowchart with other students.
1.
Using a payphone.
2.
3.
4.
5.
6.
7.
8.
Planning a vacation.
Exercise 9: Now, write the description of the flowchart you have made on Exercise 8 and
present it in front of the class.
Exercise 10: Work in groups of three. Read two of the texts about computing languages and
make notes in the table below. Then exchange information about the other texts with other
students in your group.
Language
Associated
Type of language
Use
language
C++
_________
_________
____________________
HTML
_________
_________
____________________
Java
_________
_________
____________________
JavaScript
_________
_________
____________________
Visual Basic
_________
_________
____________________
Delphi
_________
_________
____________________
1.
C++ was developed from the C language. It was designed as a systems programming
language with features that make it easy to control the computer hardware efficiently. It
was used to produce the Microsoft Windows operating system. It is portable, i.e.
programs written in C++ can be easily adepted for use on many different types of
computer systems.
2.
HTML stands for Hypertext Markup Language. It is a page description language used
for creating webpages. HTML uses a system of tags to mark page links and formatting.
For example, the tag <u> tells the program to start underlining a text. Although programs
cannot be created using HTML, small programs can be embedded in HTML code using
a scripting language like JavaScript.
3.
4.
JavaScript is a simplified form of the Java Language. It is powerful and easy to use.
Scripts are small programs that can be used to perform simple tasks or tie other programs
together. JavaScript is designed for use inside web pages. It can enable web pages to
respond to a mouse click or input on a form. It can also provide a way of moving through
webpages and produce simple animation.
5.
Visual Basic is a programming environment, not simply a language. It uses the language
BASIC, a simple language developed to make it easy for people to learn how to program.
Visual Basic has predefined objects such as dialog boxes, buttons, and tex boxes which
can bechosen form a toolbox and dragged across the screen using the mouse and dropped
into the required position. BASIC programming code is attached to form a complete
program. Visual Basic is used to write general purpose applications for the Windows
operating system.
6.
Exercise 11: Now read the texts again and answer these questions about special features of the
languages.
1.
2.
3.
4.
5.
6.
7.
8.
Exercise 12: Using the information in the reading texts and the table in Exercise 11, decide
which programming languages would be best for these following users and tasks.
1.
2.
Programmers who want their software to run on any type of computer system.
3.
4.