Answer:
def calculate_pay(total_worked_hours, rate_per_hour):
if total_worked_hours > 40:
return (40 * rate_per_hour) + ((total_worked_hours - 40) * 2 * rate_per_hour)
else:
return total_worked_hours * rate_per_hour
Explanation:
- Create the calculate_pay function that takes 2 parameters.
- Inside the function check whether the total_worked_hours is greater than 40 and then return the pay by calculating with the help of formula for work over 40 hours.
- Otherwise return the pay by multiplying the total_worked_hours with rate_per_hour.
<h2>Alignment section helps to wrap text in Excel</h2>
Explanation:
- Alignment section available in Home ribbon has many option such as aligning the text to left, right, center.
- It also has options to rotate the selected text diagonally, vertically, etc.
- The user can also merge two or more cells and do necessary alignment
- When it comes to wrapping the text, texts are wrapped when the count of letters exceeds the width of the cell. Excel has "Wrap text" option to wrap the word to the next line.
You must first locate the queries group on the create tab.
This tab contains the commands used to create queries. MS Access will switch
itself to the query design view. A show table dialog box will appear and you will
be able to select a table you would want to run a query on.
The answer should be C, you need a text editor to write out the code, and then a web browser to view what the code creates.
Answer:
The correct option is;
Content controls
Explanation:
Content controls are customizable controls that can be added to forms, templates and document that enable users to identify or preview the expected data that fills a given form field
Content controls can be in the form of instructional text that give users an idea of the expected format of the content of a given form field, such that the text disappears as soon as the user starts typing in their own text.