18 喜欢·19 浏览
单选题

当到达文件尾端或出错时,字符读取函数的返回值都是EOF,为进一步确认文件是否已到文件尾,应当通过()函数来判断。

A
ferror
B
feof
C
cleanerr
D
perror

题目答案

B

答案解析

暂无解析
举一反三
单选题

在定位函数中,可直接将流的读写指针设置到文件的起始位置同时会将错误指示器errno清零的函数是()rewind

A
ferror
B
feof
C
clearerr
D
perror

题目答案

C

答案解析

暂无解析
单选题

下面关于ftell()函数成功调用说法不正确的是()

A
会清除流结束标志
B
返回读写指针当前相对文件起始位置的位移量
C
返回读写指针当前相对文件结束位置的位移量
D
会撤销已调用ungetc()对流的影响

题目答案

C

答案解析

暂无解析
单选题

格式化输出可把格式化数据输出到标准输出、指定文件及字符缓冲区。其中()函数是将格式化数据输出到指定大小的字符缓冲区。()

A
printf
B
f printf
C
s printf
D
sn printf

题目答案

D

答案解析

暂无解析
单选题

格式化输入可从标准输入、指定文件及字符缓冲区读取格式化数据。其中()函数是输出到指定文件。()

A
printf
B
f printf
C
s printf
D
sn printf

题目答案

B

答案解析

暂无解析
单选题

关于临时文件不正确的是()

A
可通过tmp nam()创建
B
也可通过tmp file()创建
C
程序结束时或关闭文件时自动删除
D
调用tmp name次数有限制

题目答案

A

答案解析

暂无解析
单选题

You wish to segment your LAN into multiple broadcast domains. Which technology method should you implement in order to do this?

A
Transparent bridging
B
Cut-through switching
C
Fragment-free switches
D
Virtual LANs
E
Store-and-forward switching
F
None of the above

题目答案

D

答案解析

解析:EXPLANATION:THE CREATION OF VLANS IN A SWITCH WILL PROVIDE SEPARATE BROADCAST DOMAINS. BY DEFAULT, ALL PORTS IN A CATALYST SWITCH BELONG TO VLAN 1. BY CREATING ADDITIONAL VLANS, THE LAN WILL BE LOGICALLY SEGMENTED INTO SEPARATE BROADCAST DOMAINS.INC
单选题

On a half-duplex Ethernet LAN, two hosts attempt to send data simultaneously, resulting in a collision. Following this collision, what will the hosts do? (Select all valid answers)

A
The destination host sends a request to the source for retransmission.
B
The jam signal indicates that the collision has been cleared.
C
The hosts will attempt to resume transmission after a time delay has expired.
D
An electrical pulse indicates that the collision has cleared.
E
The router on the segment will signal that the collision has cleared.
F
The hosts will do nothing, as the higher layers are responsible for data error correction and re-transmission.

题目答案

C

答案解析

解析:EXPLANATION:WHEN A HOST ON AN ETHERNET LAN HAS INFORMATION TO SEND, THE FOLLOWING STEPS ARE TAKEN:1. A DEVICE WITH A FRAME. TO SEND LISTENS UNTIL ETHERNET IS NOT BUSY.2. WHEN THE ETHERNET IS NOT BUSY, THE SENDER BEGINS SENDING THE FRAME.3. THE SENDE