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

A - yes

B - no

Answer : B

Explanation

No support for method overloading.

Q 3 - Which of the following operator decreases integer value by one in Go?

A - ++

B - %

C - --

D - None of the above.

Answer : C

Explanation

-- − Decrements operator decreases integer value by one.

Answer : C

Explanation

Both of the above options are correct.

Answer : C

Explanation

Both of the above options are correct.

Q 8 - Go supports type inheritance.

A - true

B - false

Answer : B

Explanation

No support for type inheritance.

Q 9 - Dynamic type variable declaration provides assurance to the compiler that there is one variable existing with the given type and name.

A - true

B - false

Answer : B

Explanation

Static type variable declaration provides assurance to the compiler that there is one variable existing with the given type and name.

Q 10 - The type for a case in select statement must be the a communication channel operation.

A - true

B - false

Answer : A

Explanation

The type for a case in select statement must be the a communication channel operation.

go_questions_answers.htm
Advertisements