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


+ Link For Assignments, GDBs & Online Quizzes Solution


+ 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: Modern Programming Languages Assignment No 01 Graded Semester: Spring 2018 

Objectives: The objective of this assignment is to get familiar with: 
  1.  Languages evaluation criteria 
  2.  Evolution of FORTRAN and C++ programming languages 
  3.  Different criteria to consider when choosing a programming language for a specific domain 
  4.  Java Virtual Machine and its impact on memory management
Lectures Covered: This assignment covers lecture # 1 to lecture # 9
Question 1: [10 Marks]

FORTRAN is a general-purpose, imperative programming language, originally developed by IBM in the 1950s for scientific and engineering applications. FORTRAN is credited as the first compiled high-level language and the most widely used language of its time. Its versions spans about half a century, with continuous improvements and amendments.
C++, a general-purpose programming language, is evolved from C, ALGOL and SIMULA. It not only improves imperative features but also adds strong Object Oriented and generic programming constructs. One of the main reasons for its widespread popularity is that it is backward compatible with C. It is used in a wide variety of domains including desktop applications, embedded systems, and resource-constrained applications.

Suppose a Meteorological Department involves extensive numerical weather computations – its purpose is to give updated global weather data to other state departments and to manipulate this data for weather forecasting. In your opinion, which language, out of FORTRAN and C++, is most suitable for this purpose? Also justify your choice. 

[NOTE: Write your answer in concise bulleted / points form. Do not write un-necessarily lengthy paragraphs]
Question 2: [5 Marks] 

When you build a Java project/code, then it is not translated into machine language but in an intermediate form called Java bytecode. This bytecode is then passed to Java Virtual Machine (JVM). The interpreter in the JVM then starts compiling bytecode into machine code.
Briefly explain how Memory Management is done in Java Virtual Machine (JVM). 

[NOTE: Write your answer in concise bulleted / points form. Do not write un-necessarily lengthy paragraphs]

Read more at https://www.vu-lms.tk/2018/05/cs508-assignment-no-01-solution-and-d...

+ 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: 1623


+ 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)

Replies to This Discussion

Guys please share idea solution

guys share idea solution

plz send solution any one

Please share solution





solution idea 


Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.



For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•.


Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 


P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”


Cs508 assignment #1 SOLUTION


Spring 2018


Vu ID:






Q1 Ans:

  • FORTRAN often is the best language for this purpose, when the purpose is scientific number crunching.
  • FORTRAN is extensively used in scientific computing.
  • FORTRAN compilers tend to have the best optimizers around.
  • This language itself is a lot more optimizable than Cish languages too.
  • FORTRAN’s library support for number crunching simply cannot be beat.
  • Good at numerical analysisand technical calculations.
  • FORTRANhas always existed.
  • FORTRANis a simple language.
  • A large number of programs and routines in Fortranare exchanged internationally.
  • Efficient compilers.
  • The dominating languageon supercomputers.



Q2 Ans:


            Memory management is the way toward allotting new protests and evacuating unused items to make space for those new question designations. This segment exhibits some fundamental memory administration ideas and clarifies the nuts and bolts about question distribution and junk accumulation in the Oracle JRockit JVM. The accompanying points are secured.

  1. The Heap and the Nursery: The heap is created when the JVM starts up and may increase or decrease in size while the application runs.

2.      Object Allocation:

3.      Garbage Collection

Garbage collection is the process of freeing space in the heap or the nursery for allocation of new objects. This section describes the garbage collection in the JVM.

  • The Mark and Sweep Model.
  • Generational Garbage Collection.
  • Dynamic and Static Garbage Collection Modes.


Today Top Members 

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

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