Answer:
Ans1.
double calc_a;
calc_a=Math.pow(3.0,2.0)+Math.sqrt(9);
Ans2.
double calc_b;
calc_b=((12.0/3.0)-(2.0*4.0));
Ans 3.
double calc_c;
calc_c=(Math.sqrt(16.0)*(7.0+9.0));
Ans 4.
double calc_d;
calc_d=Math.pow(7.0,2.0)/Math.sqrt(49.0);
Explanation:
The expressions are done with Java in answer above.
Answer:
speed and storage
Explanation:
The pros and cons of both are mainly in regards to speed and storage. Due to linked lists elements being connected to one another it requires that each previous element be accessed in order to arrive at a specific element. This makes it much slower than an array-based implementation where any element can be quickly accessed easily due to it having a specific location. This brings us to the other aspect which is memory. Since Arrays are saved as a single block, where each element has a specific location this takes much more space in the RAM as opposed to a linked implementation which is stored randomly and as indexes of the array itself.
Array Implementation:
- Pros: Much Faster and Easier to target a specific element
- Cons: Much More Space needed
Linked Implementation
- Pros: Less overall space needed
- Cons: Much slower speed.
I'm not sure on what you mean by this however lets say that it may contain a device, when entering DO NOT TOUCH ANYTHING, there are different methods on how a device could be triggered either from light switches or by trip wire which its best to leave the facility over all however lets say you cannot then stop listen for any ticking if not then have a flash light, if the room lights are turned off leave them off use a flash light but be careful where you shine it there could be light sensors on the device that trigger when a light hits it hence why the lights are off. when having a flash light you could be able to see a glare of a wire which could be a trip wire. there are many possibilities in how the device was made from timers, trip wire, sound,light,pressure, switches, electronic waves from phones may effect the device and could activate it as well. But anyways this is all a factor and its best to be careful and if able evacuate if the device is in a weird location at a odd time you know its not suppose to be there, and or items moved that are never moved and if it is never moved then there is dust that could have a odd shape like a hand print. Anyways im not sure if your looking for this type of answer but its good to know!
~ usually represents the home directory( or the directory from which each user's repository is immediately accessible.
none of the options are necessarily correct