Answer:
4-Well first of all for the "VR" problem it could be a problem, because people could forget about there actual life and not be able to much of anything when needed.
1-the first one you are going to have to answer.
2-If you have different files then you aren't stumbling through multiple different links and could have trouble with finding what is needed.
3-the third one you are going to have to answer.
5-If I were you I would help them the best way you could so they can actually know how to do their job.
Look in the page payout tab and you should see the page setup group then click margins and modify your margins
Answer:
The answer is "Option a and Option f"
Explanation:
In the given question option a and option f is correct because both commands use the "cp" command, which is used to copy files and in this command, in option a, it uses the file "from cs250 to cs150", and an option "f" uses the "cs250 with '.h' that is a file extension", and the wrong choice can be defined as follows:
- In choice b, it is wrong because it is not a correct command.
- In choice c, in this command we use "?" symbol, that is wrong.
- In choice d and e both were invalid.
Answer:
The program written in Python is as follows:
file_handler = open("numbers.dat","r")
nums = 0
for line in file_handler:
try:
nums+=int(line)
except ValueError:
continue
file_handler.close()
print("Sum: "+str(nums))
Explanation:
The file handler is used to enable the program reads content of the file numbers.dat
file_handler = open("numbers.dat","r")
This initializes the sum of numbers to 0
nums = 0
This iterates through the line of the file
for line in file_handler:
The try exception is used to prevent program crash if data other than integer is read
try:
This adds numbers on each line
nums+=int(line)
This exception is returned for data other than integers
except ValueError:
continue
This closes the file handler
file_handler.close()
This prints the calculated sum
print("Sum: "+str(nums))