Topic 4.1 Video 3

Topic 4.1 Video 3

11th Grade

6 Qs

Similar activities

72. Data_Rep - Number Bases Quiz

72. Data_Rep - Number Bases Quiz

9th - 12th Grade

11 Qs

Data validation and verification

Data validation and verification

7th - 11th Grade

10 Qs

Quiz on Data Representation

Quiz on Data Representation

11th Grade

10 Qs

Arrays

Arrays

10th - 12th Grade

10 Qs

Programming - High Level Code & Machine Code

Programming - High Level Code & Machine Code

2nd - 11th Grade

10 Qs

CPU Cores

CPU Cores

10th - 11th Grade

11 Qs

Database Fundamentals

Database Fundamentals

KG - University

10 Qs

Crash Course Computer Science #8 - Instructions & Programs

Crash Course Computer Science #8 - Instructions & Programs

9th - 12th Grade

10 Qs

Topic 4.1 Video 3

Topic 4.1 Video 3

Assessment

Quiz

Created by

Myra Deister

Computers

11th Grade

1 plays

Medium

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