GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  TCS  >  Quantitative Aptitude

 Print  |  
Question:  1. In a two dimensional array X(9,7) with each element occupying 4 bytes of memory with the address of the first element x(1,1) is 3000,find the address of X(8,5) ? Ans is 3212 but how explain

2.194 base 10= ___ base 5

3.the base 5 representation of the decimal number 2048 is______

4.when 3/4 of a units digit is added to ten's digit of a two number,the sum of the digit becomes 10.If 1/4 of the ten's digit added to the unit's digit then the sum of the digits is 1 less than the previous.Find the number a)94 b)84 c)48 d)88




June 06, 2006 14:39:52 #1
 DeviRavikumar CRM Expert  Member Since: June 2006    Total Comments: 1 

RE: 1. In a two dimensional array X(9,7) with each ele...
 

ans.   X(1,1)=3000 (given)

Each element occupies 4 bytes of memory so

           X(1,2)=3004

           .

           .

            X(1,7)=3042

             X(2,1)=3046

              .

               X(2,7)=3052

                X(3,1)=3056

................X(3,7)=3080

             X(4,1)=3084

   .........X(4,7)=3108

             X(5,1)=3112

.............X(5,7)=3136

              X(6,1)=3140

...............X(6,7)=3164

                X(7,1)=3168

.................X(7,7)=3192

                  x(8,1)=3196

...................X(8,5)=3212-----------ans 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

     

 

Back To Question