Computer System Architecture - Pipeline and Vector Processing

Avatto > > UGC NET COMPUTER SCIENCE > > PRACTICE QUESTIONS > > Computer System Architecture > > Pipeline and Vector Processing

26. Which of the following systems is a most likely candidate example of a pipe and filter architecture?

  • Option : D
  • Explanation : In the pipes and filters pattern, components are filters and connectors are pipes.
    Each filter takes input in some form and produces output in some other form,which may or may not be similar to the input form. Hopefully, each filter will add value to the output stream because of processing done inside the filter. Each filter is independent and is unaware of the up and down stream filters. Pipes are conduits of the data streams. Famous example of the pipes and filters architectural pattern are UNI X shells,signal processing systems and distributed systems
Cancel reply
Cancel reply

27. The following are some events that occur after a device controller issues an interrupt while process L is under execution.
(P) The processor pushes the process status of L onto the control stack.
(Q) The processor finishes the execution of the current instruction.
(R) The processor executes the interrupt service routine.
(S) The processor pops the process status of L from the control stack.
(T) The processor loads the new PC value based on the interrupt.
Which one of the following is the correct order in which the events above occur?

  • Option : A
  • Explanation : Processor required to handle the interrupt:
    1. Processor finishes the execution of the current instruction.
    2. Processor pushes the process status of L onto the control stack.
    3. Processor loads the new PC value based on the interrupt.
    4. Processor executes the interrupt service routine.
    5. Processor pops the process status of ā€œLā€ from the control stack.
Cancel reply
Cancel reply

29. A processor needs software interrupt to

  • Option : C
  • Explanation : A processor needs software interrupt to obtain system services which need execution of privileged instructions.
Cancel reply
Cancel reply

30. A device employing INTR line for device interrupt puts the CALL instruction on the data bus while

  • Option : A
  • Explanation : A device employing INTR line for device interrupt puts the CALL instruction on the data bus while INTA is active
Cancel reply
Cancel reply