CSE 2221 - Midterm 1 Terms
literal - - a data value appearing literally in a program
- variable - - the name of a location that stores a value of a particular type
- value - - ...
- type - - set of all possible values that variable might have
- examples of a type - - String, int, double
- model - -
- primitive - -
- declare - - to provide a name for a location to store its value and indicate
its program type
- camel case - - start with a lower case letter and only capitalize the first
letter of each following word
- initialize - - to assign a value to a variable
- assign - -
- constant - - A variable whose value is initialized and never changed
- magic number - - a numeric literal (e.g. 8080 , 2048 ) that is used in the
middle of a block of code without explanation
- operator - - a symbol that is used with variables and values to simplify
how you write certain program expressions
- expression - - a syntactically well formed and meaningful fragment (it still
has a value of some type)
- short circuit evaluation - - When a boolean expression is evaluated the
evaluation starts at the left hand expression and proceeds to the right,
stopping when it is no longer necessary to evaluate
any further to determine the final outcome.
- statement - - smallest complete unit of execution
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Nursephil2023. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $8.49. You're not tied to anything after your purchase.