Programming Logic and Design, 5th edition. Ch 5-8

Quiz
•
Other
•
11th Grade
•
Hard
Oluwaseyi Fabumuyi
Used 1+ times
FREE Resource
126 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a repetition structure?
causes a statement or set of statements to execute repeatedly.
Writing a long sequence of statements can be time consuming
uses a true/false condition to control the number of times that it repeats.
2.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
What is an off-by-one error?
The series of values separated with commas
Because array subscripts start at 0 rather than 1, you have to be careful not to perform.
they do not allow a program to use an invalid array subscript
a loop iterates one time too many or one time too few.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This is a prewritten function that is built into a programming language.
standard function
library function
custom function
cafeteria function
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of loop repeats a statement or set of statements as long as the Boolean expression is false?
For
Do-Until
Do-While
While
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The test condition in a While loop must always be an integer value.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Modules can be called from statements in the body of any loop.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times would the following loop iterate?
Set k = 1
Do
Display k
Set k = k + 1
Until k > 2
2
infinite
1
3
Create a free account and access millions of resources
Similar Resources on Wayground
124 questions
Câu Hỏi Trắc Nghiệm Kinh Tế

Quiz
•
11th Grade
130 questions
SELEKSI 130 SOAL MENUJU 5 BESAR

Quiz
•
11th Grade
122 questions
Topik II so'zlari 3

Quiz
•
11th Grade
126 questions
Topik II so'zlar 1

Quiz
•
11th Grade
123 questions
CC 1

Quiz
•
9th - 12th Grade
130 questions
ôn gdcd ck1

Quiz
•
11th Grade
127 questions
Đề Cương Ôn Tập Vật Lý

Quiz
•
11th Grade
130 questions
TIN AC QUY

Quiz
•
11th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Chaffey

Quiz
•
9th - 12th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
12 questions
Macromolecules

Lesson
•
9th - 12th Grade
12 questions
Classifying Polys - 1.1

Quiz
•
10th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade