AtuThin - အတူသင်

PROGRAMMING LANGUAGES · Programming ဘာသာစကားများ

C သင်ခန်းစာများ

Programming ရဲ့ အခြေခံအုတ်မြစ် — memory နဲ့ system အဆင့် သဘောတရားများ

သင်ခန်းစာ 124 ခု · Interview မေးခွန်း 50 · Quiz မေးခွန်း 20 · အဆင့် Programming ဘာသာစကားများ

ပထမ သင်ခန်းစာမှ စတင်ပါ

အခန်း 1

  1. C ဘာသာစကားနှင့် အသုံးပြုနိုင်သည့်နေရာများ
  2. GCC compiler တပ်ဆင်ခြင်းနှင့် version စစ်ခြင်း
  3. ပထမဆုံး C program (Hello World)
  4. main function နှင့် program structure
  5. printf ဖြင့် output ထုတ်ခြင်း
  6. Comment နှင့် code ဖတ်ရလွယ်သောပုံစံ
  7. Compile နှင့် run အဆင့်များ
  8. Compiler error message ကိုဖတ်ခြင်း
  9. C program ၏ အခြေခံ syntax စည်းမျဉ်းများ
  10. VS Code တွင် C extension နှင့် setup

အခြေခံ သင်ခန်းစာများ

  1. VS Code တပ်ဆင်ခြင်းနှင့် ပထမဆုံး .c ဖိုင် ဖန်တီးခြင်း
  2. လေ့ကျင့်ခန်း: scanf နှင့် printf ပေါင်းသုံးသော ဈေးတွက် mini program

အခန်း 2

  1. Variable ကြေညာခြင်းနှင့် တန်ဖိုးသတ်မှတ်ခြင်း
  2. int နှင့် ကိန်းပြည့်အမျိုးအစား
  3. float နှင့် double ဒဿမကိန်းများ
  4. char နှင့် စာလုံးတစ်လုံး
  5. sizeof ဖြင့် memory အရွယ်အစား စစ်ခြင်း
  6. const ဖြင့် တန်ဖိုးမပြောင်းစေခြင်း
  7. printf format specifier များ
  8. scanf ဖြင့် input ဖတ်ခြင်း
  9. Type conversion (implicit နှင့် explicit cast)
  10. Variable scope နှင့် lifetime

အခန်း 3

  1. Arithmetic operator များ
  2. Assignment operator နှင့် shorthand
  3. Comparison operator များ
  4. Logical operator (&&, ||, !)
  5. if statement ဖြင့် အခြေအနေစစ်ခြင်း
  6. if/else ဖြင့် ရွေးချယ်မှုနှစ်မျိုးလုပ်ခြင်း
  7. else if chain ဖြင့် အခြေအနေများစွာစစ်ခြင်း
  8. switch statement နှင့် case
  9. Ternary operator (?:)
  10. Nested condition နှင့် operator precedence

အခန်း 4

  1. for loop အခြေခံ
  2. while loop နှင့် ရပ်တန့်စည်းမျဉ်း
  3. do-while loop (အနည်းဆုံး တစ်ကြိမ်)
  4. break ဖြင့် loop ရပ်ခြင်း
  5. continue ဖြင့် iteration ကျော်ခြင်း
  6. Nested loop နှင့် pattern ရေးခြင်း
  7. Loop ဖြင့် စုစုပေါင်းနှင့် ပျမ်းမျှတွက်ခြင်း
  8. Infinite loop နှင့် ရှောင်ရှားနည်း
  9. Loop counter နှင့် sentinel value
  10. for loop တွင် comma operator နှင့် multiple variable

အခန်း 5

  1. Array ကြေညာခြင်းနှင့် initialize လုပ်ခြင်း
  2. Array index ဖြင့် element ယူခြင်း
  3. Array ကို loop ဖြင့် ဖတ်ခြင်း
  4. Array ၏ အကြီးဆုံး/အငယ်ဆုံးရှာခြင်း
  5. Multi-dimensional array (2D)
  6. String ကို char array အဖြစ်
  7. strlen, strcpy, strcat သုံးခြင်း
  8. strcmp ဖြင့် string နှိုင်းယှဉ်ခြင်း
  9. String input ဖတ်ခြင်း (fgets)
  10. Array sorting အခြေခံ (bubble sort)

အခန်း 6

  1. Function ကြေညာပြီးခေါ်သုံးခြင်း
  2. Parameter နှင့် argument
  3. return value ပြန်ပေးခြင်း
  4. void function
  5. Function prototype (declaration)
  6. Local variable နှင့် global variable
  7. Recursive function (factorial)
  8. Pass by value နှင့် pass by pointer
  9. Function ထဲမှာ array ပေးပို့ခြင်း
  10. Static variable နှင့် function scope

အခန်း 7

  1. Pointer ဆိုတာ ဘာလဲ (address)
  2. & နှင့် * operator များ
  3. Pointer variable ကြေညာခြင်းနှင့် dereference
  4. Pointer နှင့် array ဆက်စပ်မှု
  5. Pointer arithmetic
  6. Pointer ကို function argument အဖြစ်
  7. Pointer to pointer (double pointer)
  8. Function pointer မိတ်ဆက်
  9. NULL pointer နှင့် dangling pointer
  10. Pointer နှင့် string

အခန်း 8

  1. struct ကြေညာခြင်းနှင့် သုံးခြင်း
  2. struct member များရယူခြင်း (dot operator)
  3. struct array
  4. struct ကို function ထဲသို့ပေးပို့ခြင်း
  5. Pointer to struct နှင့် -> operator
  6. typedef ဖြင့် အမည်တိုပေးခြင်း
  7. Nested struct
  8. union နှင့် struct ကွာခြားချက်
  9. enum ဖြင့် အမည်ပေး ကိန်းသေများ
  10. Bit field မိတ်ဆက်

အခန်း 9

  1. fopen နှင့် fclose အခြေခံ
  2. File mode များ (r, w, a, r+)
  3. fputc/fputs ဖြင့် ဖိုင်ထဲရေးခြင်း
  4. fgetc/fgets ဖြင့် ဖိုင်ဖတ်ခြင်း
  5. fprintf နှင့် fscanf သုံးခြင်း
  6. File pointer ကို စစ်ဆေးခြင်း (NULL check)
  7. Binary file နှင့် fread/fwrite
  8. fseek နှင့် ftell ဖြင့် file position
  9. File ကို line တစ်ကြောင်းချင်း ဖတ်ခြင်း
  10. CSV file ဖတ်ပြီး ဒေတာခွဲခြင်း

အခန်း 10

  1. Stack နှင့် heap ကွာခြားချက်
  2. malloc ဖြင့် memory တောင်းခြင်း
  3. free ဖြင့် memory ပြန်လွှတ်ခြင်း
  4. calloc ဖြင့် zero-initialized memory
  5. realloc ဖြင့် memory အရွယ်ပြောင်းခြင်း
  6. Dynamic array တည်ဆောက်ခြင်း
  7. Memory leak ဆိုတာ ဘာလဲ
  8. Dangling pointer နှင့် double free
  9. Dynamic 2D array
  10. Dynamic string နှင့် struct

အခန်း 11

  1. #include နှင့် header file
  2. #define ဖြင့် macro သတ်မှတ်ခြင်း
  3. Function-like macro
  4. #ifdef / #ifndef နှင့် conditional compilation
  5. Header guard ရေးခြင်း
  6. ကိုယ်ပိုင် header file ဖန်တီးခြင်း
  7. #pragma နှင့် compiler directive
  8. Predefined macro (__FILE__, __LINE__)
  9. Multi-file program နှင့် extern
  10. Makefile အခြေခံ

အခန်း 12

  1. Linked list node တည်ဆောက်ခြင်း
  2. Linked list ထဲသို့ node ထည့်ခြင်း
  3. Linked list မှ node ဖယ်ရှားခြင်း
  4. Stack ကို array ဖြင့် တည်ဆောက်ခြင်း
  5. Queue ကို linked list ဖြင့် တည်ဆောက်ခြင်း
  6. Binary search tree မိတ်ဆက်
  7. Linear search နှင့် binary search
  8. Sorting algorithm နှိုင်းယှဉ်ခြင်း (bubble vs selection)
  9. Mini project: ကျောင်းသားမှတ်တမ်း စီမံခန့်ခွဲမှု
  10. Mini project: ဈေးဝယ်စာရင်း (shopping list) CLI app

သင်ယူမှု စစ်ဆေးပါ