• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

COSC 1436 - Chapter 3 Study Guide Question with Verified Correct Answers

Document preview thumbnail
Preview 2 out of 6 pages

COSC 1436 - Chapter 3 Study Guide Question with Verified Correct Answers

Content preview

COSC 1436 - Chapter 3 Study Guide Question
with Verified Correct Answers
text

a group of characters treated as one unit and not used in a calculation

variable

a memory location whose value can change (vary) during runtime (usually in lower case or

camel case)

runtime

when a program is running

named constant

a memory location whose value cannot be changed during runtime (usually in all uppercase)

keyword

a word that has special meaning in the programming language you are using.

How to name a memory location in C++

1. The name must begin with a letter

2. The name can contain only letters, numbers and the underscore character. No punctuation

marks, spaces or other special characters are allowed in the name.

3. The name cannot be a keyword

4. names in C++ are case sensitive

How many items can a memory location store at a time?

One

, What are the two types of memory locations that a programmer can declare?

variable & named constant

fundamental data types

the basic data types built into the C++ language and often referred to as primitive data types

or built in data types.



short (integer)

int (integer)

float (real number with 7 digits of precision)

double (real number with 15 digits of precision)

bool (a Boolean value t/f)

char (one character)

string (zero or more characters)

The string data type is a class and is referred to as

user-defined data type

The Boolean values are named in honor of:

the English mathematician George Boole (1815-1864), who invented Boolean algebra.

binary number system

Numbers are represented in internal memory using the binary (or base 2) number system

using digits 0 and 1

decimal number system

uses the 10 digitals 0 through 9 (base 10)

Document information

Uploaded on
September 28, 2026
Number of pages
6
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

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

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.
KenAli
2.6
(18)
Sold
114
Followers
5
Items
24899
Last sold
2 weeks ago



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