Following quiz provides Multiple Choice Questions (MCQs) related to Golang . 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 - In GO programming what will be the default value of a pointer |
|
Show Answer |
Answer is : Option C |
Q 2 - where did the l-value appear in GO programming? |
|
Show Answer |
Answer is : Option C |
Q 3 - IN GO programming, what we call a function which runs concurrently with the other functions? |
|
Show Answer |
Answer is : Option B |
Q 4 - Select the correct output for the following GO programming code snippet package main import "fmt" func lenTest() { data := make([]int, 5) for i := 0; i < 3; i++ { data[i] = i } fmt.Println(len(data), cap(data), data) } func main() { lenTest() } |
|
Show Answer |
Answer is : Option B |
Q 5 - In GO programming, which keyword is used to skip the loop part and start the loop again |
|
Show Answer |
Answer is : Option D |
Q 6 - Which is true about the 'for loop' in Go programming? |
|
Show Answer |
Answer is : Option D |
Q 7 - In GO programming, can we declare multiple variable types in a single declaration |
|
Show Answer |
Answer is : Option A |
Q 8 - Select the correct statement about nil pointer in the GO programming language |
|
Show Answer |
Answer is : Option D |
Q 9 - Select the correct statement about the GO programming language |
|
Show Answer |
Answer is : Option C |
Q 10 - Select the right option "GO programming supports Generic programming" |
|
Show Answer |
Answer is : Option B |