Which if statement would be true if you needed to see if x (an int)
was less than 5 and y (an int) was greater than 7?
A. if ( x < 5 || y > 7 )
B. if ( x < 5 && y > 7 )
C. if ( x <= 5 || y >7 )
D. if( x < 5 && y < 7)
B
You might also like to view...
Convert the decimal number 12.410 to a binary number, allocating 4 bits for the integer part and 4 bits for the fractional part.
a. 1100.01002 b. 1010.0112 c. 1100.01102 d. None of these are correct
What is the output after the following code executes?
``` int numerator = 5; int denominator = 25; int temp = 0; temp = numerator; numerator = denominator; denominator = temp; cout << numerator << "/" << denominator << " = " << (numerator/denominator) << endl; ``` a. 5/25 = numerator/denominator b. 5/25 = 0 c. 5/25 = 0.2 d. 25/5 = 5 e. 25/5 = 25/5
If you ping a device and no echo reply comes back before the default time, ping will respond with a __________ message.
A. server overload issue B. request timed out C. time to live (TTL) exceeded D. hop count exceeded
____ spread spectrum spreads the transmission of a signal over a wide range of frequencies using mathematical values.?
A. ?Frequency hopping B. ?Direct sequence C. ?Time hopping D. ?Amplitude sequence