大学MOOC R语言编程(汕头大学)1460512164 最新慕课完整章节测试答案
第1周R语言介绍
文章目录
Quiz 1
1、单选题:
Which of the following variable definition is correct?
选项:
A: 2ch
B: -min
C: a_3
D: if
答案: 【 a_3】
2、单选题:
How to load the third-party package into the workspace?
选项:
A: call
B: library
C: install
D: source
答案: 【 library】
3、单选题:
Which is the correct help function?
选项:
A: Help()
B: help()
C: HELP()
D: help
答案: 【 help()】
4、单选题:
What are the values of x and y after running the following R codes?x = 3
y = 5
x = x + y
y = x - y
x = x - y
选项:
A: 5,3
B: 3,5
C: 3,3
D: 5,5
答案: 【 5,3】
5、填空题:
What is the command to install a new package ``plyr’’?
答案: 【 install.packages("plyr")】
R语言介绍随堂测验
1、判断题:
Is R an open-source software?
选项:
A: 正确
B: 错误
答案: 【 正确】
2、判断题:
Is R free?
选项:
A: 正确
B: 错误
答案: 【 正确】
单元测验(一)
1、单选题:
在R语言中,以下变量定义正确的是
选项:
A: 3com
B: -min
C: a_3
D: if
答案: 【 a_3】
2、单选题:
R语言加在第三方包时,会使用到的函数名是?
选项:
A: call
B: library
C: source
D: install
答案: 【 library】
3、单选题:
下面四个函数中,哪一个是正确的帮助函数?
选项:
A: Help()
B: HELP()
C: help()
D: 以上均正确
答案: 【 help()】
4、单选题:
现有以下几条R语句,请问运行之后,x和y的值分别是多少?> x=3> y=5> x=x+y> y=x-y> x=x-y
选项:
A: 5,3
B: 3,5
C: 3,3
D: 5,5
答案: 【 5,3】
5、填空题:
如欲在R语言中安装第三方包,包的名字是“plyr”,则安装语句是?
答案: 【 install.packages("plyr")】
第2周创建数据集 - 数据集的概念
Quiz 2
1、单选题:
How to see your insta
