WorksheetsGolang Quiz
Total questions: 7
Worksheet time: 4mins
Name
Class
Date
1.
Which company created Go programming language?
2.
What type of language is Go lang?
a)
Compiled Language
b)
Interpreted Language
c)
Both
3.
Choose correct syntax for "hello world" application.
a)
package main
import "fmt"
func main() {
fmt.Println("Hello World"}
b)
func main() {
fmt.Println("Hello World"}
c)
package main
func main() {
fmt.Println("Hello World"}
4.
Which of these is used a keyword declare variables?
a)
var
b)
let
c)
const
d)
None of the above
5.
Which one of the following is NOT a method to declare variables?
a)
var name string
b)
var name string = "kiran"
c)
name := "Kiran"
d)
name == Kiran
6.
In Go, for loop can be used to implement both "for" and "while" loop.
Choose ( True/False)
a)
True
b)
False
7.
Which Microsoft tool did we use today, during the session?
a)
VS Code (visual studio code)
b)
Go Lang IDE
c)
Go Editor
d)
MS Excel
100 %
