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 operator overloading?

A - yes

B - no

Answer : B

Explanation

No support for operator overloading.

Q 2 - Can you declared multiple types of variables in single declaration in Go?

A - true

B - false

Answer : A

Explanation

Yes! Variables of different types can be declared in one go using type inference.

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.

Answer : C

Explanation

Both of the above options are correct.

Answer : D

Explanation

All of the above options are correct.

Q 8 - Go programming implementations use a traditional compile and link model to generate executable binaries.

A - false

B - true

Answer : B

Explanation

Go programming implementations use a traditional compile and link model to generate executable binaries.

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

A - false

B - true

Answer : B

Explanation

Yes! Pointer types are derived types.

Q 10 - An lvalue may appear as either the left-hand or right-hand side of an assignment.

A - false

B - true

Answer : B

Explanation

An lvalue may appear as either the left-hand or right-hand side of an assignment.


go_questions_answers.htm

Advertisements