Answer:
class fan{
private String model;
private boolean isOn;
//Constructor goes here
public fan(String model, boolean isOn) {
this.model = model;
this.isOn = isOn;
}
// An additional method goes here
public boolean turnOn(boolean yes){
if(yes) {
this.isOn=true;
System.out.println("Fan is blowing");
return true;
}
else
this.isOn=false;
System.out.println("Fan is off");
return false;
}
}
Explanation:
Demonstrating the working of the class in a main method. Below is a complete code
public class fanTest {
public static void main(String[] args) {
fan fan1 = new fan("Binatone", false);
fan1.turnOn(false);
}
}
class fan{
private String model;
private boolean isOn;
//Constructor goes here
public fan(String model, boolean isOn) {
this.model = model;
this.isOn = isOn;
}
// An additional method goes here
public boolean turnOn(boolean yes){
if(yes) {
this.isOn=true;
System.out.println("Fan is blowing");
return true;
}
else
this.isOn=false;
System.out.println("Fan is off");
return false;
}
}
Answer:
Authorization levels (privileges) need to be set for the users in the company.
Explanation:
Users need to be classified according to their departments and their position. Each group should see only <em>related</em> data, so their authorizations need to be done accordingly.
Also managers and staff should have different levels of reach to the data. Thus their privileges should set accordingly.
Answer:
Interrupts.
Explanation:
A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer on how to perform a specific task and solve a particular problem.
The four (4) input-output (I/O) software layers includes the following;
I. User level software: it provides user programs with a simple user interface to perform input and output functions.
II. Device drivers: it controls the input-output (I/O) devices that are connected to a computer system through a wired or wireless connection.
III. Device-independent OS software: it allows for uniform interfacing and buffering for device drivers.
IV. Interrupt drivers (handlers): it is responsible for handling interruptions that occur while using a software on a computer system.
An interrupt is a signal from a program or device connected to a computer and it's typically designed to instruct the operating system (OS) that an event has occurred and requires an attention such as stopping its current activities or processes.
In conclusion, the computer term that Selma is describing is interrupts.
Yes they are the leading tech innovators of the 21st century and have already made massive strides in this direction