<span>This problem is an
example of ratio and proportion. You are given 6y:9y. You are required to
convert this into its simplest form. The 6y:9y is also equivalent to 6y/9y. The
‘y’ variable can be eliminated since it has the same exponent and base. You are
left with 6/9. The common factor for 6 and 9 is 3 so divide each number by 3. So
6/3 is 2 and 9/3 is 3. You get 2/3. This is its simplest form.</span>
Answer:
A) Parentheses
Explanation:
Conditional statements control behavior in JavaScript and determine whether or not pieces of code can run.
There are multiple different types of conditionals in JavaScript including:
If” statements: where if a condition is true it is used to specify execution for a block of code.
“Else” statements: where if the same condition is false it specifies the execution for a block of code.
“Else if” statements: this specifies a new test if the first condition is false.
Now that you have the basic JavaScript conditional statement definitions, let’s show you examples of each.
If Statement Example
As the most common type of conditional, the if statement only runs if the condition enclosed in parentheses () is truthy.
EXAMPLE
if (10 > 5) {
var outcome = "if block";
}
outcome;
OUTPUT
"if block"
Here’s what’s happening in the example above:
The keyword if tells JavaScript to start the conditional statement.
(10 > 5) is the condition to test, which in this case is true — 10 is greater than 5.
The part contained inside curly braces {} is the block of code to run.
Because the condition passes, the variable outcome is assigned the value "if block".
Answer:
Unit testing is the software testing method in which the individual source code are associate to control data. Unit testing basically test the code to ensure that the data or information meets its design.
The aim of unit testing that each part isolate in the program and display the correct individual parts.
Unit testing tool are efficient as they provide several benefits in the development cycle. The basic efficiency of unit testing tools depend upon its type of testing. Unit testing basically validate the units of source code in the program.
For example: when the loop and function in the program work efficiently.
Answer:
Following is attached the solution of each part step-by-step. I hope it will help you!
Explanation: