Answer:
The Manchester encoding to describe the first octet pattern signal within the preamble is 10101010
Explanation:.
Solution
Given that:
The first octet value of Preamble is 10101010
The Manchester encoding to outline or describe the first octet of the signal pattern produced or created within the preamble is 10101010
Note: Kindly find an attached image of the first octet signal pattern produced below.
A Cryptographich hash is created by using a secure hash function to generate a hash value for a message and then encrypting the hash code with a private key.
Answer:
- let employee1 = {
- Name : "Kate",
- Hour : 38,
- };
-
- let employee2 = {
- Name : "John",
- Hour : 45,
- };
-
- let employee3 = {
- Name : "Catherine",
- Hour : 40,
- };
-
- let employeeArr = [employee1, employee2, employee3];
-
- let payrollRef = document.getElementById("payroll");
-
- let output = "";
-
- for(let i = 0; i < employeeArr.length; i++){
- let h = employeeArr[i].Hour;
- let pay;
-
- if(h <=40){
- pay = h * 15;
- }else{
- pay = 40 * 15;
- pay += (h - 40) * 15 * 1.5;
- }
-
- output += "Employee Name: " + employeeArr[i].Name + "<br>";
- output += "Total working hour: " + employeeArr[i].Hour + "<br>";
- output += "Total pay: $" + pay + "<br>";
- output += "<hr>"
- }
-
- payrollRef.innerHTML = output;
Explanation:
Presume there is a div element with id "payroll" in a html file. We can write a JavaScript to create a payroll report and place the output to the div.
In JavaScript, let's presume there are only three employees and their names and total working hour are recorded in three objects (Line 1 - 14). Next, we put those employee objects into an array, employeeArr (Line 16).
Next, create a for loop to traverse through each object from employeeArr and calculate the pay based on their working hour (Line 22 - 31).
Next, generate the output string which includes employee name, working hour and total pay (Line 33 -36).
At last, set the output string as the contents payroll (Line 39).
Answer: create a custom template
Explanation:
Since Sarah is having a hard time finding a template for her advertising business that she may be able to use at a later date and also make it available to her colleagues, her best option will be to create a custom template.
Creating a custom template will ensure that she makes the template based on her requirements and can tailor it specifically to her needs which then makes it unique.