Pick one of the following languages: Python, Modula, Ada, C#, or Perl. After consulting an authoritative reference, discuss each of the following requirements below for that language.

Languages

Pick one of the following languages: Python, Modula, Ada, C#, or Perl. After consulting an authoritative reference, discuss each of the following requirements for that language:

(a) Declaration before use.

(b) Overloading of operators for programmer-defined types.

(c) Binding time of array size.

(d) What constitutes a scope.

(e) Location of a declaration within a scope.

After consulting an authoritative reference on the requirements for using global variables in C, answer the following questions.

(a) How can they be accessed in other compilation units?

(b)How can global variables be hidden from other compilation units?

(the selection will be Python language)

 

Pick one of the following languages: Python, Modula, Ada, C#, or Perl. After consulting an authoritative reference, discuss each of the following requirements below for that language.
Scroll to top