Deal of The Day! 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 4 Question 85 Discussion

Actual exam question for Blockchain's BTA Certified Blockchain Developer - Ethereum exam
Question #: 85
Topic #: 4
[All BTA Certified Blockchain Developer - Ethereum Questions]

To generate a random number:

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Luisa
7 days ago
Hah, good point, Justine! I think that's the problem with a lot of these options - they might seem random on the surface, but there could be ways to game the system. I'm not sure there's a perfect solution here.
upvoted 0 times
...
Justine
9 days ago
Personally, I'm leaning towards option B. The block hash is always different, so it seems like a good source of randomness to me. *chuckles* Although I guess if someone can predict the block hash, it wouldn't be so random, would it?
upvoted 0 times
...
Tommy
10 days ago
Yeah, Herman's got a point. I think the RANDAO contract is a pretty good solution. It's been used quite a bit in the Ethereum ecosystem, so it must be doing something right.
upvoted 0 times
...
Herman
11 days ago
I'm not so sure about that, Sherill. What about option C, the RANDAO smart contract? I've heard that can be a pretty reliable way to generate random numbers on the blockchain.
upvoted 0 times
...
Sherill
13 days ago
I agree with you, Gary. I'm not sure there's an easy answer here. But I think option D might be the most accurate - it's probably not possible to have a completely random number on the Ethereum blockchain.
upvoted 0 times
...
Gary
14 days ago
Hmm, this is an interesting question. I'm not sure how I feel about it, to be honest. Generating a truly random number in a deterministic environment like the Ethereum blockchain does seem like a bit of a challenge.
upvoted 0 times
...

Save Cancel