Ng ữ pháp H ng d n bài h c:
Unit 8: Disk and disk drive
67
Pseudocode is a limited form of English which relies on indenting lines and using keywords to highlight the structure of the algorithm.
It is written in text form which allows it to be easily modified with a word processor. Different standards of psuedocode have been established for different applications. The basic
keywords are grouped together in pairs. Đây cùng là m t d ng dùng Ti ng Anh cùng g ch ngang và mũi tên đ nh n m nh c u trúc
c a m t thu ật toán. Nó đ c vi t d i d ng văn b n đ có th d dàng ch nh sửa bằng b xử lý dữ
li u. Có các lo i Pseudocode khác nhau cho các lo i ng d ng khác. Các nhóm t chính đ c k t
h p thành t ng đôi
FLOWCHARTS Flowcharts are a way of describing algorithms in pictorial form. They are often favoured
since it is easier to follow the structure in a picture than in words; however, it is very easy to draw a flowchart which is complex and difficult to change into programming language.
The basic elements of a flowchart are a set of symbols containing messages and interconnecting lines with arrows: A set of standards for flowcharts has been established for a
number of different applications. The four most commonly used symbols are shown in the following table.
Bi u đ là m t d ng thuật toán dùng hình nh. Nó đ c yêu thích b i vi c dùng hình nh d
dàng h ơn dùng hành văn ; d vẽ tuy nhiên r t khó chuy n m t bi u đ thành ngôn ngữ lập trình.
Các thành ph n c ơ b n c a bi u đ là m t lo t các bi u t ng bao hàm m t thông đi p và
s ự k t h p c a g ch ngang và mũi tên. M t b tiêu chu n các bi u đ đ c xây dựng cho t ng
ng d ng khác nhau.