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

Scripting and Programming Foundations - D278 questions with verified answers

Document preview thumbnail
Preview 3 out of 19 pages

!= Ans-not equal "on the order" of N things Ans-linear search requires at most N comparisons... = Ans-symbol that puts a value into the variable; assignment in programming 0-1 knapsack problem Ans-problem with the quantity of each item limited to 1 abstract data type Ans-ADT; data type whose creation and update are constrained to specific well-defined operations abstraction Ans-user interacts with an item at a high-level, with lower-level internal details hidden from the user (information hiding or encapsulation) [e.g. when you use an oven, you turn a knob or hit some buttons...you are not dealing with internal parts of oven) activity diagram Ans-A diagram that resembles a horizontal flowchart that shows the actions and events as they occur. Activity diagrams show the order in which actions take place and identify the outcome; implementation phase

Content preview

Scripting and Programming Foundations - D278
questions with verified answers
!= Ans✓✓✓-not equal


"on the order" of N things Ans✓✓✓-linear search requires at most N
comparisons...


= Ans✓✓✓-symbol that puts a value into the variable; assignment in
programming


0-1 knapsack problem Ans✓✓✓-problem with the quantity of each item limited
to 1


abstract data type Ans✓✓✓-ADT; data type whose creation and update are
constrained to specific well-defined operations


abstraction Ans✓✓✓-user interacts with an item at a high-level, with lower-level
internal details hidden from the user (information hiding or encapsulation) [e.g.
when you use an oven, you turn a knob or hit some buttons...you are not dealing
with internal parts of oven)


activity diagram Ans✓✓✓-A diagram that resembles a horizontal flowchart that
shows the actions and events as they occur. Activity diagrams show the order in
which actions take place and identify the outcome; implementation phase


agile approach Ans✓✓✓-aka spiral approach; program built in small amounts and
then repeats

,Algorithm Ans✓✓✓-A sequence of instructions that solves a problem


algorithm efficiency Ans✓✓✓-is measured by algorithm runtime; more efficient
is less runtime; measured in computational complexity


algorithm time efficiency Ans✓✓✓-number of calculations it takes to solve a
problem in an algorithm


American Standard Code for Information Interchange (ASCII) Ans✓✓✓-ASCII;
uses 7 bits per code and has codes for 128 characters; 1963


an argument Ans✓✓✓-value provided to a function's parameter during a
function call; e.g. a pizza area function might be called PizzaArea(12.0) or
PizzaArea(16.0)


analysis phase Ans✓✓✓-phase that identifies a program's goals


Arguments Ans✓✓✓-The values that the programmer provides in the function
call.


array Ans✓✓✓-ordered list of items of a given data type


assignment statement Ans✓✓✓-assigns a variable with a value, such as x = 5

, asymmetric test Ans✓✓✓-Yes = validates but no = does not invalidate, or vice
versa; e.g. hearing a broken bulb validates its broken, but not hearing it does not
mean it isn't broken in another way; generally quicker than symmetric tests but
not as thorough


auxiliary space complexity Ans✓✓✓-space complexity not including the input
data (essentially removes the N from the equation)


Basic instruction types Ans✓✓✓-input, process, output


behavioral diagram Ans✓✓✓-diagram that visualizes dynamic behavior of
software, such as the flow of an algorithm


best case Ans✓✓✓-scenario where the algorithm does the minimum possible
number of operations (can not be zero, though)


binary Ans✓✓✓-type of algorithm that checks range's middle; if value is greater,
will search in upper half and vice versa; essentially looking at half the data not all
of it; can be faster than linear (e.g. used with search engines)


binary numbers Ans✓✓✓-Represents values using 0 and 1


binary search Ans✓✓✓-divides an item into two halves, runs a test to decide in
which half something lies, and repeats the binary search on that half


bit Ans✓✓✓-single 0 or a single 1

Document information

Uploaded on
February 25, 2025
Number of pages
19
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$17.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.
cracker
3.8
(399)
Sold
2154
Followers
1346
Items
50067
Last sold
3 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