Hello, please I need help with the following using Python:   Write flowchart, pseudo-code and program for the following requirements, need to show written file content, and all results. A class of N students (N determined at runtime by user) with 10 grades. Need to input student 1st and last name, ID and scores, and write the information into a file. Read the file, calculate each student’s average score, letter grade, # of students (N), median score for all students, class average, who has the highest/lowest score. Print content of file and all results.Use a couple of students and 3 or 4 grades for testing the code first.

Question

Hello, please I need help with the following using Python:

  Write flowchart, pseudo-code and program for the following requirements, need to show written file content, and all results.

A class of N students (N determined at runtime by user) with 10 grades. Need to input student 1st and last name, ID and scores, and write the information into a file.

Read the file, calculate each student’s average score, letter grade, # of students (N), median score for all students, class average, who has the highest/lowest score.

Print content of file and all results.Use a couple of students and 3 or 4 grades for testing the code first.

Expert Answer

Want to see the step-by-step answer?

Check out a sample Q&A here.

Want to see this answer and more?

Experts are waiting 24/7 to provide step-by-step solutions in as fast as 30 minutes!*

*Response times may vary by subject and question complexity. Median response time is 34 minutes for paid subscribers and may be longer for promotional offers.
Tagged in
Engineering
Computer Science

Python

Related Computer Science Q&A

Find answers to questions asked by students like you.

Q: Question: Write a function to display a pattern as follows: 1 2       1 ... ... n       n-1         ...

A: Solution:The python program has the following algorithm:In the displayPattern() function,Declare and...

Q: Code should be in C++ Absolute Value Template: Write a function template that accepts an argument an...

A: Since Function Templates are used to handle all possible data types you can say generic data type at...

Q: This is for pygame Ball Class: The Ball class inherits from Drawable and it will draw a circle at it...

A: The class Ball to draw a circle at its current location:Import the Drawable class and pygame module....

Q: Write a program that coverts a zip code to a bar code. The bar codes use large and small bars. We wi...

A: Since no programming language is mentioned we will use Java to implement solution to this problem. F...

Q: Design a Turing machine that computes the function f (x) = x − 2 if x > 2   = 0 i...

A: Click to see the answer

Q: Create a new file (in Dev C++) . In Lab 2, you created a menu for a simple calculator program. In La...

A: Program Instructions:Declare variables and call the printHelloMsg() function to display a welcome me...

