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 3 - Which of the following operator checks if the values of two operands are equal or not in Go?

A - !=

B - <>

C - eq

D - None of the above.

Answer : A

Explanation

!= − Checks if the values of two operands are equal or not, if values are not equal then condition becomes true.

Q 4 - Does Go supports function closures?

A - true

B - false

Answer : A

Explanation

Yes! function clousures are supported in Go. Functions closure are anonymous functions and can be used in dynamic programming.

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 : C

Explanation

Both of the above options are correct.

Q 8 - In Go programming language, Programs are constructed using packages, for efficient management of dependencies?

A - false

B - true

Answer : B

Explanation

Programs are constructed using packages, for efficient management of dependencies.

Q 9 - Package statement is a must statement as Go programs runs in packages.

A - true

B - false

Answer : A

Explanation

Package statement is a must statement as Go programs runs in packages.

Q 10 - The term rvalue refers to a data value that is stored at some address in memory.

A - true

B - false

Answer : A

Explanation

The term rvalue refers to a data value that is stored at some address in memory.

go_questions_answers.htm
Advertisements