阅读以下程序及对程序功能的描述,其中正确的是 #include<stdio.h>

题型:单项选择题

问题:

阅读以下程序及对程序功能的描述,其中正确的是
#include<stdio.h>
main()
FILE*in,*out;
charch,infile[10],outfile[10];
printf("Enter the infile name:\n");
scanf("%s",infile);
printf("Enter the outfile name:\n");
scanf("%s",outfile);
if((in=foen(infile,"r"))==NULL)
printf("cannot open infile\n");
exit(0);
if((out=fopen(outfile,"w"))==NULL)
printf("cannot open outfile\n");
exit(0);
while(!feof(in))fputc(fgetc(in),out);
fclose(in);fclose(out);

A) 程序完成将磁盘文件的信息在屏幕上显示的功能
B) 程序完成将两个磁盘文件合二为一的功能
C) 程序完成将一个磁盘文件复制到另一个磁盘文件中
D) 程序完成将两个磁盘文件合并并在屏幕上输出

考点:计算机等级考试C语言二级C语言笔试
题型:单项选择题

弧形闸门门叶制造、组装质量检验时,门叶横向直线度一般可通过()的中心线进行测量。

A、主横梁

B、主纵梁

C、次横梁

D、横向隔板

题型:单项选择题

某工程项目由某建筑工程公司总承包,其模板工程分包给某建筑劳务公司。2001年4月20日,在模板工程分包单位使用提升机运送材料时,因提升机缺少安全停靠等安全装置,导致吊篮坠落,乘坐吊篮的4名作业人员中3人当场死亡,1人重伤。

按事故后果严重程度分类,该工程事故属于()。

A.轻伤事故

B.死亡事故

C.重大伤亡事故

D.特大伤亡事故

题型:单项选择题
阅读理解。
     Have you got a Facebook account? Are you thinking of getting one? Jamie Simmonds has just signed 
up. Let's see how she's getting along.
                                                                     My Diary
     MONDAY:
I'm officially a Facebooker. I find a few people I used to know and I've soon got seven
friends. I've never felt so popular! I wonder if my old university flatmate Steve is on here…What do you
know! He is! Maybe Facebook has its uses.
     TUESDAY: I've received lots of nice welcoming messages on my wall. Later, I meet up with Steve
for a drink after not seeing him for five years. We get on really well! Then, he uses his Facebook app for
iPhone to suggest me as a friend to some other former classmates. Some of them even come to the pub
and it's just like old times - possibly a bit too much like old times. During the night, photos are uploaded to Facebook.
     WEDNESDAY: Disaster! My mum's on Facebook! Has she seen the photos of me dancing on the
table from last night? Has she shown them to dad? Oh. And I have a friend request - mum again!
     THURSDAY: There's a message from my boyfriend, "so, it's over then, is it?" Evidently I haven't
changed my settings to show I'm "in a relationship", and I haven't even added him as a friend. Ah, well, I
wonder what my ex-boyfriend is doing… Whoops! I accidentally type his name into my status box instead of the search 'oox, and now every one can see it on their news feed.
     FRIDAY: rime to update my status: "Work is boring. Can't wait for the weekend!" Yeah, that about
sums it up. Oh, look, I've received a comment! Someone must feel the same way. Lots of my friends now
"1ike" this status.
     SATURDAY: Good news! I've got 100 friends but wait! Someone's "un-friended" me! I look through my "friend list" to try to work out who it was. Why did they do that? Am I really such a terrible person? I
never knew Facebook could be this cruel.
SUNDAY: Wake up. Check my Facebook page. Make coffee. Check my Facebook page again. Get
ready to leave. Change my mind and check my Facebook page …
     In July 2010, Facebook had more than 500 million active users. The average Facebook user has 130
friends. Facebook is translated into more than 70 different languages. The world spends 700 billion
minutes a month on Facebook. Facebook creator Mark Zuckerberg's Facebook page says he's a
Harvard graduate, even though he actually dropped out to focus on Facebook. The site is valued at
between $7.9 and $11 billion.
1. Why did Jamie's boyfriend ask her whether she had broken up with him?
A. He had seen photos of Jamie dancing on the table.
B. She showed in her facebook that she was still not dating anyone. 
C. Her boyfriend was angry that she refused to add him as her friend.
D. He saw the name of her ex-boyfriend on his news feed.
2. Which of the following is conveyed in this article?

A. Visiting Facebook website took up a large part of Jamie's time and energy.
B. Jamie is enthusiastic about her present job.
C. Facebook was created by a Harvard graduate, Mark Zuckerberg.
D. Compared with Facebook, Twitter is a better choice for Jamie.

3. What does the word"un-friend" mean in"Someone's 'un-friended' me!"? 
A. Be unfriendly to others.                
B. Have a quarrel with somebody.
C. Remove a name from the friend list.      
D. End friendship with somebody.
4. It can be learned from the passage that the writer's attitude towards Facebook is ____ . 
A. approval        
B. objective          
C. negative        
D. positive
题型:单项选择题

若xy=-6,那么xy(x+y)的值可以唯一确定.
(1)x-y=5;(2)xy2=18.

题型:单项选择题

已知4阶方阵A=(α1,α2,α3,α4),α1,α2,α3,α4均为4维列向量,其α2,α3,α4线性无关,α1=2α23,如果β=α1234,求线性方程组Ax=β的通解.

更多题库