Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Name 10/25/2017 Score_ CIS 346 Theory of Programming Languages A. Explicit chang

ID: 3601087 • Letter: N

Question

Name 10/25/2017 Score_ CIS 346 Theory of Programming Languages A. Explicit change of type by the programmer 8. Dialect of LISP often used in A 8. word used in Java to create a subclass Python 2. extends 3. Garbage COBOL Scheme FORTRAN Cast lexeme D. Group of information in a database, with rows and columns 5. E. A path that points to nothing useful 6. F. Language used for business; contains decimal number primitives G. Automatic change of data type by the compiler 8. H. Qualities or properties of a variable 1. Object oriented language without variable declarations and using white space for separation J. Data with no path to it K. Smallest unit of a language Dangling reference 10. Coercion Table 12. allows a new class to inherit members of the class it extends. _ a. Encapsulation b. Attributes c. Methods d. Inheritance 13. In Python, which of the following is the correct syntax for defining a class, table, which inherits from the furniture class? a. class furniture[table]: b. class table.furniture: c. classfurniture (table): d. class table (furniture): 14.-has the ability to define a method in a subclass and then define a method with the same name in a superclass. a. Inheritance d. the 'is a' relationship

Explanation / Answer

1) python - object oriented languaage without variable declarations and using white space for seperation
2) extends - word used in java to create a subclass
3) garbage - data with no path to it
4) cobol - language used for business; contains decimal number primitives
5) scheme - dialect of lisp often used in AI
6) fortran - qualites or properties of a variable
7) cast - explicit change of type by the programmer
8) lexeme - smallest unit of a language
9) dangling reference - a path that points to nothing useful
10) coercion - automatic change of data type by the compiler
11) table - group of information in a database, with rown and columns.

12)
inheritance allows a new class to inherit members of the class it extends

13)
class table(furniture):

is the defintion of class table which inherit the furniture class

14)
polymorphism has the ability to define a method in a subclass and then define a method with the same name in a superclass