TechnologyProfessionTest
Sort by
Newest
Most popular
Last review
Filter by
Published
20
To review
2
TechnologyProfessionTest
Sort by
Newest
Most popular
Last review
Filter by
Published
20
To review
2
22 questions
Easy
5 votes448 runs0 comment
Write a Go program that prints 1 if test is true, and 0 otherwise.
Communauté W3Dat Nov 29, 2021
Easy
0 vote456 runs0 comment
Write a Go program that prints the string "Hello World" to the console.
Communauté W3Dat Jan 30, 2023
Easy
0 vote452 runs0 comment
What is the default value of a variable in Go?
Communauté W3Dat Nov 29, 2021
Easy
0 vote442 runs0 comment
What are the two files that are created when you run go mod init?
Communauté W3Dat Nov 29, 2021
Easy
0 vote440 runs0 comment
Write a Go program that prints the numbers from 1 to 10
Communauté W3Dat Nov 29, 2021
Medium
0 vote426 runs0 comment
Write a Go program that prints the following lines to the console: line 1, line 2, line 3, line 4
Communauté W3Dat Nov 29, 2021
Medium
0 vote425 runs0 comment
Easy
0 vote316 runs0 comment
Which data type can store any value in Go?
Anonymous authorat Dec 22, 2022
Easy
0 vote37 runs0 comment
Waiting for validation
0 vote0 run0 comment
Waiting for validation
0 vote0 run0 comment
In the code below, how does `ChildEvent` reuse the fields of `ParentEvent`? ```Go package main import "fmt" type ParentEvent struct { IsSet bool } type ChildEvent struct { ParentEvent } func main() { event := ChildEvent{ ParentEvent: ParentEvent{ IsSet: true, }, } fmt.Println(event) } ```
John Pendenqueat Oct 6, 2026
Easy
-1 vote425 runs1 comment
What is the type of the first character of a string in Go?
Communauté W3Dat Nov 29, 2021
Easy
-1 vote132 runs1 comment