Packages & Tooling interview questions

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.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is Exported identifier?

Junior
  1. A.a name beginning with an uppercase letter, making it visible to code in other packages
  2. B.a versioned collection of packages defined by a go.mod file that records the import path and dependencies
  3. C.the command that compiles and runs functions prefixed with Test in files ending _test.go
  4. 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
  1. A.Blank import
  2. B.Exported identifier
  3. C.go test
  4. D.Go module

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.Exported identifier — a versioned collection of packages defined by a go.mod file that records the import path and dependencies
  2. B.Exported identifier — a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
  3. C.Exported identifier — a name beginning with an uppercase letter, making it visible to code in other packages
  4. 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
  1. A.a versioned collection of packages defined by a go.mod file that records the import path and dependencies
  2. B.a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
  3. C.a name beginning with an uppercase letter, making it visible to code in other packages
  4. 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
  1. A.Blank import
  2. B.init function
  3. C.go test
  4. D.Go module

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.Go module — a versioned collection of packages defined by a go.mod file that records the import path and dependencies
  2. B.Go module — a name beginning with an uppercase letter, making it visible to code in other packages
  3. C.Go module — an import with an underscore name used solely to trigger a package's side effects without referencing it
  4. 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
  1. A.a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
  2. B.a versioned collection of packages defined by a go.mod file that records the import path and dependencies
  3. C.a name beginning with an uppercase letter, making it visible to code in other packages
  4. 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
  1. A.init function
  2. B.Exported identifier
  3. C.Go module
  4. D.Blank import

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.init function — an import with an underscore name used solely to trigger a package's side effects without referencing it
  2. B.init function — a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
  3. C.init function — a name beginning with an uppercase letter, making it visible to code in other packages
  4. 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
  1. A.a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
  2. B.a versioned collection of packages defined by a go.mod file that records the import path and dependencies
  3. C.the command that compiles and runs functions prefixed with Test in files ending _test.go
  4. 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
  1. A.Exported identifier
  2. B.go test
  3. C.Go module
  4. D.init function

Answer + AI explanation with Pro

12. Which statement is correct?

Junior
  1. A.go test — a name beginning with an uppercase letter, making it visible to code in other packages
  2. B.go test — the command that compiles and runs functions prefixed with Test in files ending _test.go
  3. C.go test — a versioned collection of packages defined by a go.mod file that records the import path and dependencies
  4. 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
  1. A.an import with an underscore name used solely to trigger a package's side effects without referencing it
  2. B.a name beginning with an uppercase letter, making it visible to code in other packages
  3. C.the command that compiles and runs functions prefixed with Test in files ending _test.go
  4. 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
  1. A.Go module
  2. B.go test
  3. C.Exported identifier
  4. D.Blank import

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.Blank import — a parameterless, non-callable setup routine that runs automatically once when its package is first loaded
  2. B.Blank import — a versioned collection of packages defined by a go.mod file that records the import path and dependencies
  3. C.Blank import — the command that compiles and runs functions prefixed with Test in files ending _test.go
  4. 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.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers