Which language uses the symbolic representation of machine codes needed to program a particular processor or processor family?
- A.Machine Language
- B.Assembly Language
- C.High-Level Language
- D.All of the above
Correct answer
Explanation
The correct answer is B, Assembly Language. Assembly language replaces the binary machine codes of a processor with short symbols called mnemonics, such as MOV, ADD and JMP.
Each assembly instruction usually corresponds to one machine instruction, so an assembly program is written for a particular processor or processor family and is not portable to a different architecture. A program called an assembler translates the mnemonics into machine code that the CPU can execute. Assembly is a low-level language and is still used for device drivers, embedded systems and code where speed and direct hardware control matter.
Option A is wrong because machine language is the binary code itself, strings of 0s and 1s, not a symbolic form of it. Option C is wrong because high-level languages such as C, Java and Python use English-like statements that are largely independent of the processor and are translated by a compiler or interpreter. Option D is wrong because only assembly language fits the description.
Exam tip: machine language = binary; assembly = mnemonics, translated by an assembler; high-level = compiler or interpreter.
Practice Questions
View allWhich one of the following is the characteristic of Artificial Intelligence ?
- A.Replicates human decision making
- B.Stores relevant information
- C.Stores similar kind of data for a specific purpose
- D.Allows user to interact with media
Show answer
Artificial Intelligence is the ability of a machine to perform tasks that normally need human intelligence, such as reasoning, learning and taking decisions.
Read the full explanation →What is an interactive combination of text, graphics, video, audio and images termed as ?
- A.JPEG
- B.Multimedia
- C.AVA
- D.PNG
Show answer
Multimedia means using several forms of media, such as text, graphics, audio, video, images and animation, together, often in a way the user can interact with.
Read the full explanation →Which among the following is a malicious software?
- A.Hacking
- B.Password Cracking
- C.Trojan Horse
- D.Firewall
Show answer
A Trojan is a program that looks useful or harmless but secretly carries harmful code, so it is a piece of malicious software, or malware.
Read the full explanation →Which one of the following is not an application software?
- A.Spreadsheet
- B.AutoCAD
- C.MS PowerPoint
- D.Linker
Show answer
A linker is system software, a programming tool that joins compiled pieces of code into one program that can run; it does not do a task for the end user.
Read the full explanation →Which one among the following is the purpose of firewall?
- A.Preventing unauthorised access to computer via the internet
- B.Installation of software that can harm the computer
- C.Recording everything that is done on computer
- D.Running checks to prevent virus attacks
Show answer
A firewall stands between a computer or private network and the outside world and blocks traffic that is not allowed.
Read the full explanation →