计算机等级考试四级网络工程师2015年操作系统单选题及答案

时间:2022-10-11 19:04:05 阅读: 最新文章 文档下载
说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。
电脑等级考试四级网络工程师2015年操作系统单项选择题

及答案

1() A.B.C.D. A

2? A.B.C.D. D

3

A.B.访C.D.I/O B

4? A.B.C.D. A

5使 A. B. C. D.


A

6使? A.B.C.D. D

720? A.1B.20C.19D.0 A

8?

A.B.C.D. A

9C int main() {

pid_t pid; int x=1; pid = fork(); if(pid==0)

printf("I am the child process, x=%d\n", ++x); else


printf("I am the parent process, x=%d\n", --x); }

UNIX A.I am the child process, x=2 B.I am the parent process, x=0 C.I am the parent process, x=2 D.I am the child process, x=0 A

10C void * th_f(void * arg) {

printf("Hello World"); pthread_exit(0); }

int main(voiD) {

pthread_t tid; int st;

st = pthread_create(&tid, NULL, th_f, NULL); if(st==0)

printf("Oops, I can not createthread\n"); 实用文档


本文来源:https://www.wddqw.com/doc/b10e5b28463610661ed9ad51f01dc281e53a5663.html