Rpl english lesson

                        Table of contents

                               Chapter 1
SOFTWARE MODELING & DATABASES
        UML, DFD, ERD, SQL, Normalization

                                 CHAPTER 2 
                FUNDAMENTAL PROGRAMMING       
                         PEMROGRAMAN DASAR
(Kontrol alur, fungsi, algoritma, debugging, OOP)
                               CHAPTER 3
              FUNDAMENTAL PROGRAMMING (Pemrograman Dasar

Materi: struktur kontrol, fungsi, OOP dasar, debugging, algoritma, data structure.

                                  CHAPTER 4
DATABASE FUNDAMENTALS (Dasar-Dasar Basis Data)

CHAPTER 5
                      Software Architecture 
                         Arsitektur Perangkat 

Layering, Architectural Styles, Components, and Modules



                     ENGLISH LESSON: 
      SOFTWARE MODELING & DATABASES
        UML, DFD, ERD, SQL, Normalization

1. Useful Expressions 

  1. System modeling helps us understand how a system works. – Pemodelan sistem membantu kita memahami cara kerja sistem.
  2. We use UML diagrams to visualize software structure. – Kita menggunakan diagram UML untuk memvisualisasikan struktur perangkat lunak.
  3. A Data Flow Diagram shows how data moves through a system. – DFD menunjukkan bagaimana data mengalir dalam sistem.
  4. An ERD represents the relationship between entities. – ERD menggambarkan hubungan antar entitas.
  5. Normalization helps reduce data redundancy. – Normalisasi membantu mengurangi redundansi data.
  6. SQL is used to manage and query databases. – SQL digunakan untuk mengelola dan mengambil data dari basis data.
  7. We design a database before implementing it. – Kita mendesain basis data sebelum mengimplementasikannya.
  8. A primary key uniquely identifies each record. – Primary key mengidentifikasi setiap record secara unik.
  9. Software modeling improves communication between developers. – Pemodelan perangkat lunak meningkatkan komunikasi antar pengembang.
  10. Testing the model ensures system accuracy. – Menguji model memastikan keakuratan sistem.

2. Dialogue 
             Discussing UML and Databases
A: Why do we need UML diagrams in software 
    development?
   Mengapa kita membutuhkan diagram UML 
    dalam pengembangan perangkat lunak?

B: UML helps us visualize the structure and
     behavior of the system.
    UML membantu kita memvisualisasikan
    struktur dan perilaku sistem.

A: What about DFD and ERD?
     Bagaimana dengan DFD dan ERD?

B: DFD shows how data flows, while ERD
     shows the relationship between entities in
     the database.
    DFD menunjukkan aliran data, sedangkan
    ERD menunjukkan hubungan antar entitas
    di basis data.

A: That makes sense. Do we learn SQL too?
     Masuk akal. Apakah kita belajar SQL juga?

B: Yes, SQL is important for creating, reading,
     updating, and deleting data in the
     database.
     Ya, SQL penting untuk membuat, membaca
      memperbarui, dan menghapus data di
      basis data.


3. Memorizing (10 Points to Remember)

  1. UML = Unified Modeling Language – Bahasa untuk memodelkan perangkat lunak.
  2. DFD = Data Flow Diagram – Diagram aliran data.
  3. ERD = Entity Relationship Diagram – Diagram hubungan entitas.
  4. Entity – Objek yang datanya ingin disimpan (misal: siswa, produk).
  5. Attribute – Sifat atau informasi milik entitas (misal: nama, harga).
  6. Primary Key – Kunci unik tiap record.
  7. Foreign Key – Kunci yang menghubungkan dua tabel.
  8. Normalization – Proses merapikan tabel agar tidak terjadi duplikasi data.
  9. SQL Commands: SELECT, INSERT, UPDATE, DELETE.
  10. Database Schema – Struktur atau desain dari sebuah basis data.

4. Exercise – Multiple Choice 

  1. UML stands for…
    a. Unified Modeling Language
    b. Universal Model Logic
    c. Unique Model Layout
    d. User Management Level

  2. DFD is used to model…
    a. Table structure
    b. Data flow
    c. System interface
    d. Network topology

  3. ERD represents…
    a. Algorithms
    b. User interface
    c. Entity relationships
    d. Network layers

  4. SQL is used for…
    a. Designing UI
    b. Database manipulation
    c. Testing programs
    d. Drawing diagrams

  5. A primary key must be…
    a. Duplicated
    b. Unique
    c. Empty
    d. Random

  6. Normalization reduces…
    a. Entities
    b. Redundancy
    c. Logic
    d. Code

  7. Attribute is…
    a. Process
    b. Relationship
    c. Data about an entity
    d. SQL command

  8. The command to get data from a table is…
    a. INSERT
    b. SELECT
    c. DELETE
    d. MAKE

  9. ERD is commonly used in…
    a. Networking
    b. Database design
    c. UI design
    d. Animation

  10. DFD level 0 is also called…
    a. Main diagram
    b. Fundamental map
    c. Context diagram
    d. Overview graph

  11. The relationship between two tables is created using…
    a. CSS
    b. Primary Key & Foreign Key
    c. Hardware
    d. UML Class

  12. UML class diagram shows…
    a. Data flow
    b. System behavior
    c. System structure
    d. Normalization steps

  13. SQL command to delete data is…
    a. REMOVE
    b. KILL
    c. DELETE
    d. DESTROY

  14. ERD uses symbols such as…
    a. Circle and triangles
    b. Entities, attributes, relationships
    c. Buttons and panels
    d. CPU and memory

  15. Database schema refers to…
    a. Diagram color
    b. Table structure
    c. Software license
    d. Internet speed

Kunci Jawaban Multiple Choice

  1. a – Unified Modeling Language
  2. b – Data flow
  3. c – Entity relationships
  4. b – Database manipulation
  5. b – Unique
  6. b – Redundancy
  7. c – Data about an entity
  8. b – SELECT
  9. b – Database design
  10. c – Context diagram
  11. b – Primary Key & Foreign Key
  12. c – System structure
  13. c – DELETE
  14. b – Entities, attributes, relationships
  15. b – Table structure

5. Bonus Dialogue

                 Normalization & SQL
A:  Why do we normalize a database?
     Mengapa kita melakukan normalisasi basis 
     data?

B: To avoid duplicate data and make the
      database more efficient.
      Untuk menghindari data ganda dan
      membuat basis data lebih efisien.

A: Can SQL help us manage large databases?
     Apakah SQL bisa membantu kita
     mengelola basis data besar?

B: Yes, SQL is designed to handle large and
      complex data sets.
      Ya, SQL dirancang untuk menangani data
      yang besar dan kompleks.

6. 20 Question & Answer. 
Q: What is UML used for?
    Untuk apa UML digunakan
   A: UML is used to model software structure
    and behavior
    UML digunakan untuk memodelkan
     struktur dan perilaku perangkat lunak.
  1. Q: What diagram shows data flow?
    A: DFD.
    Q: Diagram apa yang menunjukkan aliran data?
    A: DFD.

  2. Q: What does ERD represent?
    A: Entity relationships.
    Q: Apa yang digambarkan oleh ERD?
    A: Hubungan antar entitas.

  3. Q: What is SQL?
    A: A language for managing databases.
    Q: Apa itu SQL?
    A: Bahasa untuk mengelola basis data.

  4. Q: What is a primary key?
    A: A unique identifier.
    Q: Apa itu primary key?
    A: Identitas unik untuk setiap record.

  5. Q: What is an entity?
    A: An object whose data is stored.

    Q: Apa itu entitas?
    A: Objek yang datanya disimpan dalam basis data.

  6. Q: What is normalization?
    A: Process of reducing redundancy.

    Q: Apa itu normalisasi?
    A: Proses mengurangi duplikasi data.

  7. Q: What SQL command retrieves data?
    A: SELECT.

    Q: Perintah SQL apa yang mengambil data?
    A: SELECT.

  8. Q: What connects two tables?
    A: Foreign key.

    Q: Apa yang menghubungkan dua tabel?
    A: Foreign key.

  9. Q: Why do we use modeling?
    A: To understand and design systems clearly.

    Q: Mengapa kita menggunakan pemodelan?
    A: Untuk memahami dan merancang sistem dengan lebih jelas.

  10. Q: What is a class diagram?
    A: A UML diagram showing system structure.

    Q: Apa itu class diagram?
    A: Diagram UML yang menunjukkan struktur sistem.

  11. Q: What is a context diagram?
    A: DFD level 0.

    Q: Apa itu context diagram?
    A: DFD level 0.

  12. Q: What is an attribute?
    A: Detail of an entity.

    Q: Apa itu atribut?
    A: Informasi atau detail milik sebuah entitas.

  13. Q: What is a database?
    A: A structured collection of data.

    Q: Apa itu basis data?
    A: Kumpulan data terstruktur yang disimpan secara sistematis.

  14. Q: What is ERD useful for?
    A: Designing databases.

    Q: Untuk apa ERD berguna?
    A: Untuk merancang basis data.

  15. Q: What is INSERT used for?
    A: Adding new data.

    Q: Untuk apa perintah INSERT digunakan?
    A: Untuk menambahkan data baru.

  16. Q: What is DELETE used for?
    A: Removing data.

    Q: Untuk apa perintah DELETE digunakan?
    A: Untuk menghapus data.

  17. Q: What does SELECT return?
    A: Requested data.

    Q: Apa hasil dari perintah SELECT?
    A: Data yang diminta.

  18. Q: Why is DFD important?
    A: It shows how data moves.

    Q: Mengapa DFD penting?
    A: Karena DFD menunjukkan bagaimana data mengalir dalam sistem.

  19. Q: Why do programmers need modeling?
    A: To reduce misunderstandings in development.
    Q: Mengapa programmer membutuhkan pemodelan?
    A: Untuk mengurangi kesalahpahaman dalam proses pengembangan.


7. Conclusion 
Software modeling and database design are essential skills in Software Engineering. UML, DFD, and ERD help students understand how systems work before building them. SQL and normalization ensure that data is stored efficiently and accurately. Mastering these concepts makes students more prepared for real-world software development.

Pemodelan perangkat lunak dan desain basis data adalah keterampilan penting dalam Rekayasa Perangkat Lunak. UML, DFD, dan ERD membantu siswa memahami cara kerja sistem sebelum membangunnya. SQL dan normalisasi memastikan data tersimpan dengan efisien dan akurat. Menguasai konsep-konsep ini membuat siswa lebih siap menghadapi pengembangan perangkat lunak di dunia nyata.




                                 CHAPTER 2 
                FUNDAMENTAL PROGRAMMING       
                         PEMROGRAMAN DASAR
(Kontrol alur, fungsi, algoritma, debugging, OOP)

1. Useful Expressions
1. Programming requires logical thinking. –           Pemrograman membutuhkan pemikiran
     logis.
2. Control structures guide the flow of a
     program. 
     Struktur kontrol mengatur alur suatu
     program.
3. Functions help us break a program into
    smaller parts. 
    Fungsi membantu memecah program
    menjadi bagian kecil.
4. .Algorithms are step-by-step solutions to a
     problem. 
     Algoritma adalah langkah-langkah
     penyelesaian masalah.
5. Debugging is the process of fixing errors. 
     Debugging adalah proses memperbaiki
     kesalahan.
6. OOP organizes code using objects and
     classes. 
     OOP mengorganisasi kode menggunakan
     objek dan kelas.
7. Loops repeat instructions until a condition
     is met. 
     Perulangan mengulang instruksi sampai
     kondisi terpenuhi.
8.  If-else statements help us make decisions
     in programs. 
     If-else membantu kita membuat keputusan
      dalam program.
9. Variables store data during execution. 
     Variabel menyimpan data selama program
     berjalan.
10.  Inheritance allows a class to reuse
        another class’s properties. 
        Pewarisan memungkinkan kelas
        menggunakan properti kelas lain.

2. Dialogue 

              Discussing Basic Programming

A: What programming language are we 
     learning this semester?
     Bahasa pemrograman apa yang kita
     pelajari semester ini?
B: We are learning Java because it’s good for 
     understanding OOP.
     Kita belajar Java karena bagus untuk
     memahami OOP.

A: What is the first topic?
     Apa topik pertama?

B: Control structures like if-else and loops.
     Struktur kontrol seperti if-else dan looping.

A: Do we also learn functions?
     Apakah kita juga belajar fungsi?

B: Yes, functions help us make the program    
      modular and easier to manage.
      Ya, fungsi membantu membuat program    
      lebih modular dan mudah dikelola.

3. Memorizing

  1. Syntax – Aturan penulisan kode.
  2. Variable – Tempat menyimpan data.
  3. Data type – Jenis data (int, string, boolean).
  4. If-else – Struktur keputusan.
  5. Looping – Perulangan (for, while).
  6. Function/Method – Blok kode yang dapat dipanggil ulang.
  7. Parameter – Masukan ke dalam fungsi.
  8. Algorithm – Langkah-langkah penyelesaian.
  9. Debugging – Menemukan dan memperbaiki bug.
  10. OOP – Pemrograman berorientasi objek (class, object, inheritance, polymorphism).

4. Multiple Choice (15 Questions)

  1. A control structure is used to…
    a. Store data
    b. Control program flow
    c. Display output
    d. Compile code

  2. Which is a looping structure?
    a. if
    b. else
    c. while
    d. break

  3. A function is used to…
    a. Repeat data
    b. Divide a program into smaller parts
    c. Store files
    d. Draw diagrams

  4. Variables are used to…
    a. Print code
    b. Store data
    c. Delete errors
    d. Create graphics

  5. An algorithm is…
    a. A programming error
    b. A list of hardware
    c. A step-by-step solution
    d. A type of data

  6. Debugging means…
    a. Writing code
    b. Fixing errors
    c. Designing UI
    d. Deleting data

  7. OOP stands for…
    a. Object-Oriented Programming
    b. Office Operation Process
    c. Open Output Program
    d. Online Object Protocol

  8. A class is…
    a. A blueprint for objects
    b. A type of error
    c. A looping structure
    d. A control panel

  9. In Java, “int” is a…
    a. Function
    b. Class
    c. Data type
    d. Package

  10. A loop stops when…
    a. A condition is true
    b. A condition is false
    c. The user closes the program
    d. A value is printed

  11. If-else is used for…
    a. Decision making
    b. Drawing shapes
    c. Debugging
    d. Showing output

  12. Polymorphism allows…
    a. One function to take many forms
    b. Variables to disappear
    c. Loops to run faster
    d. Classes to delete automatically

  13. A method parameter is…
    a. Data passed into a method
    b. A code error
    c. A file location
    d. A compiler

  14. A bug is…
    a. A computer virus
    b. A programming error
    c. A type of class
    d. A hardware device

  15. The “return” keyword is used in a function to…
    a. Stop the compiler
    b. Give back a value
    c. Delete a variable
    d. Create an object


5. Bonus Dialogue

             Debugging a Program

A: My program keeps showing an error

Programku terus muncul error.

B: Did you check the syntax and variable names?
B: Apakah kamu sudah memeriksa sintaks dan nama variabel?

A: I think I missed a bracket.
A: Sepertinya aku lupa menutup kurung.

B: Yes, missing brackets often cause errors.
B: Ya, kurung yang tidak lengkap sering menyebabkan error.


6. 20 Q & A – Bilingual (Lengkap)

  1. Q: What is a variable?
    A: A storage location for data.
    Q: Apa itu variabel?
    A: Tempat menyimpan data.

  2. Q: What is an algorithm?
    A: A step-by-step process to solve a problem.
    Q: Apa itu algoritma?
    A: Langkah-langkah untuk menyelesaikan masalah.

  3. Q: What is the purpose of if-else?
    A: To make decisions in a program.
    Q: Untuk apa if-else digunakan?
    A: Untuk membuat keputusan dalam program.

  4. Q: What is a loop?
    A: A structure that repeats instructions.
    Q: Apa itu loop?
    A: Struktur yang mengulang instruksi.

  5. Q: What is debugging?
    A: Fixing program errors.
    A: Memperbaiki kesalahan program.

  6. Q: What is a function?
    A: A reusable block of code.
    Q: Apa itu fungsi?
    A: Blok kode yang dapat digunakan ulang.

  7. Q: What is a parameter?
    A: Input to a function.
    Q: Apa itu parameter?
    A: Input ke dalam fungsi.

  8. Q: What is OOP?
    A: Object-Oriented Programming.
    Q: Apa itu OOP?
    A: Pemrograman Berorientasi Objek.

  9. Q: What is a class?
    A: A blueprint for creating objects.
    Q: Apa itu kelas?
    A: Cetak biru untuk membuat objek.

  10. Q: What is an object?
    A: An instance of a class.
    Q: Apa itu objek?
    A: Bentukan dari sebuah kelas.

  11. Q: What is inheritance?
    A: A class taking features from another class.
    Q: Apa itu inheritance?
    A: Kelas mewarisi fitur dari kelas lain.

  12. Q: What is polymorphism?
    A: One method acting in many ways.
    Q: Apa itu polimorfisme?
    A: Satu method dapat memiliki banyak bentuk.

  13. Q: What is syntax?
    A: Rules for writing code.
    Q: Apa itu sintaks?
    A: Aturan penulisan kode.

  14. Q: Why do we use functions?
    A: To simplify and organize code.
    Q: Mengapa kita menggunakan fungsi?
    A: Untuk menyederhanakan dan mengatur kode.

  15. Q: What is a bug?
    A: A programming error.
    Q: Apa itu bug?
    A: Kesalahan dalam program.

  16. Q: What is a data type?
    A: A classification of data.
    Q: Apa itu tipe data?
    A: Klasifikasi untuk data.

  17. Q: What is the result of a loop?
    A: Repeated execution of code.
    Q: Apa hasil dari loop?
    A: Eksekusi kode berulang.

  18. Q: What does “return” do?
    A: Sends a value back from a function.
    Q: Apa fungsi “return”?
    A: Mengembalikan nilai dari fungsi.

  19. Q: What is the main function used for?
    A: Starting point of the program.
    Q: Untuk apa fungsi main digunakan?
    A: Titik awal program berjalan.

  20. Q: Why is debugging important?
    A: To ensure the program runs correctly.
    Q: Mengapa debugging penting?
    A: Agar program berjalan dengan benar.


7. Conclusion
Basic programming introduces students to essential concepts such as variables, algorithms, control structures, functions, and OOP. Mastering these skills helps students build strong problem-solving abilities and prepares them for advanced programming topics.

Pemrograman dasar memperkenalkan siswa pada konsep penting seperti variabel, algoritma, struktur kontrol, fungsi, dan OOP. Menguasai keterampilan ini membantu siswa memiliki kemampuan pemecahan masalah yang baik dan siap mempelajari materi pemrograman lanjutan.


20 Questions  & Answers

1.Q: What is software modeling?  
          Apa itu pemodelan perangkat lunak? 

A: Software modeling is the process of creating abstract representations of a system.

Pemodelan perangkat lunak adalah proses membuat representasi abstrak dari suatu sistem.


2. Q: Why is UML important?
      Mengapa UML penting?

A: Because UML helps visualize, design, and document software systems.
Karena UML membantu memvisualisasikan, merancang, dan mendokumentasikan sistem perangkat lunak.


3. Q: What does UML stand for?
      UML singkatan dari apa?
A: UML stands for Unified Modeling Language.
UML adalah singkatan dari Unified Modeling Language.

4. Q: What is a Use Case Diagram?
     Apa itu Use Case Diagram?

A: It is a diagram that shows interactions between users and the system.
Diagram yang menunjukkan interaksi antara pengguna dan sistem.


5. Q: What is a Class Diagram?
      Apa itu Class Diagram?

A: A Class Diagram shows classes, attributes, methods, and relationships.
A (ID): Class Diagram menampilkan kelas, atribut, metode, dan relasi.


6. Q: What is a DFD?
     Apa itu DFD?

A: DFD is a Data Flow Diagram that shows how data moves through a system.
DFD adalah Data Flow Diagram yang menunjukkan bagaimana data mengalir dalam sistem.


7. Q: What is an ERD?
     Apa itu ERD?

A: ERD is an Entity-Relationship Diagram used to model database structure.
Q (ID): 
A (ID): ERD adalah Entity-Relationship Diagram yang digunakan untuk memodelkan struktur basis data.


8.

Q: What is normalization?
A: Normalization is the process of organizing database tables to reduce redundancy.
Q (ID): Apa itu normalisasi?
A (ID): Normalisasi adalah proses mengatur tabel database untuk mengurangi duplikasi data.


9.

Q: What is SQL?
A: SQL is a language used to manage and query databases.
Q (ID): Apa itu SQL?
A (ID): SQL adalah bahasa yang digunakan untuk mengelola dan mengambil data dari database.


10.

Q: What is a primary key?
A: It is a unique identifier for each record in a table.
Q (ID): Apa itu primary key?
A (ID): Kunci utama yang menjadi identitas unik untuk setiap data di tabel.


11. Q: What is a foreign key?
         Apa itu foreign key?

A: It is a field that links one table to another.
Foreign key adalah kolom yang menghubungkan satu tabel dengan tabel lain.


12. Q: What does SELECT do in SQL?
         Apa fungsi SELECT dalam SQL?

A: SELECT retrieves data from a database.
Q (ID): 
A (ID): SELECT digunakan untuk mengambil data dari database.


13.

Q: What is INSERT used for?
A: INSERT adds new data to a table.
Q (ID): Untuk apa perintah INSERT digunakan?
A (ID): INSERT digunakan untuk menambahkan data baru ke tabel.


14.

Q: What is UPDATE used for?
A: UPDATE modifies existing data in a table.
Q (ID): Apa fungsi UPDATE?
A (ID): UPDATE digunakan untuk mengubah data yang sudah ada di tabel.


15.

Q: What is DELETE used for?
A: DELETE removes data from a table.
Q (ID): Apa fungsi DELETE?
A (ID): DELETE digunakan untuk menghapus data dari tabel.


16.

Q: Why is documentation important in software modeling?
A: Because it makes systems easier to understand and maintain.
Q (ID): Mengapa dokumentasi penting dalam pemodelan?
A (ID): Karena dokumentasi membuat sistem lebih mudah dipahami dan dipelihara.


17.

Q: What is the purpose of a sequence diagram?
A: To show the order of interactions between system components.
Q (ID): Apa tujuan sequence diagram?
A (ID): Untuk menunjukkan urutan interaksi antar komponen sistem.


18.

Q: What is a database?
A: A structured collection of data stored and accessed electronically.
Q (ID): Apa itu basis data?
A (ID): Kumpulan data terstruktur yang disimpan dan diakses secara elektronik.


19.

Q: Why do developers use ERD?
A: To understand relationships between database entities before implementation.
Q (ID): Mengapa pengembang menggunakan ERD?
A (ID): Untuk memahami hubungan antar entitas database sebelum implementasi.


20.

Q: What is the benefit of software modeling?
A: It reduces errors and improves system design quality.
Q (ID): Apa manfaat pemodelan perangkat lunak?
A (ID): Pemodelan membantu mengurangi kesalahan dan meningkatkan kualitas desain.



A. Vocabulary Tambahan (20 Kata Penting)

1. Requirement – Kebutuhan
2. Stakeholder – Pemangku kepentingan
3. Workflow – Alur kerja
4. Entity – Entitas
5. Attribute – Atribut
6. Relationship – Hubungan
7. Process – Proses
8. Data Store – Penyimpanan data
9. Constraint – Kendala / aturan
10. Diagram – Diagram
11. Deployment – Penerapan
12. Validation – Validasi
13. Logical Design – Desain logis
14. Physical Design – Desain fisik
15. Query Optimization – Optimasi kueri
16. Data Integrity – Integritas data
17. Modeling Tool – Alat pemodelan
18. Repository – Repositori
19. Architecture – Arsitektur
20. Prototype – Purwarupa / prototipe


B. Dialogue Tambahan – “Discussing a Database Project”

English

A: We need to finalize the ERD for our project today.
B: Yes, I already prepared the entities and relationships.
A: Great! Did you also check the normalization?
B: Yes. All tables are in Third Normal Form.
A: Perfect. What about SQL queries?
B: I created SELECT, INSERT, UPDATE, and DELETE queries for testing.
A: Nice, let’s review them together later.

Indonesia

A: Kita harus menyelesaikan ERD untuk proyek hari ini.
B: Ya, saya sudah menyiapkan entitas dan relasinya.
A: Bagus! Apakah kamu juga mengecek normalisasinya?
B: Ya. Semua tabel sudah dalam Third Normal Form.
A: Sempurna. Bagaimana dengan kueri SQL?
B: Saya membuat kueri SELECT, INSERT, UPDATE, dan DELETE untuk testing.
A: Bagus, nanti kita review bersama.


C. Latihan Essay Singkat (Jawaban bebas / untuk siswa)

1. Explain why normalization is important in database design.
(Jelaskan mengapa normalisasi penting dalam desain database.)

2. Describe the difference between a Use Case Diagram and a Class Diagram.
(Deskripsikan perbedaan antara Use Case Diagram dan Class Diagram.)

3. What problems can occur if a system does not have proper modeling?
(Apa masalah yang bisa terjadi jika sistem tidak dimodelkan dengan baik?)

4. Write an example of a simple SQL SELECT query.
(Tuliskan contoh sederhana kueri SQL SELECT.)

5. Explain the purpose of an ERD in database development.
(Jelaskan tujuan ERD dalam pengembangan database.)

Jika ingin jawaban contoh, bilang saja: “Kasih contoh jawabannya.”


D. Contoh Mini Project Modeling (UML + ERD)

Project: Aplikasi Pemesanan Makanan Online

1. Use Case Diagram (Deskripsi)

Aktor:

  • Pengguna
  • Admin

Use Case:

  • Register
  • Login
  • Order Food
  • View Menu
  • Manage Menu (Admin)
  • Confirm Order (Admin)

2. ERD (Deskripsi Entitas & Atribut)

Entity: User

  • user_id (PK)
  • name
  • email
  • password

Entity: Menu

  • menu_id (PK)
  • menu_name
  • price

Entity: Orders

  • order_id (PK)
  • user_id (FK)
  • menu_id (FK)
  • order_date
  • status

3. Sample SQL

Create Table User

CREATE TABLE users (
  user_id INT PRIMARY KEY,
  name VARCHAR(50),
  email VARCHAR(50),
  password VARCHAR(50)
);

Simple SELECT

SELECT name, email FROM users;

E. Ringkasan SDLC (Software Development Life Cycle)

1. Planning – Perencanaan
2. Analysis – Analisis kebutuhan
3. Design – Perancangan (UML, ERD)
4. Implementation – Pengkodean
5. Testing – Pengujian
6. Deployment – Penerapan
7. Maintenance – Pemeliharaan

Desain pemodelan sangat berperan dalam tahap Analysis dan Design.



                                 CHAPTER 3
              FUNDAMENTAL PROGRAMMING (Pemrograman Dasar

Materi: struktur kontrol, fungsi, OOP dasar, debugging, algoritma, data structure.

Format:

  1. 10 Useful Expressions
  2. Dialogue
  3. 10 Memorizing (hafalan)
  4. 15 Multiple Choice
  5. Bonus Dialogue
  6. 20 Q & A Bilingual
  7. Conclusion (bilingual)

1. 10 Useful Expressions (Programming Class)

  1. “Run the program.” – Jalankan programnya.
  2. “Check the logic.” – Periksa logikanya.
  3. “There is an error in the code.” – Ada kesalahan di kodenya.
  4. “Use a loop for repetition.” – Gunakan loop untuk pengulangan.
  5. “Call the function here.” – Panggil fungsinya di sini.
  6. “Debug the program step by step.” – Debug program secara bertahap.
  7. “Define the variable first.” – Definisikan variabelnya dulu.
  8. “The output is incorrect.” – Output-nya tidak benar.
  9. “Check the condition.” – Periksa kondisinya.
  10. “Apply OOP principles.” – Terapkan prinsip OOP.

2. Dialogue – “Learning Basic Programming”

English

Teacher: Today we will learn about control structures such as if-else and loops.
Student: What is the difference between an if and a loop?
Teacher: If is used for decision making, while loops are used for repetition.
Student: I see. How about functions?
Teacher: Functions allow us to reuse code and make the program more organized.
Student: And OOP?
Teacher: OOP uses classes and objects to model real-world behavior.
Student: Great! I want to try making a simple program.
Teacher: Good. Start with variables and input-processing-output.

Indonesia

Guru: Hari ini kita akan belajar struktur kontrol seperti if-else dan loop.
Siswa: Apa perbedaan antara if dan loop?
Guru: If digunakan untuk pengambilan keputusan, sedangkan loop untuk pengulangan.
Siswa: Saya mengerti. Bagaimana dengan fungsi?
Guru: Fungsi memungkinkan kita menggunakan ulang kode dan membuat program lebih terstruktur.
Siswa: Lalu OOP?
Guru: OOP menggunakan kelas dan objek untuk memodelkan perilaku dunia nyata.
Siswa: Baik! Saya ingin mencoba membuat program sederhana.
Guru: Bagus. Mulailah dari variabel dan alur input-proses-output.


3. 10 Memorizing – Key Concepts

  1. Variable = Tempat menyimpan data
  2. Function = Kode yang dapat dipanggil
  3. Parameter = Nilai yang dikirim ke fungsi
  4. Return value = Nilai yang dikembalikan
  5. Loop = Pengulangan
  6. Algorithm = Langkah-langkah pemecahan masalah
  7. Class = Blueprint untuk objek (OOP)
  8. Object = Instance dari class
  9. Debugging = Mencari dan memperbaiki error
  10. Condition = Pernyataan logika (true/false)

4. 15 Multiple Choice Questions

(Kunci jawaban saya lampirkan setelah soal)

  1. A variable is used to _______.
    a. repeat code
    b. store data
    c. compare values

  2. A loop is used for _______.
    a. input
    b. repetition
    c. output

  3. A function helps programmers to _______.
    a. delete data
    b. reuse code
    c. repeat errors

  4. The if statement is used for _______.
    a. decision making
    b. looping
    c. creating variables

  5. OOP stands for _______.
    a. Object-Oriented Program
    b. Object-Oriented Programming
    c. Operational Object Programming

  6. A class is a _______.
    a. completed program
    b. blueprint for objects
    c. database table

  7. A compiler translates _______.
    a. binary to code
    b. code to machine language
    c. images to text

  8. “Debugging” means _______.
    a. fixing errors
    b. deleting files
    c. adding code

  9. Which one is a loop?
    a. if
    b. while
    c. switch

  10. A function that does not return a value is called _______.
    a. loop
    b. void function
    c. string

  11. Array is a structure that stores _______.
    a. multiple values
    b. one instruction
    c. one class

  12. Inheritance is a concept of _______.
    a. looping
    b. OOP
    c. SQL

  13. “Return” keyword is used in _______.
    a. loops
    b. functions
    c. SQL

  14. Which symbol is used for “equal to” in programming logic?
    a. =
    b. ==
    c. ===

  15. Pseudocode is _______.
    a. program testing
    b. program explanation
    c. program output


Kunci Jawaban

1.b 2.b 3.b 4.a 5.b 6.b 7.b 8.a 9.b 10.b 11.a
12.b 13.b 14.b 15.b


5. Bonus Dialogue 
                          Debugging Together

A: My program doesn’t run correctly.
     Programku tidak berjalan dengan benar.
B: Did you check the syntax?
     Sudah cek sintaksnya?

A: Yes, but the output is still wrong.
     Sudah, tapi output-nya masih salah.

B: Maybe the logic in the loop is incorrect.
      Mungkin logika pada loop yang salah.

A: Can you help me debug it?
      Bisa bantu saya debug?

B: Sure, let’s check it line by line.
       Tentu, mari cek baris per baris.


6. 20 Q & A Bilingual

  1. Q: What is a function?
    A: A function is reusable code.
    Q: Apa itu fungsi?
    A: Fungsi adalah kode yang bisa digunakan ulang.

  2. Q: What does a loop do?
    A: It repeats instructions.
    Q: Apa tugas loop?
    A: Mengulangi instruksi.

  3. Q: Why do we use variables?
    A: To store values.
    Q: Mengapa kita menggunakan variabel?
    A: Untuk menyimpan nilai.

  4. Q: What is OOP?
    A: A programming paradigm using objects.
    Q: Apa itu OOP?
    A: Paradigma pemrograman yang menggunakan objek.

  5. Q: What is a class?
    A: A template for objects.
    Q: Apa itu kelas?
    A: Template untuk membuat objek.

  6. Q: What is debugging?
    A: Fixing errors in code.
    Q: Apa itu debugging?
    A: Memperbaiki kesalahan pada kode.

  7. Q: What is an algorithm?
    A: Steps to solve a problem.
    Q: Apa itu algoritma?
    A: Langkah-langkah memecahkan masalah.

  8. Q: What is input?
    A: Data provided to the program.
    Q: Apa itu input?
    A: Data yang diberikan ke program.

  9. Q: What is output?
    A: The result produced by the program.
    Q: Apa itu output?
    A: Hasil yang dihasilkan program.

  10. Q: What is a condition?
    A: A logical test.
    Q: Apa itu kondisi?
    A: Tes logis.

  11. Q: What is the “return” keyword?
    A: It sends back a value from a function.
    Q: Apa fungsi kata kunci “return”?
    A: Mengembalikan nilai dari fungsi.

  12. Q: What is inheritance?
    A: A class taking properties from another class.
    Q: Apa itu pewarisan?
    A: Kelas menerima sifat dari kelas lain.

  13. Q: What is a parameter?
    A: A value passed to a function.
    Q: Apa itu parameter?
    A: Nilai yang dikirim ke fungsi.

  14. Q: What is a loop exit condition?
    A: A condition that stops the loop.
    Q: Apa kondisi keluar loop?
    A: Kondisi yang menghentikan loop.

  15. Q: What is a variable type?
    A: The kind of data stored.
    Q: Apa itu tipe variabel?
    A: Jenis data yang disimpan.

  16. Q: What is OOP used for?
    A: To model real-world objects.
    Q: Untuk apa OOP digunakan?
    A: Untuk memodelkan objek dunia nyata.

  17. Q: Why do we use functions?
    A: To make code cleaner and reusable.
    Q: Mengapa menggunakan fungsi?
    A: Agar kode rapi dan bisa digunakan ulang.

  18. Q: What tool is used for debugging?
    A: Debugger.
    Q: Alat apa untuk debugging?
    A: Debugger.

  19. Q: What is pseudocode?
    A: A simple description of a program.
    Q: Apa itu pseudocode?
    A: Deskripsi sederhana dari program.

  20. Q: What is the purpose of programming?
    A: To solve problems using logic.
    Q: Apa tujuan pemrograman?
    A: Menyelesaikan masalah menggunakan logika.


7. Conclusion (Bilingual)

English

Basic programming teaches students how to think logically, write structured code, and solve problems effectively. Concepts like variables, functions, loops, algorithms, and OOP form the foundation for more advanced programming topics.

Indonesia

Pemrograman dasar mengajarkan siswa untuk berpikir logis, menulis kode terstruktur, dan menyelesaikan masalah dengan efektif. Konsep seperti variabel, fungsi, loop, algoritma, dan OOP adalah fondasi untuk mempelajari pemrograman tingkat lanjut.


CHAPTER 4
DATABASE FUNDAMENTALS (Dasar-Dasar Basis Data)

Mencakup: konsep dasar database, model relasional, normalisasi, SQL, tabel, kunci, dan relasi.

Format:

  1. 10 Useful Expressions
  2. Dialogue
  3. 10 Memorizing
  4. 15 Multiple Choice + Key
  5. Bonus Dialogue
  6. 20 Q & A
  7. Conclusion (Bilingual)

1. 10 Useful Expressions (Database Class)

  1. “Create a new table.” – Buat tabel baru.
  2. “Define the primary key.” – Tentukan primary key-nya.
  3. “Insert data into the table.” – Masukkan data ke tabel.
  4. “Query the database.” – Query basis datanya.
  5. “Check the relationship between tables.” – Periksa relasi antar tabel.
  6. “Normalize the data.” – Normalisasikan datanya.
  7. “Run the SQL command.” – Jalankan perintah SQL.
  8. “Check for redundancy.” – Periksa redundansi.
  9. “Update the record.” – Perbarui data.
  10. “Design the database schema.” – Rancang skema basis data.

2. Dialogue – “Learning Database Basics”

English

Teacher: Today, we will learn about relational databases.
Student: What is a relational database?
Teacher: It is a database that stores data in tables connected by relationships.
Student: What is a primary key?
Teacher: A primary key uniquely identifies each record.
Student: And foreign key?
Teacher: A foreign key connects one table to another.
Student: How about SQL?
Teacher: SQL is the language used to manage and query the database.
Student: Great! I want to try a SELECT command.
Teacher: Good. Start with: SELECT * FROM students;

Indonesia

Guru: Hari ini kita akan belajar basis data relasional.
Siswa: Apa itu basis data relasional?
Guru: Basis data yang menyimpan data dalam tabel yang saling terhubung.
Siswa: Apa itu primary key?
Guru: Primary key adalah kunci unik untuk setiap record.
Siswa: Lalu foreign key?
Guru: Foreign key menghubungkan satu tabel dengan tabel lainnya.
Siswa: Bagaimana dengan SQL?
Guru: SQL adalah bahasa untuk mengelola dan melakukan query pada basis data.
Siswa: Bagus! Saya ingin mencoba perintah SELECT.
Guru: Baik. Mulailah dengan: SELECT * FROM students;


3. 10 Memorizing – Key Concepts

  1. Database = Tempat penyimpanan data terstruktur
  2. Table = Struktur penyimpanan berbaris-kolom
  3. Record = Data dalam satu baris
  4. Field = Kolom tabel
  5. Primary Key = Identitas unik
  6. Foreign Key = Penghubung antar tabel
  7. Normalization = Menghilangkan redundansi
  8. 1NF = Data atomik
  9. 2NF = Tidak tergantung partial
  10. SQL = Bahasa basis data

4. 15 Multiple Choice Questions

(Kunci jawaban di bawah)

  1. A database is used to ______.
    a. store structured data
    b. run programs
    c. design hardware

  2. A table consists of rows and ______.
    a. modules
    b. columns
    c. loops

  3. A primary key must be ______.
    a. duplicated
    b. unique
    c. empty

  4. A foreign key connects ______.
    a. algorithms
    b. tables
    c. functions

  5. SQL stands for ______.
    a. Structured Query Language
    b. Simple Query Logic
    c. System Query List

  6. The command to get all records is ______.
    a. FIND * FROM
    b. SELECT * FROM
    c. CALL *

  7. Normalization reduces ______.
    a. speed
    b. redundancy
    c. columns

  8. 1NF means ______.
    a. atomic data
    b. repeating groups
    c. joined tables

  9. A row in a table is also called a ______.
    a. function
    b. record
    c. key

  10. ERD is used to model ______.
    a. loops
    b. entities and relationships
    c. SQL output

  11. JOIN is used to combine ______.
    a. tables
    b. programming languages
    c. browsers

  12. To delete data, we use ______.
    a. REMOVE
    b. ROLLBACK
    c. DELETE

  13. The symbol for selecting all columns is ______.
    a. #
    b. *
    c. @

  14. 2NF removes ______.
    a. atomic values
    b. partial dependency
    c. all tables

  15. A database schema shows ______.
    a. data flow
    b. table structures
    c. hardware parts


Kunci Jawaban

1.a
2.b
3.b
4.b
5.a
6.b
7.b
8.a
9.b
10.b
11.a
12.c
13.b
14.b
15.b


5. Bonus Dialogue – “Creating a Table”

English

A: How do I create a new table?
B: Use the SQL command: CREATE TABLE.
A: What should I include?
B: Field names, data types, and the primary key.
A: Can you give me an example?
B: Sure: CREATE TABLE users (id INT PRIMARY KEY, name VARCHAR(50));

Indonesia

A: Bagaimana cara membuat tabel baru?
B: Gunakan perintah SQL: CREATE TABLE.
A: Apa saja yang harus saya masukkan?
B: Nama kolom, tipe data, dan primary key.
A: Bisa beri contoh?
B: Tentu: CREATE TABLE users (id INT PRIMARY KEY, name VARCHAR(50));


6. 20 Q & A 

  1. Q: What is a database?
    A: A system to store and manage data.
    Apa itu basis data?
    Sistem untuk menyimpan dan mengelola data.

  2. Q: What is a table?
    A: A structure that stores data in rows and columns.
    Apa itu tabel?
    Struktur yang menyimpan data dalam baris dan kolom.

  3. Q: What is a record?
    A: A single row of data.
    Apa itu record?
    Satu baris data.

  4. Q: What is a field?
    A: A column in a table.
    Apa itu field?
    Kolom dalam tabel.

  5. Q: What is a primary key?
    A: A unique identifier for each record.
    Apa itu primary key?
    Pengenal unik setiap data.

  6. Q: What is a foreign key?
    A: A key that connects two tables.
    Apa itu foreign key?
    Kunci yang menghubungkan dua tabel.

  7. Q: What is SQL?
    A: A standard language for managing databases.
    Apa itu SQL?
    Bahasa standar untuk mengelola basis data.

  8. Q: What does SELECT do?
    A: Retrieves data from a table.
    Apa fungsi SELECT?
    Mengambil data dari tabel.

  9. Q: What does INSERT do?
    A: Adds new data.
    Apa fungsi INSERT?
    Menambahkan data baru.

  10. Q: What does UPDATE do?
    A: Changes existing data.
    Apa fungsi UPDATE?
    Mengubah data yang sudah ada.

  11. Q: What does DELETE do?
    A: Removes data.
    Apa fungsi DELETE?
    Menghapus data.

  12. Q: What is normalization?
    A: Organizing data to reduce redundancy.
    Apa itu normalisasi?
    Proses mengorganisasikan data untuk mengurangi duplikasi.

  13. Q: What is 1NF?
    A: Data must be atomic.
    Apa itu 1NF?
    Data harus bersifat atomik.

  14. Q: What is 2NF?
    A: Remove partial dependency.
    Apa itu 2NF?
    Menghilangkan ketergantungan partial.

  15. Q: What is a relational database?
    A: A database that uses tables with relationships.
    Apa itu basis data relasional?
    Basis data yang menggunakan tabel yang saling berhubungan.

  16. Q: What is ERD?
    A: A diagram showing entities and relationships.
    Apa itu ERD?
    Diagram yang menunjukkan entitas dan relasinya.

  17. Q: What is JOIN used for?
    A: To combine tables.
    Fungsi JOIN?
    Menggabungkan tabel.

  18. Q: What is a schema?
    A: The blueprint of the database.
    Apa itu skema basis data?
    Cetak biru dari basis data.

  19. Q: What is a query?
    A: A request for data.
    Apa itu query?
    Permintaan data.

  20. Q: Why do we normalize data?
    A: To make the database more efficient.
    Mengapa data harus dinormalisasi?
    Agar basis data lebih efisien.


7. Conclusion

Database fundamentals help students understand how data is stored, connected, and managed. Concepts like tables, keys, relationships, normalization, and SQL form the foundation for building effective database systems.

Dasar-dasar basis data membantu siswa memahami cara data disimpan, dihubungkan, dan dikelola. Konsep seperti tabel, kunci, relasi, normalisasi, dan SQL merupakan fondasi untuk membangun sistem basis data yang efektif.


                                  CHAPTER 5
                      Software Architecture 
                         Arsitektur Perangkat 

Layering, Architectural Styles, Components, and Modules


1. Useful Expressions

  1. “This system uses a layered architecture.”
    Sistem ini menggunakan arsitektur berlapis.

  2. “The presentation layer handles user interaction.”
    Lapisan presentasi menangani interaksi pengguna.

  3. “We separate the system into modules.”
    Kami memisahkan sistem menjadi modul-modul.

  4. “This architecture improves scalability.”
    Arsitektur ini meningkatkan skalabilitas.

  5. “The business logic layer processes the main rules.”
    Lapisan logika bisnis memproses aturan utama.

  6. “This design makes the system easier to maintain.”
    Desain ini membuat sistem lebih mudah dirawat.

  7. “The data layer manages information storage.”
    Lapisan data mengelola penyimpanan informasi.

  8. “We use a client-server architecture.”
    Kami menggunakan arsitektur klien-server.

  9. “The components communicate through an API.”
    Komponen berkomunikasi melalui API.

  10. “Modular design allows independent development.”
    Desain modular memungkinkan pengembangan secara terpisah.


2. Dialogue 
                         Software Architecture

A: What architecture are we using for this project?
Apa arsitektur yang kita gunakan untuk proyek ini?

B: We are using a three-layer architecture: presentation, business logic, and data.
Kita menggunakan arsitektur tiga lapis: presentasi, logika bisnis, dan data.

A: Why do we need to separate the layers?
Mengapa kita perlu memisahkan lapisan?

B: It improves maintainability and makes the system easier to update.
Itu meningkatkan kemudahan pemeliharaan dan membuat sistem lebih mudah diperbarui.

A: Do we also use APIs for communication between components?
Apakah kita juga menggunakan API untuk komunikasi antar komponen?

B: Yes, it ensures each module can work independently.
Ya, itu memastikan setiap modul bisa bekerja secara independen.


3. Memorizing

  1. Layered architecture
  2. Presentation layer
  3. Business logic layer
  4. Data layer
  5. Client-server architecture
  6. Microservices
  7. Monolithic architecture
  8. API communication
  9. Modules and components
  10. Scalability

4. 15 Multiple Choice Questions (MCQ)

1. The main purpose of layered architecture is to…
a. Increase complexity
b. Separate responsibilities
c. Hide the user interface
d. Add more hardware

2. The presentation layer handles…
a. Business rules
b. User interface
c. Database indexing
d. Server configuration

3. The business logic layer is responsible for…
a. User interactions
b. Database tables
c. System rules and processes
d. Display colors

4. The data layer stores…
a. Images
b. Application logic
c. Data and information
d. HTML layouts

5. A client-server architecture consists of…
a. Two clients
b. Many servers only
c. Client and server
d. Browser only

6. Microservices architecture divides the system into…
a. One program
b. Very large modules
c. Small independent services
d. Hardware units

7. An API is used for…
a. Editing hardware
b. Communication between components
c. Designing buttons
d. Writing comments

8. A monolithic architecture means the system is…
a. Split into many tiny apps
b. One unified application
c. Hardware-based
d. Cloud only

9. Which layer interacts with the database?
a. UI layer
b. Business layer
c. Data layer
d. Design layer

10. Scalability means…
a. Easy to paint
b. Easy to grow or expand
c. Easy to delete
d. Hard to upgrade

11. The main benefit of modular design is…
a. Components depend on each other
b. Difficult testing
c. Independent development
d. Slow performance

12. Which architecture is widely used on websites?
a. Client-server
b. Two-floor
c. Mechanical
d. Electric

13. What does API stand for?
a. Advanced Program Internet
b. Application Programming Interface
c. Access Program Input
d. Automatic Program Interaction

14. Which architecture offers high independence between components?
a. Monolithic
b. Microservices
c. Single layer
d. Hardware-based

15. The presentation layer focuses on…
a. User interface
b. Data structure
c. SQL queries
d. Hardware installation


 Kunci Jawaban Multiple Choice

1-b
2-b
3-c
4-c
5-c
6-c
7-b
8-b
9-c
10-b
11-c
12-a
13-b
14-b
15-a


5. 🎭 Bonus Dialogue

A: What are the benefits of using microservices?
Apa manfaat menggunakan microservices?

B: They allow each service to be developed and deployed independently.
Microservices memungkinkan setiap layanan dikembangkan dan diterapkan secara independen.

A: Does it improve system reliability?
Apakah itu meningkatkan keandalan sistem?

B: Yes, when one service fails, the others can still run normally.
Ya, ketika satu layanan gagal, layanan lain tetap bisa berjalan normal.


6. 20 Questions & Answers

1. Q: What is software architecture?
Apa itu arsitektur perangkat lunak?
A: It is the structure of a software system.
Itu adalah struktur dari sebuah sistem perangkat lunak.

2. Q: What is the purpose of layering?
Apa tujuan dari layering?
A: To separate responsibilities.
Untuk memisahkan tanggung jawab.

3. Q: What does the presentation layer do?
Apa yang dilakukan lapisan presentasi?
A: It handles the user interface.
Menangani antarmuka pengguna.

4. Q: What is business logic?
Apa itu logika bisnis?
A: The rules and processes of the system.
Aturan dan proses dalam sistem.

5. Q: What is the data layer?
Apa itu lapisan data?
A: The layer that stores and manages data.
Lapisan yang menyimpan dan mengelola data.

6. Q: What is a component?
Apa itu komponen?
A: A part or module of the system.
Bagian atau modul dari sistem.

7. Q: What is a module?
Apa itu modul?
A: A self-contained unit in software.
Unit mandiri dalam perangkat lunak.

8. Q: What is an API?
Apa itu API?
A: A communication interface between components.
Antarmuka komunikasi antar komponen.

9. Q: Why use modular design?
Mengapa menggunakan desain modular?
A: To make development easier.
Untuk mempermudah pengembangan.

10. Q: What is client-server architecture?
Apa itu arsitektur klien–server?
A: A system that separates client and server roles.
Sistem yang memisahkan peran klien dan server.

11. Q: What is scalability?
Apa itu skalabilitas?
A: The ability to grow easily.
Kemampuan untuk berkembang dengan mudah.

12. Q: What is monolithic architecture?
Apa itu arsitektur monolitik?
A: One large unified application.
Satu aplikasi besar yang menyatu.

13. Q: What is microservices architecture?
Apa itu arsitektur microservices?
A: Many small independent services.
Banyak layanan kecil yang independen.

14. Q: Why use microservices?
Mengapa menggunakan microservices?
A: For flexibility and independence.
Untuk fleksibilitas dan kemandirian.

15. Q: What is an architectural style?
Apa itu gaya arsitektur?
A: A pattern used to design systems.
Pola yang digunakan untuk merancang sistem.

16. Q: What is the purpose of modules?
Apa tujuan modul?
A: To organize code into logical units.
Untuk mengatur kode menjadi unit logis.

17. Q: What is system reliability?
Apa itu keandalan sistem?
A: The ability to run without failure.
Kemampuan untuk berjalan tanpa kegagalan.

18. Q: What connects components?
Apa yang menghubungkan komponen?
A: API or communication protocols.
API atau protokol komunikasi.

19. Q: What does the architecture influence?
Apa yang dipengaruhi arsitektur?
A: Performance and maintainability.
Performa dan kemudahan pemeliharaan.

20. Q: Why must students learn software architecture?
Mengapa siswa harus belajar arsitektur perangkat lunak?
A: To design better and scalable systems.
Untuk merancang sistem yang lebih baik dan dapat berkembang.


7.  Conclusion

EN:
Software architecture is the foundation of how a system is structured. By understanding layers, components, and architectural styles, students can design systems that are scalable, maintainable, and easy to develop.

ID:
Arsitektur perangkat lunak adalah fondasi bagaimana sebuah sistem dibangun. Dengan memahami lapisan, komponen, dan gaya arsitektur, siswa dapat merancang sistem yang skalabel, mudah dirawat, dan mudah dikembangkan.


Jika Anda ingin Chapter 5 — Pemrograman Web (HTML, PHP, JavaScript) saya siap lanjutkan!


Baik! Kita lanjut CHAPTER 5 — Pemrograman Web
Materi mencakup HTML, CSS, JavaScript, PHP, dan konsep dasar website.
Format tetap sama seperti chapter sebelumnya.


CHAPTER 5 

 Web Programming (Pemrograman Web)

Topics: HTML Basics, CSS, JavaScript, PHP, and Client–Server Interaction


1. 🔟 Useful Expressions

  1. “HTML defines the structure of a webpage.”
    HTML menentukan struktur sebuah halaman web.

  2. “CSS is used to style the webpage.”
    CSS digunakan untuk memberi gaya tampilan halaman web.

  3. “JavaScript makes the webpage interactive.”
    JavaScript membuat halaman web menjadi interaktif.

  4. “PHP runs on the server side.”
    PHP berjalan pada sisi server.

  5. “This form sends data to the server.”
    Form ini mengirim data ke server.

  6. “We need to validate the input.”
    Kita perlu memvalidasi input.

  7. “The browser renders the HTML elements.”
    Browser merender elemen-elemen HTML.

  8. “JavaScript handles dynamic behavior.”
    JavaScript menangani perilaku dinamis.

  9. “The server returns a response.”
    Server mengembalikan sebuah respons.

  10. “Front-end and back-end must work together.”
    Front-end dan back-end harus bekerja bersama.


2. Dialogue — Web Development

(Bilingual English–Indonesia)

A: What language should we use for the structure of our website?
Bahasa apa yang harus kita gunakan untuk struktur website kita?

B: We use HTML to build the structure.
Kita menggunakan HTML untuk membangun strukturnya.

A: And how do we design the appearance?
Dan bagaimana cara kita mendesain tampilannya?

B: We use CSS for styling, like colors, fonts, and layout.
Kita menggunakan CSS untuk styling, seperti warna, font, dan tata letak.

A: What about interactivity?
Bagaimana dengan interaktivitas?

B: JavaScript handles the interactive features like buttons and animations.
JavaScript menangani fitur interaktif seperti tombol dan animasi.


3. Memorizing List

  1. HTML structure
  2. CSS styling
  3. JavaScript interactivity
  4. PHP server processing
  5. Web form
  6. Request & response
  7. DOM (Document Object Model)
  8. Front-end vs back-end
  9. Client–server model
  10. Dynamic website

4.  15 Multiple Choice Questions

1. HTML is used for…
a. Styling
b. Logic
c. Structure
d. Animation

2. CSS stands for…
a. Cascading Style Sheets
b. Computer Style System
c. Central Style Software
d. Cascading Script System

3. JavaScript is used for…
a. Making the page interactive
b. Designing databases
c. Server installation
d. File compression

4. PHP runs on…
a. Browser
b. Client
c. Server
d. Printer

5. Which tag is used for creating a paragraph in HTML?
a. <body>
b. <p>
c. <div>
d. <img>

6. CSS controls…
a. Structure
b. Logic
c. Styling
d. Server response

7. JavaScript can…
a. Create database tables
b. Change HTML content dynamically
c. Compile CSS
d. Turn off the server

8. A form is used to…
a. Display images
b. Send data to server
c. Create animations
d. Store cookies

9. PHP is commonly used for…
a. Front-end design
b. Back-end processing
c. Hardware configuration
d. Video editing

10. The client is usually…
a. Database
b. Server
c. Browser
d. Router

11. The DOM represents…
a. Database objects
b. Structure of HTML elements
c. Server files
d. CSS selectors

12. What does JavaScript modify directly?
a. CPU
b. RAM
c. DOM
d. Router

13. Which language is executed in the browser?
a. PHP
b. JavaScript
c. SQL
d. Python

14. The back-end handles…
a. UI design
b. Server-side logic
c. Fonts and colors
d. Animations

15. A dynamic website means…
a. The content can change
b. The content is always the same
c. The page cannot interact
d. The server is offline


🗝️ Kunci Jawaban (MCQ)

1-c
2-a
3-a
4-c
5-b
6-c
7-b
8-b
9-b
10-c
11-b
12-c
13-b
14-b
15-a


5.  Bonus Dialogue 

A: Why do developers use PHP?
Mengapa pengembang menggunakan PHP?

B: Because it is easy to connect with databases and create dynamic pages.
Karena PHP mudah terhubung dengan basis data dan membuat halaman dinamis.

A: Is JavaScript required for all websites?
Apakah JavaScript wajib untuk semua website?

B: Not always, but it is essential for modern interactive features.
Tidak selalu, tetapi sangat penting untuk fitur interaktif modern.


6. 20 Q & A

1. Q: What is HTML used for?
Untuk apa HTML digunakan?
A: For building the structure of a webpage.
Untuk membangun struktur halaman web.

2. Q: What is CSS used for?
Untuk apa CSS digunakan?
A: For styling and layout.
Untuk gaya dan tata letak.

3. Q: What makes a webpage interactive?
Apa yang membuat halaman web interaktif?
A: JavaScript.
JavaScript.

4. Q: What is PHP used for?
Untuk apa PHP digunakan?
A: For server-side processing.
Untuk pemrosesan sisi server.

5. Q: What is a form?
Apa itu form?
A: A tool to send user input to the server.
Alat untuk mengirim input pengguna ke server.

6. Q: What is the client in web development?
Apa itu klien dalam pengembangan web?
A: The browser.
Browser.

7. Q: What is the server?
Apa itu server?
A: The computer that processes requests.
Komputer yang memproses permintaan.

8. Q: What is the DOM?
Apa itu DOM?
A: The structure of HTML elements.
Struktur elemen HTML.

9. Q: What is JavaScript mostly used for?
Untuk apa JavaScript paling sering digunakan?
A: Dynamic behavior.
Perilaku dinamis.

10. Q: What is back-end development?
Apa itu back-end development?
A: Server-side programming.
Pemrograman sisi server.

11. Q: What does front-end include?
Apa yang termasuk front-end?
A: HTML, CSS, JavaScript.
HTML, CSS, JavaScript.

12. Q: What is an interactive webpage?
Apa itu halaman web interaktif?
A: A page that changes based on user actions.
Halaman yang berubah berdasarkan tindakan pengguna.

13. Q: Is HTML a programming language?
Apakah HTML bahasa pemrograman?
A: No, it is a markup language.
Tidak, itu bahasa markah.

14. Q: Is JavaScript executed on the client or server?
JavaScript dijalankan di klien atau server?
A: Client side.
Sisi klien.

15. Q: Can PHP connect to a database?
Apakah PHP bisa terhubung ke database?
A: Yes.
Ya.

16. Q: What is a dynamic website?
Apa itu website dinamis?
A: A website whose content changes.
Website yang kontennya berubah.

17. Q: What is web hosting?
Apa itu web hosting?
A: A service for storing website files.
Layanan untuk menyimpan file website.

18. Q: What is a URL?
Apa itu URL?
A: A unique address of a webpage.
Alamat unik dari sebuah halaman web.

19. Q: What is JavaScript validation?
Apa itu validasi JavaScript?
A: Checking user input.
Memeriksa input pengguna.

20. Q: Why must students learn web programming?
Mengapa siswa harus belajar pemrograman web?
A: Because websites are essential in modern technology.
Karena website sangat penting dalam teknologi modern.


7. 🏁 Conclusion

EN:
Web programming teaches students how to build interactive and dynamic websites using HTML, CSS, JavaScript, and PHP. Mastering these skills will prepare them for real-world web development.

ID:
Pemrograman web mengajarkan siswa cara membangun website yang interaktif dan dinamis menggunakan HTML, CSS, JavaScript, dan PHP. Menguasai keterampilan ini mempersiapkan mereka untuk pengembangan web di dunia nyata.


Jika siap, kita lanjut CHAPTER 6 — Sistem Operasi, atau mau topik tertentu disesuaikan?

Baik! Kita lanjut CHAPTER 6 — Sistem Operasi
Format tetap sama seperti chapter sebelumnya.


                                 CHAPTER 6 
Bbb     Operating System (Sistem Operasi)

Topics: Fungsi OS, Manajemen Memori, Manajemen Proses, File System, User Interface, dan Jenis-Jenis OS.


1. Useful Expressions

  1. “The operating system manages hardware resources.”
    Sistem operasi mengelola sumber daya perangkat keras.

  2. “The OS provides a user interface.”
    OS menyediakan antarmuka pengguna.

  3. “A process is a running program.”
    Proses adalah program yang sedang berjalan.

  4. “The OS controls memory allocation.”
    OS mengontrol alokasi memori.

  5. “Multitasking allows multiple programs to run at the same time.”
    Multitasking memungkinkan beberapa program berjalan bersamaan.

  6. “The file system organizes files and folders.”
    File system mengatur file dan folder.

  7. “Drivers allow the OS to communicate with hardware.”
    Driver memungkinkan OS berkomunikasi dengan perangkat keras.

  8. “The kernel controls the core functions of the system.”
    Kernel mengontrol fungsi inti sistem.

  9. “Booting is the process of starting the computer.”
    Booting adalah proses menyalakan komputer.

  10. “The OS ensures system security and access control.”
    OS memastikan keamanan sistem dan kontrol akses.


2.  Dialogue

A: What is the main function of an operating system?
Apa fungsi utama dari sistem operasi?

B: It manages hardware, software, and all system resources.
Ia mengelola perangkat keras, perangkat lunak, dan semua sumber daya sistem.

A: What about memory management?
Bagaimana dengan manajemen memori?

B: The OS allocates and deallocates memory for processes.
OS mengalokasikan dan melepas memori untuk proses.

A: Which OS do you usually use?
Sistem operasi apa yang biasanya kamu gunakan?

B: I mostly use Windows, but sometimes Linux for programming.
Saya biasanya menggunakan Windows, tapi kadang Linux untuk pemrograman.


3. Memorizing List

  1. Operating System
  2. Kernel
  3. Process
  4. Memory Management
  5. File System
  6. Multitasking
  7. Booting
  8. Driver
  9. User Interface
  10. System Security

4. 15 Multiple Choice Questions

1. The operating system is…
a. An application
b. A hardware device
c. System software
d. A database

2. The kernel is the…
a. User interface
b. Core part of the OS
c. Web browser
d. File organizer

3. A process is…
a. A stored file
b. A running program
c. A type of memory
d. A hardware component

4. File system is used to…
a. Control windows
b. Organize files
c. Run antivirus
d. Connect the internet

5. Which OS is open-source?
a. Windows
b. Linux
c. macOS
d. Android

6. Memory management handles…
a. Storage devices
b. CPU temperature
c. RAM allocation
d. Keyboard input

7. Booting refers to…
a. Shutting down
b. Restarting
c. Starting the computer
d. Installing software

8. A driver is…
a. A type of file
b. Hardware component
c. Connector between OS and hardware
d. Antivirus software

9. Multitasking allows…
a. One program only
b. Two keyboards
c. Multiple programs
d. No programs

10. A user interface is…
a. Command line or graphical interface
b. CPU brand
c. BIOS version
d. Memory card

11. Android is based on…
a. Windows
b. Linux
c. macOS
d. Unix

12. Which OS is commonly used for servers?
a. Windows 7
b. Linux
c. Android
d. ChromeOS

13. The OS that uses CMD or PowerShell is…
a. Linux
b. macOS
c. Windows
d. Android

14. File extension .exe is for…
a. Images
b. Executable programs
c. Text files
d. Music files

15. The main purpose of an OS is to…
a. Write code
b. Manage system resources
c. Design webpages
d. Create animations


🗝️ Kunci Jawaban

1-c
2-b
3-b
4-b
5-b
6-c
7-c
8-c
9-c
10-a
11-b
12-b
13-c
14-b
15-b


5. Bonus Dialogue

A: Why do programmers like using Linux?
Mengapa programmer suka menggunakan Linux?

B: Because it is open-source, customizable, and great for development.
Karena bersifat open-source, dapat disesuaikan, dan bagus untuk pengembangan.

A: Is Windows better for general users?
Apakah Windows lebih baik untuk pengguna umum?

B: Yes, because it is user-friendly and widely supported.
Ya, karena mudah digunakan dan didukung secara luas.


6.  20 Q & A

1. Q: What is an operating system?
Apa itu sistem operasi?
A: System software that manages hardware and software.
Perangkat lunak sistem yang mengelola perangkat keras dan lunak.

2. Q: What is the kernel?
Apa itu kernel?
A: The core of the operating system.
Inti dari sistem operasi.

3. Q: What is a process?
Apa itu proses?
A: A running program.
Program yang sedang berjalan.

4. Q: What is RAM used for?
Untuk apa RAM digunakan?
A: Temporary storage for running programs.
Penyimpanan sementara untuk program berjalan.

5. Q: What is a file system?
Apa itu file system?
A: The system that organizes files.
Sistem yang mengatur file.

6. Q: What is booting?
Apa itu booting?
A: The process of starting the computer.
Proses menyalakan komputer.

7. Q: What is a driver?
Apa itu driver?
A: Software that connects OS with hardware.
Perangkat lunak yang menghubungkan OS dengan perangkat keras.

8. Q: What is multitasking?
Apa itu multitasking?
A: Running multiple programs at once.
Menjalankan banyak program sekaligus.

9. Q: What is the user interface?
Apa itu antarmuka pengguna?
A: The way users interact with the system.
Cara pengguna berinteraksi dengan sistem.

10. Q: What is CLI?
Apa itu CLI?
A: Command Line Interface.
Antarmuka baris perintah.

11. Q: What is GUI?
Apa itu GUI?
A: Graphical User Interface.
Antarmuka pengguna grafis.

12. Q: What OS is commonly used on smartphones?
OS apa yang biasa digunakan pada smartphone?
A: Android and iOS.
Android dan iOS.

13. Q: What OS is popular for servers?
OS apa yang populer untuk server?
A: Linux.
Linux.

14. Q: What is virtualization?
Apa itu virtualisasi?
A: Running multiple OS on one machine.
Menjalankan beberapa OS pada satu mesin.

15. Q: Can the OS control hardware?
Apakah OS dapat mengontrol perangkat keras?
A: Yes.
Ya.

16. Q: What is system security?
Apa itu keamanan sistem?
A: Protection from threats and unauthorized access.
Perlindungan dari ancaman dan akses ilegal.

17. Q: What is a task manager used for?
Untuk apa task manager digunakan?
A: Monitoring processes.
Memantau proses.

18. Q: What is BIOS?
Apa itu BIOS?
A: Basic Input Output System.
Sistem input output dasar.

19. Q: What is shutdown?
Apa itu shutdown?
A: Turning off the computer.
Mematikan komputer.

20. Q: Why is an OS important?
Mengapa OS penting?
A: Because it allows the computer to function.
Karena memungkinkan komputer berfungsi.


7. 🏁 Conclusion

EN:
The operating system is the core software that manages hardware, memory, processes, security, and the user interface. Understanding the OS helps students operate and troubleshoot computers effectively.

ID:
Sistem operasi adalah perangkat lunak inti yang mengelola perangkat keras, memori, proses, keamanan, dan antarmuka pengguna. Memahami OS membantu siswa mengoperasikan dan memperbaiki komputer dengan efektif.


                             CHAPTER 7 
               SOFTWARE ARCHITECTURE



1. Useful Expressions 

  1. The system is divided into multiple layers.
  2. The architecture follows the MVC pattern.
  3. This layer handles the business logic.
  4. The data layer manages database operations.
  5. The presentation layer interacts with the user.
  6. This system uses a client-server architecture.
  7. The design must be scalable and maintainable.
  8. We need to separate concerns to simplify development.
  9. The architecture determines how components interact.
  10. This module communicates with other modules via APIs.

2. Dialogue 

A: What software architecture are we using for this project?
A: Arsitektur perangkat lunak apa yang kita gunakan untuk proyek ini?

B: We will use the three-layer architecture: presentation, business logic, and data.
B: Kita akan menggunakan arsitektur tiga lapis: presentasi, logika bisnis, dan data.

A: Why do we need to separate the layers?
A: Mengapa kita perlu memisahkan layer-layer tersebut?

B: To make the system easier to maintain and scale.
B: Agar sistem lebih mudah dipelihara dan dikembangkan.

A: Does this architecture support API integration?
A: Apakah arsitektur ini mendukung integrasi API?

B: Yes, the business layer will handle all API communication.
B: Ya, layer bisnis akan menangani semua komunikasi API.


3. Memorizing Section 

  1. Software architecture defines the structure of a system.
  2. Common architectures include MVC, Layered, and Client-Server.
  3. The Presentation Layer handles the user interface.
  4. The Business Logic Layer contains core processing.
  5. The Data Layer manages data storage and queries.
  6. MVC stands for Model–View–Controller.
  7. Good architecture improves maintainability.
  8. API is a communication interface between systems.
  9. Architecture ensures components work together.
  10. Layered architecture separates responsibilities.

4. Multiple Choice 

Questions

  1. Software architecture mainly describes the system’s ____.
    a. Color
    b. Structure
    c. Animation
    d. Difficulty
    e. Length

  2. MVC stands for ____.
    a. Model–View–Code
    b. Method–Value–Class
    c. Model–View–Controller
    d. Module–Vector–Controller
    e. Main–View–Component

  3. The layer that handles UI is ____.
    a. Data Layer
    b. Control Layer
    c. Presentation Layer
    d. Hardware Layer
    e. Core Layer

  4. The business logic layer ____.
    a. Stores pictures
    b. Runs core processes
    c. Plays music
    d. Edits images
    e. Manages hardware

  5. The data layer is responsible for ____.
    a. Input text
    b. User interaction
    c. Database operations
    d. Sound output
    e. Graphics

  6. Architecture that separates code into Model, View, Controller is ____.
    a. Layered
    b. MVC
    c. Linear
    d. Modular
    e. Flowchart

  7. Client-server architecture uses ____.
    a. One computer only
    b. Robot control
    c. Server and client
    d. No communication
    e. Memory sharing

  8. API stands for ____.
    a. Application Program Interface
    b. Applied Process Indicator
    c. Active Program Input
    d. Action Page Interface
    e. Automatic Plugin Interaction

  9. Good architecture should be ____.
    a. Complicated
    b. Confusing
    c. Maintainable
    d. Unsupported
    e. Heavy

  10. Which layer interacts with users?
    a. Data
    b. Presentation
    c. Logic
    d. Hardware
    e. System

  11. Separating layers makes a system easier to ____.
    a. Break
    b. Forget
    c. Maintain
    d. Destroy
    e. Hide

  12. Business logic layer communicates with ____.
    a. Printer only
    b. Speakers
    c. Presentation and Data layers
    d. Mouse
    e. Network cables

  13. MVC is a type of ____.
    a. Food
    b. Software architecture
    c. Hardware
    d. Game
    e. Animal

  14. The structure of a software system is called ____.
    a. Blueprint
    b. Architecture
    c. Color tone
    d. Divider
    e. Motion

  15. APIs are used for ____.
    a. Sleeping
    b. Data communication between systems
    c. Cleaning memory
    d. Formatting text
    e. Making colors


Answer Key

1-b
2-c
3-c
4-b
5-c
6-b
7-c
8-a
9-c
10-b
11-c
12-c
13-b
14-b
15-b


5. Bonus Dialogue 

A: Is layered architecture suitable for large systems?
A: Apakah arsitektur berlapis cocok untuk sistem yang besar?

B: Yes, because it organizes the system into manageable parts.
B: Ya, karena arsitektur ini membagi sistem menjadi bagian yang mudah dikelola.

A: Can we change a layer without affecting others?
A: Bisakah kita mengubah satu layer tanpa mempengaruhi yang lain?

B: Yes, if the interfaces are well designed.
B: Ya, jika antarmuka antar layer dirancang dengan baik.


6. 20 Q & A

  1. Q: What is software architecture?
    A: It is the structure of a software system.
    Q: Apa itu arsitektur perangkat lunak?
    A: Itu adalah struktur dari sebuah sistem perangkat lunak.

  2. Q: What does MVC stand for?
    A: Model–View–Controller.
    Q: Apa kepanjangan MVC?
    A: Model–View–Controller.

  3. Q: Which layer interacts with users?
    A: The presentation layer.
    Q: Layer mana yang berinteraksi dengan pengguna?
    A: Layer presentasi.

  4. Q: What does the business layer do?
    A: It handles the core logic.
    Q: Apa tugas layer bisnis?
    A: Menangani logika inti sistem.

  5. Q: What does the data layer manage?
    A: Database operations.
    Q: Apa yang dikelola layer data?
    A: Operasi basis data.

  6. Q: Why do we separate layers?
    A: To make the system easier to maintain.
    Q: Mengapa kita memisahkan layer?
    A: Agar sistem mudah dipelihara.

  7. Q: What is an API?
    A: A communication interface.
    Q: Apa itu API?
    A: Antarmuka komunikasi antar sistem.

  8. Q: What is the benefit of MVC?
    A: Clear separation of responsibilities.
    Q: Apa manfaat MVC?
    A: Pemisahan tanggung jawab yang jelas.

  9. Q: Does architecture affect system performance?
    A: Yes, it can.
    Q: Apakah arsitektur mempengaruhi performa?
    A: Ya, bisa.

  10. Q: What is client-server architecture?
    A: A system using server and clients.
    Q: Apa itu arsitektur client-server?
    A: Sistem yang menggunakan server dan klien.

  11. Q: What layer stores data?
    A: The data layer.
    Q: Layer mana yang menyimpan data?
    A: Layer data.

  12. Q: What layer displays output?
    A: The presentation layer.
    Q: Layer mana yang menampilkan output?
    A: Layer presentasi.

  13. Q: Is layered architecture popular?
    A: Yes, very popular.
    Q: Apakah arsitektur berlapis populer?
    A: Ya, sangat populer.

  14. Q: What helps components communicate?
    A: APIs.
    Q: Apa yang membantu komponen berkomunikasi?
    A: API.

  15. Q: What does “scalable” mean?
    A: Easy to grow or expand.
    Q: Apa arti “scalable”?
    A: Mudah dikembangkan atau diperbesar.

  16. Q: What is the goal of good architecture?
    A: Maintainability and performance.
    Q: Apa tujuan arsitektur yang baik?
    A: Kemudahan perawatan dan performa.

  17. Q: Can architecture reduce bugs?
    A: Yes, well-organized code reduces errors.
    Q: Apakah arsitektur dapat mengurangi bug?
    A: Ya, kode yang terorganisir mengurangi error.

  18. Q: What is a module?
    A: A part of the system.
    Q: Apa itu modul?
    A: Bagian dari sistem.

  19. Q: Why use patterns like MVC?
    A: To follow best practices.
    Q: Mengapa menggunakan pola seperti MVC?
    A: Untuk mengikuti praktik terbaik.

  20. Q: What layer should handle logic?
    A: Business logic layer.
    Q: Layer mana yang menangani logika?
    A: Layer logika bisnis.


7. Conclusion 

ENGLISH:
Software architecture is the foundation of a well-structured system. By separating layers and using patterns like MVC or client-server, developers can create applications that are maintainable, scalable, and easy to develop.

INDONESIA:
Arsitektur perangkat lunak adalah dasar dari sistem yang terstruktur dengan baik. Dengan memisahkan layer dan menggunakan pola seperti MVC atau client-server, pengembang dapat membuat aplikasi yang mudah dipelihara, dapat dikembangkan, dan mudah dibuat.


                           CHAPTER 8 

                            DEBUGGING

1. Useful Expressions

  1. The program shows an error message.
  2. We need to trace the source of the bug.
  3. The code is not running as expected.
  4. Let’s check the logic step by step.
  5. There is a syntax error in this line.
  6. The debugger helps us identify the problem.
  7. We should test the program carefully.
  8. The output is different from the expected result.
  9. We need to fix this issue immediately.
  10. The bug occurs when the user enters invalid input.

2. Dialogue 

A: The program keeps crashing. Did you find the bug?
A: Programnya terus crash. Apakah kamu menemukan bug-nya?

B: Yes, there was a syntax error in the loop statement.
B: Ya, ada kesalahan sintaks pada pernyataan loop.

A: How did you find it?
A: Bagaimana kamu menemukannya?

B: I used the debugger and checked each line carefully.
B: Saya menggunakan debugger dan memeriksa setiap baris dengan teliti.

A: Is the program working now?
A: Apakah programnya sudah berjalan sekarang?

B: Yes, after fixing the bug, it runs perfectly.
B: Ya, setelah memperbaiki bug, sekarang berjalan dengan baik.


3. Memorizing Section 

  1. Debugging is the process of finding and fixing errors.
  2. Bugs can be syntax errors, logic errors, or runtime errors.
  3. A debugger helps programmers trace code execution.
  4. Printing variable values helps locate issues.
  5. Syntax errors occur when code violates language rules.
  6. Logic errors cause wrong output.
  7. Runtime errors happen while the program is running.
  8. Testing helps identify hidden bugs.
  9. Debugging improves program reliability.
  10. Clear and clean code makes debugging easier.

4. Multiple Choice 

Questions

  1. Debugging means ____.
    a. Drawing
    b. Fixing bugs
    c. Copying code
    d. Deleting programs
    e. Printing data

  2. An error in the rules of the programming language is called ____.
    a. Logic error
    b. Syntax error
    c. Runtime error
    d. Network error
    e. Typing style

  3. A logic error causes ____.
    a. The computer to explode
    b. Wrong output
    c. No effect
    d. Hardware damage
    e. A shutdown

  4. A runtime error occurs ____.
    a. Before compiling
    b. During program execution
    c. When writing code
    d. After turning off
    e. When printing documents

  5. A debugger is used to ____.
    a. Draw diagrams
    b. Fix hardware
    c. Trace code execution
    d. Increase RAM
    e. Install software

  6. Which error type is caused by wrong logic?
    a. Syntax
    b. Runtime
    c. Logic
    d. Weather
    e. Output

  7. Printing variables helps ____.
    a. Cleaning the screen
    b. Finding bugs
    c. Formatting text
    d. Updating apps
    e. Playing games

  8. A program crashes because of ____.
    a. Fresh air
    b. Runtime error
    c. Beautiful interface
    d. Comments
    e. Fast typing

  9. Which tool helps detect bugs?
    a. Paint
    b. Debugger
    c. Calculator
    d. Browser
    e. Camera

  10. A syntax error is usually detected ____.
    a. By compiler
    b. By keyboard
    c. By printer
    d. By mouse
    e. By speaker

  11. Debugging improves ____.
    a. Color
    b. Size
    c. Reliability
    d. Price
    e. Battery

  12. Wrong formulas in code cause ____.
    a. Syntax error
    b. Logic error
    c. Hair loss
    d. Overheating
    e. No impact

  13. Runtime errors occur when ____.
    a. The program is not executed
    b. The program is running
    c. The file is deleted
    d. The PC is off
    e. The user sleeps

  14. Fixing bugs makes the program more ____.
    a. Confusing
    b. Unstable
    c. Stable
    d. Slow
    e. Difficult

  15. Debugging helps programmers ____.
    a. Sleep
    b. Ignore errors
    c. Solve problems
    d. Create viruses
    e. Delete projects


Answer Key

1-b
2-b
3-b
4-b
5-c
6-c
7-b
8-b
9-b
10-a
11-c
12-b
13-b
14-c
15-c


5. Bonus Dialogue

A: The program still gives the wrong output.
A: Programnya masih memberikan output yang salah.

B: Then the problem might be in the logic, not the syntax.
B: Berarti masalahnya mungkin ada pada logika, bukan sintaks.

A: Should we test each part separately?
A: Apakah kita harus mengetes setiap bagian secara terpisah?

B: Yes, that will make it easier to find the bug.
B: Ya, itu akan memudahkan menemukan bug.


6. 20 Q & A 

  1. Q: What is debugging?
    A: Finding and fixing errors.
    Q: Apa itu debugging?
    A: Mencari dan memperbaiki kesalahan.

  2. Q: What is a bug?
    A: An error in the program.
    Q: Apa itu bug?
    A: Kesalahan dalam program.

  3. Q: What is a syntax error?
    A: Error in writing rules.
    Q: Apa itu syntax error?
    A: Kesalahan pada aturan penulisan.

  4. Q: What is a logic error?
    A: Wrong logic that produces wrong output.
    Q: Apa itu logic error?
    A: Logika salah yang menghasilkan output salah.

  5. Q: What is a runtime error?
    A: Error when program runs.
    Q: Apa itu runtime error?
    A: Kesalahan saat program berjalan.

  6. Q: What tool helps find bugs?
    A: A debugger.
    Q: Alat apa yang membantu menemukan bug?
    A: Debugger.

  7. Q: Why is debugging important?
    A: To make programs reliable.
    Q: Mengapa debugging penting?
    A: Agar program lebih andal.

  8. Q: What causes syntax errors?
    A: Writing mistakes.
    Q: Apa penyebab syntax error?
    A: Kesalahan penulisan.

  9. Q: What causes logic errors?
    A: Incorrect logic.
    Q: Apa penyebab logic error?
    A: Logika yang salah.

  10. Q: How do we detect logic errors?
    A: By checking output.
    Q: Bagaimana mendeteksi logic error?
    A: Dengan memeriksa output.

  11. Q: How do we fix syntax errors?
    A: Correct the code rules.
    Q: Bagaimana memperbaiki syntax error?
    A: Memperbaiki aturan kode.

  12. Q: What happens during a crash?
    A: Program stops unexpectedly.
    Q: Apa yang terjadi saat crash?
    A: Program berhenti tiba-tiba.

  13. Q: What tool prints variable values?
    A: Print/debug statements.
    Q: Alat apa untuk mencetak nilai variabel?
    A: Print/debug statement.

  14. Q: Why test step-by-step?
    A: To find errors easily.
    Q: Mengapa mengetes langkah demi langkah?
    A: Agar mudah menemukan error.

  15. Q: Can debugging reduce errors?
    A: Yes, it can.
    Q: Apakah debugging dapat mengurangi error?
    A: Ya.

  16. Q: What is the first step in debugging?
    A: Identify the error.
    Q: Langkah pertama debugging?
    A: Identifikasi error.

  17. Q: Is clean code easier to debug?
    A: Yes, much easier.
    Q: Apakah clean code lebih mudah di-debug?
    A: Ya, jauh lebih mudah.

  18. Q: Why use a debugger?
    A: To follow code execution.
    Q: Mengapa menggunakan debugger?
    A: Untuk mengikuti eksekusi kode.

  19. Q: Can user input cause bugs?
    A: Yes, if input is invalid.
    Q: Apakah input pengguna dapat menyebabkan bug?
    A: Ya, jika input tidak valid.

  20. Q: What is the goal of debugging?
    A: A correct and stable program.
    Q: Apa tujuan debugging?
    A: Program yang benar dan stabil.


7. Conclusion 

ENGLISH:
Debugging is an essential skill for every programmer. By understanding syntax errors, logic errors, and runtime errors, students can learn how to detect problems and fix them effectively.

INDONESIA:
Debugging adalah keterampilan penting bagi setiap programmer. Dengan memahami syntax error, logic error, dan runtime error, siswa dapat belajar menemukan masalah dan memperbaikinya dengan efektif.


                           ENGLISH LESSON 

    CONTENT MANAGEMENT SYSTEM (CMS)

(


A. Common People Saying 

  1. “CMS makes website updates easier.”

    • CMS membuat pembaruan website jadi lebih mudah.
  2. “You don’t need to be a programmer to use a CMS.”

    • Kamu tidak perlu jadi programmer untuk menggunakan CMS.
  3. “WordPress is one of the most popular CMS today.”

    • WordPress adalah salah satu CMS paling populer saat ini.
  4. “A good CMS saves time and money.”

    • CMS yang bagus menghemat waktu dan biaya.
  5. “Managing content becomes faster with a CMS.”

    • Mengelola konten menjadi lebih cepat dengan CMS.

B. Dialogue

Dialogue: Choosing a CMS for a Website

A: Do you know which CMS is good for beginners?
A: Kamu tahu CMS apa yang bagus untuk pemula?

B: Yes, WordPress is very user-friendly and easy to customize.
B: Ya, WordPress sangat mudah digunakan dan mudah dikustomisasi.

A: What about Joomla or Drupal?
A: Bagaimana dengan Joomla atau Drupal?

B: They’re powerful, but they require more technical skills.
B: Mereka kuat, tapi membutuhkan kemampuan teknis lebih.

A: I just want something simple to update my articles.
A: Saya hanya ingin sesuatu yang sederhana untuk memperbarui artikel saya.

B: Then WordPress or Wix should be perfect for you.
B: Kalau begitu WordPress atau Wix cocok untukmu.


C. Exercise – Translate into Indonesian 

Terjemahkan ke bahasa Indonesia:

  1. CMS helps users edit content easily.
  2. I prefer a CMS that has many templates.
  3. This CMS requires basic programming skills.
  4. We use a CMS to manage our online store.
  5. The CMS dashboard is very simple to understand.
  6. Can you upload images using this CMS?
  7. Our company wants to change to a new CMS.
  8. This CMS is fast and mobile-friendly.
  9. The website becomes easier to maintain with a CMS.
  10. We need a CMS that supports multiple languages.

Mau kunci jawaban?


D. Vocabulary

English Indonesia
Content Konten
Management Pengelolaan
System Sistem
Dashboard Dasbor
Template Template
Plugin Plugin
Update Perbarui
User-friendly Mudah digunakan
Publish Terbitkan
Customize Sesuaikan

E. Bonus Dialogue 
                    Setting: Discussing CMS Features

A: What features do you need in a CMS?
     Fitur apa yang kamu butuhkan di CMS?

B: I need SEO tools, strong security, and easy 
     media upload.
     Saya butuh alat SEO, keamanan yang kuat,       dan upload media yang mudah.

A: Do you want something free or premium?
    Kamu mau yang gratis atau premium?

B: I’ll start with a free one and upgrade later.

     Saya mulai dengan yang gratis dulu, nanti         baru upgrade.


F. 20 Questions & Answers 

  1. Q: What is a CMS?
    A: A CMS is a Content Management System.
    Q: Apa itu CMS?
    A: CMS adalah Sistem Manajemen Konten.

  2. Q: Why do people use a CMS?
    A: To manage website content easily.
    Q: Kenapa orang menggunakan CMS?
    A: Untuk mengelola konten website dengan mudah.

  3. Q: Do you need coding to use a CMS?
    A: Not always, it depends on the platform.
    Q: Apakah perlu coding untuk pakai CMS?
    A: Tidak selalu, tergantung platformnya.

  4. Q: What is the most popular CMS?
    A: WordPress.
    Q: CMS apa yang paling populer?
    A: WordPress.

  5. Q: Can a CMS manage images and videos?
    A: Yes, most CMS can.
    Q: Apakah CMS bisa mengelola gambar dan video?
    A: Ya, sebagian besar bisa.

  6. Q: Is CMS good for companies?
    A: Yes, it helps save time.
    Q: Apakah CMS bagus untuk perusahaan?
    A: Ya, membantu menghemat waktu.

  7. Q: Can students use a CMS?
    A: Of course, it’s easy to learn.
    Q: Apakah siswa bisa pakai CMS?
    A: Tentu, mudah dipelajari.

  8. Q: What CMS is best for e-commerce?
    A: Shopify or WooCommerce.
    Q: CMS apa yang bagus untuk e-commerce?
    A: Shopify atau WooCommerce.

  9. Q: Does CMS support mobile editing?
    A: Yes, many CMS do.
    Q: Apakah CMS mendukung edit via HP?
    A: Ya, banyak yang mendukung.

  10. Q: Is CMS secure?
    A: It depends on updates and plugins.
    Q: Apakah CMS aman?
    A: Tergantung update dan pluginnya.

11–20 (Jika mau saya lanjutkan sampai 20).


                      ENGLISH LESSON 
                   OPERATING SYSTEM (OS)

A. Common People Saying 
  1. “The operating system controls the whole computer.”
    Sistem operasi mengontrol seluruh komputer.

  2. “Without an OS, a computer can’t work.”
    Tanpa sistem operasi, komputer tidak bisa bekerja.

  3. Windows is the most widely used operating system.”
    Windows adalah sistem operasi yang paling banyak digunakan.

  4. Linux is free and very powerful.”
    Linux itu gratis dan sangat kuat.

  5. Updates keep the operating system secure.”
    Pembaruan menjaga sistem operasi tetap aman.


B. Dialogue 

        Choosing an Operating System

A: Which operating system do you use on your
     laptop?
     Sistem operasi apa yang kamu gunakan di
     laptopmu?

B: I use Windows because it’s easy and
     familiar.
     Saya menggunakan Windows karena 
     mudah dan sudah biasa.

A: Have you ever tried Linux?
     Pernah mencoba Linux?

B: Yes, it’s fast and secure, but some apps 
     don’t work on it.
     Ya, cepat dan aman, tapi beberapa aplikasi 
      tidak bisa jalan di sana.

A: What about macOS?
     Bagaimana dengan macOS?

B: It’s great, but the devices are expensive.
    Bagus, tapi perangkatnya mahal.


C. Exercise – Translate into Indonesian 

  1. The operating system manages hardware and software.
  2. Windows is commonly used in offices.
  3. Linux is preferred by programmers.
  4. macOS is designed for Apple devices.
  5. The OS boots when the computer starts.
  6. Some applications only run on certain operating systems.
  7. You must update your OS regularly.
  8. The OS provides a user interface.
  9. Mobile phones also have operating systems.
  10. The OS helps users manage files and folders.

Mau kunci jawaban?


D. Vocabulary 

English Indonesia
Operating System Sistem Operasi
Software Perangkat lunak
Hardware Perangkat keras
Interface Antarmuka
Boot Menyala / proses booting
Update Pembaruan
File Manager Pengelola file
Security Keamanan
Application Aplikasi
Device Perangkat

E. Bonus Dialogue 
                                  Installing an OS

A: How long does it take to install the OS?
A: Berapa lama waktu yang dibutuhkan untuk menginstal sistem operasi?

B: Usually around 20 to 40 minutes.
B: Biasanya sekitar 20 sampai 40 menit.

A: Do you need a USB installer?
A: Apakah kamu membutuhkan USB installer?

B: Yes, and we also need to set the boot order.
B: Ya, dan kita juga harus mengatur urutan boot.


F. 20 Question  & Answer

  1. Q: What is an operating system?
    A: It is software that controls the computer.
    Q: Apa itu sistem operasi?
    A: Perangkat lunak yang mengontrol komputer.

  2. Q: What is the function of an OS?
    A: To manage hardware and software.
    Q: Apa fungsi sistem operasi?
    A: Mengelola perangkat keras dan lunak.

  3. Q: Give examples of operating systems.
    A: Windows, Linux, macOS.
    Q: Beri contoh sistem operasi.
    A: Windows, Linux, macOS.

  4. Q: Which OS is most popular?
    A: Windows.
    Q: OS mana yang paling populer?
    A: Windows.

  5. Q: Why do programmers like Linux?
    A: Because it’s free and customizable.
    Q: Mengapa programmer suka Linux?
    A: Karena gratis dan bisa dikustomisasi.

  6. Q: What OS do iPhones use?
    A: iOS.
    Q: Sistem operasi apa yang digunakan iPhone?
    A: iOS.

  7. Q: What OS does Android use?
    A: Android OS.
    Q: Android menggunakan sistem operasi apa?
    A: Android OS.

  8. Q: What OS do Apple laptops use?
    A: macOS.
    Q: Laptop Apple menggunakan OS apa?
    A: macOS.

  9. Q: What is booting?
    A: The process of starting the computer.
    Q: Apa itu booting?
    A: Proses menyalakan komputer.

  10. Q: Why are OS updates important?
    A: To improve security and performance.
    Q: Mengapa update OS penting?
    A: Untuk meningkatkan keamanan dan performa.

  11. Q: Can you install two OS on one computer?
    A: Yes, with dual boot.
    Q: Bisa menginstal dua OS di satu komputer?
    A: Bisa, dengan dual boot.

  12. Q: Which OS is best for gaming?
    A: Windows.
    Q: OS apa yang paling bagus untuk gaming?
    A: Windows.

  13. Q: Which OS is best for editing videos?
    A: macOS.
    Q: OS apa yang bagus untuk editing video?
    A: macOS.

  14. Q: What does the OS manage?
    A: Memory, processes, and hardware.
    Q: Apa yang dikelola OS?
    A: Memori, proses, dan perangkat keras.

  15. Q: Can OS control files?
    A: Yes, using a file manager.
    Q: Apakah OS mengontrol file?
    A: Ya, menggunakan file manager.

  16. Q: What OS is open-source?
    A: Linux.
    Q: OS apa yang open-source?
    A: Linux.

  17. Q: What OS is paid?
    A: Windows and macOS.
    Q: OS apa yang berbayar?
    A: Windows dan macOS.

  18. Q: Does an OS manage security?
    A: Yes, it controls permissions and protection.
    Q: Apakah OS mengelola keamanan?
    A: Ya, mengatur izin dan perlindungan.

  19. Q: Can smartphones run an OS?
    A: Yes, all smartphones have operating systems.
    Q: Apakah smartphone punya OS?
    A: Ya, semua smartphone punya sistem operasi.

  20. Q: What happens without an OS?
    A: The computer won’t function.
    Q: Apa yang terjadi tanpa OS?
    A: Komputer tidak bisa berfungsi.



                         ENGLISH LESSON
 CONTROL STRUCTURES (IF–ELSE, LOOPING, LOGIC)

1. Useful Expressions

  1. Use an if–else to make a decision in the program.
    Gunakan if–else untuk membuat keputusan dalam program.

  2. Looping helps repeat actions automatically.
    Looping membantu mengulang aksi secara otomatis.

  3. The condition must be true for the code to run.
    Kondisi harus benar agar kode berjalan.

  4. A while loop continues until the condition is false.
    While loop berjalan sampai kondisi bernilai salah.

  5. For loops are used when the number of repetitions is known.
    For loop digunakan jika jumlah pengulangan sudah diketahui.

  6. If you want alternatives, use else-if.
    Jika ingin pilihan lain, gunakan else-if.

  7. Break stops the loop immediately.
    Break menghentikan loop seketika.

  8. Continue skips to the next iteration.
    Continue melompati ke iterasi berikutnya.

  9. Logical operators combine multiple conditions.
    Operator logika menggabungkan beberapa kondisi.

  10. Indentation is important in programming logic.
    Indentasi itu penting dalam logika pemrograman.


2. Dialogue 

         Learning If-Else and Loops

A: What are you studying today?
A: Apa yang kamu pelajari hari ini?

B: I’m learning about control structures like if–else and loops.
B: Saya belajar tentang struktur kontrol seperti if–else dan looping.

A: Which one do you find easier?
A: Yang mana yang menurutmu lebih mudah?

B: For me, if–else is simpler because it’s just making decisions.
B: Menurut saya, if–else lebih sederhana karena hanya membuat keputusan.

A: And looping?
A: Lalu looping?

B: Looping is powerful, but sometimes I get confused with conditions.
B: Looping itu kuat, tapi kadang saya bingung dengan kondisinya.

A: Just practice more. It will become easier.
A: Latihan saja lebih banyak. Nanti akan lebih mudah.


3. Memorizing Points

  1. Control structures decide the flow of a program.
  2. If–else is used for decision-making.
  3. Else-if adds more conditions.
  4. A loop repeats actions.
  5. For loop has three parts: init, condition, increment.
  6. While loop runs as long as the condition is true.
  7. Do-while loop runs at least once.
  8. Break stops the loop.
  9. Continue skips to the next loop cycle.
  10. Logical operators: AND, OR, NOT.

4. Multiple Choice 

  1. If–else is used to ______.
    a) repeat actions
    b) make decisions
    c) store data
    d) print output
    Answer: b

  2. A loop is used to ______.
    a) stop programs
    b) clean memory
    c) repeat tasks
    d) sort data
    Answer: c

  3. The condition in a loop must be ______.
    a) false
    b) empty
    c) logical
    d) ignored
    Answer: c

  4. Which loop always runs at least once?
    a) for
    b) while
    c) do-while
    d) repeat
    Answer: c

  5. In a for loop, the second part is ______.
    a) increment
    b) condition
    c) declaration
    d) statement
    Answer: b

  6. Which keyword immediately stops a loop?
    a) stop
    b) break
    c) exit
    d) skip
    Answer: b

  7. Which operator is used for AND condition?
    a) &&
    b) ++
    c) ==
    d) <>
    Answer: a

  8. A loop that never ends is called ______.
    a) empty loop
    b) infinite loop
    c) silent loop
    d) zero loop
    Answer: b

  9. Else-if is used when ______.
    a) there is only one condition
    b) you want more choices
    c) you repeat code
    d) you stop a loop
    Answer: b

  10. While loop runs when the condition is ______.
    a) false
    b) broken
    c) true
    d) empty
    Answer: c

  11. Which structure is used when repetitions are known?
    a) while
    b) if
    c) for
    d) break
    Answer: c

  12. NOT operator is written as ______.
    a) &&
    b) ||
    c) !
    d) ==
    Answer: c

  13. Which loop checks the condition first?
    a) do-while
    b) while
    c) check-loop
    d) condition-loop
    Answer: b

  14. Continue is used to ______.
    a) stop the loop
    b) skip iteration
    c) delete code
    d) test conditions
    Answer: b

  15. What decides the program flow?
    a) Arrays
    b) Control structures
    c) Classes
    d) Comments
    Answer: b


