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, 21.06.2019 20:50
What does operator overloading allow you to do?
Answers: 2
question
Computers and Technology, 21.06.2019 21:00
You turn your computer on and the computer will not boot up where is something you should do to diagnose the problem?
Answers: 1
question
Computers and Technology, 22.06.2019 15:30
Whats are the different parts of no verbal comunication, especially body language?
Answers: 3
question
Computers and Technology, 23.06.2019 12:00
Using the list, you can select the number of photos that will appear on each slide. a. theme b. frame shape c. pictures in album d. picture layout
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
Mathematics, 02.01.2020 02:31