subject

Which is the best programming practice?

a. open a file as soon as your program begins and close the file just before your program ends.
b. open a file as soon as your program begins but close the file as soon as you have finished using it.
c. open a file when the program needs to work with it but close the file just before your program ends.
d. open a file when the program needs to work with it and close the file as soon as you have finished using it.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Someone with this coz i don’t really know what i can choose, just pick whatever u want. homework - you need to choose a website that you like or use frequently. you must visit the website and discuss 6 different features/parts/aspects of the website that you think makes it good. (100 words)
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
Kenny works with an it company. his company is about to launch new software in the market. he has to ensure that this new software is functional and meets all of the quality standards set up at the planning stage. which job profile is kenny likely to have? kenny is likely to have the job profile of a blank .
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
Which of the following is not an enhancement to the standard wiki to make it more attractive for corporations? encryptionwork spacespermission toolspredictive text
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
Companies that implement and apply an information system effectively can create
Answers: 1
You know the right answer?
Which is the best programming practice?

a. open a file as soon as your program begins a...
Questions
question
Social Studies, 21.08.2019 10:30
question
Mathematics, 21.08.2019 10:30
question
Mathematics, 21.08.2019 10:30
question
Mathematics, 21.08.2019 10:30
question
Mathematics, 21.08.2019 10:30
Questions on the website: 13722363