FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which type of translator is used to test if a HLL program works and contains no syntax errors?
A
Interpreter
B
Converter
C
Assembler
D
Compiler
Explanation: 

Detailed explanation-1: -Compiler. A Compiler is a computer program that translates code written in a high level language to a lower level language, object/machine code. The most common reason for translating source code is to create an executable program (converting from a high level language into machine language).

Detailed explanation-2: -Compilers are a type of translator that support digital devices, primarily computers. The name compiler is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language, object code, or machine code) to create an executable program.

Detailed explanation-3: -Interpreter. Interpreter programs are able to read, translate and execute one statement at a time from a high-level language program. The interpreter stops when a line of code is reached that contains an error. Interpreters are often used during the development of a program.

There is 1 question to complete.