Smart Contracts can be written in:
Suggested Answer: B
Get Premium CBDE Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
32 comments · newest first
WI
Willow
11 months ago
Surprised to see Java mentioned at all, isn't it too heavy for this?
TH
Theodora
11 months ago
Wait, are you sure about C? I thought JavaScript wasn't really used for contracts.
BI
Billy
11 months ago
Totally agree with B, makes the most sense for bytecode.
CA
Carisa
12 months ago
I thought Java was a thing too? Seems odd to exclude it.
JE
Jerry
12 months ago
Definitely B, those are the main languages for smart contracts.
DA
Daren
12 months ago
I’m a bit confused about the language agnosticism claim in option A; I thought smart contracts were mostly tied to specific languages like Solidity.
TW
Twana
1 year ago
I feel like JavaScript is often mentioned in discussions about smart contracts, but I don't recall it being a primary language like Solidity.
PA
Pamella
1 year ago
I think I saw a practice question that mentioned Viper and LLL as alternatives to Solidity, so maybe option B is correct?
RO
Royce
1 year ago
I remember studying that Solidity is the main language for Ethereum, but I'm not sure if other languages can be used too.
GW
Gwenn
1 year ago
I'm leaning towards A. The question says the Ethereum blockchain is "completely language agnostic", which suggests that you can use a variety of languages like Java, C++, and JavaScript to write smart contracts. The cross-compilers part also supports that.
JO
Johnetta
1 year ago
I think the answer is C. Solidity and JavaScript are the two main languages used for building decentralized applications on the Ethereum blockchain. The question specifically mentions "Distributed applications", so that's a clue.
MI
Micaela
1 year ago
Hmm, I'm a bit unsure about this one. I know Solidity is a popular language for Ethereum smart contracts, but I'm not sure about the other options. I'll have to think this through carefully.
FR
Franklyn
1 year ago
I'm pretty confident that the answer is B. Solidity, Viper, LLL and Serpent are the high-level languages that are used to write smart contracts on the Ethereum blockchain.
SH
Shayne
1 year ago
I think I remember discussing how ethical issues often involve transparency and fairness, so I'm leaning towards option C being the least related to ethics.
JA
Jacqueline
1 year ago
I'm a bit of a language polyglot, but I know Solidity is the way to go for Ethereum smart contracts. B is the clear winner here.
TH
Theola
1 year ago
Solidity is powerful and widely used for Ethereum smart contracts.
JA
Jacquline
1 year ago
I think Solidity, Viper, LLL and Serpent are all great options for writing smart contracts.
VI
Vilma
1 year ago
I agree, Solidity is definitely the go-to language for Ethereum smart contracts.
LI
Lili
1 year ago
Haha, I almost went with C thinking JavaScript was the official language. I'm glad I double-checked and saw that Solidity is the main one used.
RO
Rosamond
1 year ago
Haha, I almost went with C thinking JavaScript was the official language. I'm glad I double-checked and saw that Solidity is the main one used.
HU
Hubert
1 year ago
B) Solidity, Viper, LLL and Serpent, because those are high level languages that are compiled down to bytecode.
IV
Ivette
1 year ago
A) Java, C++, Solidity and JavaScript, because the Ethereum Blockchain is completely language agnostic and cross compilers exist for every major language.
AS
Ashton
1 year ago
I was a bit confused between A and B, but B makes more sense since those are the specific languages used for Ethereum smart contracts.
KE
Kenneth
1 year ago
I agree, B does make more sense for Ethereum smart contracts.
NO
Noah
1 year ago
B) Solidity, Viper, LLL and Serpent, because those are high level languages that are compiled down to bytecode.
CH
Cherrie
1 year ago
A) Java, C++, Solidity and JavaScript, because the Ethereum Blockchain is completely language agnostic and cross compilers exist for every major language.
LA
Larue
2 years ago
I think the correct answer is B. Solidity, Viper, LLL and Serpent are the high-level languages used for writing smart contracts on the Ethereum blockchain.
MA
Marion
1 year ago
B) Solidity, Viper, LLL and Serpent, because those are high level languages that are compiled down to bytecode.
SO
Soledad
1 year ago
A) Java, C++, Solidity and JavaScript, because the Ethereum Blockchain is completely language agnostic and cross compilers exist for every major language.
TE
Tegan
2 years ago
But I also believe that Java, C++, Solidity and JavaScript can be used, as there are cross compilers for every major language.
KR
Krystina
2 years ago
I agree with Jacklyn, those are the official first implementations for Distributed applications.
JA
Jacklyn
2 years ago
I think Smart Contracts can be written in Solidity and JavaScript.