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

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

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.

 

+ How to Follow the New Added Discussions at Your Mail Address?

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

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 3258

.

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

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

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

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

zafar Noor liked +M.Tariq Malik's group ENG301 Business Communication
1 minute ago
Profile Iconzafar Noor, Syed Sibtain Shahbaz, SARIM KHANI and 21 more joined Virtual University of Pakistan
10 minutes ago
sufian tahir replied to +M.Tariq Malik's discussion ENG301 Business Communication Assignment No 01 Spring 2020 Solution & Discussion in the group ENG301 Business Communication
12 minutes ago
sufian tahir joined +M.Tariq Malik's group
12 minutes ago
Muhammad Bilal replied to +M.Tariq Malik's discussion MGT603 Strategic Management GDB Spring 2020 Solution & Discussion in the group MGT603 Strategic Management
36 minutes ago
NOORI replied to NOORI's discussion SOC101 Introduction to Sociology Assignment No 01 Spring 2020 Solution & Discussion Due Date: 08-06-2020 in the group SOC101 Introduction to Sociology
40 minutes ago
NOORI replied to NOORI's discussion SOC101 Introduction to Sociology Assignment No 01 Spring 2020 Solution & Discussion Due Date: 08-06-2020 in the group SOC101 Introduction to Sociology
40 minutes ago
moniba hussain left a comment for Kiran Shahzadi
46 minutes ago
Asim replied to +¢αяєℓєѕѕ gιяℓ's discussion MGT503 - Principles of Management GDB Due Date Jun 08, 2020 in the group MGT503 Principles of Management
58 minutes ago
Asim joined +M.Tariq Malik's group
58 minutes ago
Maham Raza. replied to shan's discussion buzurg to ghar ki shan hain
1 hour ago
Muhammad Bilal replied to Muhammad Tayyab's discussion MGT201 Financial Management GDB Spring 2020 Solution & Discussion Last Date: 09-06-2020 in the group MGT201 Financial Management
1 hour ago

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

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

.