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.

Assignment No. 02 (PPT Audio)
SEMESTER Spring 2015
CS508- Modern Programming Languages


Total Marks: 20


Due Date:  04/06/2015


Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit  if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file corrupt.
  • The assignment is full or partially copied from (other student or ditto copy from handouts or internet).
  • Student ID is not mentioned in the assignment File or name of file is other than student ID.

Uploading instructions

Your submission must include:


  • Assignment should be in .ppt or pptx format.
  • Save your assignment with your ID (e.g. bx020200786.ppt).
  • Assignment submission through email is highly discouraged


The objective of this assignment is

  • To give some comparison, knowledge for syntax of Ada programming languages. It will also enable students how write simple programs in Ada programming language.



Lectures Covered: This assignment covers Lecture #  13-17


Your assignment must be uploaded/submitted at or before 04/06/2015.




Ada is one of the Standardized and strongest programming language and has rich set of operators. Consider the following C++ code and write the equivalent code in Ada programming language to get the similar results by using the variables and constructs.                                                                                                                                              


#include <iostream>

#include <conio.h>

using namespace std;


int main()


   float First, Second, Result;

   char operators;

   cout"Enter First values :  ";


   cout"Enter Second value :  ";


   coutendl"Enter any operator like +, -, /,* : ";





   case '+':

         Result = First + Second;



   case '-':

         Result = First - Second;;



   case '*':

         Result = First * Second;



   case '/':

         Result = First / Second;




         cout"Invalid operation: Program terminated." endl;       



   coutendl"Result =  " Result endl;



   return 0;



Guidelines :

Ø  You are required to submit your solution as power point presentation with audio recording (ppt or pptx).

Ø  Use the template for solution that is attached with assignment file.

Ø  The total time for audio recording should not exceed 4 minutes.

Ø  Make sure that your recorded voice is clear before submission on LMS.

Ø  If audio is unclear or corrupt, then zero markswill be awarded.

Ø  Record your presentation as given in demo video attached with assignment. For MS-Office 2003, watch “Audio Narration Recording Office 2003” while in case of Office 2007 follow “Audio Narration Recording Office 2007”.

Ø  If you are using Office 2010, then save your solution file with “Save as type”= “PowerPoint 97-2003 Presentation”.

Ø  On first slide write your name, VU-ID and version of MS-Office you are going to use.

Ø  In rest of the slides, show your solution with audio explanation in a step by step fashion.

Ø Moreover, don’t forget to record your name and VU-ID on the very first slide



Solution submitted in MS Word, PDF, Image or any other format will not acceptable.

Solution submitted through email will also not acceptable. 



             For any query about the assignment, contact at



Views: 3244


Replies to This Discussion

 Mr.Aadii mane code b likha hy or compile and run b kia hy. or mane handout se nhi dekha kuch b. bcz ye mera subject ni hy I Have completed my study. mane ye assign just ap logon ki help k liay bnayi hy. I'll share Soon.

I also done this assignment bro :-) I get the results

AOA Aadiii Bhai kindly, cases ko ada mein kasy likhna hai help kar dain plz aj exdend date hai....!

Here is complete Solution . Enjoy  kren .

Remember me in your prayers.

Shining Moon Dear Your Program is showing Wrong Output.. see 4*10 is 40.00 not 4.00000+E2 something.. here you have to declare fixed Point decimal float with delta keyword. I hope u understand.

Aadii in which software u run the prog ?

online software  is not working properly :(

At last I get this message.. Zalimooooo dimagh ki Dahi kar di :-( Instructors itni tough Assignments daity k hafta dimagh khapana parta.. Bnda exams ki tyari kary ya assignments

Here E=10. 

jaisay C++ ma output show hti ha waisay hi exact  output show krani ha yahan b Moon.. I asked from instructors.. we know that e = 10 but hexa decimal ma output nai laini. pehlay yahi problem aa raha tha mary sath b.

Ok then you can use Delta for Decimal Fixed Point. 

Ma use kar chukka hu ap b kar lain.. upper ma nay yai btaya ha apko


Looking For Something? Search Below

VIP Member Badge & Others

How to Get This Badge at Your Profile DP


Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

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

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