Trusted by Students Everywhere
Why Choose Us?
0% AI Guarantee

Human-written only.

24/7 Support

Anytime, anywhere.

Plagiarism Free

100% Original.

Expert Tutors

Masters & PhDs.

100% Confidential

Your privacy matters.

On-Time Delivery

Never miss a deadline.

1)Write lgorithm/pseudocode for a program that reads a student record, consisting of the student's first and last name, followed by a sequence of test scores and a sentinel of -1

Computer Science Oct 14, 2020

1)Write lgorithm/pseudocode for a program that reads a student record, consisting of the student's first and last name, followed by a sequence of test scores and a sentinel of -1. The program should print the student's average score.  Below is a sample input and output: 4 pts
Harry Morgan
94
71
86
95
-1
                The average score is 86.5
2)Write programs that read a line of input as a string. Then, print:
A)   Only the uppercase letters in the string
B)   Every second letter of the string
C)   The string, with all vowels replace by an underscore


a)   Your code with comments
b)   A screenshot of the execution
Test Case:
           Python
A)  P
B)  yhn
C)  Pyth_n


3)Translate the following pseudocode into a Python program for finding the minimum value and prints it from a set of inputs. Keep asking user for a number until they enter a sentinel value, storing the number if it's lower than the number already stored. When a sentinel value is entered, the program stops.
Input value
Set a Boolean variable "first" to true
While input value not equal to sentinel value
     If first is true
                 Set the minimum to the value.
                 Set first to false.
     Else if the value is less than the minimum
                 Set the minimum to the value
     Input value
Print the minimum


a)   Your code with comments
b)   A screenshot of the execution
Test Cases:
                                   15, 12, 4, 2, 22, -1 (should print "the smallest number is 2")

Expert Solution

For detailed step-by-step solution, place custom order now.
Need this Answer?

This solution is not in the archive yet. Hire an expert to solve it for you.

Get a Quote
Secure Payment