forked from microsoft/aed-go-learn-content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7-summary.yml
42 lines (42 loc) · 1.56 KB
/
7-summary.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
### YamlMime:ModuleUnit
uid:
metadata:
title: Summary
description: Summary
ms.date:
author: meaghanlewis
ms.author: shanama
ms.topic: interactive-tutorial
ms.prod: learning-azure
title: Summary
durationInMinutes: 1
content: |
[!include[](includes/7-summary.md)]
quiz:
title: Check your knowledge
questions:
- content: " What’s the single command for executing and compiling Go apps?"
choices:
- content: "go build"
isCorrect: false
explanation: "go build compiles the the program and generates the binary executable, but doesn't run the program"
- content: "go run"
isCorrect: true
explanation: "go run compiles and runs the program, but doesn't generate the binary executable"
- content: "go install"
isCorrect: false
explanation: "go install compiles, generates the binary, and moves it to the $GOBIN directory (doesn't run the program)"
- content: "go compile"
isCorrect: false
explanation: "go compile is an invalid command"
- content: "Where should you place your project files in your workstation?"
choices:
- content: "Anywhere I want"
isCorrect: false
explanation: "Althoug this is true, we haven't covered how to do it yet"
- content: "At the root file system"
isCorrect: false
explanation: "Partially true, but we haven't covered how to create projects outside of the $GOPATH yet"
- content: "At the workspace directory"
isCorrect: true
explanation: "At the moment, this is the only option we've explored, then it's the correct answer"