C++ Programming basic Concepts

Welcome to Virtual Study Solutions C++ Programming Tutorial. Today we will discuss some Basic Concepts and Questions with answers related to C++ Programming language.

Topics we will cover in this tutorial are given below:
  1. What is C++ programming language
  2. What is program portability in C++
  3. What is source code in C++ 
  4. What is object code in C++ 
  5. What is compiler in C++ 
  6. What is interpreter in C++ 
C++ Programming basic Concepts and Questions
C++ Programming basic Concepts and Questions

What is C++ programming language

Question : What is a Program or a Software?
Answer : Set of instructions given to the computer to solve any problem is called a program. A program is written in a computer language

Question : Define programming languages ?
Answer : User can learn and understand high-level language(HLL) easily.
The instruction of 
high-level language are written in English Statements.
The programs of 
high-level language are not directly executed on the computer. A language translator is required to translate the high-level language into low level language.

Question : What is low-level language (LLL)?
Answer : A language which is close to machine language
The low level language requires a deep understanding of the machine architecture.

Question:What is machine language ?
Answer : It is the native language of computer .
Every machine language instruction consist of 0's and 1's.
It is difficult for human beings to understand and learn it.
And it is also difficult to locate remove errors in the program.
It is directly executed by the computer. The machine language programs are machine dependent. 

Also Read: C++ Programming language video tutorial free download

What is program portability in C++ 

Question : What is meant by program portability?
Answer : The programs written in 
high-level language are closed to human language and programs are machine independent i.e. a program can be run o different types of computers this is called program portability.

Also Read: C++ Tutorial in PDF

What is source code in C++

Question : The Code written in high-level language is called source Code.
Answer : The computer does not understand the source code.
The source code is converted into machine code and then it is directly executed ton the computer.

What is Object Code in C++

The program or code which is written in a machine language is called object program/code the computer understands the object code directly.

Question : What is Linker C programming?
Answer : The linker is a program that combines the object program with additional library files and produces one executable file with .exe extension.
Linking is a process is which the object file is produced by the compiler is linked to many other files by linker.

Question : What is Loader in C programming?
Answer : For execution, the loader loads the executable files in the memory.
It is also system software in turbo c++ compiler Ctrl+F9 key is used to load and run the program.
The executable file (.exe) runs directly on the computer after loading process.

Question : What is Language Processor in C++
Answer: It is software that is used to translate the high-level language programs into machine language.Each language has its own translator.There are three types of language processor

  • Compiler 
  • Interpreter 
  • Assembler

What is a compiler in C++

Compiler translates the source code into object code and the whole program is translated at the same time. If a program contains Syntax error then compiler doesn't convert the source code into machine code until all the errors are removed from the source program.

Tags: c++, C++ Programming Language, c++ tutorials, write a c++ program, C++ Programming basic Concepts, C++ Programming basic Questions with answers, source code, object code, compiler, interpreter, VU

What is an Interpreter in C++

A translator which translates the source code into object code statement by statement. The working of interpreter is slower that the compiler. if There is any error in the program it stops execution.

C++ Example Programs

Write ALLAH Using C++ Program

How to write C++ program to find Fibonacci Series

How to Write C++ Program to Find Prime Number

How to write C++ Program to find factorial of Number

What is Recursive function in c++ with Examples

C++ program to Make Simple calculator

Find the HCF and LCM by using the C++

Post a Comment