Answer:
According to the requirements of users of the system, RAID 10 is more suitable option.
Explanation:
As mentioned previous server is running RAID 5, Which takes a lot of time to manage parity while reading or writing data.
On the other end RAID 10 is the combination of RAID 1 and RAID 0, It has the the features of both system.
According to the users requirement, unscheduled downtime or data loss can cannot be tolerated. So RAID 10 has the ability to access the data from multiple disks. If one disk i down, required data can be gathered from other disks.
It creates multiple duplicates of data, so risk to lose data has also been reduced.
<em>In both aspects, RAID 10 is better than RAID 5, so he choose RAID 10 for up gradation.</em>
Answer:
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while(true) {
System.out.print("Enter an integer (0 to exit): ");
int num = scan.nextInt();
if (num == 0) break;
if (num%3 == 0 && num%5 == 0) {
System.out.printf("%d is divisable by both 3 and 5.\n", num);
}
else if (num%3 == 0 && num%5 != 0) {
System.out.printf("%d is divisable by 3 but not by 5.\n", num);
}
else if (num%3 != 0 && num%5 == 0) {
System.out.printf("%d is divisable by 5 but not by 3.\n", num);
} else {
System.out.printf("%d is not divisable by 3 or 5.\n", num);
}
}
scan.close();
}
}
Answer:
A. Android and iOS
Explanation:
The two most frequently used operating systems on the tablets are Android and iOS. They are most famous operating systems currently. ios is used by apple hence it's tablets also known as ipads are on ios and other companies like samsung,motorola ,lenovo,hp etc. uses Android operating system on tablets.
Answer:
1. Python Script:
Python script is a text file that contains statement comprising a Python program. Python script file is saved with an extension of '.py'. Once you created a python script, it can be used as many times as required.
2. How a Python program executes:
Python program executes in following steps:
1. At first step python program is written in text editor or IDE (integrated development environment). Then programmer saved this source code to a file with .py extension. This file is called script file.
2. After writing source code, programmer uses compiler to interpret the source code to byte code
3. Python virtual machine then translate this byte code into instructions that can interact with operating system of computer.
4. Operating system then execute these instructions.