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 18 pages
Exam (elaborations)

Scripting and Programming Foundations - D278 questions with verified answers

Document preview thumbnail
Preview 3 out of 18 pages

Abstract data type (ADT) Ans-a data type whose creation and update are constrained to specific well-defined operations A class can be used to implement an ADT Abstraction Ans-To have a user interact with an item at a high-level, with lower-level internal details hidden from the user/ Also called information hiding or encapsulation Activity diagram Ans-A flow chart used to describe the flow of an activity or set of activities Agile approach Ans-Building program by doing small amounts of SDLC phases in sequences and then repeating Also called spiral approach

Content preview

Scripting and Programming Foundations - D278
questions with verified answers
Abstract data type (ADT) Ans✓✓✓-a data type whose creation and update are
constrained to specific well-defined operations


A class can be used to implement an ADT


Abstraction Ans✓✓✓-To have a user interact with an item at a high-level, with
lower-level internal details hidden from the user/


Also called information hiding or encapsulation


Activity diagram Ans✓✓✓-A flow chart used to describe the flow of an activity or
set of activities


Agile approach Ans✓✓✓-Building program by doing small amounts of SDLC
phases in sequences and then repeating


Also called spiral approach


Algorithm best case Ans✓✓✓-The scenario where the algorithm does the
minimum possible number of operations


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

,Algorithm efficiency Ans✓✓✓-typically measured by the algorithm's
computational complexity


Algorithm worst case Ans✓✓✓-The scenario where the algorithm does the
maximum possible number of operations


Input data size must remain a variable.


Analysis phase Ans✓✓✓-Part of SDLC
Defines a program's goals


Arguements Ans✓✓✓-Any function input values, appear within ( ); separated by
commas if more than one


Argument Ans✓✓✓-A value provided to a function's parameter during a function
call.


Array Ans✓✓✓-A special variable having one name, but storing a list of data
items with each item being directly accessible (also called a Vector)


Must be an integer type, cannot be floating-point


ASCII Ans✓✓✓-A popular code for characters


Assignment statement Ans✓✓✓-Assigns a variable with a value; and keeps that
value during subsequent statement until X is assigned again.

, Assignment's left side must be a variable (ex. x=5)


Auxillary Space Complexity Ans✓✓✓-The space complexity not including the
input data


Ex.) S(N) = k


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


Binary search Ans✓✓✓-a search algorithm that starts at the middle of a sorted
set of numbers and removes half of the data; this process repeats until the
desired value is found or all elements have been eliminated.


Bit Ans✓✓✓-A single unit of binary consisting of only one place whose value can
be 0 or 1.


Boolean Ans✓✓✓-A type that has just two values : true or false


Branch Ans✓✓✓-Sequence of statements only executed under a certain
condition


Bug Ans✓✓✓-A problem's cause in a program


Byte Ans✓✓✓-8 bits

Document information

Uploaded on
February 25, 2025
Number of pages
18
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$18.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.
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