
The Complete Solidity Course - Zero to Advanced for Blockchain and Smart Contracts - Exercise - Arithmetic Operator
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operators is used to find the remainder of a division?
Modulo
Subtraction
Addition
Division
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of applying the increment operator (++) to a variable with an initial value of 5?
4
5
6
7
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a variable 'a' is decremented using the -- operator and its initial value is 5, what will be the new value of 'a'?
3
4
5
6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the expression 'a + b - b + a', if a = 2 and b = 12, what is the result?
0
1
3
2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression 'B modulus A' when B = 12 and A = 2?
1
3
0
2
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?