Sobes.tech

// Question 3. What will be displayed on the screen package main import "fmt" import "math" func main() { i := int32(math.Pow(2, 64)) fmt.Println(i) }

198

// Question 4. What will be displayed on the screen package main import "fmt" func subis(is []int) []int { return append(is, 5) } func main() { is := []int{1, 2, 3, 4} subis(is[2:3]) fmt.Println(is) }

197

What are the advantages and disadvantages of moving part of the business logic to the database (triggers, procedures)?

195

If we write to master with a large stream, and read from replicas — how does synchronization of the master with the replica occur?

195

The math.Pow function returns float64, we explicitly specify int32 and try to fit a large number — what will happen?

192

Tell me about slices in Go: what are they, what do they consist of, and what happens when you append to a slice in a function?

191
/11