<span>b. Application software
Applications are type of software that are installed in a specific operating system of a computer that deviates from those system software installed together with the system itself. These third-party applications are necessary for other functions such as entertainment, business, leisure and other needs addressing of which the system software can't provide.
Examples:
Microsoft Office Word, Excel, Powerpoint</span>
Answer:
Written in C++
bool checkfloor(double num1, double num2, double num3) {
if(floor(num1 * num2) == floor(num3)){
return true;
}
else {
return false;
}
}
Explanation:
The function written in C++
This line defines the function
bool checkfloor(double num1, double num2, double num3) {
The following if condition checks if the floor of num1 * num2 equals num3
if(floor(num1 * num2) == floor(num3)){
return true; It returns true, if yes
}
else {
return false; It returns false, if otherwise
}
}
See attachment for full program including the main
Answer:
123.6326
Explanation:
Given number in base 7 : 234.43
Converting to base 10:
Each digit needs to be multiplied by 7^(position index)
Applying this for all the digits in the number:
=2* 7^2 + 3*7^1 + 4*7^0 + 4*7^-1 + 3*7^-2
=2*49 + 3*7 + 4 + 4/7+3/49
=98 + 21 + 4 + 0.5714 + 0.0612
Separating the integer and fraction parts:
=(98 + 21 + 4) + (0.5714 + 0.0612)
=123.6326
So the base 10 equivalent value for 234.43(base 7) is 123.6326
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.
Answer:
import java.util.Scanner;
public class Main
{
public static void main(String[] args) {
int[] arr = {4, 6, 9, 12};
int sum = 0;
for(int i=0; i<arr.length; i++){
sum += arr[i];
}
for(int i=0; i<arr.length; i++){
System.out.print(arr[i] + " ");
}
System.out.println("");
System.out.println("The sum of the numbers: " + sum);
}
}
Explanation:
* The code is written in Java.
- Initialize the array with the given numbers
- Initialize the <em>sum</em> variable as zero
- Calculate the sum in the first for loop
- Print the numbers in the second for loop
- Print the <em>sum</em>