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

Q 1 - Which of the following is true about dynamic type declaration of a variable in Go?
B - Compiler don't need a variable to have type statically as a necessary requirement.
Answer : C
Explanation
Both of the above options are correct.
Q 2 - Which of the following is a derived type in Go?
Answer : D
Explanation
All of the above are derived types.
Q 3 - Which of the following is true about for loop statement in Go?
A - if condition is available, then for loop executes as long as condition is true.
B - if range is available, then for loop executes for each item in the range.
Answer : C
Explanation
Both of the above options are correct.
Q 4 - Which of the following is true about break statement in Go?
B - It can be used to terminate a case in the switch statement.
Answer : C
Explanation
Both of the above options are correct.
Q 5 - Which of the following is true about formal parameters in Go?
A - Function parameters, formal parameters, are treated as local variables with-in that function.
Answer : C
Explanation
Both of the above options are correct.
Q 6 - Which of the following function returns the capacity of slice as how many elements it can be accomodate?
Answer : C
Explanation
cap() function returns the capacity of slice as how many elements it can be accomodate.
Q 7 - Which of the following is correct about interfaces in Go?
Answer : C
Explanation
Both of the above options are correct.
Q 8 - In which of the following method of parameter passing, changes made to the parameter inside the function have effect on the argument?
Answer : B
Explanation
Call by reference − changes made to the parameter inside the function have effect on the argument.
Answer : A
Explanation
Yes! Go is a case sensitive programming language.
Answer : A
Explanation
No! Slice types are derived types.