Skip to main content

Structured Programming Test Questions - 350 Verified Questions

Page 1


Structured Programming Test Questions

Course Introduction

Structured Programming is an introductory course that focuses on fundamental programming concepts and problem-solving techniques using structured programming principles. Students will learn to design, implement, test, and debug modular programs using constructs such as sequence, selection, and iteration. The course emphasizes the importance of clear code structure, logical organization, and readability, enabling students to break down complex problems into manageable parts. Through hands-on assignments and projects, students will develop proficiency in using a high-level programming language, understand algorithm development, and apply techniques for effective program documentation and maintenance.

Recommended Textbook

Just Enough Programming Logic and Design 2nd Edition by Joyce Farrell

Available Study Resources on Quizplus

7 Chapters

350 Verified Questions

350 Flashcards

Source URL: https://quizplus.com/study-set/2426 Page 2

Chapter 1: An Overview of Computers and Logic

Available Study Resources on Quizplus for this Chatper

50 Verified Questions

50 Flashcards

Source URL: https://quizplus.com/quiz/48218

Sample Questions

Q1) A magic number is a named constant whose meaning is not immediately apparent.

A)True

B)False

Answer: False

Q2) The language translation software that converts a programmer's statements to binary form is called a ____.

A) processor

B) compiler

C) translator

D) central processing unit

Answer: B

Q3) An important feature of modern programming is the ability to build programs from smaller segments.This is known as ____.

A) monolithic

B) structured

C) independence

D) modularity

Answer: D

To view all questions and flashcards with answers, click on the resource link above. Page 3

Chapter 2: Understanding Structure

Available Study Resources on Quizplus for this Chatper

50 Verified Questions

50 Flashcards

Source URL: https://quizplus.com/quiz/48219

Sample Questions

Q1) The following pseudocode is an example of a(n)____ structure. get firstNumber

Get secondNumber

Add firstNumber and secondNumber

Print result

A) decision

B) task

C) selection

D) sequence

Answer: D

Q2) Structured programs can be easily broken down into routines or ____ that can be assigned to any number of programmers.

A) processes

B) modules

C) units

D) pieces

Answer: B

Q3) As programs get bigger,they get more confusing if they're not structured.

A)True

B)False

Answer: True

To view all questions and flashcards with answers, click on the resource link above. Page 4

Chapter 3: Making Decisions

Available Study Resources on Quizplus for this Chatper

50 Verified Questions

50 Flashcards

Source URL: https://quizplus.com/quiz/48220

Sample Questions

Q1) In C++,Java,and C#,the ____ is the symbol used for the NOT operator.

A) at-symbol

B) exclamation point

C) underscore

D) tilde

Answer: B

Q2) A series of nested if statements is also called a ____ if statement.

A) connected

B) stacked

C) cascading

D) trailed

Answer: C

Q3) In an OR decision,it is more efficient to first ask the question that is more likely to be ____.

A) greater

B) Boolean

C) false

D) true

Answer: D

To view all questions and flashcards with answers, click on the resource link above.

Page 5

Chapter 4: Looping

Available Study Resources on Quizplus for this Chatper

50 Verified Questions

50 Flashcards

Source URL: https://quizplus.com/quiz/48221

Sample Questions

Q1) The ____ is the location on your computer screen at which you type entries to communicate with the computer's operating system using text.

A) command prompt

B) command shell

C) input prompt

D) run prompt

Q2) Using a for loop,write the pseudocode to display "I love programming!" five times.

Q3) You can use any of the ____ comparison operators to control a loop.

A) three

B) four

C) five

D) six

Q4) Name the three crucial steps that must occur in every loop.

Q5) Reports that include some output for every input record are ____ reports.

A) summary

B) detail

C) executive

D) running total

Q6) Name three common mistakes that programmers make when programming with loops.

Page 6

To view all questions and flashcards with answers, click on the resource link above.

Chapter 5: Arrays

Available Study Resources on Quizplus for this Chatper

50 Verified Questions

50 Flashcards

Source URL: https://quizplus.com/quiz/48222

Sample Questions

Q1) The true benefit of an array lies in your ability to use a(n)____ as a subscript to the array.

A) variable

B) table

C) operator

D) field

Q2) Write the pseudocode to define a six element array called "scores," and then allow a user to enter 6 scores and store them in the array using a for loop.

Q3) All array elements have the same ____ name.

A) group

B) target

C) structure

D) collection

Q4) Write the pseudocode to define a five element array called "scores," and then allow a user to enter 5 scores and store them in the array using a while loop.

Q5) Subscript values can be negative integers in all languages.

A)True

B)False

To view all questions and flashcards with answers, click on the resource link above.

Page 7

Chapter 6: Using Methods

Available Study Resources on Quizplus for this Chatper

50 Verified Questions

50 Flashcards

Source URL: https://quizplus.com/quiz/48223

Sample Questions

Q1) Programmers often say that a method's implementation details are hidden in a(n)____.

A) black box

B) secret box

C) trap door

D) invisible box

Q2) Programmers say the data items are ____ only within the method or program in which they are declared.

A) visible

B) public

C) readable

D) available

Q3) When two or more methods in a program require access to the same data,you ___ the data from one method to another.

A) text

B) manage

C) define

D) pass

Q4) What is the difference between an argument and a parameter variable?

To view all questions and flashcards with answers, click on the resource link above. Page 8

Chapter 7: Object-Oriented Programming

Available Study Resources on Quizplus for this Chatper

50 Verified Questions

50 Flashcards

Source URL: https://quizplus.com/quiz/48224

Sample Questions

Q1) When you create a new class using inheritance,you ____ the existing class.

A) stretch

B) expand

C) extend

D) broaden

Q2) Objects are ____,meaning one object can inherit characteristics from another,like objects in the real world.

A) encapsulated

B) extensible

C) invisible

D) definable

Q3) ____ methods change values within an object.

A) Transformer

B) Change

C) Mutator

D) Get

Q4) What features must a programming language have for it to be considered an object-oriented language?

Q5) List the three parts of a class definition.

To view all questions and flashcards with answers, click on the resource link above. Page 9

Turn static files into dynamic content formats.

Create a flipbook
Structured Programming Test Questions - 350 Verified Questions by Quizplus - Issuu