Question
click below
click below
Question
Normal Size Small Size show me how
CS0070 FA2
reviewer
Question | Answer |
---|---|
The ______ statement causes the program flow to skip over and jump to the end of the loop body, and then return the control to the loop control statement. | continue |
Decrement operators increase the value of the variable by a particular number by which it is increased | FALSE |
10>15 && 2<3&&100<23 | FALSE |
bitwise operator is an operator that takes only one value for its operation | FALSE |
The while loop executes a given statement or block of statements repeatedly as long as the value of the expression is true. | TRUE |
The statements associated with this keyword is executed if the value of the switch variable does not match any of the case constants. | default |
An operator that copies a bit to the result if it exists in both operands. | & (bitwise AND) |
If both the operands are non-zero, then the condition becomes true. | && |
Checks if the value of left operand is less than the value of right operand, if yes then condition becomes true. | < |
An operator that copies a bit to the result if it exists in both operands. | & (bitwise AND) |
bitwise operator is an operator used to perform bitwise operations on bit patterns or binary numerals that involve the manipulation of individual bits | TRUE |
The ____ statement enables your program to selectively execute other statements, based on some criteria | if |
An operator that shifts bits to the left or right shift. | shift operator |
What is the Enhanced for Loop (foreach)? | It transverses all elements of a collection. |
arithmetic operator is a mathematical function that takes two operands and performs a calculation on them | TRUE |
is an operator used to perform bitwise operations on bit patterns or binary numerals that involve the manipulation of individual bits | bitwise operator |
If any of the two operands are non-zero, then the condition becomes true. | || |
It divides left operand with the right operand and assign the result to left operand. | /= |
What is the operator in which the left operands value is moved left by the number of bits specified by the right operand. | << |
The ______ statement is used to conditionally perform statements based on an integer expression | switch |
Checks if the value of left operand is greater than the value of right operand, if yes then condition becomes true. | > |
An operator that has the effect of 'flipping' bits. | ~ (bitwise compliment) |
Conditional operator is also known as the ternary operator that accepts three operands | TRUE |
Use to reverse the logical state of its operand. | ! |