Re: [algogeeks] os question

2012-12-10 Thread Navin Kumar
If virtualization is concerned, then answer would be choice d. Since its not necessary to load complete process in memory. On Sat, Dec 8, 2012 at 12:45 AM, sahil gupta wrote: > It's b. > Windows follow this Operation. > > > On Fri, Dec 7, 2012 at 4:21 AM, manish wrote: > >> Four processes of 1

Re: [algogeeks] Array Problem

2012-12-10 Thread Wladimir Tavares
subset sum? Wladimir Araujo Tavares *Federal University of Ceará Homepage | Maratona| * On Fri, Nov 16, 2012 at 2:46 AM, Pralay Biswas wrote: > Search for balance partitioning und

[algogeeks] Re: HOW TO CALCULATE THA size of union

2012-12-10 Thread Don
Your code is different from the original question. You don't declare an instance of D, C, or B. Just declaring the type does not allocate any storage. Don On Dec 10, 12:29 pm, ashish mann wrote: >  union A{ >           long int y[5]; >           union B{ >                    double g; >          

Re: [algogeeks] os question

2012-12-10 Thread sahil gupta
It's b. Windows follow this Operation. On Fri, Dec 7, 2012 at 4:21 AM, manish wrote: > Four processes of 1gb,1.2gb,2gb,2gb are there and RAM available is 2gb. > We have a > time shared system. Which of the following is the most appropriate > scheduling algorithm? > a. all processes are loaded s

[algogeeks] Adobe Interview Question

2012-12-10 Thread manish untwal
I gave this interview in August this year, two of the question i was not able to answer properly 1) how to print the content of file in C without using the file pointer. 2) count the total number of permutation of a number in order O(n) --

Re: [algogeeks] Re: HOW TO CALCULATE THA size of union

2012-12-10 Thread ashish mann
union A{ long int y[5]; union B{ double g; union C{ int k; union D{ char ch; int x[5]; };

Re: [algogeeks] HOW TO CALCULATE THA size of union

2012-12-10 Thread Thanarathnam L
I THINK... D 10 C 10 B 10 A 20 SORRY I AM NOT SURE WITH THIS. On Fri, Dec 7, 2012 at 4:12 PM, zerobyzero wrote: > what will be the size of union A ,B,C and D. also please explain the logic. > > * union A{* > * long int y[5];* > * union B{* > *double g;