Match the following computer programming topics, concepts and glossary terms wit
ID: 3885232 • Letter: M
Question
Match the following computer programming topics, concepts and glossary terms with their associated descriptions.
A) the execution of a loop 1. logical NOT
B) an operation that includes comparison operators 2. logical AND
C) returns TRUE if at least one operand of this compound logical operation are TRUE 3. loical OR
D) toggles the truth value of a variable or expression 4. interation
E) returns TRUE if both operands of this compound logical operation are TRUE 5. relational
Explanation / Answer
A) the execution of a loop ------------> 4. interation
Explanation: A loop statement allows us to execute a statement or group of statements multiple times we call t as iterations
B) an operation that includes comparison operators --------------> 5. relational
Explanation: when we want to compare two operands we use == as if(a==b)
C) returns TRUE if at least one operand of this compound logical operation are TRUE -------------> 3. loical OR Explanation: || will return true iff any one of operand is true : as if(a<0 || b<1)
D)toggles the truth value of a variable or expression -------------> 1. logical NOT
Explanation: Toggle means that , To switch from one setting to another , logical NOT operator used to switch from true to false and false to true if (a!=b)
E) returns TRUE if both operands of this compound logical operation are TRUE --------------> 2. logical AND
Explanation: && will return true value if both of expressions are true only as : if(a<2 && b>4)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.