Answer:
The correct answer to the following question will be "Disaster Recovery as a Service (DRaaS)".
Explanation:
DRaaS seems to be a cloud services term used only to secure an infrastructure or data through human catastrophe or interruption of service at any destination by allowing a complete recovery throughout the cloud.
- DR seems to be a security or management preparation field which seeks to protect an organisation from those in the consequences of major negative experiences.
- This provides offsite backups which use storage resources to defend programs including assets from disaster-induced destruction.
Answer:
SELECT product_name, amount_due, amount_paid,
cancelled, amount_refunded
FROM products
ORDER BY product_name ASC;
Explanation:
SQL (Structured Query Language ) was used above.
The SELECT command is used to list all the variables we want in our output.
The FROM command signifies the location.
ORDER BY command ensures that your result is ordered
ASC means Ascending Order.
; signifies the end of the query.
NOTE: Underscores were used because variables cannot be written with spaces between them
Answer:
The following codes are:
int monthOfYear=11;
// integer type variable is initialized
long companyRevenue=5666777;
// long type variable is initialized
int firstClassTicketPrice=6000;
// integer type variable is initialized
long totalPopulation=1222333; //// long type variable is initialized
Explanation:
Here, we define integer type variable "monthOfYear" to 11.
Then, we define long type variable "companyRevenue" to 5666777.
Then, we define integer type variable "firstClassTicketPrice" to 6000.
Then, we define long type variable "totalPopulation" to 1222333.
Answer:
Option 1: May crash at runtime because it can input more elements than the array can hold
Explanation:
Given the code as follows:
- int[] a = {1, 3, 7, 0, 0, 0};
- int size = 3, capacity = 6;
- int value = cin.nextInt();
- while (value > 0)
- {
- a[size] = value;
- size++;
- value = cin.nextInt();
- }
From the code above, we know the <em>a</em> is an array with six elements (Line 1). Since the array has been initialized with six elements, the capacity of the array cannot be altered in later stage.
However, a while loop is created to keep prompting for user input an integer and overwrite the value in the array started from index 3 (Line 4- 9). In every round of loop, the index is incremented by 1 (Line 7). If the user input for variable <em>value</em> is always above zero, the while loop will persist. This may reach a point where the index value is out of bound and crash the program. Please note the maximum index value for the array is supposedly be 5.