free geoip

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mcs all semsters quizzes
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
3RD SEMSTER CS 501Quiz

1. What happens when the microprocessor is interrupted?
• It suspends the currently executing program and jumps to (ISR) to respond to the incoming interrupt
• It suspends the incoming interrupt and keeps executing current program.
• It makes a queue for all such incoming interrupts so as to respond to them after system restart.
• All of the given options


2. In which one of the following interrupts the device have to supply the address of the subroutine to the Microprocessor
• Maskable
• Non-maskable
• Non-vectored
• Vectored

3. If an interrupt is set by the timer component or by the peripheral device then how would you categorize it?
• Hardware
• Software
• Exception
• All of the given options


4. A user program has to delete a file. The user program will be executing in the user mode. When it makes the specific system call to delete the file, an interrupt will be generated, this will cause the processor to halt its current activity and switch to supervisor mode. Once in supervisor mode, the operating system will delete the file and then control will return to the user program.
This is an example of
• Hardware interrupt
• Software interrupt
• Exception
• All of the given


5. Every time you press a key, an interrupt is generated.
This is an example of
• Hardware interrupt
• Software interrupt
• Exception
• All of the given
6. An ----------- is the memory address of an interrupt handler.
• Interrupt vector
• Interrupt service routine
• Exception
• Mask



7. Which is the last instruction of the ISR that is to be executed when the ISR terminates?
• IRET
• IRQ
• INT
• NMI


8. When is the “Divide error interrupt” generated?
• When an attempt is made to divide by decimal number
• When an attempt is made to multiply by zero
• When an attempt is made to divide by zero
• When negative number is stored in a register


9. The interrupts in which we write the address of the interrupt service routine (ISR) in the interrupt instruction itself are
• Maskable
• Non-maskable
• Non-vectored
• Vectored

10. The interrupts which are pre-programmed and the processor automatically finds the address of the ISR using interrupt vector table are
• Maskable
• Non-maskable
• Non-vectored
• Vectored
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ACC311 quizzes 1 to 22 lecture samileo31 4 3,507 05-12-2011, 03:49 PM
Last Post: sweet pari
  CS304 LATEST 2 QUIZZES SOLVED BY MISS SHAZIA fall 2010 8th November Xpert 0 3,065 11-08-2010, 04:00 PM
Last Post: Xpert
  ACC501 Current Quizzes Solved 31 July 2010 viki 0 2,957 07-31-2010, 04:35 PM
Last Post: viki
  ECO401 Latest Quizzes MCQ's Solved 27 July 2010 viki 0 2,212 07-28-2010, 05:38 AM
Last Post: viki
  CS401 Spring 2010 Quizzes Held on 27 July 2010 viki 0 1,718 07-28-2010, 05:09 AM
Last Post: viki
  MGT402 Current Quizzes Material (100 Mcq's) em-ad 2 2,506 05-18-2010, 10:40 PM
Last Post: viki
  Mcs_ all semsters papers (mid and final terms) Jawad 0 2,861 05-02-2010, 06:16 AM
Last Post: Jawad

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support