Topic 1.4 Video 3

Topic 1.4 Video 3

11th Grade

9 Qs

quiz-placeholder

Similar activities

Loops

Loops

9th - 12th Grade

10 Qs

Codehs Tracy

Codehs Tracy

10th - 12th Grade

12 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

Java Quiz 1: Introduction

Java Quiz 1: Introduction

6th - 12th Grade

10 Qs

java variables 1

java variables 1

9th - 12th Grade

13 Qs

Loop

Loop

9th - 12th Grade

10 Qs

While Loops and Boolean Statements

While Loops and Boolean Statements

10th - 12th Grade

10 Qs

Introduction to Loops

Introduction to Loops

9th - 12th Grade

10 Qs

Topic 1.4 Video 3

Topic 1.4 Video 3

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Myra Deister

Used 1+ times

FREE Resource

9 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

View the video at https://apclassroom.collegeboard.org/d/i8xt887g2f?sui=8,1

int x = 23; //Line 1

int y = 17; //Line 2

x*=4; //Line 3

y++; //Line 4

x /= 3; //Line 5

y -= 9; //Line 6

x %= y; //Line 7

System.out.println(x); //Line 8

Describe the behavior for Line 1.

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

int x = 23; //Line 1

int y = 17; //Line 2

x*=4; //Line 3

y++; //Line 4

x /= 3; //Line 5

y -= 9; //Line 6

x %= y; //Line 7

System.out.println(x); //Line 8

Describe the behavior for Line 2.

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

int x = 23; //Line 1

int y = 17; //Line 2

x*=4; //Line 3

y++; //Line 4

x /= 3; //Line 5

y -= 9; //Line 6

x %= y; //Line 7

System.out.println(x); //Line 8

Describe the behavior for Line 3.

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

int x = 23; //Line 1

int y = 17; //Line 2

x*=4; //Line 3

y++; //Line 4

x /= 3; //Line 5

y -= 9; //Line 6

x %= y; //Line 7

System.out.println(x); //Line 8

Describe the behavior for Line 4.

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

int x = 23; //Line 1

int y = 17; //Line 2

x*=4; //Line 3

y++; //Line 4

x /= 3; //Line 5

y -= 9; //Line 6

x %= y; //Line 7

System.out.println(x); //Line 8

Describe the behavior for Line 5.

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 1 pt

int x = 23; //Line 1

int y = 17; //Line 2

x*=4; //Line 3

y++; //Line 4

x /= 3; //Line 5

y -= 9; //Line 6

x %= y; //Line 7

System.out.println(x); //Line 8

Describe the behavior for Line 6.

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

int x = 23; //Line 1

int y = 17; //Line 2

x*=4; //Line 3

y++; //Line 4

x /= 3; //Line 5

y -= 9; //Line 6

x %= y; //Line 7

System.out.println(x); //Line 8

Describe the behavior for Line 7.

Evaluate responses using AI:

OFF

8.

OPEN ENDED QUESTION

3 mins • 1 pt

int x = 23; //Line 1

int y = 17; //Line 2

x*=4; //Line 3

y++; //Line 4

x /= 3; //Line 5

y -= 9; //Line 6

x %= y; //Line 7

System.out.println(x); //Line 8

Describe the behavior for Line 8.

Evaluate responses using AI:

OFF

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x = 23; //Line 1

int y = 17; //Line 2

x*=4; //Line 3

y++; //Line 4

x /= 3; //Line 5

y -= 9; //Line 6

x %= y; //Line 7

System.out.println(x); //Line 8

What is the output?

3

4

5

6