Docsity

GT22 47 Software Development ExamMastery, Exams of Technology

Partial preview of the text

Download GT22 47 Software Development ExamMastery and more Exams Technology in PDF only on Docsity!

GT22 47 Software

Development

Question 1. A task has the following focus: "Expressing a program's logical steps in a

structured language-independent form." Which concept is most directly involved?

A. pseudocode B. Conditional branching C. Error Management D. while and do-while Correct Answer: A

Full Explanation: The description supports design and evaluation without committing to final syntax.

Question 2. An action plan has three separate entries: Writing clear, concise inline

comments and self-documenting code structures; Considering multi-way choice

structures (e.g., switch or case statements); Breaking a programming problem into a

logical sequence of manageable steps. Which sequence correctly classifies them?

A. 1: Internal Documentation; 2: Algorithmic Problem Solving; 3: Multi-way selection structures (e.g., switch or case statements) B. 1: Algorithmic Problem Solving; 2: Multi-way selection structures (e.g., switch or case statements); 3: Internal Documentation C. 1: Multi-way selection structures (e.g., switch or case statements); 2: Internal Documentation; 3: Algorithmic Problem Solving D. 1: Internal Documentation; 2: Multi-way selection structures (e.g., switch or case statements); 3: Algorithmic Problem Solving Correct Answer: D

Full Explanation: 1. Internal Documentation concerns writing clear, concise inline comments and self-documenting code structures. 2. Considering multi-way choice structures (e.g., switch or case statements). 3. A clear procedure supports translation from the problem to an implementation.

Question 3. Which brief would be most appropriate for a task centred on Translating

high-level top designs into detailed second-level specifications?

A. Selecting an appropriate way to evaluate a component's functional or structural behavior B. Producing specifications, user instructions, and maintenance information for the relevant audience C. Interpreting the role of translating high-level top designs into detailed second-level specifications within the practical task D. Interpreting the role of black-box (functional) versus white-box (structural) testing within the practical task Correct Answer: C

Full Explanation: Interpreting the role of translating high-level top designs into detailed second-level specifications within the practical task.

Question 7. A practitioner needs to address "Understanding basic data types

(integers, floats, booleans, characters/strings), variable declaration, scope, and

initialization." Which area should guide the work?

A. Data Representation B. Compiling user guides, instructions, and maintenance logs C. Test Data Generation D. Error Management Correct Answer: A

Full Explanation: Data Representation involves understanding basic data types (integers, floats, booleans, characters/strings), variable declaration, scope, and initialization.

Question 8. Select the correct focus for each of these requirements, in sequence:

Identifying and resolving syntax errors, runtime exceptions, and subtle logical bugs;

then Expressing a program's logical steps in a structured language-independent

form?

A. 1: Error Management; 2: pseudocode B. 1: Algorithmic Problem Solving; 2: pseudocode C. 1: Error Management; 2: Algorithmic Problem Solving D. 1: pseudocode; 2: Error Management Correct Answer: A

Full Explanation: First requirement: Error Management concerns identifying and resolving syntax errors, runtime exceptions, and subtle logical bugs. Second requirement: The description supports design and evaluation without committing to final syntax.

Question 9. A briefing requires one section for Recording and managing revisions so

changes can be tracked and coordinated and a separate section for Designing valid

datasets for normal conditions, boundary/extreme limits, and invalid/erroneous

inputs. Which headings fit, in that order?

A. 1: Version Control; 2: Test Data Generation B. 1: Version Control; 2: passing arguments C. 1: Test Data Generation; 2: Version Control D. 1: passing arguments; 2: Test Data Generation Correct Answer: A

Full Explanation: First requirement: The history and collaboration process support controlled development. Second requirement: Test Data Generation involves designing valid datasets for normal conditions, boundary/extreme limits, and invalid/erroneous inputs.

Question 10. The proposed focus is Testing Methodologies, but the actual

requirement is "Producing specifications, user instructions, and maintenance

information for the relevant audience." Which replacement is the closest fit?

A. Testing Methodologies B. External Technical Documentation C. Translating high-level top designs into detailed second-level specifications D. Multi-way selection structures (e.g., switch or case statements) Correct Answer: B

Full Explanation: Producing specifications, user instructions, and maintenance information for the relevant audience. The stated requirement is therefore best assigned to External Technical Documentation.

Question 11. Which area should be selected when the immediate objective is

Interpreting the role of black-box (functional) versus white-box (structural) testing

