AP Computer Science Principles

AP Computer Science Principles

9th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

Database Concepts

Database Concepts

11th - 12th Grade

15 Qs

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

EmTech Q2 Post Test 2

EmTech Q2 Post Test 2

11th Grade

15 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

Grade 11 Term 4 Practice 2

Grade 11 Term 4 Practice 2

11th Grade

10 Qs

Logos - Digital Images

Logos - Digital Images

2nd - 10th 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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers