List 2 languages that use static type binding and 2 languages that use dynamic type binding?
languages that use static type binding: C, Java languages that use dynamic type binding: JavaScript, Python
List 2 languages that use static type binding and 2 languages that use dynamic type binding?
1. What are the disadvantages and what are the advantages of dynamic type-binding? 2. What are the disadvantages and what are the advantages of static type-binding?
What is your favorite programming language? List the choices (static vs. dynamic) of that language with reference to type binding, storage binding, and scoping.
dentify the following as better representing static rather than dynamic binding. if static is better answer correct, else leave blank a) an int is an int forever and ever amen b) 2/2.0 = 1.0 c) 3/2.0 -> error message d) binding is done at compile time e) binding is slower but more flexible a. static b. dynamic c. static d. static e. dynamic
differentiate between static and dynamic binding scoping
1. Which of the following is a problem with dynamic scoping? Readability Access to nonlocal variables takes longer Static type checking may not be possible 2.Languages with dynamic type binding are usually implemented using: Compilers Interpreters Hybrid implementations JIT 3.Which variables are created using operator new? Static Stack-dynamic Explicit heap-dynamic Implicit heap-dynamic 4.Which variables are bound to memory cells before program execution and remain bound to the same memory cell during program execution? Static Stack-dynamic Explicit heap-dynamic Implicit heap-dynamic
Programming Languages short answers a.) What is a static Variable? When is this variable bounded to a value? Describe a possible use of a static variable in a program b.) What is a DYNAMIC Variable? When is this variable bounded to a value? Describe a possible use of a Dynamic variable in a program
List four of the six possible binding times, and for each binding time give an example of a binding that occurs at that time. • Language design time -- bind operator symbols to operations • Language implementation time-- bind floating point type to a representation • Compile time -- bind a variable to a type in C or Java • Load time -- bind a C or C++ static variable to a memory cell) • Runtime -- bind a nonstatic...
To build a Web application, is it preferable to use static or dynamic Web pages? Discuss? Write in your own words.
THEIR ARE 3 MAJOR SENSORY PARTS INVOLVED WITH BOTH THE STATIC & THE DYNAMIC EQUILIBRIUMS. 2 OF THESE 3 PARTS ARE IDENTICAL FOR BOTH EQUILIBRIUMS AND THE 3RD PART IS UNIQUE. INDICATE YOUR ANSWERS AS FOLLOWS: 2IDENTICAL PARTS FOR BOTH EQUILIBRIUM UNIQUE PART FOR THE STATIC EQUILIBRIUM UNIQUE PART FOR THE DYNAMIC EQUILIBRIUM Blank # 1 Blank # 2 Blank # 3
What is dynamic data type in C#? How to declare a dynamic data type? Describe in detail the role of Common Language Runtime (CLR) in .NET. Describe abstract classes in C# with an example. List and explain Overloadable and Non-Overloadable Operators in C#. Explain any two ways of passing parameters to a method in C#.