The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 2 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
can you make script 3?
Please write full script not a part of a script
Win213Lab 6ArraysLab 6: Arrays and Menu BuildingIn this lab you will create a modular program consisTng of 3scripts Ted together with a menu.±he menu is provided asgrading_menu.txt, and can be downloaded from My Seneca.You can use this menu to save Tme or create your own.±hemenu should follow the following opTons.OpTon 1: Calls a script to enter student names and stores themin anarray.OpTon 2: Calls a script to enter student numerical scores andstores them in an array.OpTon 3: Calls a script to evaluate the numerical scores anddisplay a message, based on the score, which is stored in anarray.OpTon 4: Calls a script to extracts the elements of the namesand message arrays and converts them to a dicTonary.OpTon 5: exits the program.We will also learn about scopes in this lab.All of the programs we have wri²en using a menu did notreturn any values.Scopes are security containers to protect the use of variables.Each script runs in itsown script scope, which means that the main program, which Tes the 3 scripts together, will not be ableto access the arrays created in the other scripts. ±o allow access, we must change the scope of allvariables to global.Follow the instrucTons below to create each script and your menu.1.Script 1: LearnName_Grading_Names.ps1a. Use the script template and complete the help comments as follows:b. Create a variable called $UserResponse and sets it value to “Y”c. Create an empty global array called Names ($global:Names)d. Clear the console1
Attachments:
-----------