Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4 . Obtain the operation results of the following expressions. Show your solution for each expression result ( 1 0 pts ) . a .

4.Obtain the operation results of the following expressions. Show your solution for each expression result (10 pts).
a.8%3+6-(5%8)/4*2
b.33-8%3*6/2+22
c.(3+4*8/4%10)+(-3*5+18/4*(2*3+2))*5
d.3*(2-5*(44%(8+5)-20)-8*2/4)-33
e.88%(4*5+(16-(3*5)+1))-4+16
5. Obtain the operation results of the following expressions. Show your solution for each expression result (10 pts).
a.55<<2 in binary representation.
b.33>>5
c.(3%2)+8>=(5+(8%3-2)+4) or (66-(4*8+5%10)%3)<=(4%2+5*2-8)
d.88%(5*3-12+6*(4%3*4+4))==37 and (40/10*(3/2*2)>12*3/(25%8)*3)
e. int(28+5*3/(5%2)*(44+8%(66%6+10)))<<4
6. Obtain the operation results of the following expressions. Show your solution for each expression result (15 pts).
a.8 & 4 in binary
b.22|7 & 6*(4**2|7) & 6
c.0b010101<<2|0b101010>>2 & (3%2<<2*(8%5>>3-2)+4) in binary

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions