Question Bank
1899 approved questions from the community
What is `sync.WaitGroup` used for in Go?
Why does the code `const someConst = x + y` fail when x and y are variables?
What data structure does Go's `container/heap` package implement?
What is the purpose of the `defer` keyword in Go?
What is the issue with converting integer 101 to string using `string(101)` in Go?
What is the idiomatic way to handle errors in Go?
What is an interface in Go?
In Go, interface implementation is implicit - a type implements an interface by implementing its methods without explicit declaration.
Which of the following are valid ways to iterate over a slice in Go? (Select all that apply)
Modifying slice elements using index notation in a function will modify the original slice.
Which of the following are application layer protocols? (Select all that apply)
Which of the following are steps in the DHCP process? (Select all that apply)
What are ICMP used for? (Select all that apply)
What happens when you send a packet larger than the MTU with IPv4?
What is SDN (Software-Defined Networking)?
What is a VLAN?
When performing a search query, what is more important: latency or throughput?
What is the main difference between a hub and a switch?
At which OSI layer does a router operate?
What does ARP (Address Resolution Protocol) do?