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

Explanation

If you are using nested loops (i.e., one loop inside another loop), the break statement will stop the execution of the innermost loop and start executing the next line of code after the block.

Answer : C

Explanation

Both of the above options are correct.

Answer : D

Explanation

All of the above options are correct.

Q 8 - Go supports pointer arithmetics.

A - true

B - false

Answer : B

Explanation

No support for pointer arithmetic.

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

Useful Video Courses


Video

Inverse Trigonometric Function

64 Lectures 6.5 hours

Ridhi Arora

Video

Google Plus Online Training

20 Lectures 2.5 hours

Asif Hussain

Video

Oracle GoldenGate Online Training

22 Lectures 4 hours

Dilip Padmanabhan

Video

Simulation with LOGO!Soft

48 Lectures 6 hours

Arnab Chakraborty

Video

Google Tag Manager Online Training

7 Lectures 1 hours

Aditya Kulkarni

Video

MongoDB Online Training

44 Lectures 3 hours

Arnab Chakraborty

Advertisements