Explain inheritance and polymorphism in lingo programming, Programming Languages

Assignment Help:

Question:

(a) Explain the concepts of Inheritance and Polymorphism in Lingo programming.

(b) Write short descriptions on parent scripts and child objects in Lingo object oriented programming (OOP)? Your answer should include the equivalent terms used in C++ OOP?

(c) During autumn season in Europe, tourists are attracted by the random dropping of brown, yellow or reddish brown of leaves when a light wind blows, indicating the approach of winter season.

You have been asked to use Lingo OOP techniques to create the animation of the falling leaves in autumn season. Given that the original leave is a film loop and is already designed as cast member ‘autaumleaveLoop'. The movie consists of a button (‘Add Leaves').

Each time a user clicks the button, a leave starts falling randomly from top of the stage. The child leaves created are of random colours.

Using parent script and child objects in OOP, write lingo scripts to create this animation.


Related Discussions:- Explain inheritance and polymorphism in lingo programming

Python, Write a python script that will take two file names as input (src, ...

Write a python script that will take two file names as input (src, dest). Open src reading each line in the file, and replacing any occurrences of name with the string "redacted".

Create a directory, The ?rst task in the project is to develop a sane syste...

The ?rst task in the project is to develop a sane system to store change logs and versions of ?les. The simplest approach is to create a "dot" directory in the location of the ?le

Matlab project - beginners level, Can you provide help in solving error pro...

Can you provide help in solving error problems, with my matlab project?

Example of undetermined coefficients, Example :  Solve the following differ...

Example :  Solve the following differential equation. y (3)   -  12 y''+48 y' + 64 y = 12 - 32 e -8t + 2 e 4t Solution :    We first require the complementary solution

and gate- or gate-logical-program , System.in and System.out should not be...

System.in and System.out should not be used anywhere in the programs except in main and only for testing purposes.  All calculations should be done in a method.  Note:  To use J

Use case diagram incremental development, Introduction This assignment ...

Introduction This assignment builds on your application, produced in Assignment 1, which holds a list of cabins, which can be either read in from a text file or just hard coded

Java source code classes and objects, Design and implement a stringed music...

Design and implement a stringed musical instrument class using the following guidelines: a. Data fields for your instrument should include number of strings, an array of stri

Python , Return a new picture with each pixel''s color values made up of 80...

Return a new picture with each pixel''s color values made up of 80% of the color values of the corresponding pixel in the first picture and 20% of the color values of the

Write an application to assign seats for each flight, ( Airline Reservation...

( Airline Reservations System ) A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You are to w

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd