c++ Tutorials

What is c+ +?

C++ is a high-level computer programming language.

What is high-level language and low-level language?

High-level language

High-level languages are those languages that are easy to understand for a human being. These languages are nearest to the common human being languages. The high level language code is called source code.

Examples
C, C++, Java, COBOL etc

Low-level language

Low-level languages are those languages that are easy to understand for the machine. The low-level language code is called object code.

Examples
Binary language(0,1).

What is computer programming language?

Computer programming language is a language that is understandable for a computer. For example, all high level and low level languages including c++ are the computer programming languages.

What is a computer program?

A computer program is a set of instruction written in any high level or low-level language and this set of instruction is understandable for the computer.

Note: Program, code, source code and object code all are just the instructions of any computer programming language.

Machine understands low-level language and human beings understand high-level languages more easily, so how these two kinds of languages are compatible with each other?

We write our code in high-level languages like c++ and then different translator software converts this high-level code into low level language code.

What are types of language translators?

  1. Compiler
  2. Interpreter
  3. Assembler

What is Compiler?

The compiler converts the high-level language code into the object code as a whole.

What are advantages of the compiler?

  • Faster than interpreter
  • Produce the executable code

What are disadvantages of the compiler?

Code without any error is must to produce the executable file.

What is Interpreter?

The interpreter converts the high-level language code into the object code statement by statement.

What are advantages of the Interpreter?

  • Easy to debug
  • Informs about the errors earlier

What are disadvantages of the Interpreter?

Slower than interpreter.

What is Assembler?

The assembler converts the assembly language code into the object code.

What are the advantages of the Assembler?

  • Faster because assembly language is nearest to the hardware and binary language(machine language).
  • The code is easy to understand for the machine as compared to the high-level language code.

Difference between Compiler and Interpreter?

Comparison Compiler Interpreter
Techniques Convert entire program to machine language Convert the statements into machine language one by one at a time.
Speed The compiler is Faster than an interpreter The interpreter is slower than the compiler

Video Lecture

By: Prof. Fazal Rehman Shamil    CEO @ T4Tutorials
Whatsapp: +92 302 87 000 85     Facebook: For Discussions

8 thoughts on “c++ Tutorials

  • July 13, 2019 at 4:39 pm
    Permalink

    Thank you very much Yasmeen Javed. Please remain to connect with the website.

  • July 13, 2019 at 10:41 am
    Permalink

    simple and easy wordings …glad 🙂

  • April 18, 2019 at 4:45 am
    Permalink

    C++ is a language that can easily understand by a human and computer.
    High-level languages are the languages that can understand by a human being. The code uses in such languages(human understandable) is known as source code.
    Low-level languages are languages that are near to the machine. It includes binary language(language in the form of 0,1). The code used in such languages is known as object code.
    From this content also I learned about
    ~ Program (set of instructions).
    ~ Translator (converts high-level code into low-level code).
    ~ Three types of translators (Compiler, Interpreter, Assembler) and their advantage.

  • April 17, 2019 at 8:36 pm
    Permalink

    In this article, differences between high and low level. That is human and computer instruction, then covert with different translator.

  • April 16, 2019 at 2:55 pm
    Permalink

    C++ is a high_level computer programming language..there are two types of languages.high_level language:which is easy to understand by human.for example Java,c++.low_level language:which is easy understand by machines.for example binary language(0,1).we know about types of language translator compiler,interpreter and assembler..it’s advantages and disadvantages…

  • April 16, 2019 at 2:22 pm
    Permalink

    c++ is high-level computer programming. the computer programming language is a language that is understandable for a computer for example high level or low-level language including c++ are the computer programming language. there are three types of a language translator.
    compiler
    interpreter
    assembler

  • April 16, 2019 at 1:49 pm
    Permalink

    Glad to see the programming related questions as my concepts got cleared about the process of code execution after reading answers. I understood the difference between high and low-level languages, how a language translator converts the statements entered by humans into machine language, how three types of translators are different from each other even having the same purpose and also their advantages/disadvantages.

  • April 15, 2019 at 6:17 pm
    Permalink

    C++is high-level programming language. It is nearest to human. Low-level language is nearest to the computer. A computer program is a set of instructions. There are three types of a language translator. 1)COMPILER
    2)ASSEMBLER 3)INTERPRETER

Leave a Reply

Your email address will not be published. Required fields are marked *