[试题] 103下 徐慰中 虚拟机器 第一次小考

楼主: rod24574575 (天然呆)   2015-03-21 15:10:13
课程名称︰虚拟机器
课程性质︰选修
课程教师︰徐慰中
开课学院:电资学院
开课系所︰资工所、网媒所
考试日期(年月日)︰2015.03.05
考试时限(分钟):
试题 :
1) Virtual memory was invented in a time of scarcity. Is it still a good idea?
A) No. Virtual Memory introduces high overhead such as TLB misses for
applications with large memory footprint. It is time to get rid of it.
B) Yes, it is still required to support flexible memory sharing.
C) Yes, it is still required to run legacy software with features like
copy-on-write.
D) With Tera-byte of real memory in today's servers, Virtual Memory is no
longer needed.
2) Which of the following are considered system virtual machines?
A) Transmeta crusoe B) VMware ESX
C) Genymotion D) Apple Rosetta
E) Oracle Virtualbox F) WINE
3) An executable compiled for x86/Linux cannot run on x86/Window machines,
this is because
A) ISA mismatch B) ABI mismatch
C) API mismatch D) Vendor mismatch
4) Virtualization is an isomorphism. State mapping and emulation of state
transitions are required. For a cross-ISA process VM, which of the
following states must be emulated?
A) Page table B) Caches
C) PC D) All condition codes
5) Virtualization is often used to achieve which of the following goals?
A) Resource sharing B) Interoperability
C) Security and protection D) Fault isolation
6) Virtual machine is basically a layer of software. For process VMs, this
layer is between
A) Physical machine and OS B) OS and user application
C) User code and GUI D) Hypervisor and OS
7) Which of the following are considered process VMs?
A) PIN B) IA32 EL
C) VMware D) DVM on Android
8) System VM allows
A) Window and Linux co-exist and run at the same machine
B) Two Linux OSes co-run, one isolated from another
C) CPUs and Memories can be more efficiently used
D) Faster response time to interactive jobs
9) Same ISA process VMs can be used for
A) Dynamic instrumentation B) Dynamic optimization
C) Security enforcement D) Application migration from iPhone to PC.
10) In the following process VMs, which two have identical source ISA?
A) Apple Rosetta B) IA32 EL
C) BlueStack D) Java VM
E) FX!32
11) Who are the authors of our textbook?
A) Alan Smith and Dave Patterson
B) James Smith and Ravi Nair
C) Wei Hsu and Steve Liao
D) Steve Jobs and Tim Cook
12) Linux is known not very scalable. Suppose it is unlikely to scale up over
4 cores, how could we make efficient use of 16-core machine with Linux?
A) Run applications with no/low system services
B) Turn 12 cores off to save power
C) Partition the 16 cores into 4 4-core clusters and run 4 copies of VM
with Linux as the guest OS
D) Adopt more scalable OS such as HP-UX or Solaries
Ans:
1) B, C
2) A, B, C, E
3) B
4) C, D
5) A, B, C, D
6) B
7) A, B, D
8) A, B, C
9) A, B, C
10) B, E
11) B
12) C

Links booklink

Contact Us: admin [ a t ] ucptt.com