What's the difference between go build and go run?
go runjust compiles a program; whereasgo buildboth compiles and runs it.go runboth compiles and runs a program; whereasgo buildjust compiles it. CORRECT
1: It's opposite actually.
2:
go runcompiles your program and puts it in a temporary directory. Then it runs the compiled program in there.
Which directory go build puts the compiled code into?
- The same directory where you call 
go buildCORRECT - $GOPATH/src directory
 - $GOPATH/pkg directory
 - Into a temporary directory.
 
2: There only lives Go source-code files
3: Go only puts your code there when you call
go install.
Which directory go run puts the compiled code into?
- The same directory where you call 
go run - $GOPATH/src directory
 - $GOPATH/pkg directory
 - Into a temporary directory. CORRECT
 
Which one below is true for runtime?
- It happens when your program starts running in a computer CORRECT
 - It happens while your program is being compiled
 
Which one below is true for the compile-time?
- It happens when your program starts running in a computer
 - It happens while your program is being compiled CORRECT
 
In which stage your program can print a message to the console?
- While it's being compiled.
 - While it runs (after compile-time). CORRECT
 - While it runs (inside the compile-time).
 
1: In the compilation step your program cannot print a message. In that stage, it's literally dead.
2: That's right. That's the only time which your program can interact with a computer and instruct it to print a message to the console.
3: Running can only happen after the compile-time