?? 分享幾道迅雷筆試題.htm
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0052)http://www.polsnet.com/home/html/tech291_147507.html -->
<HTML><HEAD><TITLE>分享幾道迅雷筆試題</TITLE>
<META content="MSHTML 6.00.2900.3132" name=GENERATOR>
<META content="Visual Basic .NET 7.1" name=CODE_LANGUAGE>
<META content=JavaScript name=vs_defaultClientScript>
<META content=http://schemas.microsoft.com/intellisense/ie5
name=vs_targetSchema><LINK href="gca.css" rel=stylesheet>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE type=text/css>BODY {
MARGIN-TOP: 0px
}
</STYLE>
</HEAD>
<BODY MS_POSITIONING="GridLayout">
<FORM id=Form1 name=Form1
action=ShowArt.aspx?roomid=291&id=20071020/20/92d125a4-4cdc-4959-88fe-4cb6c0e91eb6
method=post><INPUT type=hidden
value=dDwtMTM4NzU3OTM3ODs7PnOmx8obVJkfnnWdGZ8V57Z5nk1a name=__VIEWSTATE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center bgColor=#dde3ee
border=0>
<TBODY>
<TR>
<TD vAlign=top>
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-3293942202016184";
//728x90, 創建于 07-11-25
google_ad_slot = "3192590356";
google_ad_width = 728;
google_ad_height = 90;
//--></SCRIPT>
<SCRIPT src="分享幾道迅雷筆試題.files/show_ads.js" type=text/javascript>
</SCRIPT>
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center bgColor=#dde3ee
border=0>
<TBODY>
<TR>
<TD vAlign=top>
<TABLE cellSpacing=0 cellPadding=3 width="100%" bgColor=#dde3ee
border=0><TBODY>
<TR>
<TD vAlign=top align=right width=75>標 題:</TD>
<TD><SPAN id=lblTitle
style="FONT-WEIGHT: bold">分享幾道迅雷筆試題</SPAN></TD></TR>
<TR>
<TD align=right>作 者:</TD>
<TD><SPAN id=lblAuthor>mochen5460(mochen)</SPAN></TD></TR>
<TR>
<TD align=right>技術類型:</TD>
<TD><SPAN id=lblClass>C/C++ C++ 語言</SPAN> </TD></TR>
<TR>
<TD align=right>關注次數:</TD>
<TD><SPAN id=lblAttention>0</SPAN></TD></TR>
<TR>
<TD align=right>發表時間:</TD>
<TD><SPAN id=lblTime>2007-10-20 20:22:01</SPAN></TD></TR>
<TR bgColor=#dde3ee height=10>
<TD align=right></TD>
<TD></TD></TR>
<TR bgColor=#666666>
<TD colSpan=2 height=1></TD></TR>
<TR bgColor=#dde3ee height=10>
<TD align=right></TD>
<TD></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center bgColor=#dde3ee
border=0>
<TBODY>
<TR>
<TD vAlign=top>
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-3293942202016184";
//728x90, home創建于 07-11-25
google_ad_slot = "6535135647";
google_ad_width = 728;
google_ad_height = 90;
//--></SCRIPT>
<SCRIPT src="分享幾道迅雷筆試題.files/show_ads.js" type=text/javascript>
</SCRIPT>
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center bgColor=#dde3ee
border=0>
<TBODY>
<TR>
<TD vAlign=top>
<TABLE cellPadding=3 width=610>
<TBODY>
<TR>
<TD><SPAN id=lblContent>今天剛在網上看到的,不知道是不是最新的,感覺比較基礎,一共100道
<BR>1.下列程序的輸出結果為 <BR>
<DL class=code>
<DT>C/C++ code
<DD><PRE><DIV><!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><SPAN style="COLOR: #000000"> #include</SPAN><SPAN style="COLOR: #000000"><</SPAN><SPAN style="COLOR: #000000">iostream.h</SPAN><SPAN style="COLOR: #000000">></SPAN><SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> main(){</SPAN><SPAN style="COLOR: #0000ff">char</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000"> a[]</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">{</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">hello</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">the</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">world</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">};</SPAN><SPAN style="COLOR: #0000ff">char</SPAN><SPAN style="COLOR: #000000">**</SPAN><SPAN style="COLOR: #000000">pa</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">a;pa</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000">;cout</SPAN><SPAN style="COLOR: #000000"><<*</SPAN><SPAN style="COLOR: #000000">pa</SPAN><SPAN style="COLOR: #000000"><<</SPAN><SPAN style="COLOR: #000000">endl;}</SPAN></DIV></PRE></DD></DL><BR> A) theworld
<BR> B) The <BR> C) ello
<BR> D) ellotheworld
<BR><BR>2. 已知二叉樹后序遍歷序列是bfegcda,中序遍歷序列是badefcg,它的前序遍歷序列是
<BR>A) abcdefg <BR>B) abdcefg <BR>C) adbcfeg
<BR>D) abecdfg <BR><BR>3.棧和隊列的共同特點是 <BR>A) 都是先進先出
<BR>B) 都是先進后出 <BR>C) 只允許在端點處插入和刪除元素 <BR>D) 沒有共同點
<BR><BR>4.下面的程序的運行結果為 <BR>
<DL class=code>
<DT>C/C++ code
<DD><PRE><DIV><!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><SPAN style="COLOR: #000000">#include</SPAN><SPAN style="COLOR: #000000"><</SPAN><SPAN style="COLOR: #000000">iostream.h</SPAN><SPAN style="COLOR: #000000">></SPAN><SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> main(){</SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000"> a,x;</SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">(a</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800080">0</SPAN><SPAN style="COLOR: #000000">,x</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800080">0</SPAN><SPAN style="COLOR: #000000">;a</SPAN><SPAN style="COLOR: #000000"><=</SPAN><SPAN style="COLOR: #800080">1</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">&&!</SPAN><SPAN style="COLOR: #000000">x</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000">;a</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000">){a</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000">;}cout</SPAN><SPAN style="COLOR: #000000"><<</SPAN><SPAN style="COLOR: #000000">a</SPAN><SPAN style="COLOR: #000000"><<</SPAN><SPAN style="COLOR: #000000">x</SPAN><SPAN style="COLOR: #000000"><<</SPAN><SPAN style="COLOR: #000000">endl;}</SPAN></DIV></PRE></DD></DL><BR>A) 21 B) 22 C) 32 D) 41
<BR><BR>5.下列選項,不正確的是 <BR>A) for(int a=1;a <=10;a++);
<BR><BR>B) int a=1; <BR>do <BR>{ <BR>a++; <BR>}while(a
<=10) <BR><BR>C)int a=1; <BR>while(a <=10) <BR>{ <BR>a++;
<BR>} <BR><BR>D) for(int a=1;a <=10;a++)a++;
<BR><BR><BR>6.下面關于數組的初始化正確的是 <BR>A) char str[2]={"a","b"};
<BR>B) char str[2][3]={"a","b"};
<BR>C) char str[2][3]={{ 'a ', 'b '},{ 'e ', 'd '},{ 'e ',
'f '}}; <BR>D) char str[]={"a","b"};
<BR></SPAN></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top align=middle width=22><B><FONT
color=blue>搜</FONT></B><BR><B><FONT color=blue>索</FONT></B><BR><B><FONT
color=blue>資</FONT></B><BR><B><FONT color=blue>源</FONT></B></TD>
<TD vAlign=top width=738>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD><!-- SiteSearch Google --><FORM target="google_window"
action="http://www.google.cn/search" method="get">
<TABLE bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD vAlign=top noWrap align=left height=32><A
href="http://www.google.com/"><IMG alt=Google
src="分享幾道迅雷筆試題.files/Logo_25wht.gif" align=middle
<TD noWrap><INPUT type=hidden value=www.polsnet.com
name=domains></INPUT> <LABEL style="DISPLAY: none"
for=sbi>輸入您的搜索字詞</LABEL> <INPUT id=sbi maxLength=255 size=31
name=q></INPUT> <LABEL style="DISPLAY: none"
for=sbb>提交搜索表單</LABEL> <INPUT id=sbb type=submit value=搜索 name=sa></INPUT> </TD></TR>
<TR>
<TD> </TD>
<TD noWrap>
<TABLE>
<TBODY>
<TR>
<TD><INPUT id=ss0 type=radio CHECKED value=""
name=sitesearch></INPUT> <LABEL title=搜索網絡 for=ss0><FONT
color=#000000 size=-1>Web</FONT></LABEL></TD>
<TD><INPUT id=ss1 type=radio value=www.polsnet.com
name=sitesearch></INPUT> <LABEL
title="搜索 www.polsnet.com" for=ss1><FONT color=#000000
size=-1>www.polsnet.com</FONT></LABEL></TD></TR></TBODY></TABLE><INPUT
type=hidden value=pub-3293942202016184 name=client></INPUT>
<INPUT type=hidden value=1 name=forid></INPUT> <INPUT
type=hidden value=aff name=prog></INPUT> <INPUT type=hidden
value=GB2312 name=ie></INPUT> <INPUT type=hidden value=GB2312
name=oe></INPUT> <INPUT type=hidden
value=GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1
name=cof></INPUT> <INPUT type=hidden value=zh-CN
name=hl></INPUT> </TD></TR></TBODY></TABLE></FORM><!-- SiteSearch Google --></TD>
<TD>
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-3293942202016184";
google_ad_width = 200;
google_ad_height = 90;
google_ad_format = "200x90_0ads_al";
//2007-10-12: home內容下
google_ad_channel = "2198194575";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "0000FF";
google_color_url = "6600CC";
//-->
</SCRIPT>
<SCRIPT src="分享幾道迅雷筆試題.files/show_ads.js" type=text/javascript>
</SCRIPT>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE id=Datalist1 style="WIDTH: 760px; BORDER-COLLAPSE: collapse"
cellSpacing=0 cellPadding=0 align=center border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top width=630>
<TABLE cellSpacing=0 cellPadding=0 width=760 border=0>
<TBODY>
<TR bgColor=#f5f7fa height=25>
<TD width=21></TD>
<TD width=417>Tuzki </TD>
<TD width=186>2007-10-20 21:27:09</TD>
<TD width=136>得分:1 <STRONG><A
href="http://www.polsnet.com/home/html/tech291_147507.html#top">轉到頂部</A></STRONG></TD></TR>
<TR>
<TD bgColor=#0066cc colSpan=4 height=1></TD></TR>
<TR>
<TD colSpan=4 height=5></TD></TR>
<TR>
<TD> </TD>
<TD colSpan=3>
<TABLE cellPadding=3 width="100%">
<TBODY>
<TR>
<TD>B B C A B B
<BR><BR>看來以后迅雷的題,不會就選B就可以了
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top width=630>
<TABLE cellSpacing=0 cellPadding=0 width=760 border=0>
<TBODY>
<TR bgColor=#f5f7fa height=25>
<TD width=21></TD>
<TD width=417>Tuzki </TD>
<TD width=186>2007-10-20 21:27:10</TD>
<TD width=136>得分:0 <STRONG><A
href="http://www.polsnet.com/home/html/tech291_147507.html#top">轉到頂部</A></STRONG></TD></TR>
<TR>
<TD bgColor=#0066cc colSpan=4 height=1></TD></TR>
<TR>
<TD colSpan=4 height=5></TD></TR>
<TR>
<TD> </TD>
<TD colSpan=3>
<TABLE cellPadding=3 width="100%">
<TBODY>
<TR>
<TD>B B C A B B
<BR><BR>看來以后迅雷的題,不會就選B就可以了
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top width=630>
<TABLE cellSpacing=0 cellPadding=0 width=760 border=0>
<TBODY>
<TR bgColor=#f5f7fa height=25>
<TD width=21></TD>
<TD width=417>Tuzki </TD>
<TD width=186>2007-10-20 21:27:12</TD>
<TD width=136>得分:0 <STRONG><A
href="http://www.polsnet.com/home/html/tech291_147507.html#top">轉到頂部</A></STRONG></TD></TR>
<TR>
<TD bgColor=#0066cc colSpan=4 height=1></TD></TR>
<TR>
<TD colSpan=4 height=5></TD></TR>
<TR>
<TD> </TD>
<TD colSpan=3>
<TABLE cellPadding=3 width="100%">
<TBODY>
<TR>
<TD>B B C A B B
<BR><BR>看來以后迅雷的題,不會就選B就可以了
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top width=630>
<TABLE cellSpacing=0 cellPadding=0 width=760 border=0>
<TBODY>
<TR bgColor=#f5f7fa height=25>
<TD width=21></TD>
<TD width=417>Tuzki </TD>
<TD width=186>2007-10-20 21:27:13</TD>
<TD width=136>得分:0 <STRONG><A
href="http://www.polsnet.com/home/html/tech291_147507.html#top">轉到頂部</A></STRONG></TD></TR>
<TR>
<TD bgColor=#0066cc colSpan=4 height=1></TD></TR>
<TR>
<TD colSpan=4 height=5></TD></TR>
<TR>
<TD> </TD>
<TD colSpan=3>
<TABLE cellPadding=3 width="100%">
<TBODY>
<TR>
<TD>B B C A B B
<BR><BR>看來以后迅雷的題,不會就選B就可以了
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -