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 80 Discussion

Actual exam question for Blockchain's CBDE exam
Question #: 80
Topic #: 4
[All CBDE Questions]

When you are programming a game like poker of battleships where you need to hide opponents values is:

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Bulah
13 days ago
I don't know, man. Hiding stuff on the blockchain? Sounds like a job for a magician, not a programmer!
upvoted 0 times
...
Na
14 days ago
A) Yep, that's the way to go. Private state variables all the way! Keeps the game fair and square.
upvoted 0 times
...
Lelia
15 days ago
C) Haha, that's true! You can't really hide anything on the blockchain. Might as well just embrace the transparency!
upvoted 0 times
...
Gilbert
17 days ago
B) That's an interesting approach, but I'm not sure it's the best option. Keeping everything within the smart contract seems more straightforward.
upvoted 0 times
...
Silva
1 months ago
A) Looks good! Hiding state variables within the smart contract itself is a great way to keep opponent values private.
upvoted 0 times
...
Helaine
2 months ago
I think both options have their merits, but ultimately on the blockchain, the information is public.
upvoted 0 times
...
Lorean
2 months ago
I disagree, I believe using external contracts to hold those values is more secure.
upvoted 0 times
...
Rodrigo
2 months ago
I think the best way to hide opponents values is with private state variables.
upvoted 0 times
...
Lonny
2 months ago
But wouldn't that make the information more vulnerable to external attacks?
upvoted 0 times
...
Dorian
2 months ago
I disagree, I believe external contracts holding those values is more secure.
upvoted 0 times
...
Lonny
2 months ago
I think the best way is to use private state variables.
upvoted 0 times
...

Save Cancel