Which xxx completes the code to read every integer from file "data. txt"? fileinputstream inputstream = null; scanner infs = null; int total = 0; inputstream = new fileinputstream("data. txt"); infs = new scanner(filebytestream); while(xxx){ total = total + infs. nextint(); } system. out. println("total: " + total); group of answer choices inputstream. hasnextint( ) total != 0 infs. hasnextint( ) infs. eof( ) == false

Answers

Answer 1

Answer:

total+ infs . nex (xxx){total}

Explanation:

this is correct theres nothing wrong


Related Questions

Packet analysis can also help _____ understand protocol and application behavior to see how routines behave, as well as help determine if it is the application OR the network that is causing slow response times.

Answers

Packet analysis can also help developers to understand protocol and application behavior to see how routines behave.

What is the Packet analysis  about?

Packet analysis  is known to be a tool that can help a lot of developers to be able to have a lot gains from understanding protocol and application behavior to see how routines behave.

Conclusively,  Packet analysis can be used to know or determine  when an  application or a given network is having or leading to slow response times.

Learn more about packet analysis from

https://brainly.com/question/6962155

#SPJ1

FOR loops are considered to be which of the following:

A. primarily pretest conditional loops
B. used for conditional statements
C. counter controlled loops
D. post test conditional loops

Answers

Answer:

C. counter controlled loop

Explanation:

A counter controlled loop, is a loop that repeats a specific number of times. If it is known how many times a loop must repeat or perform a certain task, it is a count controlled loop (for loop).

- It must initialize a counter variable to a starting value.

- It must test the counter variable by comparing it to a maximum value. When the counter variable reaches its maximum value, the loop terminates.

- It must update the counter variable during each iteration. This is usually done by incrementing the variable.

How would a user ensure that they do not exceed the mailbox quota?


The user can select a mailbox that does not have a quota.

The user can flag the items as Junk Mail.

The user can just move items to the Deleted Items folder.

The user must empty items from the Deleted Items folder or Archive items.

Answers

Answer:

I don't know about this one

Complete the sentence.

When sensitive information is sent over the internet, it should be
.

Answers

Answer:

encrypted

Explanation:

to prevent others from viewing it

Answer:

Your answer is encrypted

Explanation:

This will keep your information secure whilst sending it.

This means to:

convert (information or data) into a cipher or code, especially to prevent unauthorized access

So your info is safe

Pls mark brainliest <3

Hope this helps :)

`

`

