Answer:
Arguments: "blue" and "gray"
Parameters: x and y
Explanation:
In programming, a function can take zero or one or more than one input values. These input value will be held by the variables which are called parameters. In this code snippet, x and y are parameters of wearIt function.
On another hand, when calling a function, we provide the values to the function and the values provided are termed as arguments. In this case, we provide the string blue and gray which are held by shirt and pants variables respectively to the function wearIt. The string "blue" and "gray" will then be passed to parameter x and y which will be processed in the function.
Answer: filter the data of employees with more than five years of experience
Explanation:
The technique that Peter can use to perform this analysis is to filter the data of employees with more than five years of experience.
Filter in spreadsheets allows one to see the data that is required based on the input that was given. In this case, since Peter wants to analyze the data of all employees that have experience of more than five years, this can be filtered and the employees who have experience of more than 5 years will be shown.
The workers who have experience of less than five years will not b shown in this case.
Output of the given code is:
Y
X
Y
Y
X
Y
XY
Y
X
Y
Y
X
Y
XY
Y
X
Y
Y
X
Y
XY
Y
X
Explanation:
In the for loop variable "number" will iterate from 1 to 150(inclusive).
in the "if" condition it is checking that the number is divisible by 3 and 5 both if the number is divisible by both 3 & 5 then it will print XY as output.
In the first "elif", if the number is divisible by 5 only then it will print X
as output.And in the last "elif", if number is divisible by 3 only then it will
print Y as output. Nothing will be printed if all three conditions are FALSE.
Because of the or keyword in the if statement, only one of the conditions has to be true.
The if statement is true if numA equals 2 or numB equals 2, and numA does equal 2, therefore, the output is yes.
You can change the format of individual chart elements, such as the chart area, plot area, data series, axes, titles, data labels, or legend.