Sample outputs with inputs 9 5 2 -1 in python.

Sample Outputs With Inputs 9 5 2 -1 In Python.

Answers

Answer 1
Sorry phsnjajajajqjkakw

Related Questions

State the major different between fours types of computers

Answers

Answer:

1. Supercomputers

Supercomputers are very expensive and very fast. They are the most powerful computers we have in the world.

Supercomputers are optimized to execute only a small number of programs. This makes it possible for them to execute these few programs at a very high speed. Due to their inhibiting cost, they are used in high-end places like in scientific research centers. The supercomputer consists of thousands of processors, allowing it to clock in at very high speeds measured by petaflops.

These computer types are also very large in size due to the numerous parts and components involved in their design.

A good example of a supercomputer is Tianhe-2, which is located in the National Supercomputer Center in Guangzhou, China. It features 3.12 million cores, allowing it to run at speeds of 33.86 petaflops.

2. Mainframe Computers

These are large and expensive computers that are capable of supporting thousands of users simultaneously. They are mostly used by governments and large organizations for bulk data processing, critical applications, and transaction processing. They are ranked below supercomputers.

3. Minicomputers

Minicomputers are mid-sized computers. In terms of size and power, they are ranked below mainframes. A minicomputer is a multiprocessing system capable of supporting from 4 to about 200 users simultaneously.

The use of the term minicomputer has diminished since the introduction of microprocessors. These machines are now more commonly called midrange computers.

4. Microcomputers

A microcomputer, also known as a personal computer, is designed to be used by one user at a time. The term microcomputer relates to the microprocessor that is used for the purpose of processing data and instruction codes. These are the most common computer types since they are not very expensive

write a c++ program to find the factorial of a number.

Answers

Answer:

I'm not gonna use recursion for this program.

#include <iostream>

using namespace std;

int main()

{

int input,factorial=1;

cout<<"Enter a number to get it's factorial: ";

cin>>input;

for(int i=1;i<=input;i++)

{

factorial *=i;

}

cout<<"The factorial of the number you entered is: "<<factorial;

return 0;

}

#include
using namespace std;
int main() {
int num,factorial=1;
cout<<" Enter Number To Find Its Factorial: ";
cin>>num;
for (int a=1;a<=num;a++) {
factorial=factorial*a;
}
cout<<"Factorial of Given Number is ="< return 0;
}

How far should robots be allowed to influence people's lives?

Answers

Answer:

robots should be allowed to influence people's lives in a limit because we don't know the future if because of this small mistake robots can rule us so , we should be prepared from now

u 12: Anh/ chị hãy chọn đáp án đúng nhất
1: Trong MS Word 2010, ở chế độ hiển thị Print Layout, khi nhấp đúp giữa đường biên
trên và dưới của hai mép giấy có tác dụng gì?
A. Chèn thêm 1 trang mới
B. Ẩn/ hiện phần lề trên của trang văn bản.
C. Ẩn/ hiện phần lề dưới của trang văn bản.
D. Ẩn/ hiện phần lề trên và dưới của trang văn bản

Answers

D. Ẩn/ hiện phần lề trên và dưới của trang văn bản

Tôi có thể sai.

Which of the following computers would be used in a large corporation to complete huge processing needs, such as airline reservations?​

Answers

A mainframe computer, informally called a mainframe or big iron, is a computer used primarily by large organizations for critical applications like bulk data processing for tasks such as censuses, industry and consumer statistics, enterprise resource planning, and large-scale transaction processing. I could be wrong though

In a typical day, what types of Computer-Mediated Communication do you use?

Answers

Answer:

Well, the types of Computer-Mediated communication I use are email, network communication and distance learning.

Explanation:

On a typical day, the types of Computer-Mediated Communication that will use our Instant messages, computer, audio, and video conferencing.

What are Computer-Mediated Communications?

The time and geographic limitations of in-person contact are removed through computer-mediated communication (CMC), in which people use computers and networks to communicate with one another across enormous distances and multiple time zones.

