Saturday, August 29, 2020

 

 

Q. What is the Program?

Ans-> Program is a set of Instructions.

We cannot hive Instruction to the computer using 'Hindi', 'English', etc.

We can only give instruction to the computer using Programming languages.

Exa: - C, C++, C#, Java, Python, etc.

 

Q. What is language Translator?

Ans-> Language Translator is a software which converts programming language (source code) to machine language (machine code) and then return object code.

There are two types of language translator-

1. compiler,                  2. Interpreter.

1.compiler -> A compiler converts an entire program return in source code and translate in object code.

A Compiler converts the whole program (source code) to the machine code and then returns object code.

The compiler is faster than the interpreter.

2.Interpreter -> It is the step by step conversion by a compiler, interpreter convert source code to machine code line by line.

Interpreter is slower than a compiler.

 Difference Between Source code and Machine code

Source code

Machine Code

       I.            It Created by the program.

It is created by the compiler.

     II.            Text which document

Binary digit makes of the object code.

  III.            Human Readable.

Machine Readable

 IV.            Not system-specific.

system-specific.

    V.            Service as input to the compiler.

it is the output of the compiler.


Thursday, August 27, 2020

 Que.: - What is Programming?

Ans.: - Computer Programming is a medium for us to communicate with computers. Just li9ke we use  'Hindi' or 'English' to communicate with each other, programming way for us to deliver our instruction to the computer.

Que.: - What is C?

Ans.: - C is a programming language,

C is one of the oldest and finest programming languages,

C was developed by Dennis Ritchie at AT&T's Bell Labs, the USA in 1974.

Uses of C

C Language is used to program a wide  variety of systems some of the uses of C are as follows:

1-> Major parts of windows, Linux and Other Operating systems are written in C.

2-> C is used to write driver programs for devices like Tablets, Printers, etc.

3-> C Language is used to program embedded systems where programs need to run faster in limited memory (Microwave, Cameras, etc).

4-> C is used to develop games an area where latency is very important ie. The computer has to react quickly to user input.

Learn complete C Language From Beginners to Advanced Click on the Links bellow

Buy Latus C Book

Buy Latus C Book And Solution