
- Go Tutorial
- Go - Home
- Go - Overview
- Go - Environment Setup
- Go - Program Structure
- Go - Basic Syntax
- Go - Data Types
- Go - Variables
- Go - Constants
- Go - Operators
- Go - Decision Making
- Go - Loops
- Go - Functions
- Go - Scope Rules
- Go - Strings
- Go - Arrays
- Go - Pointers
- Go - Structures
- Go - Slice
- Go - Range
- Go - Maps
- Go - Recursion
- Go - Type Casting
- Go - Interfaces
- Go - Error Handling
- Go Useful Resources
- Go - Questions and Answers
- Go - Quick Guide
- Go - Useful Resources
- Go - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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.

Answer : B
Explanation
No support for type inheritance.
Q 2 - Which of the following is not a floating type in Go?
Answer : A
Explanation
float128 is not a floating type.
Q 3 - Which of the following operator increases integer value by one in Go?
Answer : A
Explanation
++ − Increments operator increases integer value by one.
Answer : A
Explanation
Yes! function clousures are supported in Go. Functions closure are anonymous functions and can be used in dynamic programming.
Q 5 - Which of the following is the default value of a global variable in Go?
Answer : B
Explanation
Default value of a global variable is 0 type value or nil.
Q 6 - Which of the following is correct about slices in Go?
A - Go Slice uses array as an underlying structure.
B - len() function returns the elements presents in the slice.
C - cap() function returns the capacity of slice as how many elements it can be accomodate.
Answer : D
Explanation
All of the above options are correct.
Q 7 - Which of the following is true about for loop in Go if for clause that is ( init; condition; increment ) is present?
A - After init step, the condition is evaluated.
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.
Answer : B
Explanation
Go programming implementations use a traditional compile and link model to generate executable binaries.
Q 9 - Dynamic type variable declaration provides assurance to the compiler that there is one variable existing with the given type and name.
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 - Expressions that refer to a memory location is called "rvalue" expression.
Answer : A
Explanation
Expressions that refer to a memory location is called "lvalue" expression.