Refer to the following powershell code for the next 9 questi…

Refer to the following powershell code for the next 9 questions :# Student grade processor# Line 1[string] $ClassName  = “Introduction to Scripting”[int]    $PassingGrade = 60[bool]   $Verbose      = $true # Line 6$Scores = @(72, 45, 91, 58, 83, 100, 39) # Line 8$TotalScore   = 0$PassCount    = 0$FailCount    = 0 # Line 12foreach ($Score in $Scores) {    $TotalScore += $Score     if ($Score -ge $PassingGrade) {        $PassCount++        if ($Verbose) {            Write-Output “PASS: $Score”        }    } else {        $FailCount++        Write-Output “FAIL: $Score”    }} # Line 26$Average = $TotalScore / $Scores.Length # Line 28Write-Output “— $ClassName —“Write-Output (“Average: {0:F1}” -f $Average)Write-Output “Passed: $PassCount  |  Failed: $FailCount”