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

D278 Scripting And Programming Foundations Assessment Study Guide Questions With Verified Answers And Detailed Explanations. 2026/2027

Document preview thumbnail
Preview 3 out of 23 pages

D278 Scripting And Programming Foundations Assessment Study Guide Questions With Verified Answers And Detailed Explanations. 2026/2027

Content preview

D278 SCRIPTING AND PROGRAMMING
FOUNDATIONS ASSESSMENT STUDY
GUIDE QUESTIONS WITH VERIFIED
ANSWERS AND DETAILED
EXPLANATIONS. 2026/2027




1. During which phase of the Software Development Life Cycle (SDLC) is the primary focus on

identifying the specific goals and constraints of the system to be built?

A. Analysis


B. Implementation


C. Design


D. Maintenance


Answer: A


Conceptual Explanation: The Analysis phase involves gathering requirements and

identifying what the system should do, including goals and constraints.

,2. In a flowchart, what is the standard shape used to represent a decision point, such as an ‘if-

else’ statement?

A. Rectangle


B. Parallelogram


C. Oval


D. Diamond


Answer: D


Conceptual Explanation: A diamond shape represents a decision or branching point in a

flowchart logic diagram.


3. If an algorithm produces an incorrect result despite running to completion without

crashing, what type of error has occurred?

A. Syntax Error


B. Compiler Error


C. Runtime Error


D. Logic Error


Answer: D


Conceptual Explanation: A logic error occurs when the code runs but does not produce

the intended outcome due to a flaw in the reasoning or algorithm.

, 4. What is the value of the expression ‘17 % 5’ in most programming languages?

A. 2


B. 3


C. 3.4


D. 0


Answer: A


Conceptual Explanation: The modulus operator (%) returns the remainder of a division.

17 divided by 5 is 3 with a remainder of 2.


5. Which programming construct is used to execute a block of code repeatedly as long as a

specific condition remains true?

A. Iteration


B. Sequence


C. Selection


D. Assignment


Answer: A


Conceptual Explanation: Iteration (or looping) is the construct used for repetitive

execution of code blocks.


6. In an array named ‘scores’ with 10 elements, what is the index of the very first element?

A. 0

Document information

Uploaded on
October 14, 2026
Number of pages
23
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$15.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.
TheStar
3.7
(140)
Sold
736
Followers
178
Items
28662
Last sold
1 day 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