Answer:
True
Explanation:
A computer can be defined as an electronic device that is capable of receiving of data in its raw form as input and processes these data into information that could be used by an end user.
Generally, a computer is composed of five (5) main components and these include;
I. Input unit.
II. Output unit.
III. Central processing unit (CPU).
IV. Storage (memory) unit.
V. Power supply unit (PSU).
A power supply also referred to as power supply unit (PSU) can be defined as a hardware component of a computer that converts and step-down the domestic alternating current (AC) electrical power to a low-voltage regulated direct current (DC) power, so that the internal components of a computer can be supplied with power.
Hence, the power supply unit (PSU) serves as a rectifier by converting alternating current (AC) house current to direct current (DC) and as a transformer to step-down voltage from 220 Volts or 110 Volts to 50, 30, or 20 Volts depending on the requirements of a computer.
Answer:
true
Explanation:
The Top-down approach is an approach to a problem that focuses on the big picture first before moving down into the specifics of the topic/problem. Therefore based on the information provided within the question it can be said that the statement being made is completely true. Since the interviewer using this approach starts with a broad topic and later goes into the details, it does allow them to be accustomed to the topic first.
The answer & explanation for this question is given in the attachment below.
Answer:
public class Person {
//fields
private int id;
private String name;
private Payment pay;
//constructor
public Person(String name, int id,
int startSal, int startBon){
this.name = name;
this.id = id;
this.pay = new Payment(startSal, startBon);
}
//method get name
public String getName(){
return name;
}
//method get id
public int getId(){
return id;
}
//method get start salary
public int getStartSalary(){
return pay.startSalary;
}
//method get start bonus
public int getStartBonus(){
return pay.startBonus;
}
//inner payment class
private class Payment{
int startSalary;
int startBonus;
public Payment(int sal, int bon){
this.startSalary = sal;
this.startBonus = bon;