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

CS 1050 Ries Exam 2 Questions With Complete Answers

Rating
-
Sold
-
Pages
11
Grade
A+
Uploaded on
10-01-2026
Written in
2025/2026

CS 1050 Ries Exam 2 Questions With Complete Answers ...

Institution
CS 1050
Course
CS 1050









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

Written for

Institution
CS 1050
Course
CS 1050

Document information

Uploaded on
January 10, 2026
Number of pages
11
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CS 1050 Ries Exam 2 Questions With
Complete Answers


arrays - ANSWER data structures consisting of related data items of the same type and
are static; specify name and position number of particular element in array to refer to
particular location in array

-name of an array is an address




static - ANSWER remain the same size throughout program execution




position number - ANSWER c[0] what is 0




name of array - ANSWER c[0] what is c




zeroth element - ANSWER first element in every array




array names - ANSWER can contain only letters, digits and underscores and cannot
begin with a digit (same rules as naming variables)

can be thought of as constant pointer so...




bPtr = b

bPtr = &b[0] --> equivalent statements

, subscript - ANSWER the position number contained within square brackets is also known
as ___ (index); must be integer or integer expression




general array form - ANSWER dataType arrayName[size] --> specify type of each
element and number of elements required by each array so that computer may reserve
appropriate amount of memory because arrays occupy space in memory




initializers - ANSWER int n[3] = {1,2,3} what is 1, 2, 3; if there are fewer ___ than elements
in array, the remaining elements are initialized to 0; NOTE: arrays are NOT automatically
initialized to 0 ie must at least initialize first element to 0 for remaining elements to be
automatically zeroed




array size - ANSWER if ___ is omitted from a definition with an initialized list, the number
of elements in array will be the number of elements in the intiializer list




symbolic constant - ANSWER #define SIZE 10 what is SIZE; identifier that is erplaced with
replacement text by the C preprocessor BEFORE program is compiled --> when program
is preprocessed, all occurrences of SIZE are repalced with replacement text 10




scalable - ANSWER can change things in program easily




10; - ANSWER #define SIZE 10; what are all occurrences of symbolic constant SIZE
replaced with --> leads to syntax errors at compile time or logic errors at execution time

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.
Zayla Liberty University
View profile
Follow You need to be logged in order to follow users or courses
Sold
82
Member since
2 year
Number of followers
13
Documents
9337
Last sold
1 month ago

3.4

10 reviews

5
4
4
0
3
3
2
2
1
1

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