45. Sum Of digit solution (Bonus)

45. Sum Of digit solution (Bonus)

Professional Development

47 Qs

quiz-placeholder

Similar activities

SQL-ə Giriş və Verilənlər Bazası Əsasları (1 - 50)

SQL-ə Giriş və Verilənlər Bazası Əsasları (1 - 50)

Professional Development

50 Qs

21.How to Import Project Files?

21.How to Import Project Files?

Professional Development

43 Qs

47.Test doPost

47.Test doPost

Professional Development

48 Qs

Create the Project Model and Repository

Create the Project Model and Repository

Professional Development

44 Qs

71.CREATE SPRING BOOT MICRO SERVICES

71.CREATE SPRING BOOT MICRO SERVICES

Professional Development

48 Qs

Core Java Concepts Quiz (1)

Core Java Concepts Quiz (1)

Professional Development

48 Qs

Quiz sobre Angular

Quiz sobre Angular

Professional Development

50 Qs

Autoencoder and Latent Space Quiz

Autoencoder and Latent Space 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?