Learning Objective 1.1.A: Represent patterns and algorithms found in everyday life using written language or diagrams.
- 1.1.A.1 Algorithms define step-by-step processes to follow when completing a task or solving a problem. These algorithms can be represented using written language or diagrams.
- 1.1.A.2 Sequencing defines an order for when steps in a process are completed. Steps in a process are completed one at a time.
Learning Objective 1.1.B: Explain the code compilation and execution process.
- 1.1.B.1 Code can be written in any text editor; however, an integrated development environment (IDE) is often used to write programs because it provides tools for a programmer to write, compile, and run code.
- 1.1.B.2 A compiler checks code for some errors. Errors detectable by the compiler need to be fixed before the program can be run.
Learning Objective 1.1.C: Identify types of programming errors.
- 1.1.C.1 A syntax error is a mistake in the program where the rules of the programming language are not followed. These errors are detected by the compiler.
- 1.1.C.2 A logic error is a mistake in the algorithm or program that causes it to behave incorrectly or unexpectedly. These errors are detected by testing the program with specific data to see if it produces the expected outcome.
- 1.1.C.3 A run-time error is a mistake in the program that occurs during the execution of a program. Run-time errors typically cause the program to terminate abnormally.
- 1.1.C.4 An exception is a type of run-time error that occurs as a result of an unexpected error that was not detected by the compiler. It interrupts the normal flow of the program's execution.
Tujuan Pembelajaran 1.1.A: Mewakili pola dan algoritma yang ditemukan dalam kehidupan sehari-hari menggunakan bahasa tulisan atau diagram.
- 1.1.A.1 Algoritma mendefinisikan proses bertahap yang harus diikuti saat menyelesaikan tugas atau memecahkan masalah. Algoritma ini dapat direpresentasikan menggunakan bahasa tulisan atau diagram.
- 1.1.A.2 Pengurutan menentukan urutan kapan langkah-langkah dalam suatu proses diselesaikan. Langkah-langkah dalam suatu proses diselesaikan satu per satu.
Tujuan Pembelajaran 1.1.B: Jelaskan proses kompilasi dan eksekusi kode.
- 1.1.B.1 Kode dapat ditulis di editor teks apa pun; namun, lingkungan pengembangan terintegrasi (IDE) sering digunakan untuk menulis program karena menyediakan alat bagi programmer untuk menulis, mengkompilasi, dan menjalankan kode.
- 1.1.B.2 Kompiler memeriksa kode untuk beberapa kesalahan. Kesalahan yang terdeteksi oleh kompiler harus diperbaiki sebelum program dapat dijalankan.
Tujuan Pembelajaran 1.1.C: Identifikasi jenis-jenis kesalahan pemrograman.
- 1.1.C.1 Kesalahan sintaks adalah kesalahan dalam program di mana aturan bahasa pemrograman tidak dipatuhi. Kesalahan ini dideteksi oleh kompiler.
- 1.1.C.2 Kesalahan logika adalah kesalahan dalam algoritma atau program yang menyebabkan program berperilaku tidak benar atau tidak terduga. Kesalahan ini dideteksi dengan menguji program dengan data khusus untuk melihat apakah program menghasilkan hasil yang diharapkan.
- 1.1.C.3 Kesalahan waktu berjalan adalah kesalahan dalam program yang terjadi selama eksekusi program. Kesalahan waktu berjalan biasanya menyebabkan program berhenti secara tidak normal.
- 1.1.C.4 Eksception adalah jenis kesalahan waktu berjalan yang terjadi akibat kesalahan tak terduga yang tidak terdeteksi oleh kompiler. Eksception mengganggu alur normal eksekusi program.






