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

This document below describes the requirements and procedures to capture data ab

ID: 3751072 • Letter: T

Question

This document below describes the requirements and procedures to capture data about movies.

Please answer the following questions:

1) How the data dictionary is represented in the Procedures Plan for Class Movie ?

2) How the Event Procedures Plan for MovieForm uses the Movie Class ?

3) Why a reference variable is needed when the SelectedIndexChange event procedure runs ?

Remove from listhox Else Inform user that need to make a selestien first If there's a selection Get movie frem the listbox Need reference varlable Display movie property values in controls Project Name: Movies Project Purpose: Track movie production, costs, revenues Procedures Plan for Class Movie Data Requirements Procedure Name a Type Element Title Release Year Int on Pseudocode return _title f (value length0) Type RequiredValidation Rules/Calculation String )X Must be 1 or more characters Must be 4 digits > 1920; less than 6 years in tide-value future =0 and value1) Mavie List Text Text Text Batina- value Throw exception Int int value) If (value>0) Event Procedures Plan for form MovieForm runtime- value Object Throw exception Click movie entry to listbox Create Instance of movle class (string title, int runtime) -title o Is there either a run time or budget entry? And there's a tide (need to decide which constructor to use based on which values have) - runtime o Movieeove-new (string title, decimal budget) Movie(arguments) -title Assign values to movle object . o Start Try block - budget (string title, int runtime, decimal budget) -runtime o Add to listbox o Catch-tell user about invalid value lick If there's a selection

Explanation / Answer

1) How the data dictionary is represented in the Procedures Plan for Class Movie?
In the data dictionary, all the elements are Procedures in the Procedure Plans. These procedures are functions which perform specific tasks and return a value. The constraints specified in the data dictionary is also applied in the Procedure Plan. If you observe the pseudo code for Title, Release Year etc, the constraints or validation is being performed.
For the Title, the string should be more than 1 or more characters, that is being handled in the procedure plans.
It also implemented a set of constructors to specify default condition as specified in the data dictionary.

2) How the Event Procedures Plan for MovieForm uses the Movie Class?
The
The Movie Class is a blueprint of Event Procedures Plan. There are different buttons like Add, remove. There are different events like Click. Whenever the particular event occurs the particular action has to be performed.

Based on the input given, the different types of constructors being called and handles an exception for abnormal conditions.

3) Why a reference variable is needed when the SelectedIndexChange event procedure runs?
There is a MovieList and which allows you to select multiple movies from the available lists. Without a reference variable, you cannot keep a track of which movie is being selected and unselected.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote