Answer:
Here is the pseudocode.
a.
INPUT hourly rate
INPUT hours worked
SET gross pay = hourly rate x hours worked
PRINT gross pay
b.
INPUT hourly rate
INPUT hours worked
SET gross pay = hourly rate x hours worked
PRINT gross pay
INPUT tax rate
SET net pay = gross pay - (gross pay * tax rate / 100)
PRINT net pay
Explanation:
a.
Ask the user to enter hourly rate and hours worked
Calculate the gross pay, multiply hourly rate by hours worked
Print the gross pay
b.
Ask the user to enter hourly rate and hours worked
Calculate the gross pay, multiply hourly rate by hours worked
Print the gross pay
Ask the user to enter the tax rate
Calculate the net pay as gross pay - (gross pay * tax rate / 100)
Print the net pay
Answer:
E. The data is not under the owner’s direct control.
Explanation:
Disadvantages of cloud storage:
- Need for internet connection: We need to accept the fact that the internet connection, whether by broadband, 3G, 4G or 5G. Opening and retrieving data in the cloud becomes impossible without the internet.
- Mistrust: Security breaches are very rare, especially if your content is stored on large enterprise servers that invest heavily in security.
- Internet laws are unclear - and are different in each country: Because servers are scattered around the world, cybercrime is a doubt: in case of a leak, the hacker should be tried according to the virtual laws of the country in which is the server or country of the user who uploaded these files?
- Price: Yes, there are free options, but companies and business owners who create and access large volumes of files may need paid plans to meet their needs.
Answer:
C. Binary can be used to represent more complex, higher level abstractions, including but not limited to numbers, characters, and colors. D. When data is large enough computers switch to using decimal representation instead of binary, because you can represent larger numbers with fewer digits
Explanation:
Answer:
Following are the program in the C++ Programming Language:
#include <iostream>//header file
using namespace std;//namespane
//set main method
int main() {
int a[100]; //set integer type array variable
int value, i = 0; //set integer variables
cout<<"Enter less than 0 to exit:"<<endl; //message for exit
cout<<"Enter the integer numbers:"<<endl; //message to enter numbers
do{ //set do while
cin>>value; //get input from the user
a[i++] = value; //append elements in array
}while(value>=0);
i--;
cout<<"\nArray are:"<<endl;//message for array
for(int k = 0;k<i;k++){ //set for loop
cout<<a[k]<<" "; //print array
}
return 0;
}
<u>Output</u>:
Enter less than 0 to exit:
Enter the integer numbers:
1
2
3
4
5
-1
Array are:
1 2 3 4 5
Explanation:
Here, we set the integer data type main method "main()" and inside it:
- we set integer type array variable with index value 100.
- we set two integer type variable "value" and "i" initialize value 0.
- we set the do-while loop in which we get the input from the user and and append in the array and pass condition if the value is greater then equal to 0.
- Finally, set for loop and print the elements of an array.
Answer:
a. input={4,4}
b. input={3,6,6}
c. input={7,8,8,4}
d. input={5,7,7,4,4}
e input={4,6,6,7,9,9}
Explanation:
First understanding the method in the method we are iterating over array upto the second last element and in the loop we are checking that the current element is less than then next array element if it is less then we are assigning the value of next element to the current element.So the outputs are stated above according to the method execution.