15 Core Language questions from the Go bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.the behavior where adding to a slice may allocate a new backing array, so the result must be reassigned to the variable to be visible
B.a lightweight descriptor over a backing array holding a pointer, length and capacity
C.the predeclared identifier that auto-increments within a const block to generate successive enumerated values
D.the default initialized value (0, false, "" or nil) given to a declared variable when no explicit value is supplied
Answer + AI explanation with Pro
2. Which term means: "a lightweight descriptor over a backing array holding a pointer, length and capacity"?
Junior
A.Zero value
B.Slice
C.Array
D.Append realloc trap
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.Slice — a lightweight descriptor over a backing array holding a pointer, length and capacity
B.Slice — a fixed-size sequence whose length is part of its type and which is copied by value on assignment
C.Slice — the predeclared identifier that auto-increments within a const block to generate successive enumerated values
D.Slice — the behavior where adding to a slice may allocate a new backing array, so the result must be reassigned to the variable to be visible
Answer + AI explanation with Pro
4. What is Array?
Junior
A.the behavior where adding to a slice may allocate a new backing array, so the result must be reassigned to the variable to be visible
B.a lightweight descriptor over a backing array holding a pointer, length and capacity
C.the default initialized value (0, false, "" or nil) given to a declared variable when no explicit value is supplied
D.a fixed-size sequence whose length is part of its type and which is copied by value on assignment
Answer + AI explanation with Pro
5. Which term means: "a fixed-size sequence whose length is part of its type and which is copied by value on assignment"?
Junior
A.Append realloc trap
B.Slice
C.iota
D.Array
Answer + AI explanation with Pro
6. Which statement is correct?
Junior
A.Array — the behavior where adding to a slice may allocate a new backing array, so the result must be reassigned to the variable to be visible
B.Array — the default initialized value (0, false, "" or nil) given to a declared variable when no explicit value is supplied
C.Array — a fixed-size sequence whose length is part of its type and which is copied by value on assignment
D.Array — the predeclared identifier that auto-increments within a const block to generate successive enumerated values
Answer + AI explanation with Pro
7. What is Zero value?
Junior
A.the predeclared identifier that auto-increments within a const block to generate successive enumerated values
B.a lightweight descriptor over a backing array holding a pointer, length and capacity
C.the behavior where adding to a slice may allocate a new backing array, so the result must be reassigned to the variable to be visible
D.the default initialized value (0, false, "" or nil) given to a declared variable when no explicit value is supplied
Answer + AI explanation with Pro
8. Which term means: "the default initialized value (0, false, "" or nil) given to a declared variable when no explicit value is supplied"?
Junior
A.Append realloc trap
B.Zero value
C.iota
D.Slice
Answer + AI explanation with Pro
9. Which statement is correct?
Junior
A.Zero value — a lightweight descriptor over a backing array holding a pointer, length and capacity
B.Zero value — a fixed-size sequence whose length is part of its type and which is copied by value on assignment
C.Zero value — the predeclared identifier that auto-increments within a const block to generate successive enumerated values
D.Zero value — the default initialized value (0, false, "" or nil) given to a declared variable when no explicit value is supplied
Answer + AI explanation with Pro
10. What is iota?
Mid
A.the behavior where adding to a slice may allocate a new backing array, so the result must be reassigned to the variable to be visible
B.the default initialized value (0, false, "" or nil) given to a declared variable when no explicit value is supplied
C.the predeclared identifier that auto-increments within a const block to generate successive enumerated values
D.a fixed-size sequence whose length is part of its type and which is copied by value on assignment
Answer + AI explanation with Pro
11. Which term means: "the predeclared identifier that auto-increments within a const block to generate successive enumerated values"?
Mid
A.iota
B.Zero value
C.Append realloc trap
D.Array
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.iota — a fixed-size sequence whose length is part of its type and which is copied by value on assignment
B.iota — the default initialized value (0, false, "" or nil) given to a declared variable when no explicit value is supplied
C.iota — the predeclared identifier that auto-increments within a const block to generate successive enumerated values
D.iota — the behavior where adding to a slice may allocate a new backing array, so the result must be reassigned to the variable to be visible
Answer + AI explanation with Pro
13. What is Append realloc trap?
Senior
A.a lightweight descriptor over a backing array holding a pointer, length and capacity
B.the behavior where adding to a slice may allocate a new backing array, so the result must be reassigned to the variable to be visible
C.a fixed-size sequence whose length is part of its type and which is copied by value on assignment
D.the predeclared identifier that auto-increments within a const block to generate successive enumerated values
Answer + AI explanation with Pro
14. Which term means: "the behavior where adding to a slice may allocate a new backing array, so the result must be reassigned to the variable to be visible"?
Senior
A.Append realloc trap
B.Array
C.Slice
D.Zero value
Answer + AI explanation with Pro
15. Which statement is correct?
Senior
A.Append realloc trap — the default initialized value (0, false, "" or nil) given to a declared variable when no explicit value is supplied
B.Append realloc trap — the behavior where adding to a slice may allocate a new backing array, so the result must be reassigned to the variable to be visible
C.Append realloc trap — a fixed-size sequence whose length is part of its type and which is copied by value on assignment
D.Append realloc trap — a lightweight descriptor over a backing array holding a pointer, length and capacity
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Core Language question come with Pro.