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 21:00
So im doing this school challenge and the teachers said whats the average text a student gets a day so i need to get about 20 in a day but dont know how can you guys 2163371293
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
What provides an array of buttons for quick access to commonly used commands and tools
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
What is the primary difference between the header section of a document and the body? a. the body is displayed on the webpage and the header is not. b. the header is displayed on the webpage and the body is not. c. the tag for the body is self-closing, but the tags for the headers must be closed. d. the tag for the header is self closing, but the tag for the body must be closed.
Answers: 3
question
Computers and Technology, 23.06.2019 15:20
What does a bonus object do? a. subtracts lives b. keeps track of a player's health c. gives a player an advantage d. makes text appear
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, 17.11.2020 03:50
question
Mathematics, 17.11.2020 03:50
question
Computers and Technology, 17.11.2020 03:50
question
Mathematics, 17.11.2020 03:50
question
Mathematics, 17.11.2020 03:50
Questions on the website: 13722367