
IT2864 Week 5
Authored by Bobby Liu
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a primitive data type in Solidity?
uint256
string
address
enum
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What is the primary difference between constants and immutables in Solidity?
Constants can be modified after contract deployment
Immutables can be modified after contract deployment
Constants are assigned values during contract deployment
Immutables are assigned values during contract deployment
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to read the value of a state variable in Solidity?
read
this
view
get
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of gas in Ethereum and Solidity?
Gas determines the price of Ether
Gas is used to fuel transactions and contract execution
Gas is a special data type in Solidity
Gas controls the total supply of Ether
5.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
In Solidity, which keyword is used for conditional branching?
check
if
else
condition
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a mapping in Solidity?
A way to store multiple values in a single variable
A data structure for iterating over collections of data
A special kind of function
A way to associate keys with values
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes an enum in Solidity?
An enum is a data type used to represent decimal numbers
An enum is a data type used to define a set of named constant values
An enum is a special kind of function
An enum is used to specify gas prices in a contract
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?
Similar Resources on Wayground
10 questions
Vertex AI Pipelines V1
Quiz
•
12th Grade
15 questions
soal bab 3 kelompok 3
Quiz
•
12th Grade
10 questions
PRE-ASSESSMENT ETECH M1
Quiz
•
12th Grade
15 questions
emptech L1 A
Quiz
•
12th Grade
12 questions
ASAS SAINS KOMPUTER : TINGKATAN 3
Quiz
•
4th Grade - University
12 questions
Effect of ICT
Quiz
•
9th - 12th Grade
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
10 questions
Data Engineering y BigQuery V1
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade