Cyber Monday 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:

Glory
20 days ago
Wait, you're telling me there's no 'random' button on the Ethereum blockchain? Guess I'll have to shake my laptop vigorously instead.
upvoted 0 times
Kayleigh
11 days ago
A) it's good to use the block timestamp, as this is always different.
upvoted 0 times
...
...
Bulah
26 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
Wenona
2 days ago
User 3: I think it's a clever workaround for creating randomness in a deterministic system.
upvoted 0 times
...
Lezlie
4 days ago
User 2: It's like adding a little element of chance to the blockchain.
upvoted 0 times
...
Viva
7 days ago
User 1: I agree, using the block timestamp is a simple way to generate a random number.
upvoted 0 times
...
...
Emerson
1 months 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
Ahmed
23 hours ago
User3: Definitely a reliable option for randomness in Ethereum.
upvoted 0 times
...
Lindy
3 days ago
User2: Agreed, it's designed for generating random numbers.
upvoted 0 times
...
Roselle
12 days ago
User1: I think using the RANDAO smart contract is a good choice.
upvoted 0 times
...
...
Billi
1 months 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
1 months 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
Nidia
10 days ago
So, if we need randomness, we have to find alternative solutions outside of the blockchain.
upvoted 0 times
...
Minna
11 days ago
Exactly, it's all about following the rules and protocols set in place.
upvoted 0 times
...
Kerrie
14 days ago
That makes sense, since everything in the blockchain is based on deterministic rules.
upvoted 0 times
...
Glenna
15 days ago
D
upvoted 0 times
...
Leigha
16 days ago
C
upvoted 0 times
...
Ernestine
16 days ago
D) it's not possible to have a random number in a deterministic environment such as the Ethereum blockchain.
upvoted 0 times
...
Twanna
1 months ago
B
upvoted 0 times
...
Dorinda
1 months ago
A
upvoted 0 times
...
...
Desmond
2 months ago
I disagree, I believe using the block hash is a better option.
upvoted 0 times
...
Hyun
2 months ago
I think it's good to use the block timestamp for randomness.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77