CBDE Practice Test & Exam Dumps
BTA Certified Blockchain Developer - Ethereum Questions 46–50 (page: 11)

Updated On: 9-Feb-2026

The following are value types in Solidity.

  1. Integer, Boolean, Struct, Mapping and Enum.
  2. Integer, Boolean, Enum and Addresses.
  3. Integer, Boolean, Structs and Fixed Point Numbers.

Answer(s): B



To compare a String in Solidity you use:

  1. string1 == string2
  2. the internal function "str_compare(str1,str2)"
  3. you can't directly compare two strings, but one method would be to hash both strings and compare the hashes.
  4. bytes32(string1) == bytes32(string2)

Answer(s): C



If we divide two integers: 5/2, the result is:

  1. 2, because the decimal is truncated.
  2. 3, because it's always rounded.
  3. 2.5, because it's automatically converted into a float.

Answer(s): A



A Struct is a great way:

  1. to define a new datatype in Solidity, so you don't need to use objects of another contract.
  2. to hold instances of other contracts.
  3. to implement pointers to other contracts that can hold new datatypes.

Answer(s): A



A Mapping consists of keys and value.

  1. the Keys can be anything, but the value can't be another mapping or struct.
  2. the Value can be anything, but the key cannot be another mapping, struct, integer or Boolean.
  3. the value can be anything, but the key cannot be another mapping, struct, enum or dynamically sized array.

Answer(s): C



Viewing page 11 of 22
Viewing questions 1 - 0 out of 102 questions


Post your Comments and Discuss Blockchain CBDE exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!