Answer:
Following is the expression written in "Bash script" (mixture of commands):
^\d{5}(?:[-\s]\d{4})?$
Explanation:
- ^ = For staring string (denotation).
- \d{5} = Matching 5 digits (first five unknown x's)
- (?:…) = Making Group (making group of former 5 digits)
- [-\s] = Match a hyphen or a space
(checking if a hyphen is present?)
- \d{4} = Matching 4 digits (next four unknown x's)
- …? = Pattern before it is optional
- $ = Ending of the string.(denotation)
Answer:
True
Explanation:
Run-time parameters passed to a function allow you to use different values each time the function is called. Let us consider an example:
int add(int a,int b){
return a+b;
}
Now we can execute the same function with different parameters at runtime:
add(3,4) returns 7.
add(1,2) return 3.
add (10,1) return 11.
During each invocation , the formal function parameters are substituted by actual runtime values and the function code is executed.
Answer:
<em>1</em><em>.</em><em> </em><em>is</em><em> </em><em>true</em>
<em>2</em><em>.</em><em> </em><em>is</em><em> </em><em>true</em>
<em>3</em><em>.</em><em>is</em><em> </em><em>true</em>
Answer: Loop-back plug
Explanation: Loop-back plug is the device that is used for the attaching the computer system so that loop-back test can be carried out. Data transmission's integrity is examined with the help of loop-back test.
The procedure is carried out by sending a signal by a circuit and then receiving the signal back to the sending device .This states about the uprightness of the signal.
As per the situation mentioned in the question, loop-back plug should be used by technician to check the issue by connecting the computer with the equipment.