100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

ET 2560 Unit 4-Assignment 1-Overview of Program

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
17-12-2021
Written in
2021/2022

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 statement; rather, it is a sample of a statement that makes little sense to the reader. The statement is still legal and executable in C, however, because C uses integers to represent the logical values true and false. 3) Self-Check Pg. 190 #1: What do these statements display? (5 Points Each) a) if (12 < 12) printf("less"); else printf("not less"); not less!< b)Varl = 25.12; Var2 = 15.00; if (Varl <= Var2) printf ("less or equal"); else printf( "greater than" ); greater than> 4) Self-Check Pg. 190 #2: What value is assigned to x when y is 10.0? (5 Points Each) a) x = 25.0; if (y != (x - 10.0)) x = x – 10.0; else x = x / 2.0; x=25.0; if (10.0=(x-10.0) x=x -10; else x=x / 2.0;

Show more Read less
Institution
Portage Learning
Course
ET 2560








Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
December 17, 2021
Number of pages
4
Written in
2021/2022
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
lectdenis Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
2041
Member since
4 year
Number of followers
1588
Documents
6208
Last sold
1 week ago
online tutor

FOR THE BEST ASSIGNMENTS AND HOMEWORKS ,TO HELP AND TUTORING ALL KIND OF EXAMS

3.7

289 reviews

5
128
4
48
3
47
2
18
1
48

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions