New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Blockchain CBDE Exam - Topic 3 Question 93 Discussion

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

Inheritance is useful, because a contract that is derived from another contract can make use of:

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Joni
3 months ago
Not sure about C, seems like it misses a lot of important stuff.
upvoted 0 times
...
Tamra
3 months ago
A is the way to go, no doubt about it!
upvoted 0 times
...
Leonida
4 months ago
Wait, can you really use all public and internal functions? Sounds too good to be true!
upvoted 0 times
...
Vonda
4 months ago
I think B is correct, private variables shouldn't be accessible.
upvoted 0 times
...
Antonette
4 months ago
Definitely A, that's how inheritance works!
upvoted 0 times
...
Claudia
4 months ago
I thought all public state variables and properties were accessible, but I’m confused about the modifiers and whether they’re included in B or A.
upvoted 0 times
...
Tegan
5 months ago
I feel like C is too restrictive since it excludes internal and external functions, but I can't recall the exact rules.
upvoted 0 times
...
Kirby
5 months ago
I remember practicing a question similar to this, and I think it was A because it mentioned both public and internal access.
upvoted 0 times
...
Salena
5 months ago
I think inheritance allows access to public and internal functions, but I'm not sure about the modifiers part.
upvoted 0 times
...
Jodi
5 months ago
I think the key here is understanding the differences between public, internal, and external access modifiers. A good strategy would be to quickly review those before answering the question.
upvoted 0 times
...
Raylene
5 months ago
Okay, I got this. The answer is A - a derived contract can access all public state variables, properties, functions, and modifiers from the base contract. The other options are too restrictive.
upvoted 0 times
...
Jovita
5 months ago
Hmm, I'm a bit unsure about this one. I know inheritance is important, but I'm not totally clear on the specifics of what gets inherited. I'll need to review my notes on access modifiers before answering.
upvoted 0 times
...
Ronnie
5 months ago
I think this is a pretty straightforward question. The key is understanding the different access modifiers in Solidity and how they affect inheritance.
upvoted 0 times
...
Shizue
5 months ago
I'm a little confused by the wording of the question. Can a derived contract really access private variables and functions from the base contract? That doesn't seem right to me, but I could be misremembering the rules around inheritance.
upvoted 0 times
...
Roselle
5 months ago
I'm a bit confused here. The question mentions the share price was static before the announcement, but then dropped 20% after. Does that rule out weak form efficiency? I'm not totally sure which option is the best fit.
upvoted 0 times
...
Francine
5 months ago
Okay, let me see... Licensure grants the legal authority to operate, while regulation sets the rules and standards. I think A is the correct choice for this question.
upvoted 0 times
...
Sol
5 months ago
Ah, this is a good one. I remember learning about Axis camera I/O ports in my networking class. I think the answer is 5V, so I'll select option C.
upvoted 0 times
...
Shanda
10 months ago
Woah, this is a tricky one! I'm gonna go with B, just to be safe. Can't go wrong with public and private variables, right?
upvoted 0 times
Ty
9 months ago
User1: That's a good point, but I still think B covers all the important variables and functions.
upvoted 0 times
...
Eileen
9 months ago
User3: I'm not so sure, I think A might be the correct answer. Public and internal functions are also useful.
upvoted 0 times
...
Teri
10 months ago
User2: Yeah, I agree. It's always good to be safe when it comes to inheritance.
upvoted 0 times
...
Rosalyn
10 months ago
User1: I think B is the right choice too. Public and private variables are important.
upvoted 0 times
...
...
Lenna
11 months ago
Haha, this question reminds me of that time I tried to inherit my dad's debt. Turns out that's not how it works! Anyway, I'm going with option A.
upvoted 0 times
Shaunna
10 months ago
Yeah, option A is the right choice. Inheritance is a powerful feature in Solidity.
upvoted 0 times
...
My
10 months ago
I think option A is correct, you can inherit all public state variables and functions.
upvoted 0 times
...
...
Carmelina
11 months ago
I was a bit confused by the options, but I think C is the right answer. The question specifically mentions public state variables, properties, and functions, which matches C.
upvoted 0 times
...
Meghann
11 months ago
Option A seems to be the correct answer. Inheritance allows a derived contract to access all the public state variables, properties, and functions of the base contract.
upvoted 0 times
Katina
9 months ago
Exactly, it helps in reusability and maintaining code consistency.
upvoted 0 times
...
Glory
9 months ago
So, inheritance is like extending the functionality of a contract?
upvoted 0 times
...
Cletus
9 months ago
Yes, that's right. It's a powerful feature of Solidity.
upvoted 0 times
...
Ahmad
10 months ago
I think option A is correct, inheritance allows access to all public state variables and functions.
upvoted 0 times
...
...
Josue
11 months ago
I see your point, Martina, but I still think the correct answer is C. Only public state variables and functions should be inherited.
upvoted 0 times
...
Martina
11 months ago
I disagree, I believe the answer is B. Private state variables should not be accessible by derived contracts.
upvoted 0 times
...
An
11 months ago
I think the answer is A, because derived contracts can access all public state variables and functions.
upvoted 0 times
...

Save Cancel