MM Programmer

MM Programmer

Share

Photos from MM Programmer's post 31/10/2020

Python String Method part(1)

A string is a sequence of characters enclosed in quotation marks. In this reference page, you will find all the methods that a string object can call. For example, you can use the join() method to concatenate two strings.

31/10/2020

31/10/2020

Photos from MM Programmer's post 12/10/2020

Compiler and Interpreter


High level language တွေနဲ့ ရေးထားတဲ့ Code တွေကို Computer နာလည်စေရန်အတွက် မ run ခင်မှာ machine code တွေအဖြစ်ပြောင်းထားပေရပါတယ်။
အဲ့လိုပြောင်းတဲ့နေရာမှာ Compiling နဲ့ Interpreting လုပ်တယ်ဆိုပြီး နှစ်မျိုးရှိပါတယ်။

Compiling
High level language တွေနဲ့ code တွေကို compile လုပ်ဖို့အတွက် compiler တွေလိုအပ်ပါတယ်။ compiler တွေကတော့ အများကြီးပဲပေါ့ မိမိကြိုက်နှစ်သက်ရာနဲ့ သုံးနိုင်ပါတယ်။ အဲ့လို့ compiler တွေနဲ့ compile လုပ်လိုက်တဲ့ အခါ Executable Code တွေအဖြစ် ရလာပါတယ်။(.exe) လိုမျိူးပေါ့၊ Executable code တွေကိုမှ Computer hardware တွေကို နားလည်စေတဲ့ အတွက် ကျွန်တော်တို့ရဲ့ result တွေကို ရရှိလာမှာပါ။

Interpreter
Hight level language နဲ့ ရေးထားတဲ့ code တွေကို Hardware တွေကို တိုက်ရိုက်နားလည်စေနိုင်တဲ့ အတွက်ကြောင့် ချက်ချင်း Result ကို သိနိုင်ပါတယ်။

Compiling Vs Interpreting
Compiling လုပ်တာက အဆင့်တွေများတယ် ဆိုပေမယ့် တစ်ခါ compile လုပ်ထားတာနဲ့ ကြိုက်တဲ့ အချိန်မှာ run နိင်တယ်။ run ချင်တဲ့ အချိန်တိုင်း compile လုပ်စရာ မလိုဘူးပေါ့။

Interpreting လုပ်ထားတဲ့ code တွေကို ချက်ချင်း run နိုင်တယ် ဆိုပေမယ့် run ချင်တဲ့ အချိန်တိုင်း interpret လုပ်ပေးရပါတယ်။အဲ့တော့ အလုပ်တော့ ရှုပ်တာပေါ့ run ချင်တဲ့ အချိန်တိုင်း inteperpret လုပ်နေရတယ်။ ဒါပေမယ့် ကျွန်တော်တို့ code တွေ လုပ်မလုပ်ဆိုတာကို
စစ်ဆေးတဲ့အခါ စမ်းတဲ့အခါတွေမှာတော့ အလွယ်တကူ result ကို သိနိင်တဲ့အတွက် အဆင်ပြေသွားတာပေါ.။

--------------------------------------------------------------------------
ကျွန်တော် သိသလောက် ရှင်းပြထားတာဖြစ်တဲ့ အမှားများပါခဲ့ရင် ခွင့်လွတ်ကြပါ
လိုအပ်တာလေးတွေကိုလည်းပြောပြပေးကြပါအုံးနော်
အားလုံးကို ကျေးဇူးတင်ပါတယ်။

Want your business to be the top-listed Computer & Electronics Service in Yangon?
Click here to claim your Sponsored Listing.

Website

Address

Yangon