What type of loop is required to receive full credit for the code segment described in the task to print elements ending with "ing"?
AP CSP Unit 6 Practice

Quiz
•
Computers
•
11th Grade
•
Hard
Mark Rheault
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for loop
while loop
enhanced for loop
do-while loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following words would be printed by the code segment if it is correctly implemented according to the task requirements?
"ten"
"fading"
"post"
"card"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the minimum number of lowercase letters that each element of the array words must contain to be considered in the output?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the computeBonusThreshold method in the Payroll class?
To calculate the total wages for each employee
To determine the threshold for receiving a daily bonus
To compute the number of items sold by each employee
To return the fixed wage per day for each employee
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What parameters does the computeWages method in the Payroll class take?
An array of items sold and an array of wages
A double representing the fixed wage and a double representing the per item wage
The number of items sold that day by an employee
The bonus percentage and the daily sales figures
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
According to the Payroll class, when does an employee receive a bonus?
When the employee's sales exceed the bonus threshold
When the employee works overtime
When the employee sells less than the bonus threshold
When the employee has perfect attendance
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is stored in the 'itemsSold' array in the Payroll class?
The fixed wage for each employee
The total wages computed for each employee
The number of items each employee sold
The bonus amount for each employee
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
SST Yr8 - NCCE - Algorithms 2

Quiz
•
9th - 12th Grade
19 questions
Parameters and Return Review

Quiz
•
9th - 12th Grade
19 questions
Python Loops Review

Quiz
•
9th - 12th Grade
24 questions
Java Loops

Quiz
•
10th - 12th Grade
25 questions
Python - Chpt 4 - Review

Quiz
•
9th - 12th Grade
18 questions
Test 4 Edhesive Review

Quiz
•
9th - 12th Grade
18 questions
Computer Science

Quiz
•
9th - 12th Grade
20 questions
AP CSP Unit 6

Quiz
•
10th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University