Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

CS508 Assignment # 2 has been uploaded on VULMS covering lectures 1 to 17 . Its due date is Due Date: May. 24, 2017


            Understand and get hands on experience of:

  • Programming tool for Ada language like Ada GIDE or GPS (GNAT Programming Studio)
  • Array, Loop, Pieces the array and copy chunks(pieces) of array

Write a program in Ada language which will copy chunks of data from source to destination array.


Assignment Instructions:

In this program, you need to declare two arrays (one dimensional) of size sixteen (16) with names “Source” and “Destination”. Source array should contain numeric values from 11 to 26, as showing in below diagram. Then source array should be logically divided into four chunks. Each chunk will have four numeric values. Your program will copy the chunk of array from source array to destination array. Arrows shown in diagram will help you to see which chunk will copy at which location. After copying the chunks, display data of source and destination arrays as shown in sample output screen shot. 


Important Note:


Make sure that you copy a complete chunk using single statement instead of copying elements one by one. Marks will be deducted in case of copying data elements one by one.


Views: 3335


Replies to This Discussion

is  ma  jo  error  ha  plz  koi  usy   thek  kar  dy   plzz


Ye lo assignment ki jaga bus apni id likh lena aur save b apni id k name say kar k run karna


this code is working fine

You can check on this site

Plzzzzz muja bana dain gy ap assignment plzzzz.... meri id lekh ka bcz mera laptop main nai chal raha dev c q ka virous hai so ap bana dain gy main wohe donwload kar ka submit krwa dn ge plzzzz

dev c pay ni banni ye assignment

ada guide ya online compiler pay run honi dono ka tareqa hy is yahan k kaisay karna bus code thora change kar lijiye ga

Oho jo b hai koe b nai chalta na plzz help kar dain meri

koe help ho jae ge :P

.ali kise ka name ni ye compile kartay way aik file banti hy iski koi problem ni builtin hy ye

bro code bar bar error de raha he 

koi bta skta he kun de raha he ?

Kya error?

run hi ni ho raha


© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service