AP CSP 3.1, 3.3-3.8 Test 1 Review

AP CSP 3.1, 3.3-3.8 Test 1 Review

9th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

Python Function and Return

Python Function and Return

9th - 12th Grade

12 Qs

Python Beginners Week 6

Python Beginners Week 6

3rd - 12th Grade

13 Qs

IF and Vlookup Function

IF and Vlookup Function

9th - 10th Grade

15 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Introduction to Javascript Programming

Introduction to Javascript Programming

9th - 10th Grade

16 Qs

 Computing Revision JCG

Computing Revision JCG

KG - University

14 Qs

Python

Python

10th - 11th Grade

10 Qs

Representing and understanding algorithms

Representing and understanding algorithms

10th - 11th Grade

10 Qs

AP CSP 3.1, 3.3-3.8 Test 1 Review

AP CSP 3.1, 3.3-3.8 Test 1 Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Herman Galioulline

Used 47+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The variable age is to be used to represent a person’s age, in years. Which of the following is the most appropriate data type for age?

Boolean

number

string

list

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

The value of first is true, and the value of second is true.

The value of first is true, and the value of second is false.

The value of first is false, and the value of second is true.

The value of first is false, and the value of second is false.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Step 1: Add num1 and num2 and store the result in the variable sum.

Step 2: Take the absolute value of sum and display the result.

Step 1: Subtract num1 from num2 and store the result in the variable diff.

Step 2: Take the absolute value of diff and display the result.

Step 1: Take the absolute value of num1 and store it in the variable absNum1.

Step 2: Take the absolute value of num2 and store it in the variable absNum2.

Step 3: Add absNum1 and absNum2 and display the result.

Step 1: Take the absolute value of num1 and store it in the variable absNum1.

Step 2: Take the absolute value of num2 and store it in the variable absNum2.

Step 3: Subtract absNum1 from absNum2 and display the result.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Media Image

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

val1 = true, val2 = true

val1 = true, val2 = false

val1 = false, val2 = true

val1 = false, val2 = false

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?