
The Complete Solidity Course - Zero to Advanced for Blockchain and Smart Contracts - Arithmetic Operators in Solidity
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the contract created in the tutorial?
Calculator
Functions
Operators
Solidity
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of adding the variables 'a' and 'b' in the calculator function?
15
13
12
10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to specify the visibility of the calculator function?
external
internal
private
public
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pragma version is specified for the Solidity contract?
0.8.0 to 1.0.0
0.7.0 to 0.9.0
0.6.0 to 0.7.0
0.5.0 to 0.6.0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'view' keyword in the calculator function?
To prevent the function from modifying state variables
To allow the function to modify state variables
To make the function external
To make the function private
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you divide 5 by 7 in Solidity?
It returns 1
It returns 0
It returns 0.71
It returns 0.6
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of multiplying 5 and 7 in the calculator function?
40
30
35
45
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?