Question

Evaluate for A = 6, B = 4, and C = 2. F = A ^...

  1. Evaluate for A = 6, B = 4, and C = 2.
    1. F = A ^ 2/3 * B =
    2. F = 3 * B/A ^ 2
    3. F = A * C\(A + C)
    4. F = (A + 7 − C) MOD B
    5. F = (C * (B + 3 * A) + 5 * A)/C

  1. Evaluate for A = True, B = True, C = False, D = False.
    1. R = (A OR B) AND C
    2. R = A AND B OR C
    3. R = B AND C OR A
    4. R = NOT C AND NOT D OR A
    5. R = NOT C OR NOT D AND A

  1. What is the order of processing of the following equations (use a diagram to show order):
  1. D = A + B/ 5

b. S = 5 /D + 6 * (C + B)/E

c. R = A < B AND C * F > G + 3

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer:---------------

  1. Evaluate for A = 6, B = 4, and C = 2.
    1. F = A ^ 2/3 * B = 6^ 2/3 * 4 = 36/3 * 4 = 12 * 4 = 48
    2. F = 3 * B/A ^ 2 = 3* 4/2 ^ 2 = 3* 4/4 = 3*1 = 3
    3. F = A * C\(A + C) = 6* 2\(6+2) = 6* 2\8 = 6\0.25 = 24
    4. F = (A + 7 − C) MOD B = (6 + 7 - 2 ) MOD 4 = 11 MOD 4 = 3
    5. F = (C * (B + 3 * A) + 5 * A)/C = (2* (4 + 3 * 6) + 5 *6)/2 = (2* (4 + 18) + 5 *6)/2 = (2* 22 + 5 *6)/2 = (44 + 5 *6)/2 = (44 + 30)/2 = 74/2 = 37
  1. Evaluate for A = True, B = True, C = False, D = False.
    1. R = (A OR B) AND C = (True OR True) AND False = True AND False = False
    2. R = A AND B OR C = True AND True OR False = True OR False = True
    3. R = B AND C OR A = True AND False OR True = False OR True = True
    4. R = NOT C AND NOT D OR A = NOT False AND NOT False OR True = True AND True OR True = True OR True = True
    5. R = NOT C OR NOT D AND A = NOT False AND NOT False AND True = True AND True AND True = True AND True = True
  1. What is the order of processing of the following equations (use a diagram to show order):

a. D = A + B/ 5

------------- (+) ------------------------
------------ / \ --------------------------
---------- A (/) -------------------------
----------------/ \ -----------------------
-------------- B 5 -------------------------


b. S = 5 /D + 6 * (C + B)/E

-------------  (+) ------------------------
------------ / \ --------------------------
---------- (/) (*) -------------------------
---------/ \ / \ ---------------------------
--------5 D 6 (/) ---------------------------
--------------------/ \ ----------------------------
------------------(+) E --------------------------
-----------------/ \-----------------------------
--------------- C D -------------------------------

c. R = A < B AND C * F > G + 3

------------- (AND) ------------------------
-------------- / \ --------------------------
------------ (<) (>) -------------------------
---------- / \ / \ -----------------------
----------A   B (*) (+) -------------------------
----------------- / \ / \ -----------------------
----------------C F G 3 ------------------------

Add a comment
Know the answer?
Add Answer to:
Evaluate for A = 6, B = 4, and C = 2. F = A ^...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT