1. What is Struct ? Junior A. a section that attaches methods and associated functions to a particular type B. a custom type aggregating named fields into a single record C. a type defined as a fixed set of alternative variants, each of which may carry its own data D. a named type whose fields are positional and unnamed, accessed by numeric index Reveal the answer + AI explanation — free account
2. Which term means: "a custom type aggregating named fields into a single record"? Junior A. Enum B. Impl block C. Tuple struct D. Struct Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. Struct — a named type whose fields are positional and unnamed, accessed by numeric index B. Struct — a section that attaches methods and associated functions to a particular type C. Struct — a custom type aggregating named fields into a single record D. Struct — a type defined as a fixed set of alternative variants, each of which may carry its own data Reveal the answer + AI explanation — free account
4. What is Tuple struct ? Junior A. a function namespaced to a type that takes no self receiver, commonly used as a constructor such as new B. a custom type aggregating named fields into a single record C. a named type whose fields are positional and unnamed, accessed by numeric index D. a type defined as a fixed set of alternative variants, each of which may carry its own data Reveal the answer + AI explanation — free account
5. Which term means: "a named type whose fields are positional and unnamed, accessed by numeric index"? Junior A. Tuple struct B. Enum C. Struct D. Impl block Reveal the answer + AI explanation — free account
6. Which statement is correct? Junior A. Tuple struct — a function namespaced to a type that takes no self receiver, commonly used as a constructor such as new B. Tuple struct — a named type whose fields are positional and unnamed, accessed by numeric index C. Tuple struct — a type defined as a fixed set of alternative variants, each of which may carry its own data D. Tuple struct — a section that attaches methods and associated functions to a particular type Reveal the answer + AI explanation — free account
7. What is Enum ? Junior A. a custom type aggregating named fields into a single record B. a named type whose fields are positional and unnamed, accessed by numeric index C. a type defined as a fixed set of alternative variants, each of which may carry its own data D. a section that attaches methods and associated functions to a particular type Reveal the answer + AI explanation — free account
8. Which term means: "a type defined as a fixed set of alternative variants, each of which may carry its own data"? Junior A. Associated function B. Enum C. Tuple struct D. Impl block Reveal the answer + AI explanation — free account
9. Which statement is correct? Junior A. Enum — a custom type aggregating named fields into a single record B. Enum — a function namespaced to a type that takes no self receiver, commonly used as a constructor such as new C. Enum — a type defined as a fixed set of alternative variants, each of which may carry its own data D. Enum — a section that attaches methods and associated functions to a particular type Reveal the answer + AI explanation — free account
10. What is Impl block ? Mid A. a section that attaches methods and associated functions to a particular type B. a custom type aggregating named fields into a single record C. a named type whose fields are positional and unnamed, accessed by numeric index D. a function namespaced to a type that takes no self receiver, commonly used as a constructor such as new Reveal the answer + AI explanation — free account
11. Which term means: "a section that attaches methods and associated functions to a particular type"? Mid A. Struct B. Enum C. Impl block D. Associated function Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. Impl block — a section that attaches methods and associated functions to a particular type B. Impl block — a named type whose fields are positional and unnamed, accessed by numeric index C. Impl block — a type defined as a fixed set of alternative variants, each of which may carry its own data D. Impl block — a custom type aggregating named fields into a single record Reveal the answer + AI explanation — free account
13. What is Associated function ? Mid A. a named type whose fields are positional and unnamed, accessed by numeric index B. a section that attaches methods and associated functions to a particular type C. a type defined as a fixed set of alternative variants, each of which may carry its own data D. a function namespaced to a type that takes no self receiver, commonly used as a constructor such as new Reveal the answer + AI explanation — free account
14. Which term means: "a function namespaced to a type that takes no self receiver, commonly used as a constructor such as new"? Mid A. Enum B. Tuple struct C. Impl block D. Associated function Reveal the answer + AI explanation — free account
15. Which statement is correct? Mid A. Associated function — a type defined as a fixed set of alternative variants, each of which may carry its own data B. Associated function — a custom type aggregating named fields into a single record C. Associated function — a function namespaced to a type that takes no self receiver, commonly used as a constructor such as new D. Associated function — a section that attaches methods and associated functions to a particular type Reveal the answer + AI explanation — free account