Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 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
Course








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

Written for

Institution
Course

Document information

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

Subjects

$7.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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
Follow You need to be logged in order to follow users or courses
Sold
2064
Member since
4 year
Number of followers
1589
Documents
6477
Last sold
3 days ago
online tutor

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

3.6

296 reviews

5
131
4
48
3
49
2
18
1
50

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions