15 Packages & Tooling 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.a name beginning with an uppercase letter, making it visible to code in other packages
B.a versioned collection of packages defined by a go.mod file that records the import path and dependencies
C.the command that compiles and runs functions prefixed with Test in files ending _test.go
D.an import with an underscore name used solely to trigger a package's side effects without referencing it
Answer + AI explanation with Pro
2. Which term means: "a name beginning with an uppercase letter, making it visible to code in other packages"?
Junior
A.Blank import
B.Exported identifier
C.go test
D.Go module
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.Exported identifier — a versioned collection of packages defined by a go.mod file that records the import path and dependencies
B.Exported identifier — a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
C.Exported identifier — a name beginning with an uppercase letter, making it visible to code in other packages
D.Exported identifier — the command that compiles and runs functions prefixed with Test in files ending _test.go
Answer + AI explanation with Pro
4. What is Go module?
Junior
A.a versioned collection of packages defined by a go.mod file that records the import path and dependencies
B.a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
C.a name beginning with an uppercase letter, making it visible to code in other packages
D.an import with an underscore name used solely to trigger a package's side effects without referencing it
Answer + AI explanation with Pro
5. Which term means: "a versioned collection of packages defined by a go.mod file that records the import path and dependencies"?
Junior
A.Blank import
B.init function
C.go test
D.Go module
Answer + AI explanation with Pro
6. Which statement is correct?
Junior
A.Go module — a versioned collection of packages defined by a go.mod file that records the import path and dependencies
B.Go module — a name beginning with an uppercase letter, making it visible to code in other packages
C.Go module — an import with an underscore name used solely to trigger a package's side effects without referencing it
D.Go module — a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
Answer + AI explanation with Pro
7. What is init function?
Mid
A.a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
B.a versioned collection of packages defined by a go.mod file that records the import path and dependencies
C.a name beginning with an uppercase letter, making it visible to code in other packages
D.an import with an underscore name used solely to trigger a package's side effects without referencing it
Answer + AI explanation with Pro
8. Which term means: "a parameterless, non-callable setup routine that runs automatically once when its package is first loaded"?
Mid
A.init function
B.Exported identifier
C.Go module
D.Blank import
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.init function — an import with an underscore name used solely to trigger a package's side effects without referencing it
B.init function — a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
C.init function — a name beginning with an uppercase letter, making it visible to code in other packages
D.init function — the command that compiles and runs functions prefixed with Test in files ending _test.go
Answer + AI explanation with Pro
10. What is go test?
Junior
A.a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
B.a versioned collection of packages defined by a go.mod file that records the import path and dependencies
C.the command that compiles and runs functions prefixed with Test in files ending _test.go
D.a name beginning with an uppercase letter, making it visible to code in other packages
Answer + AI explanation with Pro
11. Which term means: "the command that compiles and runs functions prefixed with Test in files ending _test.go"?
Junior
A.Exported identifier
B.go test
C.Go module
D.init function
Answer + AI explanation with Pro
12. Which statement is correct?
Junior
A.go test — a name beginning with an uppercase letter, making it visible to code in other packages
B.go test — the command that compiles and runs functions prefixed with Test in files ending _test.go
C.go test — a versioned collection of packages defined by a go.mod file that records the import path and dependencies
D.go test — a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
Answer + AI explanation with Pro
13. What is Blank import?
Mid
A.an import with an underscore name used solely to trigger a package's side effects without referencing it
B.a name beginning with an uppercase letter, making it visible to code in other packages
C.the command that compiles and runs functions prefixed with Test in files ending _test.go
D.a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
Answer + AI explanation with Pro
14. Which term means: "an import with an underscore name used solely to trigger a package's side effects without referencing it"?
Mid
A.Go module
B.go test
C.Exported identifier
D.Blank import
Answer + AI explanation with Pro
15. Which statement is correct?
Mid
A.Blank import — a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
B.Blank import — a versioned collection of packages defined by a go.mod file that records the import path and dependencies
C.Blank import — the command that compiles and runs functions prefixed with Test in files ending _test.go
D.Blank import — an import with an underscore name used solely to trigger a package's side effects without referencing it
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 Packages & Tooling question come with Pro.