5. Bonus Dialogue

                Debugging a Loop

A: My loop doesn’t stop. What should I check?
A: Loop saya tidak berhenti. Apa yang harus saya periksa?

B: Check the condition. Maybe it never becomes false.
B: Periksa kondisinya. Mungkin tidak pernah menjadi salah.

A: Oh, I forgot to update the counter!
A: Oh, saya lupa memperbarui penghitungnya!

B: That will cause an infinite loop.
B: Itu bisa menyebabkan infinite loop.


6. 20 Question  & A nswer

1Q: What is a control structure
     Apa itu struktur kontrol?
A: It controls the flow of a program
      Mengontrol alur program.

2. Q: What is if–else used for?
      If–else digunakan untuk apa?
A: For decision-making
     Untuk membuat keputusan.

3. Q: What is a loop?
      Apa itu loop?
A: A structure that repeats actions.
    Struktur yang mengulang aksi.
  1. Q: Name three loops.
    A: For, while, do-while.
    Q: Sebutkan tiga loop.
    A: For, while, do-while.

  2. Q: What is a condition?
    A: A logical test for code execution.
    Q: Apa itu kondisi?
    A: Tes logika untuk menjalankan kode.

  3. Q: When does a for loop stop?
    A: When the condition becomes false.
    Q: Kapan for loop berhenti?
    A: Saat kondisi menjadi salah.

  4. Q: What is an infinite loop?
    A: A loop that never ends.
    Q: Apa itu infinite loop?
    A: Loop yang tidak pernah berhenti.

  5. Q: What does break do?
    A: Stops the loop immediately.
    Q: Apa fungsi break?
    A: Menghentikan loop seketika.

  6. Q: What does continue do?
    A: Skips to the next iteration.
    Q: Apa fungsi continue?
    A: Melompat ke iterasi berikutnya.

  7. Q: Which loop checks condition first?
    A: While loop.
    Q: Loop mana yang memeriksa kondisi dulu?
    A: While loop.

  8. Q: Which loop runs at least once?
    A: Do-while.
    Q: Loop mana yang minimal berjalan sekali?
    A: Do-while.

  9. Q: What operator means AND?
    A: &&
    Q: Operator apa untuk AND?
    A: &&

  10. Q: What operator means OR?
    A: ||
    Q: Operator apa untuk OR?
    A: ||

  11. Q: What operator means NOT?
    A: !
    Q: Operator apa untuk NOT?
    A: !

  12. Q: What is else-if?
    A: Additional conditions.
    Q: Apa itu else-if?
    A: Kondisi tambahan.

  13. Q: Why do we use loops?
    A: To avoid repeating code manually.
    Q: Mengapa kita menggunakan loop?
    A: Untuk menghindari pengulangan kode secara manual.

  14. Q: What is iteration?
    A: One cycle of a loop.
    Q: Apa itu iterasi?
    A: Satu siklus loop.

  15. Q: Where do we place increment?
    A: In the for loop header or inside the loop.
    Q: Di mana tempat increment?
    A: Di header for loop atau di dalam loop.

  16. Q: What happens if condition never changes?
    A: Infinite loop.
    Q: Apa yang terjadi jika kondisi tidak berubah?
    A: Terjadi infinite loop.

  17. Q: What is program flow?
    A: The direction executed by code.
    Q: Apa itu alur program?
    A: Arah yang dijalankan oleh kode.


7. Conclusion
Control structures are essential for programming because they manage how a program makes decisions and repeats actions. Mastering if–else and loops helps students write efficient, logical, and organized code.I

Struktur kontrol sangat penting dalam pemrograman karena mengatur cara program membuat keputusan dan melakukan pengulangan. Menguasai if–else dan looping membantu siswa menulis kode yang efisien, logis, dan teratur.


Subscribe to receive free email updates:

0 Response to "Rpl english lesson"

Post a Comment