Answer 1. Python extends Garbage A. Explicit change of type by the programmer B.
ID: 3601085 • Letter: A
Question
Answer 1. Python extends Garbage A. Explicit change of type by the programmer B. Dialect of LISP often used in Al B. word used in Java to create a subclass 2. 3. 4. 5. COBOL D. Group of information in a database, with rows and columns E. A path that points to nothing useful Scheme 6. FORTRAN Cast lexeme Dangling reference 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 I. 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 10. Coercion Table 12. allows a new class to inherit members of the class it extends. a. Encapsulation c. Methods d. Inheritance b. Attributes 13. In Python, which of the following is the correct syntax for defining a class, table, which a. class furniture[table]: inherits from the furniture class? c. classfurniture (table): d. class table(furniture): b. 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 b. Encapsulation c. Polymorphism d. the 'is a relationshipExplanation / Answer
Match The following:
1. Python:->I.
2.Extends->C
3.Garbage->J
4.COBOL->F
5.Scheme->B
6.Fortran->H
7.CAST->A
8.Lexeme->K
9.Dangling reference->E
10.Coercion->G
11.Table->D
Question 12
Answer:D
A:wrapping of data and member functions in single unit is called Encapsulation
B:Method :these are declared ina class.
C:Attributes:these are the characteristics attached to the instance of the class.
D:Inheritance:It is the part Object oriented Programming language which makes one class to inherit another class.
Question 13:
ANSWER:D
The correct syntax to inherit any class in python is :
class <classname>(CLASSNAME TO BE INHERITED):
Question 15:
Answer: C
Polymorphism is the way by which we can declare method in subclass which overrides the same name method in super class.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.