`

Tori

Which three steps might be included in an algorithm for a digital thermostat?
✓ A. The thermostat uses the resistance detected to calculate the
temperature.
B. The thermostat sends an electrical signal to either the air
conditioner or the heater.
C. The thermostat measures electrical resistance with its thermistor.
O D. The thermostat automatically installs itself by wiring itself to the
house's electrical system.

Answers

Answer:

Explanation:

It certainly isn't D. It would cost a fortune to make that happen. It's not impossibe. Just impractical.

It's not A. Resistance is a floating physical thing present in the air.

B could be correct, but there is a better answer.

The answer is C. A thermistor is a resistance that is temperature sensitive.

Dose brainly give you notifications on you're phone when you go into the site

Answers

Answer:

Yep it does ^_^

which includes code written
A computer programmer will often use a
by other programmers.
A. copyright
B. library
C. license
D. website

Answers

Hello!
Answer: B. Library.

I hope this helps you!

How to change notification sounds for different apps.

Answers

Use linux; Linux allows for more customization than other operating systems and is free and open source.

One way to check if a website is secure is to look for a/an
in the address bar.

Answers

Answer:

One such sign to look for is in the URL of the website. A secure website's URL should begin with “https” rather than “http”. The “s” at the end of “http” stands for secure and is using an SSL (Secure Sockets Layer) connection. Your information will be encrypted before being sent to a server.

T - True. One way to check if a website is secure is to look for a padlock icon in the address bar.

How does this work?

This padlock indicates that the website is using a secure HTTPS connection. HTTPS encrypts the data transmitted between the user's browser and the website, ensuring that sensitive information such as login credentials or financial details remains private and protected from unauthorized access.

Additionally, a secure website's address will start with "https://" instead of "http://". Users should always verify these security indicators before entering any personal or sensitive information on a website to safeguard their online privacy and security.

Read more about websites here:

https://brainly.com/question/28431103

#SPJ2

You are pricing out a new laptop for a user. You decided to go with a traditional hard disk that has a cache of flash memory. Which type of disk are you purchasing

Answers

Answer:

A hybrid drive

Explanation:

Its called a hybrid drive because it combines two different kinds of storage, SSD and HDD. SSD is a solid state drive and it has no moving parts. It is much faster than a HDD and is more reliable but these benefits come at a trade off of a higher price per gigabyte. HDD is a hard disk drive and works by reading a spinning disk to get information. This kind of disk is usually used because of its low price/gb. This makes it an excellent option for getting lots of storage at a cheap price. A hybrid drive combines the best of both worlds by using a small SSD as a boot drive to start up a computer because it is much faster, and uses an HDD as the main storage drive with lots of space.

Consider a swapping system in which memory consists of the following hole sizes in memory order: 10 KB, 4 KB, 20 KB, 18 KB, 7 KB, 9 KB, 12 KB, and 15 KB. Which hole is taken for successive segment request of

Answers

Answer:

um uwu

Explanation:

What will her profit be is she sells her CDs at this price?

Answers

I need the rest of the question before I can help you

what is alternative name of home page

Answers

Answer:

In this page you can discover 5 synonyms, antonyms, idiomatic expressions, and related words for home page, like: web page, web site, website, webpage and homepage.

write a program to calculate sum of first ten natural numbers​

Answers

Answer:

Explanation:

total = 0

i = 0

while i<=10:

   total = i +total

print(total)

Kendra and her friends are working on a class project. The team is trying to make sure everyone in the group has the most up-to-date information as a project progresses. What is the best way for the Tina share their work?

a. Each person needs to send email with his/her part of the project individually every day

b. Each person should be on a cloud folder and sync their files as they are working through their project

c. Each person needs to send a group email to the team as soon as any updates are completed

d. Each person should post their updated information on a team website so it is available for anyone to see

Answers

The best way for Tina's team to share their work is: B. Each person should be on a cloud folder and sync their files as they are working through their project.

What is cloud computing?

Cloud computing refers to a type of computing that typically requires the use of shared computing resources over the Internet, rather than using local servers, wired-connection and hard drives.

In this scenario, the best way for Tina's team to share their work, so as to make sure everyone in the group has the most up-to-date information as a project progresses is the use of cloud computing, where each person is on a cloud folder and will sync their files as they are working through their project.

Read more on cloud computing here: https://brainly.com/question/19057393

The most popular productivity suite in the world is microsoft office. please select the best answer from the choices provided t f

Answers

Statement, the most popular productivity suite in the world is microsoft office is correct. The statment is ture (T).

What is productivity suite?

productivity suite is a collection of programs desgined for the computer whcih has a word processor, presentation creater and spreadsheet creater.

Types of productivity suite-

Computer based productivity suite- This type of productivity suite are need to be installed the program on the computer, which can be work offline mode too.Online productivity suite- Online productivity suite are availeble on the internet and can be use whenever required without preinstallation.

Microsoft office 365 is the best and the oldest productivity suite. Most of the people are familier with this suite and it is most popular productivity suite in the market.

Thus, the statement, the most popular productivity suite in the world is microsoft office is correct. The statment is ture (T).

Learn more about the productivity suite here;

https://brainly.com/question/2764685



Differentiate between
Operating system and
language translator

Answers

It is a program or a series of programs which provides communication between the user and the computer hardware. Translators are programs which convert instructions in assembly language or high level languages into machine languages because computer can only understand machine language.

Digital censorship is _____. Select 3 options.

used to free people

used to control people

subtle and often hidden

open and visible

a global problem

Answers

Digital censorship can be used by government or private individual to control people.

What is Digital censorship?

Digital censorship can be described as the controlling or suppression of the access to information on the Internet.

It can be carried out by governments or by private organizations and serves as a means of regulations.

Learn more about Digital censorship at;

https://brainly.com/question/26152499

Answer:

- used to control people

- subtle and often hidden

- a global problem

Explanation:

Digital censorship is the act of filtering out information and hiding it from the masses. This can be used in order to control and manipulate the public. It's a global problem that is very subtly accomplished. (correct on Edge)

I hope this helped!

Good luck <3

29. The startup configuration file is stored in ________________ a. ROM b. NVRAM c. Flash Memory d. RAM

Answers

Answer:

The start configuration is stored on the nonvolatile random-access memory aka NVRAM for the vast majority of systems.

What would be considered a benefit of using simulation in the education field?

Simulation can reduce the costs of books.
Simulation can increase the cost of materials.
Simulation can reduce the number of teaching jobs.
Simulation can reduce the amount of homework for students.

Answers

Answer:

books cost

Explanation:

the books cost will go down, as they are to become digital, thus, making physical copies cheaper

Answer:

A

Explanation:

Did test

which of the following phase change when heat is removed form the material
A. sublimation
B. vaporization
C. Melting
D. Freezing​

Answers

Answer:

It will be D.Freezing

Explanation:

If heat is removed from a substance, such as in freezing and condensation, then the process is exothermic. In this instance, heat is decreasing the speed of the molecules causing them move slower (examples: liquid to solid; gas to liquid). These changes release heat to the surroundings.

GOOD LUCK

nums = [30, 10, 30, 14, 10, 3, 9, 7]
print(nums)

nums.extend([24, 3, 21, 19])
print(nums)
What is output by the second print statement in the code above?

Group of answer choices

[30, 10, 30, 14, 10, 3, 9, 7, 24, 3, 21, 19]

[30, 10, 30, 14, 10, 3, 9, 7]

[24, 3, 21, 19]

[24, 3, 21, 19, 30, 10, 30, 14, 10, 3, 9, 7, 24, 3, 21, 19]

Answers

The range function must have two parameters? False. ~Range has three possible sets of parameters: range(stop) - Returns 0 to the given stop value, counts by one.

The range function must have two parameters is False. ~Range has three possible sets of parameters: range(stop) - Returns 0 to the given stop value, counts by one.

What is program?

A computer can run multiple programs simultaneously, and each program can be in a different state. There are three states a program can be in: running, blocked, and ready. If a program is running, it means that it is currently using the computer's resources, such as the processor, memory, and I/O devices, to perform its tasks.

On the other hand, if a program is blocked, it means that it is waiting for a resource to become available, such as a file, network connection, or input from the user. In the scenario you mentioned, "Program A" is in the running state, meaning it is actively using the computer's resources.

Therefore, Program B" is in the blocked state, meaning it is waiting for a resource to become available so it can continue to run.

Learn more about program on:

brainly.com/question/30613605

#SPJ3

Time machine could not create a local snapshot to back up from

Answers

Answer:

Time machine could not create a local snapshot to back up from Disk Error.

Which tab can help start a query? Create External Data File Home

Answers

The Create, External Data, File and Home tabs are in Microsoft Office Access

The Create tab can help to start a query

How to determine the tab?

There are several tabs in Microsoft Office Access.

Of all these tabs, the Create tab is used to help the user to start a query and return the required data of the query.

The other tabs such as file and home are used to perfom other tasks which include open files, save query, etc.

Read more about database at:

https://brainly.com/question/518894

Answer:

Its A Your Welcome

Explanation:

what is the impact of ict on school policy

Answers

Answer:

It improves the effectiveness of education. It aids literacy movements. It enhances scope of education by facilitating mobile learning and inclusive education. It facilitates research and scholarly communication.

Explanation:

Answer:

Hello FluffyStrawberry here~

Your answer is

It improves the effectiveness of education. It aids literacy movements. It enhances scope of education by facilitating mobile learning and inclusive education. It facilitates research and scholarly communication
hope it’s helps you

Explanation:

~FluffyStawberry

25 points for this answer
Unethical uses of computer devices include _____. Select 3 options.
financial theft
surfing websites
identity theft
media piracy
downloading videos

Answers

Answer:

financial theft

identity theft

media piracy

Unethical uses of computer devices include the following:

Financial theft.Identity theft.Media piracy.

What is an unethical use of a computer?

The unethical use of a computer can be defined as the unauthorized and illegal (illegitimate) use of a computer system to perpetrate cyber crimes and other criminal inclined practices.

In Cybersecurity, unethical uses of computer devices by a hacker include the following:

Financial theft.Identity theft.Media piracy.

Read more on computer crime here: https://brainly.com/question/13109173

#SPJ2

define a touch-sensitive pad and state one use​

Answers

Answer:

A touch pad is a device for pointing (controlling input positioning) on a computer display screen. It is an alternative to the mouse. Originally incorporated in laptop computers, touch pads are also being made for use with desktop computers. A touch pad works by sensing the user's finger movement and downward pressure.

Explanation:

difference between local technology and model technology with example​

Answers

The differences? Speed, size, storage or load, or just plain work-load, between ‘modern,’ and trad. technology is probably easiest to compare. We tend to think of communication tech, and computation tech when we say ‘modern,’ but traditional? Lets define that just a bit. Are we talking machines and devices, or the uses themselves, like fire from rubbing two sticks together to fire from an ‘electronic,’ cigarette lighter?Some things are just novelties. There are times when cheap, non electronic devices provide practical and very necessary service in places where an electronic device is too high-maintenance to be equally practical. There is no need to put a computer on a well pump if you’re in a back-water where electronic replacement parts are hard to come by. You just hand pump the thing and it works fine and at your convenience. Certain ‘Green,’ tech, like solar ovens, are a far cry from a fire pit, or even a gas barbecue, and though it’s marketed as ‘new’ technology, depending of course on design and materials used, it is very low-tech. Useful technology seems really only cosmetically changed, with new clothes over old bones, so-to-speak. A different package, a different color, but it’s the job it does that matters. The best comparison between ‘modern,’ tech and ‘traditional,’ tech that springs to mind though, is that modern tech is very modular and if it breaks it’s often disposable, rather than fixable, for most of us.
The differences between modern and traditional technologies are: Traditional technology was based on simple laws and mechanics while modern technology is formed by the integration of many simple mechanics. Modern technology is built on the existing traditional technology. An example of local technology is plough, water mill and water pump. Example of model technology could be a statue or a painting.

You are performing digital forensics in an enterprise that recently experienced a security breach. You successfully retrieved all volatile data, and your next focus is hard drives. How should you collect evidence from the hard drives without tainting any evidence

Answers

How should you collect evidence from the hard drives without tainting any evidence is to: Use mirror image backup.

What is mirror image backups?

Mirror image backups can be defined as a type of backup that enables you to backup all the document or items that you have on your computer hard drive.

Mirror image backup is vital because it enables you to have the same copy  of all the data or information that is store on your hard drive.

Therefore how should you collect evidence from the hard drives without tainting any evidence is to: Use mirror image backup.

Learn more about Mirror image backups here:https://brainly.com/question/21465714

Edhesive Assignment 8: Personal Organizer.

I keep getting a bad input message on my line 52. Any tips on how to fix this?
I've included photos of my code.

Answers

In this exercise we have to use the knowledge in computational language in python to write the following code:

What is input?

Python's input function takes a single parameter which is a string. This string is often called a prompt because it contains informational text that tells the user to type something. For example, you can call the input function as follows:

So in an easier way we have that the code is:

eventName = []

eventMonth = []

eventDay = []

eventYear = []

def addEvent():

userEventName = input("What is the event: ")

userEventMonth = int(input("What is the month (number): "))

userEventDay = int(input("What is the date: "))

userEventYear = int(input("What is the year: "))

userEventMonth = validateMonth(userEventMonth)

userEventDay = validateDay(userEventMonth, userEventDay, userEventYear)

eventName.append(userEventName)

eventMonth.append(userEventMonth)

eventDay.append(userEventDay)

eventYear.append(userEventYear)

def validateMonth(month):

if month >= 1 and month <= 12:

return month

else:

return 1

def validateDay(month,day,year):

if day < 1 or day > 31:

return 1

if month == 2:

isleap = False

if year%4 == 0:

if year%100 == 0:

if year%400 == 0:

isleap = True

else:

isleap = True

if isleap:

if day <30:

return day

else:

return 1

else:

if day < 29:

return day

else:

return 1

if month in [1,3,5,7,8,10,12]:

return day

if month in [4,6,9,11] and day < 31:

return day

else:

return 1

def printEvents():

print("EVENTS")

months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']

for index in range(len(eventName)):

print(eventName[index])

print("Date: "+months[eventMonth[index] -1]+ " " + str(eventDay[index]) + ", " + str(eventYear[index]))

userChoice = "yes"

while userChoice.upper() != "NO":

addEvent()

userChoice = input("Do you want to enter another event? NO to stop: ")

printEvents()

See more about python at brainly.com/question/18502436

Other Questions
how many snow leopards live together in the wild (give a number or tell if they are solitary?) Article 1:How Lift-Offs Lift Our Spirits, by Miranda SharonAmericas space program does not get the attention it once did. It certainly doesnt generate the same excitement. From the 1950s through the 1970s, astronauts were national heroes. Children dreamed of traveling through space. Adults looked to the moon with the sense of national pride. Those days couldand shouldreturn again.If average Americans search their brain, it is not hard to find arguments against space travel. It costs money. Its dangerous. We have enough problems on our own planet. If the same Americans search their hearts, however, the results are different. Deep within us, we all have similar desires. Space exploration fulfills all these desires.Lets begin with curiosity. We all have it. From the time we are small children we long to know what is in the next room, down the street, or in the next town. We are nomads, wanting to explore. We are detectives, trying to solve a mystery. We are students of life, seeking answers. The space program gives us a chance to be all those things and more. Even if we dont travel ourselves, the excitement of new discoveries would again feed our thirst for something new.Another benefit of returning to space is the inspiration it provides. In the early days of space travel, America had a goal. We wanted to reach space safely and quickly. The country responded spectacularly. Teamwork and creativity reached all-time highs. Students delved deeper into science and math hoping to contribute. Heroes stepped up to bravely accept challenges. We were attempting the impossible and determined to succeed. Think of the amazing things Americans would accomplish if that inspiration returned.Perhaps the largest thing lost with a shrinking space program is perspective. Exploring space reminds us how small and fragile our planet truly is. It encourages collaboration with other countries which helps cultural differences disappear. It can reveal the effects of abusing natural resources. Looking at our Earth from a great distance gives us a unique view of our world and the effect we have upon it.Plans for Americas space program should clearly be revisited. Exploration of our solar system should continue not for science or power or money, but for the benefit of mankind. It gives us an outlet for our curiosity. It provides inspiration for our souls. It offers a perspective to help understand our place in the universe. The benefits are as vast as space itself.Article 2:The Sky Has No Limits, by Roger T. ReynoldsThe state of NASAs space program has been the subject of much speculation in recent years. Debates have raged among members of Congress, business owners, and the general public. the president has expressed his thoughts on numerous occasions as well. The conversations seem to boil down to one question: Do the benefits of space travel outweigh the cost? A logical look at the question makes the answer quite apparent. NASAs space program is worth preserving at any cost.Put simply, NASA creates jobs. Jobs, in return, help the economy. A single space project can employ hundreds of workers from high level, top security jobs to lower level, yet important role players. Scientists are assigned to solve problems. Engineers are contracted to build prototypes. Truckers are hired to transport materials. Large corporations are paid for contributions, earning profits so they may hire more employees.The work of NASA also pays huge dividends for the environment. Studying Earth from space provides keen insight into many areas. Scientists monitor the ozone layer. They track the effects of global warming. They study patterns of dangerous storms. They test the possibility of space colonies. All of these activities offer hope to our increasingly overcrowded planet.The work of NASA often leads to advances in technology. Solving the mysteries of space creates solutions that help elsewhere. The Jaws of Life save victims in car accidents. The technology came from NASA research. The artificial heart did, as well. The list goes on. Architects, athletes, and auto workers have benefited from space-related discoveries. NASA has enhanced everything from shoes to food. You likely come into contact with something improved by NASA nearly every day.It is impossible to list all the benefits of a thriving space program. It is equally impossible to predict how many new benefits are within our grasp. To find them, we must keep reaching for the stars.What is the topic of each article? fyi the topics has to be the same. ; ) Flowcharting is another tool that programmers use to design programs?A. TrueB. False 20 points!If the environment forced you and your family to leave home, where would you go to start a new life? Whatfactors would you be looking for in your new location? 1. Why were many large discount retailers slow to sell online in the early days of electronic commerce? which of the following best explains how the red scare following the second world war reflected the larger historical context? Can yall figure out the answer for me please Many people have argued that when students get an education, this benefits our society as a whole. Think of at least three benefits to our society that come from having educated citizens. In your opinion, which of these benefits is the most important? Be sure to explain your reasoning. if you give me an answer from another question I am deleting your answer. if both parents are heterozygous for a window's peak, what are the possible genotype and phenotypes of their children? Help me. its a poem by Edgar Allan poe "Annabel Lee"Comprehension QuestionsWhere does the poem take place?The poem takes place in a kingdom by the sea. From the type of language used to describe it, students may be able to identify the poem as taking place in a fairy-tale-like land.1. Who are the characters in the poem?2. When in the poem do the main events take place?Reminder you should be able to summarize the poem. If you need help, walk through each stanza identifying the plot events in each. What senses are involved in mental images?Question 4 options:Mental images can involve any of the senses, including sounds, smells, and textures.Mental images are typically only visual, although some exceptional people can form auditory mental images.Mental images are only visual, no other senses are involved.It is unknown as mental images cannot be studied scientifically. Assume all of the presynaptic synapses identified produce epsps. If two of these synapses fired simultaneously, which synaptic combination brings the initial segment closest to threshold based on spatial summation?. The waiter is reading back an order to make sure he has understood it correctly. Fill in the blanks with words from the list.Check photo below. Thanks. (27-241)please someone answer this asap!!1 Question 420 ptsA student connects a length of unknownmaterial in series with a battery and anammeter (which measures current flow). When the circuit is complete, the ammeterreads that no current is flowing. The unknown material is most likely InsulatorSemiconductorSuperconductorConductor How do you solve 2. 310x/4y times 8y/5x = If you were to change the time of your workouts, you would dowhich of the following?a. change the number of days you work outb. change the length of your workout from 20 to 30 minutesc. change the amount of weight you lift in your workout sessiond. none of the above SOMEONE PLEASE HELP ME WITH THIS!!IMAGE DOWN BELOW!!ILL GIVE YOU BRAINLIST ANSWER!! According to the line plot, how many apples weigh 5/8 of a pound?5 apples2 apples4 apples3 apples Name two sides that appear to be parallel