<span><span>Operating system: Windows 2000/XP
</span><span>CPU: Pentium 4 1.5 GHz or Athlon XP 1500+ processor or higher
</span><span>Memory: 384 MB RAM</span></span>
Answer:
D. Lockbox or safe
Explanation:
Anti- terrorism is a disastrous event, planned by insurgents to take lifes. They can attack any unsecure environment.
When a guest lodges in a hotel, for security reasons (Anti-terrorism training), he/she must consider the distance of the room to an emergency exit, also the quality of the door mounted and then the functionality of the door and window locks.
Safes or lock-box are used to secure money and other material valuables, but not life.
Answer:
People code in their own styles which can make it hard for other people to understand it, especially if it doesn't have any documentation, but that could be a reason to let a separate team test it, so the developer can learn how to code in a way that is understood by most people.
Explanation:
import java.util.Scanner;
public class InchesToFeetInteractive
{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
final int INCHES_IN_FOOT = 12;
int inches = scan.nextInt();
int feet;
int inchesLeft;
feet = inches / INCHES_IN_FOOT;
inchesLeft = inches % INCHES_IN_FOOT;
System.out.println(inches + " inches is " +
feet + " feet and " + inchesLeft + " inches");
}
}
We import the Scanner class and then initialize a new Scanner named scan. We then get an integer representation of inches from the user and calculate the feet and inches from the value entered by the user.
Answer:
Total unit of work required is 1019 units.
Solution:
As per the question:
Initial capacity = 100
On each expansion 50 is added to the present capacity.
Now,
Work done required in addition of 1000 items = 1000 unit
No. of times there is a need for the allocation of a new Array is given by:

We know that:
On addition of 101th element it expands from 100 to 150
On addition of 151st element it expands from 150 to 200 and so on till
On addition of 951st element it expands from 950 to 1000
Now,
For an array of 100 size - 1 for initial allocation.
Therefore, total work done is given by:
W = 