I don’t know how to handle this Computer Science question and need guidance.
Assignment 1
Please fill in your name and MSU ID number.
Student Name |
|
Student ID # |
|
- Explain the difference between these two statements:
- What is the difference between x and ‘x’? What is the difference between 5 and ‘5′?
- What would be the result of the following expressions?
- Explain why the following expression results in 0 for false:
- Explain why the following expression results in 1 for true:
result = 9*2
result = 9*2;
Answer:
Answer:
‘b’ >= ‘c’ – 1
Answer:
3 == 2 + 1
Answer:
(3 == 2) + 1
Answer:
xor(5 < 6, 8 > 4)
Answer:
5 > 4 > 1
Answer:
result = -20;
0 <= result <= 10
Answer: