Looping in C Programming Language

 Looping in C Programming Language Use: When we want to perform specific task repeatedly then we can use looping. In C Language there are three type of loop: For Loop While Loop Do while Loop Nested for Loop Each Loop statement requires three things: Initialization  Test Condition Increment/Decrement Operation 1. For Loop: For Loop is a repetition control structure which allow us to write a loop that is executed a specific number of time. Syntax:               for( initialization ; test condition; increment/decrement operation)                 {                    ------                    body of for loop;                    ------               } 2. While Loop: While Loop is use to per to p...

TYPES OF COMPUTER PROGRAMMING LANGUAGE

 

TYPES OF COMPUTER PROGRAMMING LANGUAGE:


1.      Machine Language

2.      High Level Language

3.      Assembly Language

4.      Low Level Language

1.Machine Language: A language which can be understandable by machine only is called
machine language. This language is in BINARY format – 0 & 1. This language can’t be understandable by human.

2. High Level Language: It is a formal language in which programmer can write instructions to perform specific task. Ex. C, C++, JAVA etc… programming language are high level language. High level languages are easily understandable by programmer. If we execute our program high level language must be converted into machine language.

3.   Assembly Language: It is a programming language which includes symbols like… ADD, SUB, MUL, DIV etc… for arithmetic operations, binary numbers, memory address or register etc. This language is difficult to understand. Machine can understand only machine language (binary format). Assembly language must be converted into machine language.


ASSEMBLY LANGUAGE -> ASSEMBLER -> MACHINE LANGUAGE

Assembler converts assembly language into machine language.

   4. Low Level Language: Machine language and assembly language are low level language which are directly tied-up with computer system.

Comments

Post a Comment

Popular posts from this blog

Data Types in C Program

Different Modules to solve the program/problem

Operators in C Program