Go Online Quiz


Advertisements


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 generic programming?

A - yes

B - no

Answer : B

Explanation

No support for generic programming.

Answer : C

Explanation

Both of the above options are correct.

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.

Answer : D

Explanation

All of the above options are correct.

Q 8 - Go supports operator overloading.

A - true

B - false

Answer : B

Explanation

No support for operator overloading.

Q 9 - In Go language, Structure types are derived types.

A - false

B - true

Answer : B

Explanation

Yes! Structure types are derived types.

Q 10 - Numeric literals are lvalues and so may not be assigned and can not appear on the left-hand side.

A - true

B - false

Answer : B

Explanation

Numeric literals are rvalues and so may not be assigned and can not appear on the left-hand side.


go_questions_answers.htm

Advertisements