within the practical task, while Checking an individual function or component in

isolation is a different responsibility?

A. Testing Methodologies B. Black-box (functional) versus white-box (structural) testing C. Preparing functional specifications and structural design summaries D. Multi-way selection structures (e.g., switch or case statements) Correct Answer: B

Full Explanation: Interpreting the role of black-box (functional) versus white-box (structural) testing within the practical task. For the other concern: The test scope differs from interactions between components or the full system.

Question 12. Which objective belongs most directly to Selection Constructs?

A. Repeating a block of instructions using a loop B. Using a definite repetition structure for an intended sequence of iterations C. Dividing implementation into callable units with specific responsibilities D. Choosing which instructions run according to a condition Correct Answer: D

Full Explanation: The program follows an appropriate branch rather than executing every alternative. Selection Constructs.

Question 15. A task involving "Choosing how information is supplied to a called

routine" has been filed under user-defined functions. Which focus would classify it

more accurately?

A. passing arguments B. Iteration Constructs C. user-defined functions D. External Technical Documentation Correct Answer: A

Full Explanation: The passing method is part of the routine's interface and behavior. The stated requirement is therefore best assigned to passing arguments.

Question 16. Match the following three requirements to their focus areas in order:

(1) Relating maintenance logs to Compiling user guides, instructions; (2)

Interpreting the role of translating high-level top designs into detailed second-level

specifications within the practical task; (3) Considering multi-way choice structures

(e.g., switch or case statements)?

A. 1: Compiling user guides, instructions, and maintenance logs; 2: Multi-way selection structures (e.g., switch or case statements); 3: Translating high-level top designs into detailed second-level specifications B. 1: Translating high-level top designs into detailed second-level specifications; 2: Compiling user guides, instructions, and maintenance logs; 3: Multi-way selection structures (e.g., switch or case statements) C. 1: Compiling user guides, instructions, and maintenance logs; 2: Translating high-level top designs into detailed second-level specifications; 3: Multi-way selection structures (e.g., switch or case statements) D. 1: Multi-way selection structures (e.g., switch or case statements); 2: Translating high-level top designs into detailed second-level specifications; 3: Compiling user guides, instructions, and maintenance logs Correct Answer: C

Full Explanation: 1. Relating maintenance logs to Compiling user guides, instructions. 2. Interpreting the role of translating high-level top designs into detailed second-level specifications within the practical task. 3. Considering multi-way choice structures (e.g., switch or case statements).

Question 17. An action plan has three separate entries: Choosing which instructions

run according to a condition; Choosing how information is supplied to a called

routine; Selecting one path through a program according to a test. Which sequence

correctly classifies them?

A. 1: Conditional branching; 2: passing arguments; 3: Selection Constructs B. 1: passing arguments; 2: Selection Constructs; 3: Conditional branching C. 1: Selection Constructs; 2: Conditional branching; 3: passing arguments D. 1: Selection Constructs; 2: passing arguments; 3: Conditional branching Correct Answer: D

Full Explanation: 1. The program follows an appropriate branch rather than executing every alternative. 2. The passing method is part of the routine's interface and behavior. 3. The logic needs to specify which condition leads to each alternative.

Question 18. A review identifies a mismatch: "Overview of core phases including

analysis, design, implementation, testing, and maintenance" is being treated as

Algorithmic Problem Solving. Which area addresses the stated requirement more

directly?

A. pseudocode B. Algorithmic Problem Solving C. Software Development Life Cycle (SDLC) D. Testing Methodologies Correct Answer: C

Full Explanation: Software Development Life Cycle (SDLC) concerns overview of core phases including analysis, design, implementation, testing, and maintenance. The stated requirement is therefore best assigned to Software Development Life Cycle (SDLC).

Question 19. Which area should be selected when the immediate objective is

Recording actual outcomes, comparing them against expected results, and

troubleshooting discrepancies, while Interpreting the role of translating high-level

top designs into detailed second-level specifications within the practical task is a

different responsibility?

A. Execution Validation B. while and do-while C. Unit testing D. boundary Correct Answer: A

Full Explanation: Execution Validation concerns recording actual outcomes, comparing them against expected results, and troubleshooting discrepancies. For the other concern: Interpreting the role of translating high-level top designs into detailed second-level specifications within the practical task.

Question 22. A team needs Comparing repetition controlled by a test before or after

the loop body, rather than Executing instructions in their specified order. Which

focus best matches the stated need?

A. Sequence Control B. while and do-while C. user-defined functions D. Conditional branching Correct Answer: B

Full Explanation: The position of the test affects how the repetition is structured. For the other concern: This control structure differs from branching or repetition.

Question 23. A review identifies a mismatch: "Repeating a block of instructions using

a loop" is being treated as Conditional branching. Which area addresses the stated

requirement more directly?

A. Compiling user guides, instructions, and maintenance logs B. Conditional branching C. Iteration Constructs D. user-defined functions Correct Answer: C

Full Explanation: The loop's test and control structure determine when repetition continues or ends. The stated requirement is therefore best assigned to Iteration Constructs.

Question 24. Which assignment best matches these two practical aims: first

Executing instructions in their specified order, then Repeating a block of

instructions using a loop?

A. 1: Sequence Control; 2: Iteration Constructs B. 1: Sequence Control; 2: Compiling user guides, instructions, and maintenance logs C. 1: Iteration Constructs; 2: Sequence Control D. 1: Compiling user guides, instructions, and maintenance logs; 2: Iteration Constructs Correct Answer: A

Full Explanation: First requirement: This control structure differs from branching or repetition. Second requirement: The loop's test and control structure determine when repetition continues or ends.

Question 25. A work record labels "Choosing which instructions run according to a

condition" as passing arguments. Which alternative corrects the distinction?

A. Iteration Constructs B. passing arguments C. Selection Constructs D. Sequence Control Correct Answer: C

Full Explanation: The program follows an appropriate branch rather than executing every alternative. The stated requirement is therefore best assigned to Selection Constructs.

Question 26. Which focus correctly connects Preparing functional specifications and

structural design summaries with its practical responsibilities? Consider the need for

"Design Notations and Specifications"

A. Producing specifications, user instructions, and maintenance information for the relevant audience B. Readying functional specifications and structural design summaries C. Overview of core phases including analysis, design, implementation, testing, and maintenance D. Interpreting the role of translating high-level top designs into detailed second-level specifications within the practical task Correct Answer: B

Full Explanation: Readying functional specifications and structural design summaries. This area also includes design Notations and Specifications.

Question 27. A review identifies a need for "Breaking a programming problem into a

logical sequence of manageable steps." Which subject is the most relevant

response?

A. scope B. Algorithmic Problem Solving C. Sequence Control D. Error Management Correct Answer: B

Full Explanation: A clear procedure supports translation from the problem to an implementation.

Question 31. The first stage of a review concerns Recording and managing revisions

so changes can be tracked and coordinated; a separate review concerns Executing

instructions in their specified order. Which focus belongs to each?

A. 1: Version Control; 2: Sequence Control B. 1: Version Control; 2: Execution Validation C. 1: Execution Validation; 2: Sequence Control D. 1: Sequence Control; 2: Version Control Correct Answer: A

Full Explanation: First requirement: The history and collaboration process support controlled development. Second requirement: This control structure differs from branching or repetition.

Question 32. Which objective belongs most directly to user-defined functions?

A. Repeating a block of instructions using a loop B. Dividing implementation into callable units with specific responsibilities C. Comparing repetition controlled by a test before or after the loop body D. Selecting one path through a program according to a test Correct Answer: B

Full Explanation: Parameters, return values, and visibility are part of how those units interact.

Question 33. Two work packages have different objectives. Package 1: Considering

multi-way choice structures (e.g., switch or case statements). Package 2: Readying

functional specifications and structural design summaries. Which assignment is the

best match?

A. 1: Multi-way selection structures (e.g., switch or case statements); 2: Preparing functional specifications and structural design summaries B. 1: Preparing functional specifications and structural design summaries; 2: Multi-way selection structures (e.g., switch or case statements) C. 1: Selection Constructs; 2: Preparing functional specifications and structural design summaries D. 1: Multi-way selection structures (e.g., switch or case statements); 2: Selection Constructs Correct Answer: A

Full Explanation: First requirement: Considering multi-way choice structures (e.g., switch or case statements). Second requirement: Readying functional specifications and structural design summaries.

Question 34. Two evidence files concern (1) Interpreting the role of black-box

(functional) versus white-box (structural) testing within the practical task and (2)

Readying functional specifications and structural design summaries. Which ordered

pair identifies their respective focus?

A. 1: Preparing functional specifications and structural design summaries; 2: Black-box (functional) versus white-box (structural) testing B. 1: Black-box (functional) versus white-box (structural) testing; 2: Software Development Life Cycle (SDLC) C. 1: Black-box (functional) versus white-box (structural) testing; 2: Preparing functional specifications and structural design summaries D. 1: Software Development Life Cycle (SDLC); 2: Preparing functional specifications and structural design summaries Correct Answer: C

