45. Sum Of digit solution (Bonus)

45. Sum Of digit solution (Bonus)

Professional Development

47 Qs

quiz-placeholder

Similar activities

Computer Quiz

Computer Quiz

Professional Development

50 Qs

Quiz sobre Angular

Quiz sobre Angular

Professional Development

50 Qs

Java Feature

Java Feature

Professional Development

42 Qs

Code A Thone Finals

Code A Thone Finals

Professional Development

45 Qs

OH MY ECMA

OH MY ECMA

University - Professional Development

44 Qs

Ass3

Ass3

University - Professional Development

50 Qs

Computer Algorithm

Computer Algorithm

Professional Development

50 Qs

Core Java Concepts Quiz (1)

Core Java Concepts Quiz (1)

Professional Development

48 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?