Go Online Quiz



Following quiz provides Multiple Choice Questions (MCQs) related to Go. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Q 1 - Does Go support operator overloading?

A - yes

B - no

Answer : B

Explanation

No support for operator overloading.

Q 4 - Can a Go function be created on the fly and used as values?

A - true

B - false

Answer : A

Explanation

Functions can be created on the fly and can be used as values.

Q 5 - Can you define a pointer to pointer in Go?

A - true

B - false

Answer : A

Explanation

Yes! Go allows you to have pointer on a pointer and so on.

Answer : D

Explanation

All of the above options are correct.

Q 8 - Go programming language is strongly and statically typed, provides inbuilt support for garbage collection?

A - true

B - false

Answer : A

Explanation

Go programming language is strongly and statically typed, provides inbuilt support for garbage collection.

Q 9 - The first line of the program package defines the package name in which a Go program should lie.

A - true

B - false

Answer : A

Explanation

The first line of the program package defines the package name in which a Go program should lie.

Q 10 - You can have any number of case statements within a select statement in Go.

A - true

B - false

Answer : A

Explanation

You can have any number of case statements within a select statement in Go.

go_questions_answers.htm
Advertisements