Topic 4.1 Video 3

Topic 4.1 Video 3

11th Grade

6 Qs

quiz-placeholder

Similar activities

Arrays and Lists

Arrays and Lists

6th - 12th Grade

10 Qs

Small Basic (Turtle)

Small Basic (Turtle)

KG - University

10 Qs

CPU Cores

CPU Cores

10th - 11th Grade

11 Qs

PI Mod 1 test

PI Mod 1 test

9th - 12th Grade

10 Qs

Data validation and verification

Data validation and verification

7th - 11th Grade

10 Qs

U1L1-4

U1L1-4

10th - 12th Grade

10 Qs

Quiz on Data Representation

Quiz on Data Representation

11th Grade

10 Qs

Programming - High Level Code & Machine Code

Programming - High Level Code & Machine Code

2nd - 11th Grade

10 Qs

Topic 4.1 Video 3

Topic 4.1 Video 3

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Myra Deister

Used 1+ times

FREE Resource

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