Go/Golang Online Test

TestDome skill assessments are used by more than 6,000 companies and 450,000 individual test takers.

Jobseekers: Get a Certificate

Take a Practice Test

Companies: Try First, Pay Later

Sign Up To Use This Test

The Go/Golang online test assesses candidates' knowledge of programming in Go language and their ability to leverage commonly used built-in functions.

It's an ideal test for pre-employment screening. A good Go developer needs to be able not only to solve problems using Go as the programming language but also recognize when to take advantage of its rich set of built-in functions.

This test requires candidates to be able to solve coding problems in Go and find and fix bugs in Go programs.

Recommended Job Roles
Back-End Developer
Go Developer
Sample Candidate Report

Sample Free Questions

Merge Names


Go Slices Public New

Implement the uniqueNames function. When passed two slices of names, it will return a slice containing the names that appear in either or both slices. The returned slice should have no duplicates.

For example, calling uniqueNames([]string{"Ava", "Emma", "Olivia"}, []string{"Olivia", "Sophia", "Emma"}) should return a slice containing Ava, Emma, Olivia, and Sophia in any order.

Quadratic Equation


Go Arithmetic Public New

Implement the function findRoots to find the roots of the quadratic equation: ax2 + bx + c = 0. If the equation has only one solution, the function should return that solution as both results. The equation will always have at least one solution.

The roots of the quadratic equation can be found with the following formula: A quadratic equation.

For example, the roots of the equation 2x2 + 10x + 8 = 0 are -1 and -4.

Numeric Input


Go Interfaces Public New

User interface contains NumericInput control, which accepts only digits.

Extend NumericInput structure so that:

  • It implements UserInput interface.
  • Add(rune) should add only decimal digits to the input. Other runes should be ignored.
  • GetValue() should return the current input.

For example, the following code should output "10":

var input UserInput = &NumericInput{}
Use Free Questions On a Trial Plan

Premium Questions

The premium question library contains our unique, hand-crafted questions. We offer a refund if you find any of them answered online.

Max Sum, Manager Full Name, Execute Parallel, Fill Channel, Hobbies, Hen
Go Algorithmic thinking Type embedding Channels Multithreading Synchronization Iteration Map Slices Higher order function Interfaces
Score Distribution
# of candidates
Pricing For Premium Questions