11. Assuming m = TRUE, n = FALSE, and k = TRUE, perform an evaluation on the declarations below and identify which decla

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

11. Assuming m = TRUE, n = FALSE, and k = TRUE, perform an evaluation on the declarations below and identify which decla

Post by answerhappygod »

11 Assuming M True N False And K True Perform An Evaluation On The Declarations Below And Identify Which Decla 1
11 Assuming M True N False And K True Perform An Evaluation On The Declarations Below And Identify Which Decla 1 (97.97 KiB) Viewed 27 times
11. Assuming m = TRUE, n = FALSE, and k = TRUE, perform an evaluation on the declarations below and identify which declarations expressions value is TRUE: i. ii. !k | | (n || !m) (n && k) && !n (m n) && (!m == iii. == !k) A. i, ii, iii B. i and iii C. iii and ii D. None of the above 12. If the int variables x, y, and z contain the values 5, 6, and 21 respectively, and flag is false what is the value of the following logical expression? ! (x <= (y z) || !flag) * A. True B. False C. 125 D. 126 13. What is the output of the following code fragment assuming if nom is set to 20? if (nom==30) cout <<"durian"; cout <<"berry"; A. berry B. durianberry C. durian D. No output; compile-time error 14. After execution of the following code, what will be printed if a is 10? if (a =< 10) cout << "Similar"; else cout << "Not Similar"; A. Similar B. Not Similar C. No output printed; compile-time error D. No output printed; runtime-error
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply