๐จโ๐ปlesson c++
Topic:Types of error
1.Compiler error: This type of error occurs when the code is not written according to the syntax and rules of the programming language, and the compiler is unable to compile the code.
๐ ฐแจแแ แ แญแแฑ แตแ แฐแต แจแแจแฐแฐแ แฎแต แ แแฎแแซแ แ แแฃแฅ แฅแ แ แแฎแแซแแแ แแแ แ แ แแฐแจแต แณแญแแ แฒแแญ แฅแ compileru แฎแฑแ compile แแฐแจแ แฒแซแ แฐแ แแแข
๐ ฐDogoggora qindeessaa: Gosti dogongoraa kun kan uumamu yeroo koodii akkaataa sintaksii fi seera afaan sagantaatiin hin barreeffamnee fi qindeessaan koodii qindeessuu yoo dadhabedha.
-means it's SYNTAX error
SYNTAX แตแ แฐแต แแ แแแต แแแข
- jechuun SYNTAX dogoggora jechuudha.
2.Runtime error: This type of error occurs when the code is syntactically correct but produces an error during program execution, such as division by zero or accessing an invalid memory location.
๐ examples int x;
Cout<<1/x<<endl;
-code have no syntax error but when x is 0 its undefined this means it's run time error.
๐ ฐแญแ แ แญแแฑ แตแ แฐแต แจแแจแฐแฐแ แฎแฑ แ แ แแฃแฅ แตแญแญแ แฒแแ แแแญ แแ แ แแฎแแซแ แ แแปแธแ แแ แต แตแ แฐแต แฒแแ แญ แแแณแ แ แแฎ แแจแแแ แแญแ แแญ แซแแแ memory แฆแณ แแตแจแตแข
๐ ฐGosti dogongoraa kun kan uumamu yeroo koodii galumsaan sirrii ta'e, garuu dogongorri yeroo raawwii sagantichaa kan akka zeeroodhaan qoodu ykn bakka yaadannoo sirrii hin taane argachuu.
3.Logical error: This type of error occurs when the code runs without any errors, but produces incorrect output due to a flaw in the logic or algorithm used in the program.
๐ ฐแญแ แ แญแแต แตแ แฐแต แจแแจแฐแฐแ แฎแฑ แซแ แแแ แตแ แฐแต แฒแฐแซ แแแก แแแญ แแ แ แแฎแแซแ แแตแฅ แฅแ แ แแญ แ แแแแ แ แแญแแฎ แแญแ แ แแแชแแ แแญ แฃแ แแตแแต แแญแแซแต แจแฐแณแณแฐ แแคแต แญแแฅแซแแข
๐ ฐ Gosti dogongoraa kun kan uumamu yeroo koodii dogongora tokko malee raawwatu, garuu sababa mudaa loojikii ykn algoritmiin saganticha keessatti fayyadame irraa kan ka'e bu'aa sirrii hin taane argamsiisa.
๐จโ๐ปshare_it_for_friends
@ProgrammingWithFaith
Topic:Types of error
1.Compiler error: This type of error occurs when the code is not written according to the syntax and rules of the programming language, and the compiler is unable to compile the code.
๐ ฐแจแแ แ แญแแฑ แตแ แฐแต แจแแจแฐแฐแ แฎแต แ แแฎแแซแ แ แแฃแฅ แฅแ แ แแฎแแซแแแ แแแ แ แ แแฐแจแต แณแญแแ แฒแแญ แฅแ compileru แฎแฑแ compile แแฐแจแ แฒแซแ แฐแ แแแข
๐ ฐDogoggora qindeessaa: Gosti dogongoraa kun kan uumamu yeroo koodii akkaataa sintaksii fi seera afaan sagantaatiin hin barreeffamnee fi qindeessaan koodii qindeessuu yoo dadhabedha.
-means it's SYNTAX error
SYNTAX แตแ แฐแต แแ แแแต แแแข
- jechuun SYNTAX dogoggora jechuudha.
2.Runtime error: This type of error occurs when the code is syntactically correct but produces an error during program execution, such as division by zero or accessing an invalid memory location.
๐ examples int x;
Cout<<1/x<<endl;
-code have no syntax error but when x is 0 its undefined this means it's run time error.
๐ ฐแญแ แ แญแแฑ แตแ แฐแต แจแแจแฐแฐแ แฎแฑ แ แ แแฃแฅ แตแญแญแ แฒแแ แแแญ แแ แ แแฎแแซแ แ แแปแธแ แแ แต แตแ แฐแต แฒแแ แญ แแแณแ แ แแฎ แแจแแแ แแญแ แแญ แซแแแ memory แฆแณ แแตแจแตแข
๐ ฐGosti dogongoraa kun kan uumamu yeroo koodii galumsaan sirrii ta'e, garuu dogongorri yeroo raawwii sagantichaa kan akka zeeroodhaan qoodu ykn bakka yaadannoo sirrii hin taane argachuu.
3.Logical error: This type of error occurs when the code runs without any errors, but produces incorrect output due to a flaw in the logic or algorithm used in the program.
๐ ฐแญแ แ แญแแต แตแ แฐแต แจแแจแฐแฐแ แฎแฑ แซแ แแแ แตแ แฐแต แฒแฐแซ แแแก แแแญ แแ แ แแฎแแซแ แแตแฅ แฅแ แ แแญ แ แแแแ แ แแญแแฎ แแญแ แ แแแชแแ แแญ แฃแ แแตแแต แแญแแซแต แจแฐแณแณแฐ แแคแต แญแแฅแซแแข
๐ ฐ Gosti dogongoraa kun kan uumamu yeroo koodii dogongora tokko malee raawwatu, garuu sababa mudaa loojikii ykn algoritmiin saganticha keessatti fayyadame irraa kan ka'e bu'aa sirrii hin taane argamsiisa.
@ProgrammingWithFaith
๐6๐ฅ2๐2
Anyone ye Jimma c++ mid exam yalew plz lakulegn? ๐๐๐๐
๐4
Bexam sry kmr sle koyew becha tolo lemechers mokerayew๐๐๐
โก5
Btw erat rasu alebelahum ehen assignment sesera nebr becha ahun betam dekmognal๐
๐6๐ฑ4
Forwarded from Star Quotes
"Doing good for a good done to you is simply repayment,whereas doing good for an evil done to you is a tremendous virtue"(Umar ibn al khattab)
โค11
Selam guys endet nachu I said am gone prepare chapter 3 note ena selal temchegn nw esk ahun yalezegajehut becha zare kecherskut mata post adergalew or nge becha thanks for your patient
Ena demo minem ayent negr teyake kachu just teykugn or inbox adergulegn becha ASAP teyakeyachun tolo melsalew๐
@ProgrammingWithFaith
Ena demo minem ayent negr teyake kachu just teykugn or inbox adergulegn becha ASAP teyakeyachun tolo melsalew๐
@ProgrammingWithFaith
โก12๐5๐ฅ2
Selam guys Endet nachu i said I'll do video explanation ena am thinking lemn YouTube lay just sarech upload aladerghum ena until i do it just gebtachu subscriber adergu kmr bexam thanks๐๐.
https://youtube.com/@programmingwithfaith?si=NksAqmbtjB-ec3LL
Thanks a lot๐๐๐๐
https://youtube.com/@programmingwithfaith?si=NksAqmbtjB-ec3LL
Thanks a lot๐๐๐๐
YouTube
Programming With Faith
๐ Pre-Engineering Students Struggling with C++? ๐ฅ Fear not! ๐ช This channel is your coding lifesaver! ๐ Learn the basics, ace your course! ๐ฏ
๐ฅฐ3
Ye mejemreya subscriber agegnetenal kmr bexam amesegenalew๐ btw subscriber maderg enaten mn ayegodam enen gn yabertatagnal so plz subscriber adergu ena abertatugn๐
๐3
The number of subscribers is increasing crazily๐ฅน within just a few seconds! We got 10 subscribers๐! Thank you all,๐ and for those who still are not subscribers, this is your chance to subscribe.๐
@ProgrammingWithFaith
๐3๐2โค1๐ฅ1
C++ Basics
Ye mejemreya subscriber agegnetenal kmr bexam amesegenalew๐ btw subscriber maderg enaten mn ayegodam enen gn yabertatagnal so plz subscriber adergu ena abertatugn๐
15 subscribers๐ ๐๐๐๐
๐ฅ5๐1๐ซก1
๐ฅฐ10โค2๐2๐ฅ1๐1
C++ Basics
Btw, I am preparing the notes for Chapter 3 now, and 25% are done. @ProgrammingWithFaith
Almost done, ahun post ladergew ena mata discuss enadergebet?
I need ur thoughts ??
I need ur thoughts ??
๐15โค1๐1๐1
๐ Midterm Alert! ๐
For everyone with midterms tomorrow, break a leg! ๐ If you have any questions or need anything, just slide into my DMs.
Youโve got this! ๐ชโจ
@ProgrammingWithFaith
For everyone with midterms tomorrow, break a leg! ๐ If you have any questions or need anything, just slide into my DMs.
Youโve got this! ๐ชโจ
@ProgrammingWithFaith
๐7โค2