It is a program that creates a instructions for the computer by interpreting the mnemonics given by us.
Q3 . What are passes in Assembler?
SOLUTION
It is the number of times that an assembler reads the source code to execute the instructions.
Q4 . What is an one pass assembler?
SOLUTION
It scans through the code only once by reserving space for the undefined variables encounterd.
Q5 . What is a multipass assembler?
SOLUTION
It generates the artifacts like tables in the first pass and later uses it to generate the final code
Q6 . Why are linked list better than Arrays?
SOLUTION
Because arrays are fixed in size and cannot be altered during run time.But in the case of linked list memory can be allocated dynamically.Arrays follow static memory allocation where as linked list follow dynamic memory allocation.
Q7 . Difference between stack and Queue?
SOLUTION
Stacks follow the last in first out like a box with a single opening.Queues follow the concept of first in first out like the usual counter ques in coffee shops or theatres.