GetACoder.com

 
 

Home | My Account | Post Job | Browse Jobs | RSS Feeds | Careers New!

 

N-dimensional Array

 
 
     
Job Summary:
 
Job Type: Project
Budget: $ 20-100
Attached Files: (None)
 
Status: Closed for bidding
Work Under Development
 
Buyer Summary:
 
Username:
jack223  
Feedback Score: 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10 2 reviews
Award Reliability: 1 posted 1 paid
 
Location: Germantown, Maryland, United States
Member Since: August 23, 2007
 
Invited Users: There are no invited users


Description
http://www.getacoder.com/projects/dimensional_array_32859.html

Description

Q 1) Problem: Write a program that determines the offset address for an n-dimensional array (0 < n <= 4). Assume an element size of 2. The program should prompt the user to enter the following data:

4 row-major order or column-major order (R or C)

4 the number of dimensions for the array (a number)

4 the upper and lower bounds for each subscript

4 a set of subscripts

The program should output the total size of the array and the address offset for the selected subscript combination. Allow the user to enter sets of subscripts until a -1 is entered. Terminate the program when a subscript of -1 is entered. For example:



Enter (R)ow or (C)olumn major order (R or C): R

Enter the number of dimensions for the array: 3

Enter the upper and lower bounds for subscript 1: 1 4

Enter the upper and lower bounds for subscript 2: 1 3

Enter the upper and lower bounds for subscript 3: 2 6



Enter a set of subscripts: 2 3 4



Offset to 2, 3, 4 is: 54

Array size is : 120


Q 2)Consider the following pseudocode array declaration:
X: array[1-5][1-5][1-5] of integer;

Assume integers require two bytes of storage and that the array begins at location 10000. What is address of X[2][3][4], assuming row-major order? what is the address assuming column-major order?
Explain me the answer, don't provide me with any code, ok.

Bid Price: $25 was deal
Time frame: 5 days

Thanks,
Jack




Reminder
You may not start working in this and any request before your bid is accepted. Users who violate this policy may have their accounts permanently suspended.



 Bids Received (0)   Shortlist (0)   Declined Bids (0)   
Average bid amount:   $0.00   Average delivery time:   0 Day(s)
Place Bid | Post Similar Job | Send Request | Contact jack223

Order by:

 

Remember that contacting the other party outside the site (by email, phone, etc.) on all business jobs (before the request is awarded) is a violation of our terms of use. We supervise all site activity for such infringements and can immediately expel transgressors on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thank you for your help.
 

 
 


 
Get the Free Step-by-Step Guide on How to Use GetACoder
The act of outsourcing jobs has become easy in the past few years thanks to GetACoder. However, our team aims at making the whole process even easier. So, it has now come the time to provide you with a step-by-step guidance on how to use this service and succeed in the outsourcing world totally for FREE.

It doesn't matter if you are a more experienced user or a novice; using GetACoder will become even simpler with the help of this E-book. There are two major sections: a Buyers section and a Coders section.

Buyers will learn:
  • How to outsource safely
  • How to pick the best freelancers
  • How to manage time and money

Coders will learn:

  • How to get the best jobs
  • How to secure their payments
  • How to build a long-lasting relationship with buyers

    ...and MUCH MORE
Clear examples and pictures illustrating key situations, great tips and real testimonies of some of our best users... all in this Outsourcing Guide.  So don't loose the outstanding opportunity to download GetACoder FREE E-book.
The Outsourcing Revolution: Why It Makes Sense and How to Do It Right
The Outsourcing Revolution: Why It Makes Sense and How to Do It Right
What is GetACoder?

GetACoder.comGetACoder is a leading Global Services Marketplace doing business in more than 200 countries. Our unique system accelerates your time to market and provides your business with key competitive advantages. When you use GetACoder you are stretching your budget and saving as much as 60% over traditional outsourcing. GetACoder is changing business, now it's no longer about what you own or build but which resources and talent you can access. With GetACoder you reduce expenses, increase efficiencies, aggressively grow your business, and create a sustainable competitive advantage. GetACoder makes outsourcing to any part of the world an easy task! With GetACoder it's simple to outsource any business request, gain access to global talent and manage jobs online.

One of the main advantages of GetACoder is the low labor cost. The typically rates are about seven times lower than the ones in the US or Europe. Posting a request at GetACoder allows the right professional or company to find you and to bid for your work. We are building a reputation for exceeding our customers' expectations and for becoming an extremely cost effective way to outsource work. Use GetACoder when you want to save money, increase efficiency or accelerate the development of your request. With GetACoder you focus on growing your business and let others do the tedious work. Post your request on GetACoder for free. Find out why people outsource jobs with us day after day.

Thousands of Satisfied Customers - Submit/View Quotes


-GetACoder is a very good site and can make everyone successful. - raaz
-GetACoder is a good website. - ronycmt
-GetACoder is really fantastic. I really loved it. It seems to be one of the best freelance sites. I will recommend everyone to use it. - influxive
Report Violation    Privacy Policy     Affiliate Program    Terms of Use    Contact Us    Help      GetACoder.com on Facebook      Follow GetACoder on Twitter      GetACoder.com Latest Requests RSS Feed
© 2004-2012 GetACoder. All rights reserved.