Cross-Section Categories Filter

C  Programming Basics  PHP (Hypertext Preprocessor)  Welcome to EducationForge  Articles of Use  Internet  More Topics  Management  HTML (Hypertext Markup Language)  Computer Basics  



Cross-Section Articles

C Program - Mind Reader Game



Program in C for Mind Reader Game - Learn C and Have Fun
click here to read more...

Program in C to get Name of Day by its Number



Program in C to get Name of Day by its Number. Inputs a number between 1-7; 1 being code for SUNDAY and prints the day accordingly using SWITCH in C to implement the selection logic.

click here to read more...

Program is developed to evaluate roots of a giben quadradic equation using direct formula of mathematics.



Program is developed to evaluate roots of a giben quadradic equation using direct formula of mathematics.

click here to read more...

Program takes in four numbers, finds highest amongst them, prints it to screen. Hence, Finding the maximum of 4 numbers using IF CONDITION in C.



Program takes in four numbers, finds highest amongst them, prints it to screen.
Hence, Finding the maximum of 4 numbers using IF CONDITION in C.
click here to read more...

Program to evaluate and print sum of odd and even numbers between 1-100.



Program to evaluate and print sum of odd and even numbers between 1-100.
click here to read more...

C language



It is a general purpose high-level language. This language has been designed by a group at Bell Telephone Laboratories, U.S.A. in the early 1970s. It has features similar to PASCAL. It permits manipulation of internal processor registers and hence a programmer can write low-level machine instructions. It has the features of assembly language programming. It is a small and concise language. It make use of a library of functions that are equivalent to subroutines. C program can use modular and structured concept. A problem may be divided into smaller tasks, a function may be used to solve each task. C program may represent a grouping of functions that are linked together to produce the solution of the problem. C programs can be shifted from one machine architecture to another without much difficulty. This language is used by system programmers to develop complex programs such as an operating system and application program. AT and T (Bell Lab’s parent) produce C compiler and UNIX operating system tools as a single software package. It has many versions which run on PCs and large machines.

click here to read more...

Compiler



A program which translates a high-level language program into a machine language program is called a compiler. A compiler is more intelligent than an assembler. It checks all kinds of limits, ranges, errors etc. But its program execution time is more, and occupies a larger part of the memory. It has low speed and low efficiency of memory utilization. If a compiler runs on a computer for which it produces the object code, then it is known as a self or resident compiler. If a compiler runs on a computer other than that for which it produces object code, then it is called a cross-compiler.

click here to read more...

Interpreter



An interpreter is a program which translates statement of a high-level language program into machine codes. It translates one statement of the program at a time. It reads one statement of a high-level language program, translates it into machine code and executes it. Then it reads the next statement of the program, translates it and executes it. In this way it proceeds further till all the statements of the program are translated and executed. On the other hand a compiler goes through the entire high-level language program once or twice and then translates the entire program into machine codes.

click here to read more...