45. Sum Of digit solution (Bonus)

45. Sum Of digit solution (Bonus)

Professional Development

47 Qs

quiz-placeholder

Similar activities

Technical Evaluation - 101 - 2024

Technical Evaluation - 101 - 2024

Professional Development

50 Qs

60.Ticketing Usecase

60.Ticketing Usecase

Professional Development

47 Qs

Cuestionario de JavaScript

Cuestionario de JavaScript

Professional Development

50 Qs

Technical Evaluation - 102 - 2024

Technical Evaluation - 102 - 2024

Professional Development

50 Qs

Javascript 1 (Taller Empleo Ayerbe)

Javascript 1 (Taller Empleo Ayerbe)

Professional Development

50 Qs

Revision database

Revision database

Professional Development

45 Qs

IT WARFARE QUIZ

IT WARFARE QUIZ

10th Grade - Professional Development

51 Qs

AWS Quiz

AWS Quiz

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?