Skip to content

GO Programming MCQ Questions

0
Answered
0
Correct
0%
Accuracy
Q1 Easy

What is the common way to have several executables in your project?

Q2 Easy

What is the correct way to pass this as a body of an HTTP POST request? data := "A group of Owls is called a parliament"

Q3 Easy

What is the risk of using multiple field tags in a single struct?

Q4 Easy

What is the correct syntax ta start a goroutine that will print Hello Gopher!?

Q5 Easy

What is the difference between the time package’s Time.Sub() and Time.Add() methods?

Q6 Easy

What is a channel?

Q7 Easy

What is the select statement used for?

Q8 Easy

What is a side effect of using time.After in a select statement?

Q9 Easy

What is an idiomatic way to customize the representation of a custom struct in a formatted string?

Q10 Easy

What is the value of Read?

Q11 Easy

What is an idiomatic way to pause execution of the current scope until an arbitrary number of goroutines have returned?

Q12 Easy

What is the default case sensitivity of the JSON Unmarshal function?

Report a mistake

What's wrong?