Languages-Assembly Language [3i Infotech Placement]: Sample Questions 4 - 6 of 51

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 4

Assembly Language
Edit

Describe in Detail

Essay▾

How is linked list implemented?

Explanation

Understanding of Implimentation of Linked List
  • Linked list is made from nodes.
  • A node has two fields:
    • Object field holds the actual data
    • Next (pointer) holds starting location of the next node.
  • Head points to the first node.
  • Last node typically points to NULL.

Question 5

Assembly Language
Edit

Describe in Detail

Essay▾

A process is defined as

Explanation

Given Process Control Block
  • A process is an instance of an executing computer program.
  • Contains the program code and its current activity.
  • Note that a program is the passive collection of instruction, while a process is the actual execution of instructions.
  • Many processes can be associated with the same program.
  • A process can initiate a sub process, which is called a child.
  • A child process is a replica of the parent process sharing its resources, but dies with the parent.
  • Processes exchange information and synchronize operation using interprocess communication.

Question 6

Assembly Language
Edit

Describe in Detail

Essay▾

What happens during DMA transfer?

Explanation

Direct memory access transfers data between a microprocessor՚s memory and an I/O device without involving the microprocessor.

Working process of DMA controller:

  • The I/O device requests DMA operation via the DMA request lines of the controller chip.
  • The controller chip activates the microprocessor HOLD pin, requesting the CPU to release the bus.
  • The processor then sends HLDA (Hold Acknoledgement) back to the DMA controller.
  • The DMA controller completes the DMA transfer and releases the bus
Working Process of DMA Controller

Developed by: