Kembali ke Kursus
AI001 Profesional

Pengantar Pemrograman Python

Pelajari Python, bahasa pemrograman yang populer, mencakup konsep inti untuk berbagai bidang seperti pengembangan web dan perangkat lunak, ilmu data, serta jaminan kualitas. Keterampilan yang dipelajari meliputi penulisan program Python 3 dan penyederhanaan kode.

4.9
30.0h
1254 siswa
10 lessons
0 suka
Kecerdasan Buatan
Mulai Belajar

Gambaran Umum Kursus

--- SOURCE TEXT ---

📚 Gambaran Kursus

Pelajari Python, bahasa pemrograman yang populer, mencakup konsep inti untuk berbagai bidang seperti pengembangan web dan perangkat lunak, ilmu data, serta pengujian kualitas. Keterampilan yang diperoleh meliputi penulisan program Python 3 dan penyederhanaan kode.

Ringkasan singkat tujuan utama: Kuasai dasar-dasar Python, alur kontrol, struktur data (List, String, Dictionary), fungsi, modul, dan pengelolaan file, diakhiri dengan pengantar Pemrograman Berbasis Objek.

🎯 Tujuan Pembelajaran

  1. Tulis dan jalankan skrip Python 3 dasar, menerapkan sintaks dasar dan tipe data bawaan (int, float, str).
  2. Terapkan logika program kompleks menggunakan struktur alur kontrol (if/else, loop for/while) untuk mengatur jalur eksekusi.
  3. Rancang dan gunakan fungsi serta modul untuk mengorganisasi program agar lebih mudah digunakan kembali dan dipertahankan.
  4. Kelola data secara efektif menggunakan struktur inti Python, termasuk List, String, dan Dictionary.
  5. Berinteraksi dengan sumber data eksternal dengan melakukan operasi Input/Output File (teks, CSV, dan JSON).

Pelajaran

Lesson

This lesson introduces the fundamentals of Python programming, focusing on the print function, variable assignment, and core data types like strings and floats. Students will learn essential syntax rules, including the importance of indentation, code documentation with comments, and the proper use of quotes for textual data.

This lesson introduces control flow as the mechanism for directing program logic beyond simple sequential execution using selection structures like if/else statements. Students will learn to build dynamic programs by utilizing Boolean expressions, relational operators, and logical operators to evaluate conditions and determine execution paths.

This lesson introduces Python lists as versatile, ordered, and mutable sequences defined by square brackets that can store heterogeneous data types. Students will learn how to manipulate lists through indexing, slicing, and methods like append and remove, as well as how to manage complex data using nested list structures.

This lesson introduces iteration as a fundamental programming concept that uses loops to automate repetitive tasks and uphold the "Don't Repeat Yourself" (DRY) principle. Students learn to distinguish between definite iteration using `for` loops for known sequences and indefinite iteration using `while` loops for conditional tasks.

This lesson introduces functions as a fundamental tool for achieving modularity and adhering to the DRY (Don't Repeat Yourself) principle in Python. You will learn how to define and call functions using parameters to eliminate repetitive logic, improve code maintainability, and reduce the risk of errors.

This lesson introduces Python strings as immutable, ordered sequences of Unicode characters that can be defined using single or double quotes. Students will learn how to manipulate these objects using built-in methods and how to access specific characters through both positive and negative indexing.

This lesson introduces Python modules as reusable files that help organize code, prevent naming collisions, and improve maintainability. Students will learn how to use various import methods to access built-in libraries and structure their own projects into logical, manageable components.

This lesson introduces Python dictionaries as mutable, unordered collections that store data in unique key-value pairs for efficient retrieval. Students learn how to initialize dictionaries using curly braces, access values via keys rather than numerical indices, and manage data by adding, updating, or overriding entries.

This lesson introduces file input and output (I/O) as a method for achieving data persistence, allowing information to be stored beyond a program's execution. Students will learn how to use the open() function and various access modes to read, write, and append data to external files while ensuring proper resource management.

This lesson introduces Object-Oriented Programming (OOP) as a design approach that organizes code into self-contained objects by bundling data attributes with their associated methods. Students learn to distinguish between procedural programming and OOP, focusing on how custom classes act as blueprints to create cohesive, reusable, and real-world models of complex entities.