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

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

 

Total Marks: 20

 

Due Date:  04/06/2015

Instructions

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

Objective

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

Deadline

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

 

Question

 

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 :  ";

   cin>>First;

   cout"Enter Second value :  ";

   cin>>Second;

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

   cin>>operators;

 

   switch(operators)

   {

   case '+':

         Result = First + Second;

         break;

 

   case '-':

         Result = First - Second;;

         break;

 

   case '*':

         Result = First * Second;

         break;

 

   case '/':

         Result = First / Second;

         break;

 

   default:

         cout"Invalid operation: Program terminated." endl;       

     

   }

   coutendl"Result =  " Result endl;

 

getch();

   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

 

Note:

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

Solution submitted through email will also not acceptable. 

=====================================Ended=======================================

 

             For any query about the assignment, contact at CS508@vu.edu.pk

GOOD LUCK

 

Share This With Friends......

+ Click Here To Join also Our facebook study Group.

This Content Originally Published by a member of VU Students.

+ Prohibited Content On Site + Report a violation + Report an Issue


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


Views: 3016

See Your Saved Posts Timeline

Attachments:

Replies to This Discussion

which software will use in this assignment?

i got it.

thanks 

Peace! can u help me to sort out this assignment

Any One Discuss the assignment i didnt understand the assignment

AOA khoi smaj ne aa rhi iss assiments ki any one help me pls

Golden ya assignment to waaqy e taugh hai

Cout k leye Put_Line use hogi Ada ma. but Cin k jaga Ada ma kiya use hoga?? please tell anyone

Get tu use nahi hu ga cin ky ly:(

yeh compiler error deta hy koi bhi program nahi chala raha


assig ker li Ap ny Aadii?

I have completed only in 1 hour. 

shining Moon agr ap nay ak hour na kar li ha assignment to ap nay yaqenan usay compile kar k nai daikha ho ga. just handouts say parh kar convert kar liya hoga

peace ma agr First second and result ko agr integer declare karu to program compile ho jata ha and output b aa jati ha. but float declare karu jaisa k assignment ma kaha gaya ha to it shows ajeeb o ghareeb errors.

RSS

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

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