How do you keep a class running after you use a class function once in Python 3.​

Answers

Answer 1

Answer: Primitive data structures—like numbers, strings, and lists—are designed to represent simple pieces of information, such as the cost of an apple, the name of a poem, or your favorite colors, respectively. What if you want to represent something more complex?

For example, let’s say you want to track employees in an organization. You need to store some basic information about each employee, such as their name, age, position, and the year they started working.


Related Questions

explain how to open an excel document​

Answers

Answer:

Open Microsoft

and see and in computer

You can change the default margin size for Word documents. A. True B. False​

Answers

Answer:

False

Explanation:

Word processing is an application that allows you to create a variety of documents, including letters, resumes, and more.

what is storage devices?​

Answers

Answer:

A storage device is a device used to keep softcopy for future reference

A storage device is a kind of hardware, which is also known as storage, storage medium, digital storage, or storage media that has the ability to store information either temporarily or permanently.

Original IPv6 Address
Oe56:1102:0e75:8d23:3528:7e0d:419b:bdce
Compress
I

Answers

e56:11c2:e75:8d23:3528:7e0d:419b:bdce

which of the following not a compulsory part of a computer​

Answers

Answer:

Hardware and software are the mandatory parts

anyway keyword mouse monitor are not hardware parts of computer

A class can _____ multiple interfaces. Select one: a. extend b. implement c. inherit d. overload e. override

Answers

Option B is the correct answer.

A class can implement multiple interfaces. Thus, the correct option for this question is B.

What do you mean by Interface?

An interface may be defined as the place or location at which independent and often unrelated systems meet with one another and function on or communicate with each other in order to convey information and data.

According to the context of this question, a class that has some characteristics and based on that also possesses multiple interfaces in order to implement all of them in specific circumstances.

These interfaces illustrate some unique qualities that meet the final outcome of the communication. These qualities developed a rapport in front of the user to make some distinguishable attributes.

Therefore, a class can implement multiple interfaces. Thus, the correct option for this question is B.

To learn more about Interfaces, refer to the link:

https://brainly.com/question/5080206

#SPJ2

what are the functions of an input device​

Answers

Answer:

To feed the computer with data/instructions

Answer:

The function of an input device is to communicate information to a computer or other sort of information processing equipment. Input devices are types of peripheral devices that communicate with processing units. The most common forms of input device for personal computers are keyboards and mice.

1. The most common cause of a stuck accelerator is the
A. engine
B. steering wheel
C. brakes
D. floor mat

Answers

D. Floor mat. Floor mats are dangerous because they can slip, wedging the accelerator.

Answer:

D: Floor Mat

Explanation:

The floor mat can easily get flipped up onto either the breaks or the gas pedal, causing your car to malfunction.

Which of these was the first era of computing concerned with? Choose one

1. Computation

2. Communication

3. Electronic commerce ​

Answers

1. Computation

Answer

1.John Von Neumann's architecture model was proposed not only to staire data but to also execute instructions

Write a method that accepts an integer argument and returns the sum of all the integers from 1 up to (and including) the number passed as an argument. For example, if 3 is passed as an argument, the method will return the sum of 1+2+3, which is 6. Use recursion to calculate the sum. Test your method in main by prompting the user to enter a positive integer to sum up to. Provide input validation so that only positive values are accepted.

Answers

Answer:

mark me brainlist

Explanation:

import java.util.*;

public class Main {

       public static int sumOfNumbers(int n)

       {

               if(n==0) return 0;

               else

               return n+sumOfNumbers(n-1);

       }

       public static void main(String[] args) {

               Scanner sc=new Scanner(System.in);

               int n;

               while(true)

               {

                       System.out.println("Enter a number :");

                       n=sc.nextInt();

                       if(n<=0)

                       System.out.println("Enter a positive number ");

                       else

                       break;

               }

               System.out.println("Sum of all numbers upto "+n+" is :"+sumOfNumbers(n));

       }

}

which describes a platform

Answers

Answer:

Explanation: In IT, a platform is any hardware or software used to host an application or service. An application platform, for example, consists of hardware, an operating system and coordinating programs that use the instruction set for a particular processor or microprocessor.

hope it is helpful

Assign avg_owls with the average owls per zoo. Print avg_owls as an integer.

Sample output for inputs: 1 2 4
Average owls per zoo: 2

Answers

Answer:

I'm going to add a python program for this example, step by step:

We declare 4 variables for our zoo, zoo quantity, and the average.

We make the operation for the average where sum the zoo and divide with the quantity

In the last step, we print the variable avg_owls.

num_owls_zoo1 = 1

num_owls_zoo2 = 2

num_owls_zoo3 = 3

num_owls_zoo4 = 4

zoos = 4

avg_owls = 0.0

avg_owls=(num_owls_zoo1+num_owls_zoo2+num_owls_zoo3+num_owls_zoo4)/zoos

print('Average owls per zoo:', int(avg_owls))

Explanation:

The coding of the print avg_owls as an integer is written above.

What is coding?

We connect with computers through coding, often known as computer programming. Coding is similar to writing a set of instructions because it instructs a machine on what to do. You can instruct computers what to do or how to behave much more quickly by learning to write code.

We make the operation for the average, where sum the zoo and divide by the quantity.

In the last step, we print the variable avg_owls.

num_owls_zoo1 = 1

num_owls_zoo2 = 2

num_owls_zoo3 = 3

num_owls_zoo4 = 4

zoos = 4

avg_owls = 0.0

avg_owls=(num_owls_zoo1+num_owls_zoo2+num_owls_zoo3+num_owls_zoo4)/zoos

print('Average owls per zoo:', int(avg_owls))

Therefore, the coding is written above.

To learn more about coding, visit here:

https://brainly.com/question/1603398

#SPJ2

write the working of dot matrix printer?

no links

Answers

The working of dot matrix printer is provided in the picture.

which is true about artificial intelligence? a) can think b) act as body c) act as brain d) can learn.

Answers

Answer:

c). act as brain.

Explanation:

brain thinks and learns, so it covers a and d

[tex].[/tex]

C- act as brain
Reason: because a A.I. Can’t really learn if it’s programmed for a specific function and can’t act as a body if there programmed to do something they don’t really think in the process if it’s all 1’s and 0’s they just do what there told unless there programmed to do otherwise and programmed to learn and think individually

Need help coding this

Answers

Answer:

read the hint

Explanation:

ur missing something

Responsible use of computer is known as ................. .​

Answers

Answer:

This refers to the proper etiquettes and attitudinal posture to display while handling or using a computer system to ensure maximum performance, confidentiality and respect for other people's right.

Explanation:

Mei is working from home and speaking with her department manager on a Voice over IP (VoIP) phone connection. This technology allows telephone conversations to be routed over the Internet. During a VoIP conversation, Mei loses a few moments of what the manager has said to her. What is the problem

Answers

Session Layer consists that controls dialogues (interconnection) among machines in the ISO open platforms (OSI) model.

It sets up, manages, and stops the local and distant application interactions. It generates communication channels between devices, called sessions.Therefore, every OSI model Session Layer having dropped momentarily its line of communication because the information is deleted due to the magnets which drop the sessions.

Learn more:

brainly.com/question/14255125

What is the value of total returned by the call secret(3) ? int secret int num) { int total= 10; switch(num) { case 1: case 2: total=5. break case 3. total= 10: case 4: total=total+3: case 8: total=total+6. break default: total=total+ 4. break} return total; }​

Answers

Answer:

19

Explanation:

Without break; statements, the switch "falls through" to the next case. So the code is directed to case 3, which sets total to 10. Then another 3 gets added and another 6, because cases 4 and 8 are also executed. That brings the total to 19.

So, always use a compile rule or code checker that checks your code for missing breaks, because it is hardly ever what you want on purpose.

List the resulting array after each iteration of the outer loop of the selection sort algorithm. Indicate the number of character-to-character comparisons made for each iteration (line 07 of the Selection Sort algorithm). Sort the following array of characters (sort into alphabetical order): C Q R B P D X.
public static void selectionSort (char[] a){
int n = a.length;
for (int i = 0; i < n; i++){
int min = i;
for (int j = i + 1; j < n; j++){
if (a[j] < a[min]){
min = j;
}
}
exchange(a, i, min);
}
}
private static void exchange(char[] a, int i, int j){
//exchange the value at index i with the value at index j
char temp = a[i];
a[i] = a[j];
a[j] = temp;
}

Answers

Answer:

$5+879+$431=$426809800

What is the term for unsolicited Email​

Answers

Spam - unnecessary or unprecedented emails

Which unit of the computer works of the output?​

Answers

Answer:

monitor

Explanation:

this is because monitor displays information so it an output

Which network would provide you with the most security and control to automatically backup data

Answers

Centralized
Client server
GUI
Peer-to-peer

What is the correct clases for this drugs

‏Compazine
heelp me please

Answers

Answer:

making sense of medication classification

Explanation:

i think helping

Which of the following acts as the central authority in the network?

Answers

The answer would be Server.

Explain 5 different types of HTML tags and give examples.​

Answers

Answer:

Tag Description

<header> It defines a header for a section.

<main> It defines the main content of a document.

<mark> It specifies the marked or highlighted content.

<menuitem> It defines a command that the user can invoke from a popup menu

Predicting and controlling the social impact of technology, both anticipating new technologies and their social and environment implications and the consequences of ever- increasing scale of application of older technologies is one form of contribution of:


Select one:
A. Science to technology
B. Invention to innovation
C. Innovation to invention
D. Technology to science

Answers

Answer:

This report is a response to General Assembly resolution 72/242, in which the

Commission on Science and Technology for Development is requested, through the

Economic and Social Council, to give due consideration to the impact of key rapid

technological changes on the achievement of the Sustainable Development Goals. The report

contains analysis of the impact of rapid technological change on sustainable development,

especially the consequences for the 2030 Agenda for Sustainable Development’s central

principle of “leaving no one behind”. It presents the opportunities offered by rapid

technological change regarding the achievement and monitoring of the Sustainable

Development Goals across the various economic, social and environmental dimensions.

It discusses the transformative and disruptive potential of rapid technological changes,

including economic, social and normative considerations. In the report, it is highlighted that,

without appropriate science, technology and innovation policies, technologies, be they old

or new, are unlikely to deliver progress regarding global development. Such progress

requires an environment that nurtures learning and innovation to build and manage effective

innovation systems. In this context, the report presents examples of national strategies and

policies for rapid technological change and takes stock of regional, international and multistakeholder cooperation. In addition to national and international policies, the report also

calls for the international community to continue to discuss how international technology

assessment and foresight, as well as consensus building on normative guidelines, can shape

the developmental potential of rapid technological change. It concludes with suggestions for

Member States and the international community.

Explanation:

PLEASE HELP ME!

Question 1. Mr. Beaver has four friends. They live in different houses. Each day he sets off from
home to visit one friend. When Mr. Beaver reaches a fork in the road he follows the arrow but, as
he passes, turns the arrow so that it now faces in the opposite direction. He always ignores the
arrows when retuming home.
On the first day he visits friend W. On day 2 he visits friend Y because he switched two arrows
around the day before. Etc.


2a) Which friend does Mr. Beaver visit on day 206? Explain your answer.
to come up with your answer

2b) Which aspect(s) of computational thinking were used

Answers

Answer:

2a) friend Y

2b) modulo calculations, state machines

Explanation:

After 4 days, history repeats itself. If you work out the first few days of the visiting pattern, you find that day 5 is identical to day 1.

So, if you divide the day number by 4 and take the remainder (i.e., the modulus), you get the original day number (where day 0 == day 4).

206 modulo 4 is 2, i.e., the second day where friend Y is visited.

The system behaves like a state machine with only 4 states.

In a Linux interface configuration file, the ONBOOT parameter indicates whether or not the interface is a boot device.

a. True
b. False

Answers

I think it is false

which of the following is an input device
1.speaker
2.projector
3.touch screen
4.non of the above

Answers

Answer:

non of the above

Explanation:

i am not sure but i hope it will help

Answer:

none of the above is the answer

What do ALT stand for

Answers

Answer:

please mark me brainliest

Explanation:

ALT, which stands for alanine transaminase, is an enzyme found mostly in the liver. When liver cells are damaged, they release ALT into the bloodstream. An ALT test measures the amount of ALT in the blood.

Alt stands for "Alternate Key." I hope that this helped you.

Other Questions
B={the first five multiple of 2}. Express it in roster method and rewrite in set builder method? The sum of a number and 3 is 6 less than twice that number.Solve Evaluate the expression when Y=4Y^2+5y+7 1 3/4 divided by 2 3/8will give brainiest pls help Describe how you would measure the Volume of an irregular solid object.You can include any apparatus and equations. Please help me out with this If 2 x > x 2 then the solution of x is Technician A says that a 3x5 card should be held against the oil fill opening if the positive crankcase ventilation system is working correctly. Technician B says that if a PCV valve rattles then its working properly. Who is correct? what is the similarity between lasswell model of communication and Aristotle model of communication give a brief discussion The alliance between italy, germany and japan is know as_____ Simplify the following expressionby combining like terms. this is for the english lovers surely help me please:) promise Ill brainlist and give u 5 star!!Tell me what are all the connectives and conjunctions u can identify here. Please help ASAP!!!!!! someone please help me with this When you have ____________ the breathing passages become narrower and may clogged with mucus 1. What is the subject of the map?2. What type of information is found on the map?3. Is there a scale? If yes, what does it tell you?4. Is there a legend? If yes, what does it tell you? Theresa and her nine classmates took a standardized test. Their scores were: 88, 49, 92, 47, 61, 94, 94, 76, 79, and 92. Theresa received an 88 on the test. Which percentile is she in Rome's conquests in Italy and Carthage brought wealth anda. social conflict.b. Christianity.C. The Twelve Tables of law.d. Greek culture. Use the correct form of the verb "ser" in the following sentences.Plz hurry I have to babysit soon. Thx I WILL GIVE BRAINLIEST!!!!What is the ellipsis doing in this sentence?"I'm not sure . . ." I said. "Does that seem right to you?"Choose 1 answer:(Choice A)Ashowing that a portion of a quote has been removed(Choice B)Bshowing a pause in speech