• 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 1 out of 3 pages
Exam (elaborations)

CPSC 103 (Actual) Exam Graded A+

Document preview thumbnail
Preview 1 out of 3 pages

CPSC 103 (Actual) Exam Graded A+

Content preview

CPSC 103 (Actual) Exam Graded A+
Arbitrary Sized - ANSWER-Arbitrary Sized data is data for which the size is not known
at the time the program is designed; this data is usually represented by lists in CPSC
103

Argument - ANSWER-The value that is given to a function when it is called. A function
may Jane more than one parameter and therefore require more than one argument
when it is called.

Atomic Distinct Data - ANSWER-Atomic distinct data represents specific values such as
7, "hi", None, or the values in an enumeration

Atomic Non-Distinct Data - ANSWER-Atomic data is a form of data that cannot be
broken down into smaller pieces. Some examples are strings, float, int, etc.

Calling a function - ANSWER-Executes a function that has already been designed. To
call a function, write the name of the function with parentheses next to it containing the
value(s) you want to assign to its parameter(s)

Code Fragment - ANSWER-A code fragment, sometimes called code snippet, is a small
piece of code, perhaps one to a few lines

Compound - ANSWER-Compound data is composed of two or more pieces of
information that belong together or are related, for example, a book has a title, author,
genre, and price.

Data definition - ANSWER-A data representation for a new kind of information that we
can use in our program. The data definition includes information about how to form the
new data type, how the data represents information in the program's domain, examples,
and a template function.

Enumeration - ANSWER-An enumeration is one kind of data definition where the
information to be represented consists of a fixed number of distinct values

Expression - ANSWER-An element of a program that is evaluated to produce a single
value

Function - ANSWER-A block of organized, reusable code that is used to perform an
action. A function has a particular structure, the most recognition being that it starts with
def and contains a function body which is lines of codes indented underneath

Helper Function - ANSWER-A helper function is often created to handle sub tasks of a
main function, in this way the main function is kept well organized and focused on one

Document information

Uploaded on
March 5, 2025
Number of pages
3
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.49

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.
CLOUNDLite
4.0
(131)
Sold
665
Followers
389
Items
12410
Last sold
4 days 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