Understand and get hands on experience of:
Write a program in Ada language which will copy chunks of data from source to destination array.
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.
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.
+ Click Here To Join also Our facebook study Group.
.+ http://bit.ly/vucodes (Vu Study Groups By Subject Codes Wise)
I download the ada gide but it is not working send link
Idea Solutuion for cs508
kiya ap bta skte hen k hum ye code kahan likhen g ??????????? i mean koi application something else?????plzzz bta den
they have written above
Programming tool for Ada language like Ada GIDE or GPS (GNAT Programming Studio
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure Hello is
type MyArray is array (1..16) of Integer;
procedure put(s: MyArray) is
for i in s'range loop
s: MyArray := (11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26);
d: MyArray :=s;
Put_Line ("chunk of source array:");
Put_Line("chunks of destination array:");
d(1 .. 4) := s(9 .. 12);
d(5 .. 8) := s(1 .. 4);
d(9 .. 12) := s(12 .. 8);
d(13 .. 16) := s(5 .. 8);
compile kerty hoy error aa raha hay es code main
ada kaha se download krna hai plz help me send me the link
Amna je aapko ada compilar download aur install karne ki koi zarorat nahi hain, aap na code leke sidha online ada compilar pe compile kare aur execute bhi.
YE NECHE LINK JU DEYA HAIN, YE ADA ONLINE COMPILAR KA HAIN,
es ka b kuch khas faida nai u should have to download application