0% found this document useful (0 votes)
214 views2 pages

1.0.introduction To C Language

The document introduces C language by defining high level and low level languages, describing the history and importance of C language, explaining the structure and programming style of C language, and outlining the steps involved in executing a C program. It also provides information on computer programs, programming languages, compilers vs interpreters, types of computer programmers, generations of programming languages, and types of programming languages.

Uploaded by

Venugopal Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
214 views2 pages

1.0.introduction To C Language

The document introduces C language by defining high level and low level languages, describing the history and importance of C language, explaining the structure and programming style of C language, and outlining the steps involved in executing a C program. It also provides information on computer programs, programming languages, compilers vs interpreters, types of computer programmers, generations of programming languages, and types of programming languages.

Uploaded by

Venugopal Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.0.

Introduction to C Language
1.1 Define High level language and low level language
1.2 Describe the history of C language
1.3 State the importance of C language
1.4 Explain the structure of C language
1.5 Describe the programming style of C language
1.6 Explain the steps involved in executing the C program

Computer Program

• A program is a set of instructions following the rules of the chosen language.

• Without programs, computers are useless.

• A program is like a recipe.

• It contains a list of ingredients (called variables) and a list of directions (called statements) that tell the
computer what to do with the variables.

Programming Language

• A vocabulary and set of grammatical rules (syntax) for instructing a computer to perform specific tasks.
• Programming languages can be used to create computer programs.

 You eventually need to convert your program into machine language so that the computer can
understand it.

• There are two ways to do this: – Compile the program – Interpret the program

• Compile is to transform a program written in a high level programming language from source code
into object code. • This can be done by using a tool called compiler. • A compiler reads the whole source
code and translates it into a complete machine code program to perform the required tasks which is
output as a new file.

•Interpreter is a program that executes instructions written in a high-level language. • An interpreter


reads the source code one instruction or line at a time, converts this line into machine code and
executes it.

Computer Programmer

• A programmer is someone who writes computer program. • Computer programmers write, test, and
maintain programs or software that tell the computer what to do.

Generations of Programming Language • The first generation languages, or 1GL, are lowlevel languages
that are machine language. • The second generation languages, or 2GL, are also low-level languages that
generally consist of assembly languages. • The third generation languages, or 3GL, are highlevel
languages such as C. • The fourth generation languages, or 4GL, are languages that consist of
statements similar to statements in a human language. Fourth generation languages are commonly used
in database programming and scripts. • The fifth generation languages, or 5GL, are programming
languages that contain visual tools to help develop a program. A good example of a fifth generation
language is Visual Basic.

Types of Programming Language • There are three types of programming language: – Machine language
(Low-level language) – Assembly language (Low-level language) – High-level language • Low-level
languages are closer to the language used by a computer, while high-level languages are closer to
human languages

You might also like