Search Header Logo

Topic 4.1 Video 3

Authored by Myra Deister

Computers

11th Grade

Used 1+ times

Topic 4.1 Video 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator can be used to find the last digit of an integer?

+
%
*
/

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator can be used to eliminate the last digit of an integer?

+
%
*
/

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What condition can be used to determine when to exit the while loop that sums the digits of a number?

number is negative
number becomes zero
number is equal to one
number is greater than zero

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the code attempting to do?

The code is counting the number of 0s in the number.

The code is counting the number of 1s in the number.

The code is summing all of the digits in the number.

The code is counting the number of digits in the number.

The code is counting the number of times you can substract 10 before reaching 0.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the given method with the missing code.

Which of the following segments of code should replace //missing code in the sumNums method so that it returns the sum of the numbers between a and b, both included in the sum?

Media Image
Media Image
Media Image
Media Image
Media Image

6.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

Upload a screenshot of the last screen of the video. Make sure your name is displayed and the title of the video. There is an example on the left.

Evaluate responses using AI:

OFF

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?