TechnologyProfessionTest
Sort by
Newest
Most popular
Last review
Filter by
Published
20
To review
9
TechnologyProfessionTest
Sort by
Newest
Most popular
Last review
Filter by
Published
20
To review
9
29 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
Waiting for validation
0 vote0 run0 comment
Waiting for validation
0 vote0 run0 comment
Which statements are true? (multiple answers) ```Go func fetch(ctx context.Context, i int) error { return fmt.Errorf("error from goroutine %d", i) } func main() { g, _ := errgroup.WithContext(context.Background()) for i := range 1000 { g.Go(func() error { return fetch(context.Background(), i) }) } err := g.Wait() if err != nil { fmt.Println(err) } } ```
John Pendenqueat Oct 11, 2026