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
Document preview thumbnail
Preview 2 out of 9 pages
Exam (elaborations)

D684 WITH CORRECT ANSWERS 2025

Document preview thumbnail
Preview 2 out of 9 pages

D684 WITH CORRECT ANSWERS 2025

Content preview

D684 WITH CORRECT ANSWERS
2025




Field - CORRECT ANSWER-Variable inside a class (state/data)

Inheritance - CORRECT ANSWER-One class derives behavior/state from another

Methods - CORRECT ANSWER-Functions inside a class

Argument - CORRECT ANSWER-Actual value passed into a method

Parameter - CORRECT ANSWER-Variable in method definition accepting argument
(ingriedent1 in blender)

reference parameter - CORRECT ANSWER-function is working with original variable,
not just a copy

value parameter - CORRECT ANSWER-function gets copy of input, not original variable

composite variable - CORRECT ANSWER-variable that holds multiple pieces of data,
usually under a single name

Array - CORRECT ANSWER-collection of items stored on a contiguous memory block,
with each item identified by an index number

record - CORRECT ANSWER-heterogeneous group of items that can be different data
types, under one name

abstract data type - CORRECT ANSWER-template/blueprint for how to organize and
use data—lists are these, data is not, also called containers cause they hold data

, stack - CORRECT ANSWER-way of organizing data where the last thing you put in is
the first thing you take out (LIFO); you can only add/remove things from one end known
as the top (ex: like a stack of plates, pop/push)

queue - CORRECT ANSWER-data structure that follows a firstin, firstout (FIFO) order
where elements are added to the back and removed from the front (like grocery line)

list - CORRECT ANSWER-items in a linear sequence, allowing easy access, and the
insertion and deletion of elements

three properties of a list - CORRECT ANSWER-items are homogeneous, items are
linear, and lists have varying lengths

linked list - CORRECT ANSWER-a collection of elements, each containing a reference
to the next element; consists of nodes

topdown design - CORRECT ANSWER-method of solving a problem by breaking it
down into smaller steps or tasks; build up to solution step by step

objectoriented design - CORRECT ANSWER-produces a solution based on all the
selfcontained "objects", which are composed of data or operations that manipulate the
data (instead of just steps)

Advantage of OOP - CORRECT ANSWER-allows you to reuse code using classes and
inheritance; build new features by modifying existing objects, saving time and reducing
errors

Class - CORRECT ANSWER-blueprint for creating objects; defines properties and
behaviors the objects will have—all the objects within a class will have related
properties

Object - CORRECT ANSWER-contains data and methods defined by a class,
represents a specific entity in a program

Instance of a class - CORRECT ANSWER-means a real, usable object created from a
class; class is like a template, and the instance is the actual thing made from it

Invoking object's subprogram - CORRECT ANSWER-Objects communicate with one
another by sending messages

compiler - CORRECT ANSWER-a tool that translates source code written in highlevel
programming language into machine code or byte code that the computer can execute

Examples of compiled languages - CORRECT ANSWER-C, C++, Rust, Go, Fortran

Document information

Uploaded on
July 26, 2025
Number of pages
9
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$14.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.
LYKTETSOS
2.0
(1)
Sold
17
Followers
8
Items
1532
Last sold
6 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