1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
jeka57 [31]
3 years ago
5

Using the Multiple-Alternative IFTHENELSE Control structure write the pseudocode to solve the following problem to prepare a con

tract labor report for heavy equipment operators: The input will contain the employee name, job performed, hours worked per day, and a code. Journeyman employees have a code of J, apprentices a code of A, and casual labor a code of C. The output consists of the employee name, job performed, hours worked, and calculated pay. Journeyman employees receive $20.00 per hour. Apprentices receive $15.00 per hour. Casual Labor receives $10.00 per hour.
Computers and Technology
1 answer:
ASHA 777 [7]3 years ago
7 0

Answer:

1. Start

2. Input Name, Jobs, Hours, Code

3. If Code == 'J' then

3.1 Pay = 20.00 * Hours

4. Else if Code == 'C' then

4.1 Pay = 15.00 * Hours

5. Else if Code == 'A' then

5.1 Pay = 10.00 * Hours

6. Output Name, Job, Hours, Pay

Explanation

This line starts the Pseudocode

1. Start

This line gets user inputs

2. Input Name, Jobs, Hours, Code

The following if and else statement determine the pay

3. If Code == 'J' then

3.1 Pay = 20.00 * Hours

4. Else if Code == 'C' then

4.1 Pay = 15.00 * Hours

5. Else if Code == 'A' then

5.1 Pay = 10.00 * Hours

This line prints the required output

6. Output Name, Job, Hours, Pay

You might be interested in
Pls someone help me with these four questions
ipn [44]

Answer:

16. Grace Hopper. 1959.

8 0
3 years ago
The page-replacement policy means that pages are not placed to make more space. A. True B. False
BabaBlast [244]

Answer:

B. False

Explanation:

A page-replacement policy can be defined as a set of algorithm that instructs the operating systems on what memory page is to be swapped, paged out or written to disk in order to allocate more memory as they're required by various active processes during virtual memory management.

Some of the algorithms or techniques used by the operating system for page-replacement policy are;

1. Last In First Out (LIFO).

2. First In First Out (FIFO).

3. Least Recently Used (LRU).

4. Least Frequently Used (LFU).

5. Optimal (OPT or MIN).

Hence, the page-replacement policy means that pages are placed to make more space and to minimize the total number of page that would be missing.

7 0
3 years ago
How does an author develop a character in a story
gavmur [86]
An author first comes up with a basic idea, like male or female for example. Then personality traits take place. Character design can be decided before personality traits too, sometimes it helps authors come up with different ideas. Next personal relationships can be included.
4 0
3 years ago
Read 2 more answers
Which field in a Transmission Control Protocol (TCP) header provides the next<br> expected segment?
Papessa [141]

In a Transmission Control Protocol (TCP) header next  Expected segment is provided by Acknowledgment Number

Explanation:

  • TCP is one of the main protocols of the Internet protocol suite. It originated in the initial network implementation in the Internet Protocol.
  • The fields in TCP Segment Header are Source Port, Destination Port, Sequence Number, Acknowledgement Number, Header Length, Flags, Window Size, TCP Checksum and Urgent Pointer.
  • The Acknowledgment Number is a  32 Bit number field which indicates the next sequence number that the sending device is expecting from the other device.
  • The SYN packets consume one sequence number, so actual data will begin at ISN+1. The sequence number is the byte number of the first byte of data in the TCP packet sent.
  • If the acknowledgment flag is set in the flags field, the acknowledgment number field holds the sequence number of the next byte that the receiver expects.
3 0
4 years ago
What is the main advantage of a bitmap image?
kotykmax [81]
The answer is d. Hope this helps
4 0
3 years ago
Other questions:
  • Carmen wanted to clear up space on her computer and remove unwanted files. What would be the best for her to delete?
    6·2 answers
  • you are configuring a wireless connection on your home router. Because you live in an apartment complex, the level of security i
    5·1 answer
  • To copy and paste from an excel workbook to a word document, you must first
    6·1 answer
  • When you begin creating a new powerpoint presentation, you need to select a ____.?
    13·1 answer
  • Which of the following defines a computer program?
    14·1 answer
  • Ten output devices you know
    10·1 answer
  • Your program analyzes complex data.
    7·1 answer
  • What are different between system and application software?​
    14·1 answer
  • Company A’s IT department has a hosting platform specifically for systems used by the company’s large marketing department. This
    11·1 answer
  • Today
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!