Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Blockchain CBDE Exam - Topic 4 Question 80 Discussion

Posted by Belen on Dec 26, 2023 at 03:40 PM

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

Suggested Answer: A

Get Premium CBDE Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
38 comments · newest first
VI
Vi 11 months ago
I agree with A, it's the safest option for sensitive info.
MA
Malcolm 11 months ago
Wait, are we sure about C? I thought some data could be obscured.
SH
Shanice 11 months ago
C is spot on, nothing is truly hidden on the blockchain!
VI
Vivienne 12 months ago
I think B makes more sense for logic flow.
AL
Alease 12 months ago
Definitely A, private state variables are the way to go!
AL
Alexis 12 months ago
I’m pretty sure we talked about how nothing is truly hidden on the blockchain, so option C makes sense to me, but I’m still a bit confused about the details.
TO
Tommy 1 year ago
I feel like external contracts could be a way to manage access, but I can't recall the exact benefits compared to private variables.
AR
Arthur 1 year ago
I think we practiced a similar question about data privacy in smart contracts, and I leaned towards option C because of the public nature of blockchains.
CA
Carmen 1 year ago
I remember discussing private state variables in class, but I'm not entirely sure if they really keep everything hidden from external access.
CR
Crissy 1 year ago
I'm leaning towards A. Private state variables in the smart contract seem like the most secure way to hide opponent values and prevent unauthorized access. But I'll double-check the other options just to be sure.
LI
Lizette 1 year ago
I'm a bit confused by this question. Hiding information on the blockchain seems tricky. I'll have to review the material on game programming and blockchain security before I can decide.
BE
Bernardo 1 year ago
C seems like the obvious answer to me. You can't really hide anything on the blockchain since it's a public ledger. The best you can do is limit access to that information.
PE
Peggie 1 year ago
Hmm, I'm not sure about this one. I was thinking B might be the right answer, with external contracts holding the hidden values. But I'll have to think it through more carefully.
KE
Kenneth 1 year ago
I think the answer is A. Using private state variables in the smart contract seems like the best way to hide opponent values and keep the information secure.
ST
Stephen 1 year ago
I feel pretty confident about this one. I think the best solution is to use a Before Save flow to enforce the requirement to select the Product Type or check the Needs Review box.
DO
Donte 1 year ago
Hmm, this looks like a tricky one. I'll need to carefully review the risk matrix and think about which coverage types would be most appropriate for each component based on the risk levels.
OR
Orville 1 year ago
I think access to technical expertise could be a key benefit since Company Q has top employees in their field.
DA
Dahlia 1 year ago
Okay, let me think this through step-by-step. We need to reserve 10 MB for high priority traffic and redirect lower-priority traffic to the second interface when it exceeds 20 MB. I think Option C might be the right solution, but I'll double-check the details.
BU
Bulah 1 year ago
I don't know, man. Hiding stuff on the blockchain? Sounds like a job for a magician, not a programmer!
NA
Na 1 year ago
A) Yep, that's the way to go. Private state variables all the way! Keeps the game fair and square.
LE
Lelia 1 year ago
C) Haha, that's true! You can't really hide anything on the blockchain. Might as well just embrace the transparency!
GI
Gilbert 1 year 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.
CO
Colby 1 year ago
↳ replying to Gilbert
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.
BR
Britt 1 year ago
↳ replying to Gilbert
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.
BR
Brinda 1 year ago
↳ replying to Gilbert
A) with private state variables. This way nobody else other than the smart contract itself can see the information
LI
Ligia 1 year ago
↳ replying to Gilbert
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.
CL
Clay 1 year ago
↳ replying to Gilbert
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.
GR
Gracia 1 year ago
↳ replying to Gilbert
A) with private state variables. This way nobody else other than the smart contract itself can see the information
SI
Silva 2 years ago
A) Looks good! Hiding state variables within the smart contract itself is a great way to keep opponent values private.
AL
Alaine 1 year ago
↳ replying to Silva
A) Looks good! Hiding state variables within the smart contract itself is a great way to keep opponent values private.
DI
Dino 1 year ago
↳ replying to Silva
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.
RE
Rebecka 1 year ago
↳ replying to Silva
A) with private state variables. This way nobody else other than the smart contract itself can see the information
HE
Helaine 2 years ago
I think both options have their merits, but ultimately on the blockchain, the information is public.
LO
Lorean 2 years ago
I disagree, I believe using external contracts to hold those values is more secure.
RO
Rodrigo 2 years ago
I think the best way to hide opponents values is with private state variables.
LO
Lonny 2 years ago
But wouldn't that make the information more vulnerable to external attacks?
DO
Dorian 2 years ago
I disagree, I believe external contracts holding those values is more secure.
LO
Lonny 2 years ago
I think the best way is to use private state variables.
0/2000 characters

Save Cancel