ET 2560
Portage Learning
All 1 results
Sort by
-
ET 2560 Unit 4-Assignment 1-Overview of Program
- Exam (elaborations) • 4 pages • 2021
-
- $7.49
- + learn more
1) Self-Check Pg. 184 #1: Assuming x is 15.0 and y is 25.0, what are the 
values of the following conditions (True/False)? (2 Points Each) 
 x != y 1(True) 
 x < x 0(False) 
 x >= y - x 1(True) 
 x == y + x - y 1(True) 
2) Self-Check Pg. 184 #5: What value is assigned to the type int variable ans 
in this statement if the value of p is 100 and q is 50? (3 Points) 
ans = (P > 95) + (q < 95); 1(True) 
This statement is not shown as an example of a reasonable assignment stat...
Want to regain your expenses?
How much did you already spend on Stuvia? Imagine there are plenty more of you out there paying for study notes, but this time YOU are the seller. Ka-ching! Discover all about earning on Stuvia