We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>


Looking For Something at vustudents.ning.com? Click Here to Search

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

Objectives:

            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.

 

+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 3196

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Attachments:

Replies to This Discussion

Check the link below for solution
https://youtu.be/1ABQnhJZ0Go

Send solution

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

Google it 

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
begin
for i in s'range loop
put(s(i), width=>4);
end loop;

end put;
s: MyArray := (11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26);
d: MyArray :=s;

begin
Put_Line ("chunk of source array:");
put(s);

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);
put(Destination);
end Hello;

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,
https://www.tutorialspoint.com/compile_ada_online.php

es ka b kuch khas faida nai  u should have to download application 

RSS

Latest Activity

+ M.Tariq Malik replied to + M.Tariq Malik's discussion MTH753 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group MTH753 Advanced Fluid Dynamics
6 minutes ago
+ M.Tariq Malik's 61 discussions were featured
6 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MTH721 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group MTH721 Commutative Algebra
6 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MTH720 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group MTH720 Thesis MS in Mathematics
6 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MTH718 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group MTH718 Topics in Numerical Methods
7 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MTH7123 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group MTH7123 Advanced Fluid Dynamics
7 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MTH706 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group MTH706 Advanced Linear Algebra
7 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MTH704 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group MTH704 Computational Software’s for Mathematics
7 minutes ago

Today Top Members 

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

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