Q: The symmetric difference of two sets S1 and S2 is defined as S1 ⊝ S2 = {x : x ∈ S1 or x ∈ S2, but x ...

A: Solution:Given that,The symmetric difference between two sets such as “S1” and “S2” can be expressed...

Q: Consider the following procedure: procedure mystery (x, y, z); integer x, y, z;beginz = 2; y= z+x;en...

A: Pass by value copies the value of argument and passes it to the parameter. Hence, the final value of...

Q: Write a complete C++ program that does the following: 3. Create a function called findSmallestValue ...

A: To use  functions, first of all  you need to declare the functions and to input the number of rows a...

Q: What would the output be when the user taps or clicks the btnDrivingAge button   Private Sub btnDri...

A: Form1:

Q: Programming in C

A: The program would have the following steps:Declare the arrays to accept the user input and the array...

Q: how to write a function in python 3 using for loop that counts how many times a consonant (either lo...

A: Note: The given program is compiled and executed in "repl.it" online compiler.

Q: Try giving these 2 commands $ echo cat$ cat echoExplain the differences between the output of each c...

A: echo command:echo command is used to display the line of text passed as an argument. It is a built i...

Q: What is a program

A: A program is a set of instructions that a computer performs. A program contains a sequence of instru...

Q: Write a program to decipher a numeric code in C++. After years of searching, your team has uncovered...

A: Program Instructions:Add header file and the required comments.Declare variables original_number and...

Q: Prove that the following languages are not regular: (b) L = {anblak : k ≠ n + l}.

A: First, assume the given language is regular.Then apply pumping lemma to prove the statement is not r...

Q: What values will print? Use Eclipse to verify it and show the steps. double x = Math.sqrt(4);System....

A: Creating the program exemplifying the Java math operators in a class called MathOperators as shown i...

Q: Construct npda that accept the following regular language: L1 = L (aaa∗bab).

A: Non-deterministic pushdown automaton (NPDA):Given: aaa*bab To construct NPDA, when “a” comes then pu...

Q: Hello, I have a question with the program javascript and in the program I need to create a timer in ...

A: To display the greeting message, we can declare a new variable, suppose wish, to store the greeting ...

Q: Please trace the code and give the correct output

A: Program Instructions:After adding the necessary cstring header file and formatting the output, the p...

Q: Write a Python program that allows the user to enter any integer value, and displays the value of 2 ...

A: Given below is the python program that allows the user to enter the value of an integer and displays...

Q: How to implement a pluggable Adapter design pattern in Java?

A: Let’s say we have a client class called Client.java which calls method1( ) of an existing library cl...

Q: Is each of the following an absolute pathname, a relative pathname or a simple file name?a. Milk_cob...

A: Absolute path specifies the location of a directory or file from the root directory including a slas...

Q: 1.6 Compute the scalar cardinality and the fuzzy cardinality for each of thefollowing fuzzy set.

A: The scalar cardinality of a fuzzy set is calculated using the formula:

Q: Write a program in Eclipse that prompts the user to enter a string and displays the number of vowels...

A: Solution:Given data, The java code gets the input string from user and display the number of vowels ...

Q: I have a question about blockchain technologies. The question states "Describe three components of b...

A: Solution:Blockchain technologies:Blockchain is a technology which permits the digital data to be dis...

Q: steps to build up a new prodect brand?

A: Steps to build up a new product brand are as follows:

Q: How do I check if a binary number is a multiple of 16 by using bit shifting?

A: Approach: Result = (((n >>4) << 4) == n). First we shift the 4 bit right then we shift t...

Q: **accounting information system**1. HTML and XML- how are they similar? how are these different? XML...

A: We will answer the first question since the exact one is not specified. Please submit a new question...

Q: create a file in c++. Download the attached CreateRandomNumbersFile.cpp file, open it in Dev C++, an...

A: Program Instructions:Include necessary header files, declare local variables, and display a hello me...

Q: Visual Basic. Write an expression that evaluates to true if the value of the integer variable number...

A: In visual basic we use the Mod operator to check the remainder of a division.

Q: I need ERD Model Arrow Electronics is a consumer electronics retailer operating in the United States...

A: The 8 entities are indicated below with only their unqiue identifier (bold) and one or more other at...

Q: What is the output of the following code: public class A{public int methodOfA(int i){i += 10;return ...

A: Given program:File name: A.java

Q: Rainfall StatisticsWrite a program that lets the user enter the total rainfall for each of 12 months...

A: The following program is in C++ language and it is compiled in the “repl.it” compiler.Program plan:I...

Q: Show that the following grammar is ambiguous: S → aSbS |bSaS| λ.

A: Solution:Given that,Proof: Given grammar is ambiguous.

Q: I now must create a physical Entity Relationship diagram from this list table. While, I feel more co...

A: The table has 9 columns and they can be grouped roughly under 3 entities as follows:Project – Projec...

Q: Consider the languages below. For each, make a conjecture whether or not it is regular. Then prove y...

A: The given language L = {anbl : n/l is an integer} is not regular language because a DFA cannot be co...

Q: How do I define a recursive function with C++? I am supposed to compute the Fibonacci numbers with a...

A: The algorithm for the recursive Fibonacci series is as below:Start with the first element which is 0...

Q: 1. What is the output of the following code? public class Loopy {public static void main(String[] ar...

A: 1. Algorithm for the given code is as follows:The variable ""x is initialized as "1" within the "mai...

Q: When disposing disks or hard drives, it is recommended to format them (writing binary zeros) at leas...

A: Reason of formatting the disks or hard drives is as follows:

Q: Prove that the following languages are not regular: (b) L = {anblak : k ≠ n + l}. (c) L = {anblak : ...

A: In the given question, multiple parts are there and we will solve only first three parts as no parti...

Q: 5-13) Find the largest n such that n cubed is less than a positive integer entered by the user. Use ...

A: The heart of the algorithm lies in finding such a number whose cube is less than the given number he...

Q: what is the most cheapest firewall

A: Firewalls provide security to the network by monitoring and controlling the network traffic. It crea...

Q: Assume that a computer architect has already designed 6 two-address and 24 zero-address instructions...

A: Given:Instruction length = 11 bits = 211 = 2048 bitsAddress register size = 4 bits5 two-address inst...

Q: As an IT manager, what strategy would you have followed to avoid the failed implementation of ERP sy...

A: ERP system:It denotes software for business process management that permits an organization in using...

Q: Visual Basic. Given two variables, isEmpty of type boolean, indicating whether a class roster is emp...

A: We will have two check the below conditions:-1) class roster is not empty2) the class is one or thre...

Q: • Write a program in Eclipse that computes future investment value at a given interest rate for a sp...

A: Program plan:Import necessary packages.Define a class named “Investment”.Define a method named “comp...

Q: Create a new file in C++ and save it as lab12_XYZ.cpp  Consider rolling two six-sided dice. Whil...

A: Program Instructions:Declare the header files, constants, and prototypes.In main() call functions di...

Q: Let L1 = L (a∗baa∗) and L2 = L (aba∗). Find L1/L2.

A: Solution:Given that,Input: L1= L(a*baa*) and L2 = L(aba*) Output: Determine the L1/L2.We take all st...

Q: Write a program called StudentTable that prints the below table. Use only print() orprintf(). DO NOT...

A: The program in Java would be using print and printf statements with formatting for left alignment of...