You are on page 1of 12

Conclusion of lesson one

1.2 what is debugging?


• Programing is a complex process; it often
leads to error.
• The programming errors are called bugs.
• Three types of errors can occur in a program
and they are : -
 syntax errors
 run time errors
 and semantic errors.
1. Syntax Errors
• The programs can only be executed if the
program is syntactically correct; otherwise ,
the process fails and returns an error message.
• Syntax is the structure of a specific program
and the rules about that structure.
• If there is a single syntax error anywhere in
your program, you will get an error message,
and you will not be able to run your program.
Cont.
• During the first few weeks of your
programming journey , you will probably
spends a lot of time tracking down syntax
error.
• As you gain experience, you will make rare
errors and find them more quickly
2. Runtime Errors

• The second kind of error is a runtime error.

• This kind of error called runtime error , because


the error does not appear until you execute the
program.
3. Semantic Errors
• The third type of error is the semantic error or
logical error.
• If there is a logic error in your code, it will be
execute successfully and the computer will not
generate any error message, but it will not do
the right thing.
Debugging

• The programming errors are called bugs and


the process of tracking down and correcting
them is called debugging.
1.3 Most Popular Programming
Languages
• Today, there are dozens of programming
languages used in the industry.
• The most popular programming languages are :-
1. Python
• Python : is a general-purpose language created
in the early 1990s.
• last few years, it has become popular by using
the business and academic applications.
Cont.
2. Java
• It was created by sun microsystems in the early 1990s.
• java can be used to develop programs that run on both,
a single computer or over the internet from a web server.
3. C and C++
• C and C++ ( pronounced “c plus plus “) these powerful
languages are general purpose languages developed at
bell laboratories.
• The C language was created in 1972 while C++ language
was created in 1983 as more advanced C language.
Cont.
4.C#
• C# ( pronounced “C sharp”) this language was
created by Microsoft around the year 2000 for
developing applications.

5.Java script
• JavaScript, created in the 1990s, it’s a popular
Script in developing webpages.
• Despite, the name JavaScript is not related to Java
python
• The programming language you will be
learning is a python.
• Python is an example of a high-level language
and considered as an interpreted language
because python programs are executed by an
interpreter
End

You might also like