AP CSA Unit 4 Review

AP CSA Unit 4 Review

11th Grade

10 Qs

quiz-placeholder

Similar activities

Pseudocode - OCR ERL

Pseudocode - OCR ERL

9th - 12th Grade

10 Qs

KS4 - Python Turtle

KS4 - Python Turtle

9th - 11th Grade

15 Qs

CP1 Assessment

CP1 Assessment

11th Grade

10 Qs

Introduction to Loops

Introduction to Loops

9th - 12th Grade

10 Qs

29W Quiz 2 - PLTW

29W Quiz 2 - PLTW

9th - 12th Grade

12 Qs

Code Tracing Quiz

Code Tracing Quiz

9th - 12th Grade

12 Qs

Y9 TAHS March flowchart review

Y9 TAHS March flowchart review

9th - 12th Grade

9 Qs

Python 2

Python 2

9th - 12th Grade

10 Qs

AP CSA Unit 4 Review

AP CSA Unit 4 Review

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Lauren Wheelwright

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's the output?

012345

0123456

0000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

(Infinite loop)

12345

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's the output?

1

12

01

12345

3.

OPEN ENDED QUESTION

2 mins • 1 pt

Media Image

Re-write this for-loop as a while loop

Evaluate responses using AI:

OFF

Answer explanation

Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of these nested loops will print out the following output?

Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What prints when we run the main method? 

AP

CSA

CSA

AP

AP

CSA

CSA

CSA

AP

AP
AP

CSA
CSA
CSA
CSA

APAPCSACSACSA

6.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

Complete the code so that it prints every third character in String s, starting at the 1st character.

Ex: If s="ABCDEF", print "AD"

Evaluate responses using AI:

OFF

Answer explanation

Media Image

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

Complete this code so that it prints a triangle as follows:

0

01

012

0123

Evaluate responses using AI:

OFF

Answer explanation

Media Image

The length of each line is determined by the variable i.

The length of each line should increase from 0 to 3.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?