Language: The Way of Communication Is Types of Language
Language: The Way of Communication Is Types of Language
. Low level: Hardware controlling /architecture is called low level language ex: 0101 2. High level: spoken language Easy in understanding similar to human language is called high level. Variable: The occupied memory spaces used to store the data is called Variables. (Programming Concept) means in RAM CONSTANT: The values kept in variables are called constant. (Programming Concept) Types of variables 1 Fixed (Integer) [0 9] 2 Fractional (Floating point) 3 Character (any key of keyboard)
Mathematical Integer: {0, +- 1, +-2, +-3, +-4, +-5} Floating: (Point) {0.1, 8.3, 4.6} Character: {(a-z), (A Z), (+, - , /, *), (0 9)} Every key of keyboard is called character How user can understand character and integer? Answer: if we write any character without apostrophe as (5) is called integer If user writes any character inside the apostrophe as (5) is called character. Variable declaration: Keywords: int, float, const, char, etc Float eng; if Simi colon comes at the end of any line it means that this line is not continue it is finished as float English; terminator.
If it is continued as user should not put Simi colon at the end of every subject there should be put commas as. Float English, Urdu, math, and physics; Note: Name of variable can be any thing except key word. As: int Standard input output statement (i) Input statement (ii) Output statement Input: cin>> insertion operator Output: cout<< Abstraction
Header file: (library file) Iostream = Input Output stream / flow #: preprocessor directive clrscr (); getch();
conio conio means console The combination of hardware and software is called console.