INDEKS
A O
Aksara 12–15, 20, 28–29, 31–33, 35–36, 77, Operan 98–100
Operator logik 99
81–85, 89, 101 Operator matematik 78, 79, 88
Algoritma 40–47, 58, 62–71 Operator perbandingan 98, 99
Output 14, 95, 96, 97
B
Bahasa mesin 2, 13, 18, 30, 76 P
Bahasa pengaturcaraan 13, 40, 57, 76–82, 91, Pemalar 90–94, 115
Pemboleh ubah 77–79, 90–92
95–97, 102 Pengisytiharan 77, 78, 80, 82, 90
Bait 12, 31 Pengkompil 76, 106
Bit 9, 31, 79 Pentafsir 76, 90, 102, 106, 109
Boolean 85, 86, 89, 98, 99 Penterjemah 76, 95
Pseudokod 41, 43–45, 47, 50, 53, 54, 56
C Python 13, 76, 180–181
Carta alir 40–56, 63, 66–71
Char 77, 81–82, 89
D R
Double 77, 79, 88, 112 Ralat logik 60, 109, 150–158
F Ralat masa larian 60, 106, 150–158
Float 79, 80, 115 Ralat sintaks 60, 102, 150–158
RGB 18, 30
G
Gelung (Loop) 47, 143 S
Gelung tak terhingga 148 Sistem nombor perduaan 2, 5, 14, 18
Sistem nombor perenambelasan 18–20, 31,
I
Input 14, 95, 96 32, 37
Integer 71–79, 88, 115 Sistem nombor perlapanan 2–4, 7, 9, 14, 16, 17
Sistem nombor perpuluhan 2–4, 19, 20
J Skema pengekodan 12, 28
Jenis data 75–83, 86, 115 String 77, 81, 82–85, 88, 112
Struktur kawalan dwipilihan 127, 133
K Struktur kawalan jujukan 120, 123, 162, 171
Kod arahan 76–82, 90, 120–124 Struktur kawalan pelbagai pilihan 41, 69,
Kod ASCII nombor perduaan 12, 13, 17,
70, 129
176–179 Struktur kawalan pilihan bersarang 41, 43, 44
Kod ASCII nombor perpuluhan 12, 13, 176–179 Struktur kawalan ulangan
L for 52, 53, 143, 145
Lelaran (Iteration) 47, 143, 145 while 47, 51, 56, 143
M T
Mesej ralat 18, 104, 106, 107, 109 Teknik langkah demi langkah 104, 110
Teknik semakan meja 104, 113, 153
191
SENARAI RUJUKAN
Chris Roffey, 2013. Coding Club Python Basics. Cambridge: Cambridge University Press.
Chris Roffey, 2013. Coding Club Python: Next Steps. Cambridge: Cambridge University Press.
Cormen, Thomas, H. and Leisers, Charles, E., July 31, 2009. Introduction to Algorithms 3rd
Edition. MIT Press.
Dasgupta, Sanjoy and Papadimitriou, Christos, Sept. 13, 2006. Algorithms. McGraw Hill.
Dorling, M. dan Rouse, G., 2014. Compute-IT 1: Computing for KS3. London: Hodder Education.
Dorling, M. dan Rouse, G., 2014. Compute-IT 2: Computing for KS3. London: Hodder Education.
Engel, A., 1998. Problem - Solving Strategies. Springer Verlag.
Gelca, R. and Andreescu, T., 2007. Putnam and Beyond. Springer.
Klamkin, M. S., J. M. Anthony (ed.), 1994. Mathematical Creativity in Problem Solving II,
In Eves’ Circles. MAA.
Polya, G., 1981. Mathematical Discovery. John Wiley & Sons.
“Python for Beginners,” dicapai pada 28 Disember 2016, https://www.python.org/about/
gettingstarted/
Sedgewick, Robert & Wayne, Kevin, 2011. Algorithms 4th Edition. Pearson Education Inc.
“The Python Tutorial,” dicapai pada 21 November 2016, https://docs.python.org/3.5/tutorial/
index.html
Zeitz, P., 1999. The Art and Craft of Problem Solving. John Wiley & Sons.
192
RM 10.30
ISBN 978-967-14509-3-2
9 789671 450932
FT302001
4