Python pseudocode: Can anyone please help me please? I’m so desperate for the answer.

Python Pseudocode: Can Anyone Please Help Me Please? Im So Desperate For The Answer.

Answers

Answer 1

Answer:

You need “input(prompt)” and “sum(iterable)”

Explanation:

import numpy

class Students:

   def __init__(self, students_size, marks_size):

       self.students_size = students_size

       self.marks_size = marks_size

   def input_name(self):

       return input("Name of the student:")

   def input_marks(self):

       for __ in range(self.marks_size):

           yield int(input("Mark:"))

   def input_students_data(self):

       for __ in range(self.students_size):

           name = self.input_name()

           yield name, list(self.input_marks())

if __name__ == "__main__":

   students = Students(students_size=3, marks_size=5)

   name = numpy.empty([students.students_size], dtype="<U100")  

   # more space might be needed for long names      

   marks = numpy.empty([students.students_size, students.marks_size])

   for i, (student_name, student_marks) in enumerate(                        

           students.input_students_data()):

       name[i] = student_name

       marks[i] = student_marks

       total = sum(student_marks)

       print("total: {:g}, average: {:g}".format(total, float(total)/students.marks_size))


Related Questions

Read the following scenario, and then decide if you should upgrade the computer. You have a desktop that you use primarily for writing essays for school and browsing the web at home. The computer is slowing down some, so you check the date on it. Your computer is 6 years old. It is amazing that it lasted this long. You probably need a better CPU and more RAM. What should you do?

Answers

Answer:

Upgrade

Explanation:

EDGE 2021

Answer:

B. Upgrade

Explanation:

Because you have a desktop, upgrading the CPU and RAM are an easy and inexpensive fix. Upgrading a laptop is more difficult and often requires purchasing a new computer.

I hope this helps<3

Have a nice day everyone<3

3. One advantage of online classrooms over physical classrooms is that:
A-You can usually take the classes on your own time.
B-It is easier to access class materials.
C-You can communicate with your teacher more effectively.

D-The quality of the teaching is usually better.


Answers

Answer:

c

Explanation:

You can communicate your teachers

How has the Internet expanded the reach of all of these types of media?

Answers

the Internet made it easier for us to find information or to communicate with one another.

Navigation buttons found on Web sites that might lead you to information about the Web site publishers are often labeled _____.


Shop

Index

What’s New

About Us

Answers

About us because what’s new would be about things that are new, index would be about a statistical measure, and shop would be to shop.

Which programming language uses objects?
a. C++
b. ALGOL
c. Pascal
d. BASIC

Answers

So this is your answer hope this helps you
C++

C++, it's also used as code for video games, so it would make sense.

how should tools be stored

Answers

You should store tools in a storage or tool box

it refers to the ability of different parts of a computer to work together as one. please answer this​

Answers

Multiseat o multipuesto,

What is a working model used to test a design called?

Answers

A working model used to test a design is a prototype.

Answer:

mockup is the working model

What is the value of creating recurring tasks?

makes task reminders more noticeable
makes task reminders more efficient
saves time spent manually creating multiple tasks
saves time spent manually configuring recurrence settings

Answers

Answer:

✔️saves time spent manually creating multiple tasks

Explanation:

I did it on edge

Answer:

saves time spent manually creating multiple tasks

Explanation:

it correct on edge 2021

Which portion of the Outlook interface contains commonly accessed commands that a user will require frequently
and is able to be customized by the user based on their particular needs?
Quick Access toolbar
ribbon and ribbon tabs
Tell me box
Title bar

Answers

Answer:

A

Explanation:

on edge 2021

what is a similarity and difference of email and bulletin board?​

Answers

you can use both to write and the different is one is mobile ..

yes or no let attractive visuals cover half of your ad space​

Answers

Answer:

Yes it covers half of my ad space

how does a USB flash drive get its files?

Answers

Answer:

The flash drive is inserted into a computer's USB port, or type-A USB connector. The USB connector communicates between the drive and the computer. The computer recognizes the drive as a separate hard drive, allowing users to move files from the computer's hard drive to the flash drive.

Which option is used in Access to locate and retrieve data that may be present in multiple database tables within the database?
queries

forms

procedures

Answers

Answer:

procedures

Explanation:

Answer:

themes

Explanation:

Which of the following bit value represent -5 in two's complement notation?
10000101
11111010
00000101
11111011

Answers

Answer:

11111011

Explanation:

is willingness to be held accountable for your actions

Answers

Answer:

Responsibility.

Explanation:

Responsibility is the willingness to be held accountable for your actions.

A responsible person would always take measured and careful step or engage in well-thought-out actions that will add value to their lives and positively impact their immediate environment.

This ultimately implies that, responsibility is an individual characteristic which typically involves acting in a positive manner and owning up to any of your actions.

In a nutshell, responsibility requires that an individual does the right thing, the right way, at all times.

Stacy plans to print her contacts and would like to choose an option that will print select information for each contact in a business card format. Which option should she choose?

Small Booklet style
Medium Booklet style
Memo style
Card style

Answers

Answer:

D

Explanation:

did the quiz

Answer:

D: card style

Explanation:

just took the unit test on edge and made a 100%

Buying the newest phone as soon as it is released when your current phone works perfectly is not a good idea for all but which of the following reasons?

Answers

Answer:

You are gonna waste money and it might not be the best idea

Explanation:

Answer:

waste money

Explanation:

What is pseudo code?

Answers

Answer:

a notation resembling a simplified programming language, used in program design.

Explanation:

Pseudocode is an artificial and informal language that helps programmers develop algorithms. Pseudocode is a "text-based" detail (algorithmic) design tool. The rules of Pseudocode are reasonably straightforward. All statements showing "dependency" are to be indented. These include while, do, for, if, switch.

How would our lives be different without computers at social?

Answers

Answer:

We'll spend more time with our family like vacations, gatherings and any type of family activities. Always having fun like telling stories and maybe spending more time outside with nature. Hanging out with friends and family.

Answer:

Life without computers would be so pathetic. It would be so difficult to spend a life without computers. We would not be aware of technology or what things are being discovered.

Explanation:

Thank You Have A Good Day or Night <3

what might be some challenges if you’re trying to design a product for someone

Answers

Answer:

failure

Explanation:

if someone dosnt like it

Failure,a picky person,time consumption if they can’t make up there kind,wasting time and money,

Which is the hanging indent on the rulern

Answers

Answer:

indent is a space between the red line.

Explanation:

a flow chart is the _______ representation of the sequence of steps required of steps required to solve a particular problem​. I know answer I want how is it the answer

Answers

Answer:

A flowchart is simply a graphical representation of steps. It shows steps in sequential order and is widely used in presenting the flow of algorithms, workflow or processes. Typically, a flowchart shows the steps as boxes of various kinds, and their order by connecting them with arrows.

How would our lives be different without computers at home?

Answers

Answer:

It would be so difficult to spend a life without computers. We would not be aware of technology or what things are being discovered. We could get information by newspaper, television, radio or some other medium but on computers.

Explanation:

Thanks for the points have a good day <3

Select the correct category of cybersecurity described.

It prevents intruders from accessing, misusing, destroying, adapting, or improperly disclosing networks, network infrastructure, or the information contained within networks.

network security

information security

operational security

infrastructure security

Answers

Answer:

Network security

Explanation:

Network security is a category of cybersecurity that is related to the protection of the infrastructure of the computer network from unauthorized access and intrusion that may be from intended attack or from an expedient  program which may result in the modification, malfunctioning, misuse or unacceptable disclosure of the network and the contents of the network

The category of cybersecurity that 'prevents intruders from accessing, misusing, destroying, adapting, or improperly disclosing networks, network infrastructure, or the information contained within networks' is network security.

Answer:

network security

Explanation:

Na2CO3 → Na2O + what

Answers

Answer:

CO3

Explanation:

Answer:

C02

Explanation:

Becca is working on a program that will store data. The program will need quick access to data and data persistence is not

important. Where should the data be stored?


In memory

In a database

In flash memory

In a flat file

Answers

Answer:

in memory

Explanation:

A database refers to a collection of data that is organized and stored in a computer system.

Flash memory is a non-volatile memory chip that helps to transfer data from a personal computer (PC) to a digital device.

A flat file comprises a single table of data.

Becca is working on a program that will store data such that the program will need quick access to data and data persistence is not  important.

Therefore,

data should be stored in memory.

Huzaifa is a grade 5 student who is very enthusiastic to learn coding in computers. He asks his computer teacher to help him choose a language to code. Which level language will the teacher recommend Huzaifa?

Answers

Answer:

High level language.

Explanation:

High level language can be defined as a programming language which is generally less complex than a machine (low level) language and easy to understand by the end users (programmers).

This ultimately implies that, a high level programming language is typically a user friendly language and as such simplifies coding or programming for beginners.

