All quizzes
Free quiz · 50 questions in the bank

Go quiz

Test your Go knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What does the `:=` blank identifier `_` do?

In this round
  1. What does the `:=` blank identifier `_` do?
  2. What is a goroutine?
  3. Which built-in adds an element to a slice?
  4. What does `defer` do?
  5. What does the `:=` operator do that `=` does not?
  6. What does this compute: `len([]int{1, 2, 3, 4})`?
  7. What is the right way to declare a struct?
  8. How do you pause until a channel receives a value?
  9. What does `go fmt` do?
  10. Which idiomatic pattern returns errors from a function?
  11. Which built-in returns the capacity (not length) of a slice?
  12. What does `if err != nil { return err }` represent?
Gaps to close?
Read the curated Go notes — core concepts, patterns, interview prep.
Go notes

More quizzes

.NETAccessibilityAgile MethodologyAlertmanagerAlgorithmsAndroid