Answer:
Program memory is paged, this statement is defined as in a computer system paged memory is the process of allocation of memory and storing a portion of a process of execution. Page is a unit of logical memory in a program. It follows the process of paging, as it is a method of writing an information and reading the output from the storage drive. The main advantage of this process is that it become easy to swap because everything is the same size.
Answer:
Explanation:
C++ Code
#include <iostream>
#include <cstdlib>
using namespace std;
int main(){
double hour,minute;
cout<<"Enter Hours :";
cin>>hour;
cout<<"Enter Minutes :";
cin>>minute;
minute = minute+15;
if(minute >=60){
hour++;
minute = minute-60;
}
if(hour>23){
hour = 0;
}
cout<<"Hour: "<< hour<< " Minutes: "<<minute;
return 0;
}
Code Explanation
First take hours and minutes as input. Then add 15 into minutes.
If minutes exceeds from 60 then increment into hours and also remove 60 from minutes as hours already incremented.
Then check if hours are greater then 23 then it means new day is start and it should be 0.
Output
Enter Hours :9
Enter Minutes :46
Hour: 10 Minutes: 1
Answer:
Charge back.
Explanation:
A chargeback is a charge that is returned to a payment card after a customer successfully disputes an item on their account transactions report. Simply put, it is the reversal of a credit card payment that comes directly from the bank.
Most commonly the payer is a consumer.
A chargeback may occur on bank accounts or credit cards. They can be granted to a cardholder for a variety of reasons. A chargeback can be considered a refund since it returns specified funds taken from an account through a prior purchase. Chargebacks are focused on charges that have been fully processed and settled. Chargebacks can often take several days for full settlement as they must be reversed through an electronic process involving multiple entities.
The chargeback is ordered by the bank that issued the consumer's payment card.
Answer:
Explanation:
Since no further information was provided I created the PayLevel function as requested. It takes the Ssn as input and checks it with a premade dictionary of Ssn numbers with their according salaries. Then it checks that salary against the average of all the salaries and prints out whether it is Above, Below, or Average. The output can be seen in the attached picture below.
employeeDict = {162564298: 40000, 131485785: 120000, 161524444: 65000, 333221845: 48000}
average = 68250
def PayLevel(Ssn):
pay = employeeDict[Ssn]
print("Employee " + str(Ssn) + " is:", end=" "),
if pay > average:
print("Above Average")
elif pay < average:
print("Below Average")
else:
print("Average")
PayLevel(161524444)
PayLevel(131485785)