ExamGecko
Question list
Search
Search

Question 58 - CBDE discussion

Report
Export

Loops in Solidity:

A.
are a great way to circumvent gas requirements, because a loop will only consume gas once.
Answers
A.
are a great way to circumvent gas requirements, because a loop will only consume gas once.
B.
are dangerous when used with data structures that grow, such as arrays or mapping, because it is hard to estimate the gas requirements.
Answers
B.
are dangerous when used with data structures that grow, such as arrays or mapping, because it is hard to estimate the gas requirements.
C.
should be avoided where possible, because of unknown side-effects on the gas requirements.
Answers
C.
should be avoided where possible, because of unknown side-effects on the gas requirements.
Suggested answer: B
asked 16/09/2024
Fadi Iraqi
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first