AP CSP 3.8 (Iteration)

AP CSP 3.8 (Iteration)

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Year 8 Retrieval and Recall 4.07.22

Year 8 Retrieval and Recall 4.07.22

9th Grade

6 Qs

Test_Bai14_HeSTVB

Test_Bai14_HeSTVB

10th Grade

10 Qs

Bài 17: BIẾN VÀ LỆNH GÁN

Bài 17: BIẾN VÀ LỆNH GÁN

10th Grade

10 Qs

SAP - CD a CSS

SAP - CD a CSS

1st - 10th Grade

11 Qs

MySQL

MySQL

12th Grade

10 Qs

Web1: Planning

Web1: Planning

7th - 12th Grade

7 Qs

ICT Java programming workshop

ICT Java programming workshop

9th Grade

10 Qs

Паскаль. Основные команды

Паскаль. Основные команды

8th - 11th Grade

10 Qs

AP CSP 3.8 (Iteration)

AP CSP 3.8 (Iteration)

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Herman Galioulline

Used 73+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Which of the following algorithms display all integers between 1 and 20, inclusive, that are not divisible by 3?


Select two answers.

Step 1: Set x to 0.

Step 2: Increment x by 1.

Step 3: If x is not divisible by 3, then display x.

Step 4: Repeat steps 2 and 3 until x is 20.

Step 1: Set x to 0.

Step 2: If x is divisible by 3, then display x.

Step 3: Increment x by 1.

Step 4: Repeat steps 2 and 3 until x is greater than 20.

Step 1: Set x to 1.

Step 2: If x is divisible by 3, then do nothing; otherwise display x.

Step 3: Increment x by 1.

Step 4: Repeat steps 2 and 3 until x is 20.

Step 1: Set x to 1.

Step 2: If x is divisible by 3, then do nothing; otherwise display x.

Step 3: Increment x by 1.

Step 4: Repeat steps 2 and 3 until x is greater than 20.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

The number 0 is displayed.

The number 6 is displayed.

The number 10 is displayed.

Nothing is displayed; the program results in an infinite loop.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

I only

II only

I and II

II and III

5.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Media Image

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

REPEAT 1 TIMES

REPEAT 2 TIMES

REPEAT 3 TIMES

REPEAT 4 TIMES