Computer Science, asked by tanujbhardwaj87, 6 months ago

an efficient program can be defined as​

Answers

Answered by Anonymous
7

Explanation:

an efficient program can be defined as virus

Answered by karthik4086
1

Answer:

CPU: this resource affects the time our program takes to do its work. Efficient use of CPU means faster executing programs.

RAM: this resources affects the space our program can use to do its work. It imposes a hard constraint: you either have enough to do your work or you don't. If you don't, your program can't do its work. Efficient use of RAM results in programs that can do their work.

Disk: physical, long-term storage. This is both a time and a space constraining resource. Space because there's only so much of it, and once you use it up your program is hosed. Time because reading from and writing to disk takes time, so efficient programs minimize the number of "hits" (reads and writes) to disk.

Network (optional): not all programs are part of a distributed system, but if your program is communicating with another machine, then you'll need to efficiently manage your network I/O. Sending and receiving information over a network is typically very slow (relative to disk or especially RAM), so it's another time constraining resource. Efficient programs limit the number of network requests.

I hope I understand my answer

Similar questions