সিএসই(CSE) ভাষায় Overhead বলতে কি বুঝায়? উদারনসহ বললে খুব উপকৃত হতাম।


asked 02 Jun, 09:29

Mahmud57's gravatar image

Mahmud57
316

edited 19 Jun, 11:15

বাংলায় প্রশ্নোত্তর করলে ভালো হয়।

Edited Thanks.

(19 Jun, 11:16) Mahmud57

overhead is any combination of excess or indirect computation time, memory, bandwidth, or other resources that are required to perform a specific task. Suppose you have three number a=10,b=5,c=20 and you want to calculate the sum of these numbers. you can simply do sum=a+b+c or you can create a function to do the task like

 int summ(int x,int y,int z)
 {
    int res=x+y+z;
    return res;    
 }

In the second case, when you will call the function it will first copy all the values and then calculate the sum and then return the result to the calling function. There needs some extra memory to storing these variables and also needs some extra time to call the function and return from it. Which is not needed in the first case. So all these things will be treated as overhead. Thanks :)

permanent link

answered 17 Jun, 12:33

Anisur%20Rahman%20Tonu's gravatar image

Anisur Rahman Tonu
1979

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×178

question asked: 02 Jun, 09:29

question was seen: 236 times

last updated: 19 Jun, 11:16