Trivial pursuit

How well do you know your Go trivia?

Jane Elizabeth
Eclipse IDE Jenkins Akka npm MapR GitLab Sauce Labs JavaFX MicroProfile Apache Cassandra NetBeans Theia jOOQ Docker ArangoDB Hyperledger Couchbase Apache Spark JUnit
© Shutterstock / Frazao

We’re back with a new programming pub quiz! This week, we’re testing your knowledge about Go. Do you know everything there is to know about this old favorite?

It’s time for another programming pub quiz. Today, we’re testing your knowledge of Go trivia! Go has gained a huge number of followers in the past few years. While it may be a free-time programming language, Go has a lot to offer developers, not the least a dedicated use at Google.

Let’s get down to business and test your knowledge of Go trivia!

1.  When was Go created?
a) 2007
b) 2009
c) 2011
d) 2012

2.  Is Go dynamically typed or statically typed?
a) Dynamic

b) Static

3.  Go deliberately excludes a lot of things. Which of the following is used in Go?
a) generic programming
b) assertions
c) garbage collection
d) pointer arithmetic

4.  Go was explicitly designed to be brief and simple. True or False?
a) True
b) False

SEE MORE: Go is a ‘free time’ programming language, survey shows

5.  Go is very similar to C. True or False?
a) Yes
b) No

6.  Go has a number of types. Which of the following is not supported by Go?
a) Numeric types
b) Alpha types
c) Boolean types
d) Record types

7.  Do you need to use : in Go?
a) Yes
b) No
c) Only if you want to

8.  Where does the source code for libraries go?
a) Source code for libraries lives in the cloud.
b) Source code for libraries live on your hard drive.
c) Source code for libraries are to be imported into the source of the project.
d) Source code for libraries are to be kept separate.


SEE MORE: How Go’s typing system differs from OOP in Java


1.  b) 2009. Although Go was created at Google in 2009 by Robert Griesemer, Rob Pike, and Ken Thompson, it was several years until Go 1.0 was released March 2012.

2.  b) Static. Go was specifically designed to be statically typed and scalable to large systems (as Java and C++).

3.  c) Garbage Collection. Go deliberately omits certain features common in other languages, including (implementation) inheritance, generic programming, assertions, pointer arithmetic, and implicit type conversions.

4. a.) True. All three of Go’s designers cited their shared dislike of C++’s complexity as a primary motivation for designing a new language. They were trying to improve brevity, simplicity, and safety.

5.  a) True. The syntax of Go is very similar to C. However, there are some differences including the declarations type. Go is also missing the parenthesis around if and for expressions.

6.  b) Alpha types. Hopefully, you noticed the one that I just made up. However, Go supports a number of types.

7.  c) Only if you want to.  You can use them, but you don’t need to. Inserting them is a preprocessing step in the source code, and it is effective.

8.  c) Source code for libraries are to be imported into the source of the project. Fair enough, Go.


How well did you do? Do you know your Go trivia?

0-3 correct: You’re just a Go beginner. Time to go through a comprehensive tutorial on JavaScript and do a bit more studying.

4-5 correct: You’re pretty solid in your Go trivia, but you still might need to pay a little more attention to the details.

6-7 correct: Nice! You really know your stuff!

8 correct: You are a Go master. Practically a Go dan.

Programming Pub Quiz

Have you tried our other pub quizzes? Test your knowledge of other programming languages!

buy your tickets asap

Jane Elizabeth
Jane Elizabeth is an assistant editor for

Inline Feedbacks
View all comments