BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

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:

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

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
...

Save Cancel