LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2870|回复: 4

question about solaries

[复制链接]
发表于 2007-6-14 07:22:38 | 显示全部楼层 |阅读模式
题1: Please choose the right expressions according to Exercise 1.(please
choose 3 right answers)

A: Gcc 3.4.3 is bundled with Solaris 10.
B: Gcc locates in /use/ccs/bin
C: Sun Studio 11 provide C compiler(cc,version 5.8),C++ compiler
(CC,version 5.8) ,Fortran 95 compiler(f90 or f95,Version 8.2)
D: Sun Studio11 compiler cc is equivalent with /usr/ucb/cc
E: Command "sunstudio" is also available in RedHat Enterprise Linux 4

题2: According to Exercise 11,which command can list the current
function, or change from the current function?(single choice)

A: funcs
B: func
C: function
D: pop
E: whereami

题3: Please complete Exercise 20 before answering this question.When you
need to identify which modules are called by other modules,and which
modules call other modules,you need the toolsingle choice)

A: prof
B: gprof
C: tcov
D: analyzer
E: er_print

题4: Please choose the right expressions according to Exercise 4.(please
choose 3 right answers)

A: The 2nd thread print out number "5050".
B: The 2nd thread print out number "55".
C: When i becomes 16,the data which (char *) p points to is H.
D: The 3rd thread exit without any memory leak.
E: The 3rd thread doesn't free the allocated space when it exit.

题5: Please choose the right expressions according to Exercise 5.(please
choose 3 right answers)

A: We must re-edit,recompile and relinking to fix the bug when debugging.
B: dbx can fix the bug without recompiling,relinking.
C: Runtime checking can work with multi-threaded code.
D: Runtime checking collects data on memory use.
E: Memory access checking is also available on x86 platform.

题6: Please choose the right expression according to Exercise 8.(single
choice)

A: Compiling options of gcc are also compatible with those of Sun Studio
cc.
B: Multi-threaded programs should be compiled with "-mt" or "-lpthread".
C: Multi-threaded programs should be compiled with "-pthread" or
"-lpthread".

题7: Please choose the right expressions according to Exercise 10.(please
choose 2 right answers)

A: When -xparallel or -xautopar is used,the application will run in
mult-threaded mode on SMP or CMT machines.
B: -xlic_lib=sunperf also works on single processor machine.
C: On single processor machines, -xparallel or -xautopar also generates
threads while running.
D: The application will gain higher performance with greater $(PARALLEL)
value.e,g on UltraSPARC T1 chips(SUN Fire T1000 Server),set the number to
50 gains higher performance than 32.

题8: According to Exercise 12,please choose the right reason why the
sample application crashed.(single choice)

A: Line 13,memory leak.
B: Line 14,memory leak.
C: Line 15,the illegal access to the memory address 0x0.
D: The above all.

题9: According to Exercise 15,please choose the commands which support a
machine-instruction level variant.(please choose 3 right answers)

A: next
B: step
C: stopi
D: tracei
E: examine

题10: According to Exercise 16,if SIGKINT is sent to the sample
application,which one is the right result?(single choice)

A: Exit from running.
B: Hang.
C: Print out string.
D: Segmentation fault.
E: Core dump.

rar x 1.rar

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2007-6-15 20:01:57 | 显示全部楼层
答案呢~~~~~~~~
回复 支持 反对

使用道具 举报

发表于 2007-7-20 19:53:18 | 显示全部楼层
我要答案.谢谢
回复 支持 反对

使用道具 举报

发表于 2007-8-9 02:06:29 | 显示全部楼层
作业????
回复 支持 反对

使用道具 举报

发表于 2007-11-29 14:46:48 | 显示全部楼层
有答案吗???
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表