Full Explanation: First requirement: Interpreting the role of black-box (functional) versus white-box (structural) testing within the practical task. Second requirement: Readying functional specifications and structural design summaries.

Question 35. Which brief would be most appropriate for a task centred on boundary?

A. Comparing repetition controlled by a test before or after the loop body B. Selecting an appropriate way to evaluate a component's functional or structural behavior C. Selecting test inputs at limits as well as ordinary and invalid cases D. Recording actual outcomes, comparing them against expected results, and troubleshooting discrepancies Correct Answer: C

Full Explanation: A useful test set should exercise more than a single typical input. Test Data Generation: Designing valid datasets for normal conditions, boundary/extreme limits, and invalid/erroneous inputs.

Question 36. Which area should be selected when the immediate objective is

Interpreting the role of black-box (functional) versus white-box (structural) testing

within the practical task, while Interpreting the role of translating high-level top

designs into detailed second-level specifications within the practical task is a

different responsibility?

A. Black-box (functional) versus white-box (structural) testing B. Preparing functional specifications and structural design summaries C. External Technical Documentation D. Multi-way selection structures (e.g., switch or case statements) Correct Answer: A

Full Explanation: Interpreting the role of black-box (functional) versus white-box (structural) testing within the practical task. For the other concern: Interpreting the role of translating high-level top designs into detailed second-level specifications within the practical task.

Question 40. A review records three needs: (1) Repeating a block of instructions

using a loop; (2) Choosing how information is supplied to a called routine; (3)

Relating maintenance logs to Compiling user guides, instructions. Which set of focus

areas preserves all three distinctions?

A. 1: Iteration Constructs; 2: passing arguments; 3: Compiling user guides, instructions, and maintenance logs B. 1: Iteration Constructs; 2: Compiling user guides, instructions, and maintenance logs; 3: passing arguments C. 1: Compiling user guides, instructions, and maintenance logs; 2: passing arguments; 3: Iteration Constructs D. 1: passing arguments; 2: Iteration Constructs; 3: Compiling user guides, instructions, and maintenance logs Correct Answer: A

Full Explanation: 1. The loop's test and control structure determine when repetition continues or ends.

  1. The passing method is part of the routine's interface and behavior. 3. Relating maintenance logs to Compiling user guides, instructions.

Question 41. Three tasks need separate allocation: first Choosing which instructions

run according to a condition, second Comparing repetition controlled by a test

before or after the loop body, third Selecting one path through a program according

to a test. Which ordered assignment is accurate?

A. 1: Conditional branching; 2: while and do-while; 3: Selection Constructs B. 1: while and do-while; 2: Selection Constructs; 3: Conditional branching C. 1: Selection Constructs; 2: while and do-while; 3: Conditional branching D. 1: Selection Constructs; 2: Conditional branching; 3: while and do-while Correct Answer: C

Full Explanation: 1. The program follows an appropriate branch rather than executing every alternative. 2. The position of the test affects how the repetition is structured. 3. The logic needs to specify which condition leads to each alternative.

Question 42. A colleague asks what Software Development Life Cycle (SDLC)

involves. Which response is most accurate?

A. Checking an individual function or component in isolation B. Dividing implementation into callable units with specific responsibilities C. Overview of core phases including analysis, design, implementation, testing, and maintenance D. Relating maintenance logs to Compiling user guides, instructions Correct Answer: C

Full Explanation: Software Development Life Cycle (SDLC) concerns overview of core phases including analysis, design, implementation, testing, and maintenance.

Question 43. A colleague asks what user-defined functions involves. Which response

is most accurate?

A. Selecting one path through a program according to a test B. Repeating a block of instructions using a loop C. Dividing implementation into callable units with specific responsibilities D. Choosing which instructions run according to a condition Correct Answer: C

Full Explanation: Parameters, return values, and visibility are part of how those units interact. Creating and invoking user-defined functions, procedures, and methods.

Question 44. The first stage of a review concerns Considering multi-way choice

structures (e.g., switch or case statements); a separate review concerns Readying

functional specifications and structural design summaries. Which focus belongs to

each?

A. 1: Multi-way selection structures (e.g., switch or case statements); 2: Preparing functional specifications and structural design summaries B. 1: Multi-way selection structures (e.g., switch or case statements); 2: External Technical Documentation C. 1: Preparing functional specifications and structural design summaries; 2: Multi-way selection structures (e.g., switch or case statements) D. 1: External Technical Documentation; 2: Preparing functional specifications and structural design summaries Correct Answer: A

Full Explanation: First requirement: Considering multi-way choice structures (e.g., switch or case statements). Second requirement: Readying functional specifications and structural design summaries.

Question 45. A review records three needs: (1) Executing instructions in their

specified order; (2) Selecting one path through a program according to a test; (3)

Dividing implementation into callable units with specific responsibilities. Which set

of focus areas preserves all three distinctions?

A. 1: user-defined functions; 2: Conditional branching; 3: Sequence Control B. 1: Sequence Control; 2: user-defined functions; 3: Conditional branching C. 1: Sequence Control; 2: Conditional branching; 3: user-defined functions D. 1: Conditional branching; 2: Sequence Control; 3: user-defined functions Correct Answer: C

Full Explanation: 1. This control structure differs from branching or repetition. 2. The logic needs to specify which condition leads to each alternative. 3. Parameters, return values, and visibility are part of how those units interact.

Question 49. Which topic provides the closest fit for a briefing about "Using a

definite repetition structure for an intended sequence of iterations"?

A. while and do-while B. Selection Constructs C. for loops D. flowcharts Correct Answer: C

Full Explanation: The loop control should match the required repetition pattern.

Question 50. An action plan has three separate entries: Dividing implementation into

callable units with specific responsibilities; Choosing which instructions run

according to a condition; Executing instructions in their specified order. Which

sequence correctly classifies them?

A. 1: user-defined functions; 2: Sequence Control; 3: Selection Constructs B. 1: Sequence Control; 2: Selection Constructs; 3: user-defined functions C. 1: user-defined functions; 2: Selection Constructs; 3: Sequence Control D. 1: Selection Constructs; 2: user-defined functions; 3: Sequence Control Correct Answer: C

Full Explanation: 1. Parameters, return values, and visibility are part of how those units interact. 2. The program follows an appropriate branch rather than executing every alternative. 3. This control structure differs from branching or repetition.

Question 51. Which topic provides the closest fit for a briefing about "Adopting

standard naming conventions, proper indentation, and consistent formatting rules"?

A. Test Data Generation B. Code Readability and Styling C. Data Representation D. Iteration Constructs Correct Answer: B

Full Explanation: Code Readability and Styling involves adopting standard naming conventions, proper indentation, and consistent formatting rules.

Question 52. Which assignment best matches these two practical aims: first Using a

definite repetition structure for an intended sequence of iterations, then Executing

instructions in their specified order?

A. 1: Iteration Constructs; 2: Sequence Control B. 1: Sequence Control; 2: for loops C. 1: for loops; 2: Iteration Constructs D. 1: for loops; 2: Sequence Control Correct Answer: D

Full Explanation: First requirement: The loop control should match the required repetition pattern. Second requirement: This control structure differs from branching or repetition.

Question 53. A colleague describes the work as "Understanding basic data types

(integers, floats, booleans, characters/strings), variable declaration, scope, and

initialization." Which label is the best match?

A. Data Representation B. Test Data Generation C. pseudocode D. Compiling user guides, instructions, and maintenance logs Correct Answer: A

Full Explanation: Data Representation involves understanding basic data types (integers, floats, booleans, characters/strings), variable declaration, scope, and initialization.

Question 54. Choose the correct order of focus areas for these objectives:

Understanding basic data types (integers, floats, booleans, characters/strings),

variable declaration, scope, and initialization, followed by Identifying and resolving

syntax errors, runtime exceptions, and subtle logical bugs, followed by Recording

actual outcomes, comparing them against expected results, and troubleshooting

discrepancies?

A. 1: Error Management; 2: Data Representation; 3: Execution Validation B. 1: Data Representation; 2: Error Management; 3: Execution Validation C. 1: Execution Validation; 2: Error Management; 3: Data Representation D. 1: Data Representation; 2: Execution Validation; 3: Error Management Correct Answer: B

Full Explanation: 1. Data Representation involves understanding basic data types (integers, floats, booleans, characters/strings), variable declaration, scope, and initialization. 2. Error Management concerns identifying and resolving syntax errors, runtime exceptions, and subtle logical bugs. 3. Execution Validation concerns recording actual outcomes, comparing them against expected results, and troubleshooting discrepancies.