Assignment GDB Solution: CS508 Modern Programming Languages


CS508 Assignment 2 Solution Fall 2017

Question No 1: Suppose a textile company “Grace Textile” human resource (HR) department. It has total 80 employees in 3 different branches. Employees are of 3 categories: Internees, Contract and Permanent employees. Internees have internship of 6 months with fixed salary i.e, 20 thousand. Salaries are calculated on basis of grades. Both contract and permanent […]

CS508 Modern Programming Languages Assignment 1 Solution 2017

Question No 1: Fortran is a general-purpose imperative programming language that is especially suited to numeric computation and scientific computing. It is a popular language for high performance computing and is used for programs that rank the world’s fastest supercomputers. It encompasses a lineage of versions, each of which evolved to add extensions to the […]

CS508 GDB Solution Spring 2017

Be prepared for GDB of the subject Modern Programming Languages (CS508) which will open in couple of days. Prepare your GDB comments in advance and post them when GDB will open. The GDB will remain open for two days (48 hours). You can post your comments from “Wednesday, July 19, 2017” to “Thursday, July 20, 2017”. GDB […]

CS508 Modern Programming Languages Assignment 2 Solution

a.   Being a member of a software development team which requires developing software for defense organization, needing to run for more than 20 years. Which of the following programming language you will prefer? Justify your answer with solid arguments.                                                                         Marks: 04 i)                    SNOBAL ii)                  Ada iii)                FORTRAN      b. Write the program in SNOBOL that […]

CS508 Modern Programming Languages Assignment 1 Solution Fall 2014

Question No. 01: a)      Language Comparison is not an easy task and need a deeper look of different aspects of programming languages. Readability is one of the important criteria for language comparison. What is the direct effect of poor readability on maintenance?                                                                                Marks: 03 b)      In which way the following factors affect the software readability?                                      […]

CS508 Modern Programming Languages GDB Solution Spring 2014

These days mobile web application development is gaining lot of popularity.  You have learned some programming languages in CS508, Do you think programming languages which you have studied in this course are sufficient for the development of current mobile web applications justify your answer. Solution: CS508 does not teach the basic of mobile programming. It is not focusing […]

CS508 Modern Programming Languages Assignment 1 Solution Spring 2014

Go through  “PYPL PopularitY of Programming Language index”  ( And “TIOBE Index for April 2014” ( Study the above pages in detail. See how they have calculated the index. Based upon your study and understanding do you agree to the above indexes? Write your brief comments. You can also take help from

CS508 Modern Programming Languages Assignment 4 Solution Fall 2013

You will write a simple JAVA program that will take input from user, After taking input in try block it will check it if it is your VU id. If it is your VU-ID it will display message “Yes it is my VU-ID” else it will raise an exception MyException, in catch block you will catch the […]

CS508 Modern Programming Languages Assignment 4 Solution Spring 2013

Question # 1                                                                                                                               Marks 5        How can we avoid Aliasing Problems in Java, provide a code example. Keep your answer to the point.   Question # 2                                                                                                                              Marks 10      You will write a simple Java code that will demonstrate working of threads. You will write two classes, one and 2nd one will be will extend the thread class. In run […]