AP Computer Science Principles

AP Computer Science Principles

9th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

BÀI TẬP T7 - KHỞI ĐỘNG

BÀI TẬP T7 - KHỞI ĐỘNG

10th - 12th Grade

10 Qs

Interstate Competition

Interstate Competition

7th - 10th Grade

11 Qs

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

flowol week 3

flowol week 3

9th - 12th Grade

17 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

AP Computer Science Principles

AP Computer Science Principles

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Thomas Martinez

FREE Resource

AI

Enhance your content in a minute

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

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

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?