Answer:
Name of Operating System: Ubuntu
Five legal file names:
inventory.txt
total.txt
NIKKAH.txt
Defaulter.txt
studenT.txt
Five illegal file names:
wel/come.txt
..
MY>note.txt
.
my<work.yxt
Explanation:
To fix the illegal name:
1. Remove the special character, so it becomes welcome.txt
2. Remove the double dot and rename using text characters
3. Remove the special character, so it becomes MYnote.txt
4. A file cannot be named using dot. So we rename to a textual name
5. Remove the special character, so it becomes mywork.txt
Some additional rule for naming of files legally in Unix is that, you cannot use a reserved word to name your file. Starting a file name with number is allowed. Starting a file name with dot make the file to be hidden.
Answer: 3 bytes
Explanation:
A Pixel uses 3 colors and each of these colors uses 8 bits to store their intensity.
One pixel will therefore have:
= 8 * 3
= 24 bits
1 byte = 8 bits
24 bits will therefore be:
= 24/8
= 3 bytes
The answer is B. Windows icon
Answer:
START LOOP FOR EACH EMPLOYEE:
INPUT employee’s name, hourly rate of pay, number of hours worked, overtime pay rate, payroll deductions, tax rate
SET gross pay = (hourly rate of pay x *weekly hours) + (overtime pay rate x (number of hours worked - *weekly hours))
PRINT gross pay
SET net pay = gross pay - (payroll deductions + (gross pay * tax rate/100 ))
PRINT net pay
END LOOP
* weekly hours (how many hours an employee needs to work to earn overtime pay rate) is not given in the question
Explanation:
Create a loop that iterates for each employee
Inside the loop, ask for name, hourly rate, number of hours worked, overtime pay rate, payroll deductions, tax rate. Calculate the gross pay and print it. Calculate the net pay and print it