Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
29 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
29 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
1 months 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
1 months 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
Ligia
16 hours ago
C) You can't hide anything on the blockchain, because the information is public, just the call is private which means only other smart contracts would be limited in accessing that information.
upvoted 0 times
...
Clay
6 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
...
Gracia
9 days ago
A) with private state variables. This way nobody else other than the smart contract itself can see the information
upvoted 0 times
...
...
Silva
2 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
Alaine
5 days ago
A) Looks good! Hiding state variables within the smart contract itself is a great way to keep opponent values private.
upvoted 0 times
...
Dino
6 days ago
B) with external contracts holding those values. This way we can make sure that the information flow is following a clear logic and nobody else can access this information.
upvoted 0 times
...
Rebecka
16 days ago
A) with private state variables. This way nobody else other than the smart contract itself can see the information
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
3 months ago
I think the best way is to use private state variables.
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