Which of the following sources of interrupt
has the highest priority?
A Division by zero.
B Real-time clock.
C Memory parity error.
D Keyboard key pressed.
A CPU has a 16-bit program counter. This
means that the CPU can address:
A 16K memory locations.
B 32K memory locations.
C 64K memory locations.
D 256K memory locations
On receiving an interrupt, the CPU:
A. Finishes executing the current
instruction and moves to the interrupt
service routine.
B. Immediately moves to the interrupt
service routine without completing
current instruction.
C. Releases the control on I/O lines and
memory lines.
D. Makes any peripheral device that
requested the interrupt to wait for a
fixed interval of time.
In an instruction where the address patt
points to the address of actual data, the
addressing mode is?
A Immediate addressing.
B Direct addressin&
C Indirect addressing.
D Index addressing.
A NAND gate has inputs A and B. It's output
is connected to both inputs of another NAND
gate. An equivalent gate for these two NAND
gates is a(n):
A OR gate.
B AND gate.
C NOR gate.
D XORgate.
Two registers involved in the fetch-execute
cycle are:
A The program counter and the stack pointer
B The Accumulator and the program counter
C The accumulator and the current instruction register.
D The memory address register and the
memory data register
You are asked to write a program for marks obtained by students in the Department of CS & IT (DoCSIT). The department has 300 students (fixed size) and each student is assigned marks in the range [0, 100]. The management is interested to find the frequency of marks where student marks are greater than 60. You are allowed to use arrays to store the frequency. What will be the optimum size of the array to store the frequency? Justify your answer.
Write a MATLAB program to solve the following two-point boundary
value problems and then compare numerical solutions graphically.
(a) d
2
θ
dt2
= −θ(t), 0 < t < 2π, θ(0) = 0.7, θ(2π) = 0.7.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot