On the surface this program seems simple. Allow the player to keep guessing until he/she finds the secret number. But stop and think for a moment. You need a loop to keep running until the player gets the right answer.

Some things to think about as you write your loop:

The loop will only run if the comparison is true.
(e.g., 1 < 0 would not run as it is false but 5 != 10 would run as it is true)
What variables will you need to compare?
What comparison operator will you need to use?
.
Using comments, type a heading that includes your name, Hailey, today’s date, and a short description.

Part 3: Post Mortem Review (PMR)
Using complete sentences, respond to all the questions in the PMR chart.

Review Question Response
What was the purpose of your program?
How could your program be useful in the real world?
What is a problem you ran into, and how did you fix it?
Describe one thing you would do differently the next time you write a program.

Answers

Answer 1

Answer:

You would need a while (true) loop, aka a loop that always runs, OUTSIDE this loop, you would need to generate a random number. Inside the loop, you need to wait for user input and then compare it against the answer variable you generated outside the loop. Then, if the answer is not right, you would need to tell them that and go back to the beginning of the loop. If it is, you need to break the loop and continue. Operators I would use: == to check if answer is equal to number generated.

Program purpose: Fun game about guessing a random number

Useful in real world: (I can't think of anything for this one)

Errors: I didn't run into any errors.

Differently: I think I wrote my program as efficiently as I could.

Explanation:

I could program this "game" for you if you tell me what language it needs to be made in. I.E Python, C++, lua, etc.

Good luck! P.S, Please do not COPY + PASTE this answer, it will most likely be found by whoever is checking this. There is 1-2 things in there you will need to change to your liking.


Related Questions

What types of tasks can you complete using Microsoft Excel (name and describe at least 3)

Answers

Answer:

1) Data Entry and Storage. ...

2) Accounting and Budgeting. ...

3) Collection and Verification of Business Data. ...

4) Scheduling. ...

5) Build Great Charts. ...

6) Help Identify Trends. ...

7) Administrative and Managerial Duties. ...

9) Return on Investment.

What sort of negative outcomes are possible for this type of risk?

Answers

More details please?

Answer:

not enough to go on

Explanation:

Ask how many apples the user wants. Ask how many people the user will share the apples with. Find out how many apples will remain if you share the apples equally. Hint: use modulus %.

Answers

Answer:

The program in Python is as follows:

apples = int(input("Apples: "))

people = int(input("People: "))

apples%=people

print("Remaining: ",apples)

Explanation:

This gets the number of apples

apples = int(input("Apples: "))

This gets the number of people to share the apple

people = int(input("People: "))

This calculates the remaining apple after sharing the apple evenly

apples%=people

This prints the calculated remainder

print("Remaining: ",apples)

hi good morning
Type the name of the protocol for each protocol define on the table below

nonsense answers well be reported​

Answers

Answer:

1. SSH/Telnet.

2. SMTP.

3. DNS.

4. DHCP.

5. HTTPS/SSL.

6. FTP

Explanation:

1. Provides connections to computers over a TCP/IP network: the standard protocol used for this is SSH/Telnet, through port number 22 and 23 respectively.

SSH is acronym for secure shell.

2. Sends e-mail over a TCP/IP network: SMTP using port number 25.

SMTP is an acronym for Simple Mail Transfer Protocol and it uses the standard port number of 25 to provide clients with requested services.

3. Translates URLs to IP address: DNS using port number 53.

A Domain Name System (DNS) can be defined as a naming database in which internet domain names (website URLs) are stored and translated into their respective internet protocol (IP) address. This simply means that, DNS is used to connect uniform resource locator (URL) or web address with their internet protocol (IP) address.

4. Automates assignment of IP address on a network: DHCP using port number 67.

Dynamic Host Configuration Protocol (DHCP) is a standard protocol that assigns IP address to users automatically from the DHCP server.

5. Securely transports web pages over a TCP/IP network: HTTPS/SSL using port number 443.

HTTPS is acronym for Hypertext Transfer Protocol Secure while SSL is acronym for Secure Sockets Layer (SSL).

6. Transports files over a TCP/IP network: FTP using port number 20 or 21.

FTP is an acronym for file transfer protocol.

Explanation:

I guess there is no need of mine for giving ans now

as the above guy has explained everything

What is the purpose of including a section in a presentation?

to organize and name groups of slides
to leave comments on slides for other users
to delete all the slides in a presentation at once
to save a template for use in other presentations

Answers

Answer:

D. for a presenter to add notes and markings to a presentation

did the one above and got it wrong, picked this one second and got it right. edge 2021

another word for Arithmetic Logic Unit​

Answers

Answer:

ALU

Explanation:

just to say it faster than having to say it...

Answer:

ALU

Explanation:

ALU is a functional part of CPU which perform arithmetic and logical operations.

In what way, if any, does digital media influence the ability for a smaller business to compete with a larger business? Digital media helps small businesses because it gives them access to resources that only large companies had in the past. Digital media has little effect on the ability for a small business to compete with a larger business because all businesses benefit equally. Digital media actually damages the ability for a small business to compete with a larger business because it provides larger businesses with more opportunities. Digital media helps small businesses because it increases globalism, which is good for small businesses in terms of competition.

Answers

Answer: Digital media helps small businesses because it gives them access to resources that only large companies had in the past.

Explanation:

Digital media refers to the media that depends on electronic devices in order to be created, distributed or stored.

Digital media gives smaller business the ability to compete with the larger ones as it gives them access to resources that only large companies had in the past.

Give 3 advantages of using shortcut key, especially in MS Office.

Answers

Answer:

Efficient and time-saving. Using shortcuts makes you more efficient at doing certain tasks on your computer. ...

Multi-tasking. Being a multi-tasker is sometimes required in life. ...

Health benefits.

HELP FAST
Question
You need to create a sketch for the first prototype of your solar toy race car. Which digital tool should you use?

Word processing software
Word processing software

Presentation software
Presentation software

Graphics/drawing software
Graphics/drawing software

Note-taking software
Note-taking software

Answers

Answer:

its graphics i think it makes sense

Graphics ... note taking wouldn’t get you anywhere with the sketch presentation is just showing it

To figure out how to use her MacBook Pro graphics software to update designs originally created on a DEC10, Marianne needs to use a ______ language?

Answers

Answer:

Glue Language

Explanation:

I'm not 100% sure, but here is the definition.

Glue language- A programming language that can be used to provide interoperability between systems not originally intended to work together

Requires the presence of patients and healthcare providers at different sites at the same time and often involves a videoconference link between the two sites

Answers

Answer:

Live Telemedicine

Explanation: Telemedicine is a modern system of heath care where the medical care provider and the patient or client utilise the advances in telecommunications to share information about the medical/health needs of a client. In most cases the medical care provider and the client are in different locations communicating virtually. Live Telemedicine is becoming acceptable throughout the world especially in poor and developing countries like Nigeria.

Which class requires campers to work in teams to create a
project?

Answers

Answer:

Summer camp?

Explanation:

does anyone know the what the tuition fee is for UC Berkeley PER YEAR. My smooth brain can't find it ANYWHERE.

Answers

Answer:

Local tuition 14,253 USD and Domestic tuition 44,007 USD

2019- 20

Average cost before any aid is $39,376 but with aid it averages to $14,846

que es la felicidad??​

Answers

Se feliz el amor es nada

What's your thoughts on people using Brainly for nonacademic purposes?

Answers

Answer:

it has its ups and downs i  mean if brainly didn't wan't us talking they shouldn'‘t have added friends and a inbox  It’s a great way to make friends and help with work  so it shouldn't be a problem

Explanation:

MARK ME BRAINLIEST PLZzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Hola, mi amigo cuando escribe con el teclado le aparecen simbolos. Quiere apretar la A y se escribe ]]]] o cosas asi. Por que sera? Estan desactivadas todas las teclas especiales.

Answers

Answer:

Explanation:

Muchas veces esto puede ser por que tenes un lenguaje de teclado instalado en el sistema operativo differente al teclado que estas usando. Teclados de diferente lenguajes usan las teclas en differentes posiciones, igual que los simbolos. Intenta ir a Preferencia de Idioma en el sistema operativo que tengas y cambiar el lenguaje al de tu teclado. Aca tambien podes ajustar las teclas para asegurarte que este marcando bien.

what are human made materials ?​

Answers

Answer:

Natural materials may include wood, cotton, fur, or wool. Human-made materials may include plastic, rubber, glass, and Styrofoam.

How would you explain these three security risks (phishing, keylogging, malware) to a family member? What would you say to help them understand the dangers?

Answers

Answer:

1. Phishing is a cybercrime in which a target or targets are contacted by email, telephone or text message by someone posing as a legitimate institution to lure individuals into providing sensitive data such as personally identifiable information, banking and credit card details, and passwords.

2. Keyloggers are built for the act of keystroke logging — creating records of everything you type on a computer or mobile keyboard. These are used to quietly monitor your computer activity while you use your devices as normal.

3. Malware is intrusive software that is designed to damage and destroy computers and computer systems.

Explanation:

All of these can be used to steal data & passwords

Phishing, keylogging and malware are different ways of illegally getting hold of user data to be used for fraudulent activities.

Phishing is performed by impersonation, where users or customers of a particular organization or platform are contacted by emails, text or call requesting them to provide sensitive on behalf of the institution.

Keylogging occurs when keystrokes of a user is being monitored without consent. The logged or captured keys can be used to log into the individual's information and retrieve sensitive data.

Malware involves the use of infected files delivered over a network to carry out cyber attacks capable of capturing tons of data illegally.

It is important to withhold sensitive information and contact service providers if any suspicious communication is received.

Similarly, visiting unauthorized websites should be avoided and the use of firewalls on computer system should be adopted.

Therefore, phishing, keylogging and malware are ways of perpetrating cyber crime.

Learn more: https://brainly.com/question/19588151?referrer=searchResults

In the space provided, explain the evolution of newspaper reporting, from the early 1900s to the Digital Age.

Answers

Circulation increased because more people became interested in the news. ... In that time, Yellow journalism led by William Hearst (New York Journal) and Joseph Pulitzer (New York World) managed the news in a sensationalistic way to attract more readers, and the circulation maintained its numbers.

The first newspaper,daily doings, was published by the ancient Romans in 59 BCE. In the new era, the newspaper is evolving continuously.

What is newspaper?

A newspaper is a bimonthly publication that contains written information on current events and is often typed in black ink on a white or gray backdrop.

The publication has gone through several changes during its lengthy and complicated existence.

Examining the history of newspapers can provide insight into how and why they have grown into the diverse media that they are today.

The first newspaper, daily doings, was published by the ancient Romans in 59 BCE, according to scholars. Despite the fact that no copies of this periodical have survived.

it is usually assumed that it chronicled events, assemblies, births, funerals, and daily gossip. These handwritten Avis, or gazettes, covered politics and military engagements.

Hence,the newspaper is evolved before 1900s and growing to a new digital Age.

To learn more about newspaper, refer:

https://brainly.com/question/21528399

#SPJ2

One benefit of proprietary licensed software is that it

is free of cost

will always be supported.

has undergone quality assurance testing.

comes with a EULA that guarantees access to source code.

Answers

Answer:

has undergone quality assurance testing.

Explanation:

What is the default pixel resolution for Mac, PC and Linux builds?
Native
1920x1080
960x540
1280x720

Answers

Answer:

it should be 1920 by 1080

Explanation:

Answer:

chrome

Explanation:

Dwayne wants a variable called "name" to appear in the interpreter and does not want a space after it. Which of these should be used to make that happen? Name, name) name+ name.

Answers

Answer:

name + name

Explanation:

When assigning values to a Variable  in python, the + operator sums the values assigned to the variable into a single value hence there won't be any space between the values assigned .

Name + Name = NameName    in python programming

Which function can be used to find the date of the last payment made on a customer account? average count order maximum

Answers

Answer:

the answer is going to be c, order

Explanation:

this is because whenever a consumer or customer orders something, a product, or a good, companies may go back into records of a customer’s account and see the last order they made. also i took the test on edgen 2021. hope this helped!

PLEASE HELP ME ITS A TIMED TEST
Select all that apply.


Carmen wants to do a basic search on the Internet to find what software can be used to do data mining. Select each of the steps Carmen should complete.



A. Navigate to a search engine.


B. Type "software data mining."


C. List the synonyms for software.


D. Select the keywords "software" and "data mining."


E. Create a link.


F. Press Enter.


G. Form the question: What software can be used to mine data?

Answers

There are ways to mine data. The  steps Carmen should complete are:

Press Enter.Navigate to a search engine.Form the question: What software can be used to mine data?List the synonyms for software.Select the keywords "software" and "data mining."Type "software data mining."

What is data mining?

Data mining is regarded as the act or the process of sorting that is often done through a large data group to known the patterns and relationships that can help handle business issues via data analysis.

Note that Data mining methods and tools helps firms to predict future trends and as such can make more better and informed business decisions.

Learn more about data mining from

https://brainly.com/question/26885075

Why is drive of value when pursuing a career in IT?
Without drive, a person may fall short in their career goals.
Drive is not of value.
Drive is only important when you work for Microsoft.
Drive is only needed when someone does not have a college degree.

Answers

Answer:

Drive is only important when you work for Microsoft.

Which type of app is the best choice when it is critical to be able to use the device's features but performance is not critical? native web hybrid mobile

Answers

Answer:

Hybrid.

Explanation:

A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer on how to perform a specific task and solve a particular problem.

A software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software applications. There are seven (7) main stages in the creation of a software and these are; planning, analysis, design, development (coding), testing, implementation and execution, and maintenance.

Some of the models used in the software development life cycle (SDLC) are;

I. A waterfall model: it can be defined as a process which involves sequentially breaking the software development into linear phases. Thus, the development phase takes a downward flow like a waterfall and as such each phase must be completed before starting another without any overlap in the process.

II. An incremental model: it refers to the process in which the requirements or criteria of the software development is divided into many standalone modules until the program is completed.

III. A spiral model: it can be defined as an evolutionary SDLC that is risk-driven in nature and typically comprises of both an iterative and a waterfall model. Spiral model of SDLC consist of these phases; planning, risk analysis, engineering and evaluation.

Basically, softwares are categorized into three (3) main categories based on the development platform and these are;

a. Web application.

b. Native application.

c. Hybrid application.

A hybrid application is a type of software application that is designed based on the combination of the elements of both web applications and native applications.

Typically, a hybrid application is a web application that is developed in a native application shell, using a standardized web programming language such as CSS, JavaScript, and HTML.

Generally, a hybrid application avails a programmer the opportunity to write a code for a mobile application once while accommodating or being compatible with multiple app platforms such as Android, Windows, iOS, etc.

Hence, a hybrid application is the best choice of an application when it's critical for the end users to be able to use the features associated with a device such as a mobile phone but performance isn't critical.

Answer: Hybrid

Explanation: Hybrid apps are suited to situations where performance is not critical but using the device’s features are.

Students who understand what the teacher is saying do not need to take notes.
Please select the best answer from the choices provided
T
F

Answers

Trueeeeeeeeeeeeeeeeee

Answer:

false

Explanation:

edge 2022

What are Apps?
How do we interact with them?

Answers

Answer:

Sliding elements in list format.

Cards.

Images.

Buttons.

Overflow screens.

Multiple selection app interactions.

Text input fields.Explanation:

write short cut of
fully justified​

Answers

Answer:

To make text justified, select and highlight the text first, then hold down Ctrl (the control key) on the keyboard and then press J. To make the text left aligned again, press and hold down Ctrl on the keyboard and press L

Create a paper of at least 1,800 words describing the situation you selected and explaining the logic that would support an array.

Answers

Answer:

I dont know about 1800 words but I sure can tell you abit about array

Explanation: Array in simple sense refers to a collection of similar data. It holds data which is homogeneous in nature, meaning they are all alike. The use of array provide a lot of advantages in the fields of computer programming. When you declare a variable for an array, you can store as much data as you wish in the same variable without having to declare many variables. A 2X2 dimensional array can also be used in programming which represents matrices as well. The search process in an array too is really convenient and time saving. Also in an array, accessing an element is very easy by using the index number.

Other Questions
Two lines, A and B, are represented by the equations given below:Line A: 4x + y = 6Line B: x + y = 3Which statement is true about the solution to the set of equations? Group of answer choicesThere are infinitely many solutions.There is no solution.It is (1, 2).It is (2, 1). A rectangular prism has a volume of 344 cubic units. Find its volume of two dimensions were doubled, and a third dimension was tripled NEED HELP ASAP - Refer to pages 2-3 of the poems. What is the best summary of Sonnet LX which theory do you believe most? Scientific Theory or Biblical Theory? Explain why? Suppose you will determine the composition of the unknown substance that was collected at the scene of the crime. You are encouraged to work on this case. You can perform a series of tests on the unknown substance and compare results of the same tests performed on known samples. Follow these steps:List physical properties you can use as a simple method of identifying substances.Describe how you can use density to help identify unknown substances.Explain how forensic chemist can help you identify unknown substances.How important is comparing tests results of know substances in a lab setting? The tilt of the Earth's axis and it rotation affect weather, because the ________ allows some latitudeds to be heated at a greater rate while Earth ________. What would Hubble's constant be if we found one galaxy moving away at 30,000 km/s at a distance of 600 Mpc? what is the basic purpose of the constitution? CORRECT AWSNER GETS BRAINLIEST Candidate Stephen Douglas pleaded with southern voters to stay with the union, no matter who was elected. What response did he often get in the south?A. southerners pelted him with eggs and rotten fruit B. southerners refused to let him campaign in their states C. Southerners listened respectfully, but voted for a different candidate D. Southerners voted heavily for Douglas English Speech: 1. open topic. 2. three minutes long. 3. matric [grade 12] level. Este animail tiene el cuello m grande de todos los animales zoolgico.elefantec. jirafab. camellod. rinocerontea.Please select the best answer from the choices providedBCOO What would be the temperature change if 3.0 g of water absorbed 15 J of heat? Specific Heat capacity of water= 4.18 J/gCQuestion 19 options:aNone of the aboveb2.4 Cc1.2 Cd15 C find x in the following triangle Pleaseee helppp I wasnt given a word bank:( Which of the following statements is false?a.The instructions for making some proteins are not specified by genes.b.An organism's genes determine its inherited traits.c.Some genes code for enzymes.d.An organism's inherited traits depend on proteins. Let y and z stand for any two different rational numbers. If |y| Which equation describes the relationshipbetween x and y in the table?-8-40400y210-1-2A y= - 4x y=-X y=4xy= 2x need help on this asap actual explanation! what is the formula of a-b? In the following triangle, find the values of the angles Band B, which are the best approximations to the solutions to this ambiguous case?