0% found this document useful (0 votes)
44 views

Language: The Way of Communication Is Types of Language

This document summarizes key concepts in programming languages: 1. It defines low-level and high-level languages, with low-level languages like machine code and high-level languages like spoken languages that are easier for humans to understand. 2. It describes variables as memory spaces used to store data, and constants as fixed values stored in variables. Common variable types include integers, floating-point numbers, and characters. 3. It provides examples of declaring variables in C/C++ using keywords like int, float, and char followed by variable names and terminators.

Uploaded by

Arun Kumar Garg
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

Language: The Way of Communication Is Types of Language

This document summarizes key concepts in programming languages: 1. It defines low-level and high-level languages, with low-level languages like machine code and high-level languages like spoken languages that are easier for humans to understand. 2. It describes variables as memory spaces used to store data, and constants as fixed values stored in variables. Common variable types include integers, floating-point numbers, and characters. 3. It provides examples of declaring variables in C/C++ using keywords like int, float, and char followed by variable names and terminators.

Uploaded by

Arun Kumar Garg
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

Language: the way of communication is called language. Types of language: Low level High level 1.

. 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.

You might also like