AP CSP FRQs

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/24

flashcard set

Earn XP

Description and Tags

gng save me

Last updated 2:15 PM on 5/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

25 Terms

1
New cards
num_task = int(input("How many assignments do you have?: ")) ?

Inputs

2
New cards

name = input("What is the assignment name?: ") ?

Inputs

3
New cards

priority = int(input("What is the priority? 1 = high, 2 = medium, 3 = low: ")) ?

Inputs?

4
New cards

Different schedules, different task counts, different priority order, different adjusted times are example of what?

The inputs being changed

5
New cards

print()

Outputs

6
New cards

print(“Adjusted Study Plan:”)

Outputs

7
New cards

print(taskName[i], “- High priority -”, taskTime[i], “minutes”

Outputs

8
New cards

assignment data

outputs depend on

9
New cards

total time available

outputs depend on

10
New cards

priorities entered

outputs depend on

11
New cards

What is this an example of: difference = total_task_time - availableTime
quotient = difference // num_task ?

sequencing

12
New cards

What is this an example of: if total_task_time > availableTime:

Selection or if statements

13
New cards

What is this an example of: for i in range(num_task):

Iteration or for loops

14
New cards

Adjusted code runs even when times are equal

> to >=

15
New cards

if for i in range(num_task): is removed

only 1 assingnment will process

16
New cards

for i in range(num_task): to quotient = difference

Tasks loose too much time

17
New cards

What is the error:

Syntax, :

18
New cards

quotient = difference * num_task

logic, runs but wrong

19
New cards

if total_task_time < availableTime:

reverses logic

20
New cards

time = int(time_input.split()[0]), hello is inputed

runtime

21
New cards

difference // num_task
if:
num_task = 0

runtime, division by 0

22
New cards

Overflow error

No, python handles bigger numbers

23
New cards

I’d have to rewrite calculations, if statements, loops, and printing multiple times if

procedure is removed

24
New cards

taskName
taskTime
taskPriorities

can store and loop

25
New cards

task 1

task 2
task 3

if list is gone