MCQ Bank
80/20 rule states that:
- A) you spend 20 percent of your time in 80 percent of the code
- B) We should try to optimized 80 percent or at least 20 percent of the code
- C) We should try to optimized 20 percent or at least 80 percent of the code
- D) you spend 80 percent of your time in 20 percent of the code
Performance, Security and maintainability are the types of ________ requirements.
- A) Domain
- B) Functional
- C) Business
- D) Non-Functional
A useful technique for evaluating the overall complexity of a proposed architecture is to look at the component's _______ .
- A) number and size of components
- B) function points
- C) flow dependencies and sharing dependencies
- D) size and cost
Collaboration diagram can show _______________. a. Binary messages b. Asynchronous messages c. Synchronous messages
- A) b only
- B) both b and c
- C) a only
- D) c only
Sequence of messages can be present in: a. Use case diagram b. Sequence diagram c. Collaboration diagram
- A) b only
- B) a only
- C) b and c
- D) c only
Exception handling is a powerful technique that separates error-handling code from ______ code.
- A) Buggy
- B) Faulty
- C) Normal
- D) Complex
In order to make a code more portable, Instead of using vendor specific language extensions, use _______ as much as possible
- A) STL
- B) CMMI
- C) ISO
- D) ANSI
1) x = (a + 2 > 3)? a : a-1 ; 2) if((a + 2)> 3) x = a; else x = a - 1;
- A) Statement (1) is more complex than (2)
- B) Both statements are very complex
- C) Statement (2) is more complex than (1)
- D) None of the given options
str = 0; // str is string Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above.
- A) str = false;
- B) str = NULL;
- C) str = ‘\0’;
- D) str = 0.0;
Consider the following statement: int a,b=10; Which of the following is correct:
- A) variable "a" is initialized to 10
- B) Variable "b" is initialized to 10
- C) variables can not be initialized this way
- D) Both variables "a" and "b" are initialized to 10
Oracle VirtualBox is a _____________ hypervisor.
- A) Type 1 and Type 2
- B) Container Engine
- C) Type 2
- D) Type 1
What is a virtual machine in the context of VMware ESXi?
- A) A virtualization technique used by VMware ESXi
- B) A physical server dedicated to running virtualization software
- C) A tool for managing virtual networks
- D) A software-based representation of a physical computer
Virtual Machine is also called as _____________.
- A) Real Machine
- B) Universal Machine
- C) Guest machine
- D) Guest Operating System
What is the purpose of Hyper-V Manager?
- A) To allocate virtual storage resources
- B) To create and manage virtual machines
- C) To manage physical hardware resources
- D) To optimize virtual machine performance
Which one is not the merit of using Virtual Machine?
- A) Runs incompatible software
- B) VM cannot be migrated across the virtual environment
- C) Reduce cost
- D) Enable multiple operating systems to run
Which one is an open source virtualization product available under the terms of GNU General Public License (GPL)?
- A) VMware
- B) Virtual Box
- C) SuperBox
- D) Docker
Esxi server can be downloaded from_________Website.
- A) Microsoft Website
- B) Vmware Website
- C) Apple Website
- D) Oracle website
Which of the following components handles the communication between the management operating system and the hypervisor in Hyper-V?
- A) Virtual Machine Connection (VMConnect)
- B) Integration Services
- C) Virtual Machine Bus (VMBus)
- D) Virtualization Service Provider (VSP)
______________ allow us to run multiple operating systems on a single host.
- A) Dockers
- B) Virtual Machines
- C) Virtual Machines Monitors (VMMs)
- D) Containers
What is a virtual disk in the context of VMware ESXi?
- A) A storage device dedicated to a specific virtual machine
- B) A software-based representation of a physical disk
- C) A physical disk attached to the host machine
- D) A network-based storage protocol