INDEKS
INDEKS
A O
Aksara 12–15, 20, 28–29, 31–33, 35–36, 77, Operan 98–100
81–85, 89, 101 Operator logik 99
Algoritma 40–47, 58, 62–71 Operator matematik 78, 79, 88
Operator perbandingan 98, 99
B Output 14, 95, 96, 97
Bahasa mesin 2, 13, 18, 30, 76
Bahasa pengaturcaraan 13, 40, 57, 76–82, 91, P
95–97, 102 Pemalar 90–94, 115
Bait 12, 31 Pemboleh ubah 77–79, 90–92
Bit 9, 31, 79 Pengisytiharan 77, 78, 80, 82, 90
Boolean 85, 86, 89, 98, 99 Pengkompil 76, 106
Pentafsir 76, 90, 102, 106, 109
C Penterjemah 76, 95
Carta alir 40–56, 63, 66–71 Pseudokod 41, 43–45, 47, 50, 53, 54, 56
Char 77, 81–82, 89 Python 13, 76, 180–181
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 32, 37
Input 14, 95, 96 Sistem nombor perlapanan 2–4, 7, 9, 14, 16, 17
Integer 71–79, 88, 115 Sistem nombor perpuluhan 2–4, 19, 20
Skema pengekodan 12, 28
J String 77, 81, 82–85, 88, 112
Jenis data 75–83, 86, 115 Struktur kawalan dwipilihan 127, 133
Struktur kawalan jujukan 120, 123, 162, 171
K Struktur kawalan pelbagai pilihan 41, 69,
Kod arahan 76–82, 90, 120–124 70, 129
Kod ASCII nombor perduaan 12, 13, 17, Struktur kawalan pilihan bersarang 41, 43, 44
176–179 Struktur kawalan ulangan
Kod ASCII nombor perpuluhan 12, 13, 176–179 for 52, 53, 143, 145
while 47, 51, 56, 143
L
Lelaran (Iteration) 47, 143, 145 T
Teknik langkah demi langkah 104, 110
M Teknik semakan meja 104, 113, 153
Mesej ralat 18, 104, 106, 107, 109
191
SENARAI RUJUKAN
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.
rd
Cormen, Thomas, H. and Leisers, Charles, E., July 31, 2009. Introduction to Algorithms 3
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/
th
Sedgewick, Robert & Wayne, Kevin, 2011. Algorithms 4 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
KEMENTERIAN
PENDIDIKAN
MALAYSIA
ASAS SAINS KOMPUTER
TINGKATAN 2
RM 10.30
ISBN 978-967-14509-3-2
9 789671 450932
FT302001
4