Search Header Logo

Topic 3.4 Video 1

Authored by Myra Deister

Computers

11th Grade

Used 5+ times

Topic 3.4 Video 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

View the video at

https://apclassroom.collegeboard.org/d/hxzqb8l2s8?sui=8,3

If myAge is 15 what would be the output from the code displayed at timestamp 2:42?

You are 14.

You are 15.

You are old enough to learn to drive.

You are old enough for a license to drive.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following could be used to check for a C average in the program as described at timestamp 4:26.

else (myAverage >=69.45)

if (myAverage >= 69.45)

else if (myAverage >= 69.45)

if else (myAverage >= 69.45)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When creating a waterfall else if you should start with

the middle number

the largest number

the smallest number

the average number

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following code:

if (a == 1)

{

x = 3;

}

else if (a == 2)

{

x = 6;

y++;

} else {

x = 9;

}

if a = 3, what is the value of x?

3
6
9
Undefined

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is output by the code below?

 

let a = 75, b = 100;

if( a > 90)

   if( b > 100)

      print("go");

   else if( b > 90)

      print("it");

   else

      print("up");

print("on");

goon

itupon

iton

upon

on

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?