Answer:
"void" is the correct answer for the given question.
Explanation:
In the function body the value of balance variable is not return that means we use void return type .The void return type is used when the function does not return any value .
If the function are int return type that means it return "integer value ".
if the function are double return type that means it return the "double value" .
The complete implementation of this method is
public void deposit(double amount) // function definition
{
balance = balance + amount; // statement
}
Answer:
Highest
Explanation:
A interrupt request / IRQ is in which instructions are sent to Cpu and uses an interrupt handler to run distinct program . Hardware interrupts are used to manage occurrences such as obtaining modem or network card information, important presses, or mouse motions.
- Interrupt request 0. – it is a system timer (can not be altered)
- Interrupt request 1 – keyboard controller (can not be changed)
- Interrupt request 2 – cascaded IRQ 8–15 signals (any device configured to use IRQ 2 will genuinely use IRQ 9)
- Interrupt request 3 – serial port 2 controller
- Interrupt request 4 – serial port 1 controller
- Interrupt request 5 –parallel port 2 and 3
- Interrupt request 6 - floppy disk controller
- Interrupt request 7 –parallel port 1. If a printer is not present, it is used for printers or for any parallel port. It can also possibly be shared with a secondary sound card with cautious port management.
As interrupt number increases priority level decreases, Priority level 0 is the highest priority level .
The settings are retained
<span>Technically,
Bios software is stored in a non-volatile ROM (Read-Only Memory) chip found on
the motherboard. Usually, this kind of
chip retains its contents even after a normal system shutdown. Rom chips
contains programs that are collectively referred to as BIOS chip or Basic Input/Output
Services</span>
Answer:
The benefits of relying on System Development Standards is explained below.
Explanation:
There are many benefits of having a Well Defined Systems Development. It helps in having a pre - planned and well defined structure before the project starts. It helps in having a Clear view of the whole project and also each phase of the whole System Development. It helps in having an understanding of cost required and the revenues generated at each phase of the whole system development. It helps in having an understanding of the goal of each phase and procedures need to be followed for that particular goal. It also helps in having the quality checked and the improvements need to be made for the desired quality.
Answer:
error: incompatible types
Explanation:
Given
The attached code
Required
The output
Variable "a" is declared as float
While p is declared as a pointer to an integer variable
An error of incompatible types will be returned on line 3, <em>int *p = a;</em>
Because the variables are not the same.
To assign a to p*, we have to use type casting.
Hence, (b) is correct