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

CS 508 (GDB) will be open on February 23, 2015. Students will be able to post their comments for 48 hours only.

GDB announcement Dated: Feb 17, 15

Dear Students,

The activity of Graded Discussion Board (GDB) will be open on February 23, 2015. Students will be able to post their comments for 48 hours only.

 

GDB Topic:

A number of programming languages have been discussed in this course. Broadly these languages are categorized in two classes: 

  1. Statically typed languages
  2. Dynamically typed languages

Each of the mentioned classification has its own merits and demerits e.g. statically typed languages enhance runtime performance but at cost of flexibility and vice versa.

Being a programming languages expert, you are required to discuss which type of language will you favor/support?  Justify your answer with solid reasons.

 

Note:  A mere comparison of static and dynamic typed languages is not required. Instead, mention your choice and support for a particular class with logical reasons.

 

Further, try to provide precise and to the point comments avoiding irrelevant details. For any query, please send your emails at CS508@vu.edu.pk.

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: 670

See Your Saved Posts Timeline

Replies to This Discussion

plz start the discussion about this gdb.....

A language is statically typed if the type of a variable is known at compile time. This in practice means that you as the programmer must specify what type each variable is. Example: Java, C, C++,c#

The main advantage here is that all kinds of checking can be done by the compiler, and therefore a lot of stupid bugs are caught at a very early stage.

A language is dynamically typed if the type of a variable is interpreted at runtime. This means that you as a programmer can write a little quicker because you do not have to specify type everytime. Example: Perl,JavaScript

Most scripting languages have this feature as there is no compiler to do static typechecking anyway, but you may find yourself searching for a bug that is due to the interpreter misinterpreting the type of a variable. Luckily, scripts tend to be small so bugs have not so many places to hide

koi to kar da solution upload :(

Static Typing: The languages such as Java and Scala are static typed.

The variables have to be defined and initialized before they are used in a code.

for ex. int x; x = 10;

System.out.println(x);

Dynamic Typing: Perl is an dynamic typed language.

Variables need not be initialized before they are used in code.

y=10; use this variable in the later part of code

Im in favor of dynamic programing language bcz it gives freedom to programer. 

wat u all says? 

dynamic  programming language give free to programmer but they mostly create unfamiliar bugs due to interpreted the variable at run time, e.g Float, Boolean or string u not be specifier they may b causes of memory leakeg  

100% correct answer is 

favor Statically typed languages 

RSS

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

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