How many types of language translators are there?
Correct answer: B. 3
- A. 2
- B. 3
- C. 4
- D. Cache
Explanation
is not a type of language translator. Cache is a type of memory used to speed up computer processing by storing frequently accessed data.The three common types of language translators are:Compiler: A compiler translates high-level code written in a programming language like Java or Python into machine code that the computer can directly execute.Interpreter: An interpreter executes code line by line, translating it into machine code on the fly. Unlike a compiler, it doesn't create a separate machine code file.Assembler: An assembler translates assembly language, which is a low-level language that is more readable for humans than machine code, into machine code.In conclusion, there are three main types of language translators: compilers, interpreters, and assemblers.
Last updated
About Hardware and Software
Hardware includes the physical components of a computer, such as the CPU, motherboard, registers, memory, storage devices and peripheral equipment. Software covers system software, application software, utilities, drivers and firmware, with attention to how the operating system manages hardware and how software differs from the physical equipment it controls.
Practise Hardware and Software
290 free Hardware and Software MCQs from Computer Science and IT, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Exams that ask Computer Science and IT questions like this
Computer Science and IT is on 40 papers prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for every one of them.