Computer-mediated communication (CMC) emphasizes how important it is for parties to communicate with one another through mediated channels of communication. Instead of focusing on the quantity, content, frequency, or timing of the message exchange, CMC places more emphasis on how new messages relate to older ones.

Therefore, the methods of computer-mediated communication that are used on a daily basis include audio, video, and instant messaging.

To learn more about Computer-Mediated Communications, refer to the link:

https://brainly.com/question/1918317

#SPJ2

Which company introduce the first Minicomputer in 1960.​

Answers

Answer:

the first minicomputer was introduce by digital equipment coroporation (DEC)after these IBM corporation also minicomputer for example PDP11

Answer:

Digital Equipment Corporation (DEC)

Explanation:

The Digital Equipment Corporation company introduced the first Minicomputer in 1960.

PDP-1 was the world's first minicomputer, introduced in 1958.

You have just installed anti-malware software on all computers on your company's network. Which of the following additional actions would be BEST to take to help protect systems from malicious software?
a. Train users to scan removable storage devices before copying files
b. Disconnect all computers from the internet.
c. Require strong passwords in the local security policy.
d. Configure all computers with a screen saver password.
e. Configure the software to automatically update its definition files.

Answers

Answer:

The answer is A, E

Explanation:

A marginal change is one that

Answers

The marginal change is one that incrementally alters an existing plan.

A marginal change is a proportionally very small change in the total quantity of some variable that could be an addition or subtraction.

It is a small incremental adjustment to an existing plan of actioncalculated by dividing the change in total cost by the change in quantity

The term total cost in production or economics refers to the cost that an organization acquires to preserve or uphold its business in the economy. It has two components namely total fixed cost and total variable cost.  

In economics, the marginal change is linked to the addition to the total cost in case of rising in the sale of a product by one unit.

Thus, marginal change alters the increment in the existing plan.

Learn more about marginal change:

https://brainly.com/question/21091268

considering legal, privacy and ethical factors with the discission as to disclose or not disclose the data breach

Answers

Answer:

Explanation:

The terms 'privacy' and 'confidentiality' are commonly used interchangeably. ... Confidentiality relates to information only. The legal duty of confidentiality obliges health care practitioners to protect their patients against inappropriate disclosure of personal health information.

The text between < html > and < /html > defines the _____.

a) active Web-page area
b) active code on a page
c) active text on a page
d) active image on a page

Answers

Answer:

active text on a page

Explanation:

What are the different types database of end users? Discuss the main activi-ties of each

Answers

Answer:

following types of databases available in the market −

Centralised database.

Distributed database.

Personal database.

End-user database.

Commercial database.

NoSQL database.

Operational database.

Relational database.

Cloud database.

Object-oriented database.

Graph database

Answer:

1. Casual End Users

These are the users who occasionally access the database but they require different information each time. They use a sophisticated database query language basically to specify their request and are typically middle or level managers or other occasional browsers. These users learn very few facilities that they may use repeatedly from the multiple facilities provided by DBMS to access it.

2. Naive or parametric end users

These are the users who basically make up a sizeable portion of database end users. The main job function revolves basically around constantly querying and updating the database for this we basically use a standard type of query known as canned transaction that have been programmed and tested. These users need to learn very little about the facilities provided by the DBMS they basically have to understand the users’ interfaces of the standard transaction designed and implemented for their use. The following tasks are basically performed by Naive end users:

The person who is working in the bank will basically tell us the account balance and post-withdrawal and deposits.

Reservation clerks for airlines, railway, hotels, and car rental companies basically check availability for a given request and make the reservation.

Clerks who are working at receiving end for shipping companies enter the package identifies via barcodes and descriptive information through buttons to update a central database of received and in transit packages.

3. Sophisticated end users

These users basically include engineers, scientist, business analytics and others who thoroughly familiarize themselves with the facilities of the DBMS in order to implement their application to meet their complex requirement. These users try to learn most of the DBMS facilities in order to achieve their complex requirements.

4. Standalone users

These are those users whose job is basically to maintain personal databases by using a ready-made program package that provides easy to use menu-based or graphics-based interfaces, An example is the user of a tax package that basically stores a variety of personal financial data of tax purposes. These users become very proficient in using a specific software package.

What are some of the innovations that colored television has undergone since its original invention? (include the date of the innovation)

Answers

Answer:

Color television was sold to viewers as a way to experience everything from sports and nature to musical theater in a more legible, realistic, captivating, and sensational way.

Explanation:

What is the importance of knowing the history of science and technology in our society? ​

Answers

Answer:

math

Explanation:

The major computer operations include what?

Answers

Answer:

They include input, processing, output, storage and controlling.

A computer is a computing system that takes inputs, processes, storage and gives an output. These are some of the basic computer or major computer operations.  

These processes include various types of processes and dedicated systems. Other main operations include sequencing and looing, programming business statistics, etc.

Thus the option B is correct.

Learn more about the major computer operations include.

brainly.com/question/18045931.

15. Virus cannot infect files that are saved in i. USB ii. CD-ROMs iii. Memory card iv. All of them​

Answers

Answer:

all of them

Explanation:

but Virus can infect them if u plug them in infected computer .

Answer: CD Roms.  Virses can infect each other item by actually writing to the device.  For CD Roms, you must have a special writer program to write to the ROM.  

Explanation:

Shift all elements by one to the right and move the last element into the first position. For example, 1 4 9 16 25 would become 25 1 4 9 16.

Answers

Answer:

i see you but i dobt see it

Explanation:

in theory a hacker with a small but powerful directional antenna could access a wireless network from more than one mile away. In a real-world situation what is the more likely range involved?

Answers

A directional antenna or beam that used as an antenna that radiates or receives additional power from the unwanted source into certain directions that enhances performance and reduces interference.

Receiver satellite TVs commonly employ parabolic antennas.It better pulls signals in one way in which it detects a weaker or more distant signal than an omnidirectional antenna counterpart.The difference is that they do it by reducing their ability to draw signals from other directions.The coverage area is smaller yet extends farther out. This could reach up to 8 miles under optimum conditions.

Learn more:

brainly.com/question/23886562

Basic function call get_pattern() returns 5 characters. Call get_pattern() twice in a print() statement to return and print 10 characters. Example output: ***** *****
def get_pattern():
return '*****'
print('*****')
print('*****')
get_pattern()
get_attern()
Testing pattern returned was printed twice.
Your output
*****
*****
Testing with different character. Output differs. See highlights below.
Your output
*****
*****
Expected output
#####
#####

Answers

Answer:

get_pattern()

get_pattern()

print(get_pattern())

print(get_pattern())

Explanation:

The program is given in Python; this means that it must be completed in Python.

The code segment that completes the program is:

print(get_pattern())

print(get_pattern())

From the complete question, the given code segment is:

def get_pattern():

    return '*****'

The above function will only return 5 characters i.e. 5 *'s, but it will never print the characters.

For the characters to be printed, a print statement must be introduced when calling the function get_pattern()

So, the print statement will be:

print(get_pattern())

The question requires 10 characters; so, the print statement must be called twice.

Hence, the code segment that completes the program is:

print(get_pattern())

print(get_pattern())

Read more about Python programs at:

https://brainly.com/question/22841107

The while loop and the do loop are equivalent in their expressive power; in other words, you can rewrite a while loop using a do loop, and vice versa.
a. True
b. False

Answers

I think False...

I hope this helps

Describe the inter-relation and linkage in between traditional knowledge, indigenous knowledge and modern technology.​

Answers

Traditional knowledge is knowledgeable u know

Whenever the amount of work of an algorithm is expressed as a polynomial, we focus on one term as dominant.
a) true
b) false

Answers

Answer:

True

Explanation:

hop it's helpful for you ☺️

In what ways are computers being used to improve our quality of life

Answers

Explanation:

makes info easy to get

improves communication

enhances education

etc

plsss mark me brainliesttt

Suppose now the file is broken up into 1000 packets with each packet
containing 4,000 bits. Suppose that each packet is acknowledged by the
receiver and the transmission time of an acknowledgement packet is
negligible. Finally, assume that the sender cannot send a packet until the
preceding one is acknowledged. How long does it take to send the file?

Answers

Answer:

The delay to send each packet will be ttrans + tprop. However there is an  additional tprop delay for the acknowledgement packet to arrive at the sender, prior  to which the next packet can be transmitted. Hence the total delay to transmit 10  packet is = 10 * (ttrans + 2 tprop) = 10*(40 msec + 80 msec) = 1.2 sec

Explanation:

The primary purpose of the SNORT application is to function as an ACL, i.e. it controls authorization (or access) to a resource.
O True
O False

Answers

SNORT is the powerful IDS and IDS (IPS) program that enables real-time traffic data and analytical packet logging. It delivers a sophisticated IDS system to detect potential malicious activities. It employs a common language that integrates animality, protocol, and signatures analysis methodologies.It is used to monitor traffic in and out of a network utilized. It monitors travel in real-time and sends users alerts to detects potentially malicious packets or dangers on the IP networks.It analyses and searches for the content and matches protocols.

That's why the answer is "False".

Learn more:

brainly.com/question/14288353

How could the company benefit by applying Agile principles?

Answers

Answer:

The company could benefit by applying Agile principles managers' job easier and allows them to have greater control over their projects.

the computer _______ and_________ the data you input

please help ​

Answers

Answer: Data and stores

Which model of communication focuses on the meaning that emerges in a relationship between communicators?
a. Transactional
b. Symbolic
c. Complementary
d. Linear

Answers

Answer:

QUESTION

Which model of communication focuses on the meaning that emerges in a relationship between communicators?

[tex]==============================================

[/tex]

CHOICES

a. Transactional

b. Symbolic

c. Complementary

d. Linear

[tex]==============================================

[/tex]

ANSWER

a. Transactional

[tex]==============================================

[/tex]

#CarryOnLearning

(◕ᴗ◕✿)

Research the trend of BYOD in workplaces. Compare the advantages to any potential disadvantages. Do you think more companies should adopt this policy? Why or why not?

Answers

Answer:

please mark me brainlist

Explanation:

Bring Your own Device (BYOD) refers to bringing the personal devices on the place where the employees work for the company, as in by accessing the data, systems etc of the company. It is becoming rapidly popular in the traditional workplaces.

Likely we are saying as BYOD is rapidly growing organisation so it is having some advantages and disadvantages.

ADVANTAGES are as follows:-

1) If a company is linked with the byod organisation, this will help in reducing the cost of the devices, as in they do not have to purchase them. In addition to take care of their own devices, employees are generally more likely to do so.

2) With the help of BYOD the productivity of the employees also increases and the reason behind is that the employees or the users are more likely to be more familiar and comfortable with their own devices, to be use by personal. Users or the employees are expert in the navigation and how to use the device policy as they known their own devices very well. Devices are known to them which help to execute the work with more ease. This also leads to make their interest in work continously for long. Another big thing is the User Satisfaction. Users are more satisfy with the device they choose by own for the respective work as compare to the devices that are selected for them.

3) Users can work day and night all along as the devices are their own. They can check their mails, work on them etc in late nights just because of they are having their own devices. Great Flexibility are offered by the BYOD programs. They provide an ease for working anywhere at any place by using the mobile at any time. By the increase in the flexibility, company are more likely to attract top-performing employees from various places.

DISADVANTAGE:-

1) As employees are using their own personal devices so it is quite difficult to manage the security in the respective device, that's why Security become one of the major disadvantage of the BYOD programs. Employees are accessing the sensitive information on the devices that are not fully secure. Whenever the owns a device particularly, they explain how the device will use by blocking some sites, monitoring the activity if needed. One of the biggest security related challenge is to make sure that all the personal devices are fully secured from the external attacks, malware and if they are connected to the internet privately or publicly in the world.

2) BYOD own the devices hence, they are having the benefit to select a small number of devices to support. This will be easier on the IT department as they can become familiar with the devices. It will be more difficult to immediately download software updates and security.

3) Another issue of BYOD programs is of scalability. Employees in the organization  uses personal devices, which is not want by any organizations as simply they don’t have the big network infrastructure to handle all of the traffic burden.

In my opinion bring your own device policy would not be accepted by the companies because company follow a client policy that is employee has to do the work for the client and company have to save there client from employee as many employee wants to start there own company so they bought client from the existence company which is a loss to company and it would became very easy for the employee if BYOD comes to play as they can carry data of the client.

BYOD exists an acronym for “Bring Your Own Device.” It directs to the practice of employees utilizing a personal device for work.

What is BYOD?

Bring Your own Device (BYOD) directs to obtaining personal devices in the area where the workers work for the company, as in by accessing the data, systems, etc of the company. It exists evolving rapidly famous in the traditional workplaces.

Advantages OF BYOD

Employees might become better productive since they remain related to the company.Employees no longer must be in the company’s office to work.The company declines its expenditures by lowering hardware assets.The “freedom” of BYOD can improve employee confidence.

Disadvantages OF BYOD

Employees may not have sufficient antivirus software, firewalls, or other technological protection software established on their appliances.Devices utilized by employees stand vulnerable to theft, loss, or harm.Employees often work at outside Wi-Fi sites that exist not protected and stand vulnerable to strikes by others.Some employees may be utilizing certain software systems that exist not consistent.The employee utilizes his or her instrument for personal reasons while on firm time, reducing productivity.

To learn more about BYOD

https://brainly.com/question/14832722

#SPJ2

Define the term JAVA Identifier​

Answers

Answer:

A Java identifier is a name given to a package, class, interface, method, or variable. It allows a programmer to refer to the item from other places in the program.

Other Questions
Which equation has a constant of proportionality equal to 2? 3. Roy saw a bright rainbow. He ran to get his camera.a. Roy saw a bright rainbow, so he ran to get his camera.b. Roy saw a bright rainbow, but he ran to get his camera.c. Although Roy saw a bright rainbow, he ran to get his camera. A product of 9 and number plus one is 19. Write an equation? Please do not answer if you dont now the answer What cell organelle produces energy inanimal cells? College is a challenging journey and, in order to become an accomplished student, you must draw a right right triangle of same area and side ac Which evidence from the Newsela article Health Benefits of Reading, Writing, Are Not Just for Patients" best supports the inference that reading fiction can be very beneficial to personal relationships?"He [Raymond Mar} studies the effect reading fiction and nonfiction has on our ability to understand what others are feeling.""Trying to understand these characters exercises the same mental muscle that helps us understand people in the real world.""Because when people are reading fiction, they are imagining what it is like to be in these stories, Mar says.""Coke points to books such as Frank McCourt's "Angela's Ashes." In that book the author writes about growing up poor in 1930s and '40s Ireland." Question 1 of 5Which part of this plot is most clearly the climax?A. A young detective researched local art fans and developed adescription of the thief.B. The young detective was given a medal by the city for her work.C. An expensive painting was stolen from the art museum.D. The detective found the art thief and arrested him.SUBMIT What is the frequency for electromagnetic radiation with a wavelength of 3.10x10^-7 m? Please help!!! ASAP!!!Solve the compound inequality. Graph your solution.Thanks so much! I really appreciate it!!! Drivers should monitor their levels of stress Its actually Drives Ed! Which of the following is NOT permitted in a roundabout?Using your turn signalFollowing the rules of right of wayDriving at the speed limitChanging lanes find the mean from the data given below 72, 46,54,80, 99,62,56 Is baking soda a element, compound or a mixture? anology of time? please answer it right now g Firm ABC has assets of $80, sales of $75, and COGS of $40. Current assets totaling $50 consist of cash, accounts receivable and inventory. Current liabilities are $60. Cash is $20 and accounts receivable is $10. In a common size balance sheet, inventory (stated as a percent) would be equal to: I need help ill give extra hundrend after you answer Which Rocky planet's Biosphere is most different from Earth Jim washes 2/3 of his car with 1/2 a bottle of soap. What fraction of the soap will he use to clean his entire car?