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)

Scripting and Programming - Foundations - C173 (Unit 2. Exam Review, VERIFIED.

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
24-08-2023
Written in
2023/2024

Scripting and Programming - Foundations - C173 (Unit 2. Exam Review, VERIFIED. In mathematics, minus is often written using a wide segment known as an emdash: —. However, in programming, only the hyphen symbol - may be used, since that character exists on a keyboard. ( ) - -Items within parentheses are evaluated first [ ] - -Replaced by ( ) In mathematics, subexpressions may be enclosed in parentheses ( ), by brackets [ ] as above, or even by braces { }, to improve readability. In programming, typically only parentheses are allowed. Brackets and braces are typically used for other purposes in programs. * / - -Next to be evaluated are * and /, having equal precedence. + - - -Finally come + and - with equal precedence. × - -* In mathematics, the symbol for multiplication is usually × or a dot, as in a × y, or a · y. However, in programming, only keyboard characters may be used, so the symbol used is *. = is not equals - -In programming, = is an assignment of a left-side variable with a right-side value. = is NOT equality as in mathematics. Thus, x = 5 is read as "x is assigned with 5", and not as "x equals 5". When one sees x = 5, one might think of a box labeled x having the value 5 put in. A program determines if the number of people admitted to a concert venue exceeds the maximum seats of 1500. How should the item to hold the maximum seats be declared? - -(Constant integer maxSeats)The maximum number of seats for the venue is fixed and will not change, so a constant should be used. The number of seats is countable, so the type should be an integer.

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
August 24, 2023
Number of pages
7
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.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


Also available in package deal

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.
PassPoint02 Chamberlain School Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
176
Member since
4 year
Number of followers
105
Documents
4576
Last sold
1 month ago

4.1

39 reviews

5
22
4
6
3
5
2
4
1
2

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