用seq函数,生成向量X= (1,2,3,4,5,6,7,8,9,10)的命令是
A: X<-seq[1:10]
B: X<-seq(1, by = 1, length.out = 1)
C: X<-seq(1, by = 10, length.out = 1)
D: X<-seq(1, by = 1, length.out = 10)
A: X<-seq[1:10]
B: X<-seq(1, by = 1, length.out = 1)
C: X<-seq(1, by = 10, length.out = 1)
D: X<-seq(1, by = 1, length.out = 10)
举一反三
- 生成向量X= (1,2,3,4,5,6,7,8,9,10)的命令是 A: X<-c(1:10) B: X<-c[1:10] C: X<-c(1,10) D: X<-c(1.10)
- TCP连接建立的过程通过双方的报文传输实现,请给出以下报文的发送顺序(1) SYN = 1, ACK = 1, seq = y, ack= x + 1(2) ACK = 1, seq = x + 1, ack = y + 1(3) SYN = 1, seq = x A: (3)(2)(1) B: (3)(1)(2) C: (1)(2)(3) D: (2)(3)(1)
- 中国大学MOOC: TCP连接建立的过程通过双方的报文传输实现,请给出以下报文的发送顺序(1) SYN = 1, ACK = 1, seq = y, ack= x + 1(2) ACK = 1, seq = x + 1, ack = y + 1(3) SYN = 1, seq = x
- x<-1:10,x是向量。 A: 正确 B: 错误
- 能正确表示:当x的取值在[1,10]范围内为“真”,否则为“假”的表达式是( )。 A: (x>=1)&&(x<=10) B: (x>=1)||(x<=10) C: 1<x<10 D: 1≤x≤10