Search Header Logo

AP CSA |U2 L2 Operators & Expressions by Mr. B

Authored by Cyber Professor - Mr. B

Computers

12th Grade

Used 7+ times

AP CSA |U2 L2 Operators & Expressions by Mr. B
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

25 questions

Show all answers

1.

FILL IN THE BLANKS QUESTION

3 mins • 3 pts

true && true

(a)  

2.

FILL IN THE BLANKS QUESTION

3 mins • 3 pts

true || false

(a)  

3.

MULTIPLE SELECT QUESTION

3 mins • 3 pts

A named reference to a value that can be used repeatedly throughout a program is:

variable

string

comparable operators

4.

MULTIPLE SELECT QUESTION

3 mins • 3 pts

What is a command that executes the code within a function called?

conditional statement

function call

function

expressions

5.

MULTIPLE CHOICE QUESTION

3 mins • 3 pts

What will be output to the screen when the following code is run? secret = 50 if (secret == 100): print("Excellent") elif (secret < 75): print("Awesome") else: print("Super")

Awesome

Excellent

Super

None of these is true

6.

MULTIPLE CHOICE QUESTION

3 mins • 3 pts

Arithmetic Operators
What is a / ? 

Addition
Subtraction
Division
Modulo

7.

MULTIPLE CHOICE QUESTION

3 mins • 3 pts

Which of the following is not a data type?

Character
String
Integer
Object

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

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

Already have an account?