Answer:
- Use the one that reads most clearly.
- If you can’t decide, just pick one.
- If you can’t then use for()
- If at any point later in time you change your mind, refactor your code.
This is how professionals work. Decide, and for all things with low impact to change, don’t sweat it.
Save that for architectural and API design choices.
Answer#2:
- Well if you are looking for a simple technique to choose which loop to use you can use these rules.
- Use for loops when there's a sequence of elements that you want to iterate.
- Use while loops when you want to repeat an action until a condition changes.
And if whatever you are trying to do can be done with either for or while loops then just choose your favourite :)
I use "su -" on my box. Red Hat wanted "sudo -i" in the RHCSA and RHCE courses.
Answer:
Wait. Then you try it again
Explanation:
You wait and try again later and if this still persists, you may have to check the optical drive from the drive manager peradventure there is an issue there probably a software issue, also you may have to clean the optical drive using the cleaner disc, likewise you may need to test an old disc on the optical drive to be sure the fault is not from the disc you inserted.
Answer: IRQ1 interrupt
Explanation: IRQ1 is the hardware interrupt request which is produced from the processor side mainly reserved for keyboard input . When a key is pressed from the keyboard then a input get produced then there is a request from the main processor and this interrupt gets executed.There are some devices which do not have the keyboard still this interrupt is only preserved for it.