AP CSA 5.3 (Comments)

AP CSA 5.3 (Comments)

10th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Konsep Routing

Konsep Routing

1st - 10th Grade

10 Qs

Access

Access

1st - 10th Grade

10 Qs

Q4 M1 PRETEST

Q4 M1 PRETEST

10th Grade

10 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

=NOW()

=NOW()

11th Grade

10 Qs

HTML & Google Site Seatwork

HTML & Google Site Seatwork

12th Grade

10 Qs

bài 11: kiểu mảng

bài 11: kiểu mảng

11th Grade

10 Qs

pemrograman dasar

pemrograman dasar

KG - 10th Grade

10 Qs

AP CSA 5.3 (Comments)

AP CSA 5.3 (Comments)

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Medium

Created by

Herman Galioulline

Used 14+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

I only

III only

I and II only

II and III only

I, II, and III

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

num1 > 0, num2 > 0

num1 >= 0, num2 >= 0

num1 >= num2

num2 >= num1

No precondition is required.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

/* Precondition: m <= n */

/* Precondition: n <= m */

/* Precondition: m >= 0 and n >= 0 */

/* Precondition: m <= 0 and n <= 0 */

/* Precondition: m <= 0 and n >= 0 */

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

/* Precondition: 0 <= oldString.length() */

/* Precondition: 0 < j and 0 < k */

/* Precondition: 0 <= j and 0 <= k */

/* Precondition: j <= k */

/* Precondition: 0 <= j <= k <= oldString.length() */

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

/* Precondition: 0 < n < str.length() - 1 */

/* Precondition: 0 <= n <= str.length() - 1 */

/* Precondition: 0 <= n <= str.length() */

/* Precondition: n > str.length() */

/* Precondition: n >= str.length() */

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

0 <= index < phrase.length()

0 <= index < key.length()

0 <= index < phrase.length() + key.length()

0 <= index < phrase.length() - key.length()

0 <= index < phrase.length() - index

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?