BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25%
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
US
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Amazon
Google
CompTIA
SAP
VMware
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ServiceNow
Dell EMC
CheckPoint
Linux Foundation
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
Blockchain Discussions
Exam CBDE Topic 2 Question 103 Discussion
Blockchain Exam CBDE Topic 2 Question 103 Discussion
Actual exam question for Blockchain's CBDE exam
Question #: 103
Topic #: 2
[All CBDE Questions]
To generate a random number:
A
it's good to use the block timestamp, as this is always different.
B
it's good to use the block hash as this is clearly always very different.
C
it's good to use the RANDAO smart contract.
D
it's not possible to have a random number in a deterministic environment such as the Ethereum blockchain.
Show Suggested Answer
Hide Answer
Suggested Answer:
C
by
Nickolas
at
Oct 23, 2024, 08:35 PM
Limited Time Offer
25%
Off
Get Premium CBDE Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Bulah
3 days ago
Option A is the way to go. Who needs true randomness when you've got the block timestamp? It's like rolling dice, but with extra steps!
upvoted
0
times
...
Emerson
11 days ago
I'm going with option C. The RANDAO smart contract is designed specifically for this purpose, so it must be the best choice.
upvoted
0
times
...
Billi
15 days ago
I think option B sounds like a good idea. The block hash is always different, so it should work, right? Blockchain magic, baby!
upvoted
0
times
...
Lindsey
21 days ago
Option D is the correct answer. The Ethereum blockchain is a deterministic environment, so it's not possible to truly generate a random number.
upvoted
0
times
Twanna
11 days ago
B
upvoted
0
times
...
Dorinda
14 days ago
A
upvoted
0
times
...
...
Desmond
1 months ago
I disagree, I believe using the block hash is a better option.
upvoted
0
times
...
Hyun
1 months ago
I think it's good to use the block timestamp for randomness.
upvoted
0
times
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
Save
Cancel
Bulah
3 days agoEmerson
11 days agoBilli
15 days agoLindsey
21 days agoTwanna
11 days agoDorinda
14 days agoDesmond
1 months agoHyun
1 months ago