Handout For G-11
Handout For G-11
UNIT-6
Fundamentals of Programming
Programming languages are computer languages that are used to write different types of computer
programs or develop computer and mobile application.
3) High-Level Language
High-level languages are closer to human languages compared to both assembly and machine
languages.
Examples of high-level programming languages include C, C++, Java, C#, Python, Perl, and Ruby.
the translator software can be either a Compiler or an Interpreter.
Compilers translate high-level language written programs all at once into machine language.
programming languages that use compilers are C, C++, Java, and C#.
semantics is related to the meaning of elements of a program and what they do.
If a program violates any of the syntax rules of a language, the compiler or the interpreter produces an error
message. Such type of error is known as a syntax error.
A program can have no syntax error and get executed properly but can still behave in a way different from
what it is intended to. This kind of error is known as logic error and is associated with the semantics of a
language.
Since compilers or interpreters do not catch logic errors, they are far more difficult to identify and
fix than syntax errors.
Basics of python
Python is one of the popular high-level programming languages in use today.
Python has a free integrated development environment known as IDLE. IDLE stands for Integrated
Development and Learning Environment. To write Python codes, the interactive interpreter or the text
editor of the IDLE can be used.
The Interactive Interpreter contains a Python shell, which is a textual user interface used to work with the
Python language.