Answer:
0110
Explanation:
Assuming the register shifts from left to right, and the sequence is applied LSBit first, the rightmost 3 bits of the sequence (011) will be in Q1Q2Q3 respectively, and Q4 will still be cleared.
Total = 0
for i in numbers:
total += i
print total
You might need ot reformat it slightly based on what is in your psuedocode guide so that it is closer to what they are expecting.
Answer:
dont understand that language, English please
Answer:
7
Explanation:
Given that :
Byte-addressable memory = 4096
Order = 32
Rwqritying such that they have the same base ;
4096 = 2^12
32 = 2^5
2^12 - 2^5
12 - 5 = 7
Answer:
numX = 3
Explanation:
First, let's analyze what the code is showing:
If both conditions in the if-statement are true, then numX = 3. If one or both conditions are false, then numX = 7 ('and' means that both conditions have to be true for the if-statement to become true).
- this statement is true.
!= - this statement is also true (!= means 'not equal').
Since both conditional statements are true, then numX must equal .
Hope this helps :)