Posts

Image
Types of Programming Language Low Level Language First-generation language is the lowest level computer language. Information is conveyed to the computer by the programmer as binary instructions. Binary instructions are the equivalent of the on/off signals used by computers to carry out operations. The language consists of zeros and ones. In the 1940s and 1950s, computers were programmed by scientists sitting before control panels equipped with toggle switches so that they could input instructions as strings of zeros and ones. Advantages Ø   Fast and efficient Ø   Machine oriented Ø   No translation required      Disadvantages Ø   Not portable Ø   Not programmer friendly Assembly Language Assembly or assembler language was the second generation of computer language. By the late 1950s, this language had become popular. Assembly language consists of letters of the alphabet. This makes programming much easier than ...
First Term Syllabus (GGSIPU) Basic concepts of algorithm and flow charts with suitable examples, concepts of translators (compiler, interpreter and assembler) and their purpose,   key terms associated with translators ( loader, linker, scheduler, dispatcher). Introduction to programming languages, characteristics of C language, basic structure of a C program.   How to write program in C language, writing basic programs,  overview of compilation / execution process, explanation of key terms associated with compilation / execution (errors, bugs , run  time error, logical errors etc).   Programming using C: Preprocessor  Directives, Header Files, Main Function and, Macro.   Formatted and unformatted I/O statements, Data Types including enumeration, Tokens (keywords, Identifiers, Variables, Constants etc.).   Operators: Relational, Logical, Arithmetic, Conditional, Bitwise etc, Evaluation of expressions, Precedence and Assoc...
C – Basic Program                                                                                               We are going to learn a simple “Hello World” C program in this section. Also, all the below topics are explained in this section which are the basics of a C program. 1. C Basic Program:   #include <stdio.h> int main() {      /* Our first simple C basic program */      printf("Hello World! ");      getch();      return 0; } Output: Hello World! Explanation for above C basic Program: Let’s see all the sections of the above simple C program line by line. S.no Command Explanation ...