គ្រោងវគ្គសិក្សា សម្រាប់ថ្នាក់រៀនតាមអនឡាញ C++ Programming
គ្រោងវគ្គសិក្សា សម្រាប់ថ្នាក់រៀនតាមអនឡាញ C++ Programming
គ្រោងវគ្គសិក្សានេះត្រូវបានរចនាឡើងសម្រាប់ថ្នាក់រៀនតាមអនឡាញប្រចាំថ្ងៃ ដោយមួយវគ្គមានរយៈពេល 20 នាទី ចាប់ផ្តើមនៅម៉ោង 12:30 PM រៀងរាល់ថ្ងៃ។ វគ្គនីមួយៗត្រូវបានរៀបចំដើម្បីសាងសមត្ថភាពពីមូលដ្ឋានដល់កម្រិតមធ្យមនៃ C++ programming ជាបន្តបន្ទាប់។ វគ្គនីមួយៗរួមមានការណែនាំសង្ខេប គោលគំនិតសំខាន់ៗ ឧទាហរណ៍កូដ និងកិច្ចការសាមញ្ញ ឬសំណួរពិនិត្យឡើងវិញដើម្បីពង្រឹងការរៀនសូត្រ។
សន្មត់ថាវគ្គសិក្សាចាប់ផ្តើមនៅថ្ងៃទី 17 ខែកក្កដា ឆ្នាំ 2025 (ថ្ងៃបន្ទាប់ពីកាលបរិច្ឆេទបច្ចុប្បន្ន) និងដំណើរការសម្រាប់ 30 វគ្គ (ប្រហែល 1 ខែ មិនរាប់ចុងសប្តាហ៍បើចង់ ប៉ុន្តែគ្រោងជាប្រចាំថ្ងៃ)។ អ្នកអាចកែតម្រូវកាលបរិច្ឆេទចាប់ផ្តើម ឬពង្រីកតាមតម្រូវការ។ ប្រធានបទត្រូវបានបែងចែកជាផ្នែកតូចៗ ផ្តោតអារម្មណ៍សមស្របសម្រាប់វគ្គ 20 នាទី។
វគ្គ | កាលបរិច្ឆេទ (2025) | ប្រធានបទ | គោលបំណង/អ្វីដែលនឹងគ្របដណ្តប់ |
---|---|---|---|
1 | កក្កដា 17 | Introduction to C++ and Environment Setup | ទិដ្ឋភាពទូទៅនៃប្រវត្តិ C++ លក្ខណៈពិសេស និងភាពខុសគ្នាពី C។ ដំឡើង compiler (ឧ. GCC ឬ IDE ដូចជា Code::Blocks)។ សរសេរ និងដំណើរការកម្មវិធីសាមញ្ញ។ |
2 | កក្កដា 18 | Hello World Program | រចនាសម្ព័ន្ធនៃកម្មវិធី C++: #include, namespace, main()។ Compile និង execute។ ច្បាប់ syntax មូលដ្ឋាន។ |
3 | កក្កដា 19 | Variables and Data Types - Part 1 | ប្រកាស variables។ Primitive types: int, float, double, char។ Initialization និង scope។ |
4 | កក្កដា 20 | Variables and Data Types - Part 2 | Boolean, strings (using std::string)។ Constants with const។ Type casting។ |
5 | កក្កដា 21 | Input and Output | Using cin and cout for console I/O។ Formatting output with manipulators (endl, setw)។ |
6 | កក្កដា 22 | Operators - Arithmetic and Assignment | Arithmetic operators (+, -, *, /, %)។ Assignment operators (=, +=, etc.)។ Precedence rules។ |
7 | កក្កដា 23 | Operators - Relational and Logical | Relational (==, !=, >, etc.)។ Logical (&&, |
8 | កក្កដា 24 | Control Structures - If Statements | If, else, else-if ladder។ Nested if។ ឧទាហរណ៍ decision-making សាមញ្ញ។ |
9 | កក្កដា 25 | Control Structures - Switch Case | Switch statement syntax។ Break and default។ Comparison with if-else។ |
10 | កក្កដា 26 | Loops - While and Do-While | While loop syntax and examples។ Do-while for យ៉ាងហោចណាស់មួយដង។ ជៀសវាង infinite loops។ |
11 | កក្កដា 27 | Loops - For Loop | For loop structure។ Nested loops។ Loop control (break, continue)។ |
12 | កក្កដា 28 | Functions - Basics | Function declaration, definition, and calling។ Return types and void។ |
13 | កក្កដា 29 | Functions - Parameters and Arguments | Passing by value។ Default arguments។ Function overloading introduction។ |
14 | កក្កដា 30 | Arrays - One-Dimensional | Array declaration, initialization។ Accessing elements។ Loops with arrays។ |
15 | កក្កដា 31 | Arrays - Multi-Dimensional | 2D arrays។ Matrix operations basics។ Array size and bounds។ |
16 | សីហា 1 | Strings - Handling | String functions (length, concat, compare)។ Character arrays vs. std::string។ |
17 | សីហា 2 | Pointers - Basics | Pointer declaration, dereferencing។ Address-of operator (&)។ Null pointers។ |
18 | សីហា 3 | Pointers - Arrays and Functions | Pointer arithmetic។ Passing pointers to functions។ Dynamic memory (new/delete)។ |
19 | សីហា 4 | Classes and Objects - Introduction | Class definition។ Member variables and functions។ Object creation។ |
20 | សីហា 5 | Classes - Constructors and Destructors | Default and parameterized constructors។ Destructor basics។ |
21 | សីហា 6 | Classes - Access Specifiers | Public, private, protected។ Encapsulation concept។ |
22 | សីហា 7 | Inheritance - Basics | Single inheritance។ Base and derived classes។ Protected members។ |
23 | សីហា 8 | Inheritance - Types | Multiple and multilevel inheritance។ Constructor calls in inheritance។ |
24 | សីហា 9 | Polymorphism - Function Overriding | Virtual functions។ Runtime polymorphism។ Base class pointers។ |
25 | សីហា 10 | Polymorphism - Operator Overloading | Overloading binary operators (+, -)។ Friend functions។ |
26 | សីហា 11 | File Handling - Basics | Including fstream។ Opening, closing files។ Reading/writing text files។ |
27 | សីហា 12 | File Handling - Binary Files | Reading/writing binary data។ File modes (ios::in, ios::out)។ |
28 | សីហា 13 | Standard Template Library (STL) - Vectors | Vector declaration, push_back, size។ Iterators basics។ |
29 | សីហា 14 | STL - Maps and Sets | Map for key-value pairs។ Set for unique elements។ Basic operations។ |
30 | សីហា 15 | ពិនិត្យឡើងវិញ និងការណែនាំគម្រោង | Recap key concepts។ Introduce a simple project (ឧ. console-based game or calculator)។ Assign for practice។ |
ចំណាំបន្ថែម:
- រយៈពេលក្នុងមួយសម័យ: 20 នាទី (10-12 នាទី សម្រាប់ការបង្រៀន/បង្ហាញ, 5-8 នាទី សម្រាប់សំណួរ និងលំហាត់).
- លក្ខខណ្ឌមុន: ជំនាញកុំព្យូទ័រមូលដ្ឋាន; មិនចាំបាច់មានចំណេះដឹងអំពីការសរសេរកម្មវិធីជាមុនទេ.
- ឧបករណ៍ដែលត្រូវការ: C++ compiler (ជម្រើសឥតគិតថ្លៃ: GCC តាមរយៈ MinGW ឬ IDEs អនឡាញដូចជា Replit).
- ការវាយតម្លៃ: ការប្រលងរហ័សប្រចាំថ្ងៃ ឬការដាក់ស្នើកូដតាមវេទិកាអនឡាញ (ឧ. Google Classroom).
- ការពង្រីក: ប្រសិនបើត្រូវការប្រធានបទថ្នាក់ខ្ពស់ជាង (ឧ. templates, exceptions) សូមបន្ថែមសម័យផងដែរ។ គ្រោងនេះអាចត្រូវបានកែសម្រួលតាមល្បឿនរបស់សិស្ស។ បើអ្នកត្រូវការផែនការមេរៀនលម្អិត ឬឧទាហរណ៍កូដសម្រាប់វគ្គណាមួយ សូមប្រាប់ខ្ញុំ!