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.

plz upload idea solution..........

Views: 190

Attachments:

Replies to This Discussion

a)    Which programming language among Java and C++ will be preferred by you in this programming paradigm keeping portability a major concern for your company? State your answer with solid reasons? [5]

Solution:

Java using VM (virtual Machine) between the application and Real Environment (computer+ operating system).

We can run the program everywhere. Each kind of computer has its own instruction set. While some processors include the instructions for their predecessors, it's generally true that a program that runs on one kind of machine (computer) won't run on another. Add in the services provided by the operating system, which each system describes in its own unique way, and you have compatibility problem. In general, you can't write and compile a program for one kind of system and run it on any other without a lot of work. In other words, most programs are not portable JAVA is an architecture neutral language. As stated in article1, the JAVA compiler generates JAVA Virtual Machine codes instead of machine codes specific to the computer system we are using.

Portability Factors:

Portability Factors

For Java

Platforms

Growing

Built-in-Libraries

Extensive

Third Party Libraries

Extensive

Standardization

High

Commercial Use

Extensive

Runtime Behavior

Defined

Safe Programming

Yes

RSS

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

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