45. Sum Of digit solution (Bonus)

45. Sum Of digit solution (Bonus)

Professional Development

47 Qs

quiz-placeholder

Similar activities

Orientation  Quiz

Orientation Quiz

University - Professional Development

50 Qs

PBO XII - LATIHAN SOAL 1

PBO XII - LATIHAN SOAL 1

7th Grade - Professional Development

50 Qs

Cuestionario de JavaScript

Cuestionario de JavaScript

Professional Development

50 Qs

Autoencoder and Latent Space Quiz

Autoencoder and Latent Space Quiz

Professional Development

50 Qs

Programación y robótica educativa (OpcMul)

Programación y robótica educativa (OpcMul)

Professional Development

50 Qs

71.Composition Setting up

71.Composition Setting up

Professional Development

43 Qs

M1 R5 ( Chapter 4)

M1 R5 ( Chapter 4)

Professional Development

50 Qs

PYTHON BE PYTHONING

PYTHON BE PYTHONING

Professional Development

50 Qs

45. Sum Of digit solution (Bonus)

45. Sum Of digit solution (Bonus)

Assessment

Quiz

Computers

Professional Development

Hard

Created by

ANIL KUMAR

FREE Resource

47 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you add sum of digits in Java?
Using loop
Using recursion
Using arithmetic operators
Using conditional statements

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you find the sum of two digits in Java?
num1 + num2
sum(num1, num2)
num1 - num2
multiply(num1, num2)

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How to print the sum of all the digits of a number in Java?
printSumDigits(number)
System.out.println(sumDigits(number))
getSum(number)
calculateDigitsSum(number)

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you add sum of digits?
Add all the digits
Multiply all the digits
Divide all the digits
Subtract all the digits

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you add 4 digit numbers in Java?
add4DigitNumbers()
sum4Digits()
calculate4DigitSum()
add(1000, 1000)

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the sum of digits rule?
Add all the digits in a number
Multiply all the digits in a number
Sum the digits with even positions
Sum the digits with odd positions

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the sum of all 2 digit numbers?
99
900
495
101

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?