Some examples of high level programming language are Python, Java, C#, Ruby, Perl, Visual Basic, PHP, Cobol, C++, Fortran, Javascript, etc.

In this scenario, Huzaifa is a grade 5 student who is very enthusiastic to learn coding in computers. He asks his computer teacher to help him choose a language to code. Thus, the language level the teacher will recommend to Huzaifa is a high level language.

What is binary ????????

Answers

Binary (or base-2) a numeric system that only uses two digits — 0 and 1. Computers operate in binary, meaning they store data and perform calculations using only zeros and ones. A single binary digit can only represent True (1) or False (0) in boolean logic.1. Binary is a base-2 number system invented by Gottfried Leibniz that is made up of only two numbers: 0 and 1. This number system is the basis for all binary code, which is used to write data such as the computer processor instructions used every day.

Answer:

it is a numeric system that only uses two digits 1 and 0, computers can operate using binary meaning they store data and perform calculations only using 0 and 1

what are the hardware and software components of a computer​

Answers

Answer:

I. Hardware components of a computer includes monitor, speaker, central processing unit, motherboard, hard-drive, joystick, mouse, keyboard, etc.

II. Software components of a computer includes operating system, registry keys, antivirus, media player, word processor, etc.

Explanation:

The hardware component of a computer can be defined as the physical parts or peripherals that enables it to work properly. Some examples of hardware components are monitor, speaker, central processing unit, motherboard, hard-drive, joystick, mouse, keyboard, etc.

A software component of a computer comprises of software application or program that are used by the computer to manage or control software application, computer hardware and user processes. Some examples of software components are operating system, registry keys, antivirus, media player, word processor, etc.

In conclusion, the hardware components of a computer are the physical parts that can be seen and touched while the software components cannot be touched but rather are installed as a program.

Other Questions
When HIV infects a cell, it uses the hosts cell organelles to make more HIVviruses. Which of the following is TRUE about the cell organelles used byHIV/AIDS virus?A)Synthesis of free HIV proteins by ribosomes, membrane boundedproteins by rough endoplasmic reticulum and modification ofnewly synthesized HIV-membrane proteins is done by Golgiapparatus.B)All cell organelles including ribosomes, Rough and smoothendoplasmic reticulum and vesicles are used to synthesize one typeof viral protein.C) Only ribosomes are used by the virus for protein synthesis.D)Nucleolus is used by the virus essentially to enhance the rapidproduction of ribosomes to ensure more protein synthesis. Need help with my Spanish homework please answer do you like ice-cream in Spanish GIVING BRAINLIEST Read the following quote. "The judicial Power of the United States, shall be vested in one supreme Court, and in such inferior Courts as the Congress may from time to time ordain and establish." Which statement explains the quote from the Constitution best?A.) It explains how federal courts are structured.B.) It explains how the courts can appoint the president.C.)It explains who can be chosen as a justice.D.) It explains how the executive branch limits the power of the judicial branch. 6(2x-4)=12x+k what is the value of k will create an equation with infinitely many solutions A cold piece of metal is placed into a cup of hot water. This causes the temperature of the water to fall 5.25C. The original temperature of the water was 62.4C. What is the new temperature The controlling management function is largely a matter of ________. Which of the following is most damaging to the ozone layer?carbon dioxidemethaneO Oxygenchlorofluorocarbons During which period was The Great Wall of China strengthened into a stone wall that was over 4, 500 miles long?Xia DynastyShang DynastyMing DynastyChin Dynasty BRAINLY At the Mid-Atlantic Ridge, are the plates moving toward each other or away from each other? can y'all pls help me I don't want to fail and I will mark. Why is the theme of the poem ""the hill we climb"" by Amanda Gorman Solve for x.(8x-3)(16x - 33) if 2 = 1.414 then find the value of (50+72) please solve I have to solve this: (2x + 2/5)+(5x-4/5) and then simplify it. Which of the following statements about newspaper writing is FALSE?A. Newspaper writing generally follows a clear cut structure.B. The basic facts such as the 5 Ws + 1 H are typically covered in the first part of the article.C. Newspaper writing usually includes reliable and attributable quotes from individuals.D. The newspaper writing structure follows a circular structure that takes the reader through theevents as they occurred. Susana y yo(lavar) la ropa los Sbados.OlavaslavoO lavamosOlavis NEED HELP!How to find Is Earth always the same distance from theSun? Explain. The captain had the look of a man who sees a ghost, or the evil one or something worse. Whatdoes this reaction tell you about the captain and does it make you understand his ways ever since he arrived at the inn?