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

 

+ Click Here To Join also Our facebook study Group.

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


See Your Saved Posts Timeline

Views: 3022

.

+ 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

code kon sa likhna hai??koi bta skta hai?

Aadii is image may Window 7 homebase 64bit core i5 k leya in may say kon sa thek install ho gha. plz bata do. ma nay file upload kar de ha dakh k bata do

Attachments:

please reply to karro

x86-64 windows (32 bit)

ye kr lo ye ho jay ga install 

kisi ne ya assi ki hai to pls idea share kero

bro  j.s yahe pic wali coding to ms word ma lekh ky send kar do is ma smhaj nei a rhi kuch bi

koe coding to ms word ma send kar dy in pic ma coding clear show nei ho rhi plz jaldi send kar do kuch hour rhay gay hain.

RSS

Latest Activity

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

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