github repo for rest of specialization: Data Science Coursera
Which of the following commands will create a directory called data in your current working directory?
mkdir /Users/data
mkdir data
pwd data
mkdir ../data
Answer: mkdir data
Which of the following will initiate a git repository locally?
git merge
git pull
git init
git push
Answer: git init
Suppose you have forked a repository called datascientist on Github but it isn’t on your local computer yet. Which of the following is the command to bring the directory to your local computer?
(For this question assume that your user name is username)
git init
git pull datascientist master
Answer: * git clone https://github.com/username/datascientist.git
Which of the following will create a markdown document with a secondary heading saying “Data Science Specialization” and an unordered list with the following for bullet points: Uses R, Nine courses, Goes from raw data to data products
Option 1:
*h2 Data Science Specialization
* Uses R
* Nine courses
* Goes from raw data to data product
Option 2:
### Data Science Specialization
* Uses R
* Nine courses
* Goes from raw data to data products
Option 3:
## Data Science Specialization
li Uses R
li Nine courses
li Goes from raw data to data products
Option 4:
*** Data Science Specialization
* Uses R
* Nine courses
* Goes from raw data to data products
Option 5:
## Data Science Specialization
* Uses R
* Nine courses
* Goes from raw data to data products
Answer:
## Data Science Specialization
* Uses R
* Nine courses
* Goes from raw data to data products
Install and load the KernSmooth R package. What does the copyright message say?
Copyright KernSmooth 1997-2009
Copyright M. P. Wand 1997-2013
Copyright M. P. Wand 1997-2009
Copyright Coursera 2009-2013
install.packages("KernSmooth")
library("KernSmooth")
# Answer
# Copyright M. P. Wand 1997-2009