Think about a game you've played recently, a program you've interacted with, or an application you've recently used. Explain how the programmers for that software used multiple data types as variables. Your discussion should cover logical types, string variables, and at least one type of numerical variable.

Answers

Answer 1

Answer:

The black Jack game using Python has score card variable for the player and the dealer. A conditional if statement would add a random card number if the player decides to hit but prints a string of the total card value collected if not and compares the integer with the dealer's score to reveal to winner.

Explanation:

The game creates an infinite loop to add card value to player's score if he chooses to hit and break the loop if he stays. The dealer's loop adds random number to the score but break if the score is equal to or greater than 16. Both scores are compares with an if statement to decide the winner.


Related Questions

Which of the following is considered proper ergonomics?
Elevating keyboard, so wrists are bent when typing
Placing the mouse close to the keyboard
Resting wrists on the desk while typing
Working on a computer while sitting in a recliner

Answers

Answer:

The First One

Explanation:

because ergonomics is trying to make the person who is using the device be in a more natural position. Raising the keyboard will make the typer feel more comfortable.

Elevating keyboard, so wrists are bent when typing of the following is considered proper ergonomics. Thus, option (a) is correct.

What is ergonomics?

Human factors ergonomics, as it is known in North America, is an area of research that seeks to learn understanding people intelligence and constraints and then utilize this knowledge to improve people's interactions with things, systems, and surroundings.

Raising the keypad and bending the wrists when typing, according to ergonomics, are employed to place the person using the computer in a more favored role. Moving the keyboard relaxes the typer. Wrist supports are commonly seen on keyboards and keyboard trays to help keep your wrists in a normal, virtually straight position.

As a result, the elevating keyboard, so wrists are bent when typing of the following is considered proper ergonomics. Therefore, option (a) is correct.

Learn more about on ergonomics, here:

https://brainly.com/question/6246159

#SPJ5

Which term describes unjust behavior due to a person’s gender or race

Answers

Answer:

Discrimination

Explanation:

Answer:

Discrimination

Explanation:

Vincent has enrolled in a web development degree in college. But he also wants to learn a few extra tools and programming languages. Which course of action can help him?

Answers

Answer:

Apply for online course or programming bootcamps.

Explanation:

As a beginner in web development, it is essential to expand your sources of information, college courses for web development would introduce various new tools and programming concepts. Gathering information and learning other web based tools would ease the learning process.

Mary is a student that's always been helpful to other students and plays her part when group assignment is given and ensures that the group work is complete. Mary display good __________ skills.

Answers

Explanation:

..................are there no options?

Teamwork skills I would guess

Who benefits from digital technology?

Answers

Answer:

Well, the answer is simple. Everybody!

Explanation:


The different parts of a video game won't mesh if the designers don't?

Answers

Answer:

Collaborate

Explanation:

I dont know to much about this particular subject, but Collaborate means to come together in agreement. If they can do that they should come together. If they dont collaborate, then it wouldnt come together.

I apologize if this is incorrect

9.2 Code Practice: Question 2
Edit your solution from the previous array height problem by adding additional code that increases the value of the element at (0,2) by a value of 3, and then reprints the array

Expected Output
[[16, 17, 14], [17, 18, 17], [15, 17, 14]]]
[[16, 17, 17], [17, 18, 17], [15, 17, 14]]]

Answers

Answer:

height = []

height.append ([16, 17, 14])

height.append ([17, 18, 17])

height.append ([15, 17, 14])

print(height)

height[0][2] = height[0][2] + 3

print (height)

Explanation:

hope this helps!

The height problem is a sequential program and does not require loops, iteration and conditions.

The additional code segment  that adds 3 to the element at (0,2) is:

height[0][2] = height[0][2] + 3

To reprint the array, we make use of the following print statement:

print (height)

So, the complete program is as follows:

height = []

height.append ([16, 17, 14])

height.append ([17, 18, 17])

height.append ([15, 17, 14])

print(height)

height[0][2] = height[0][2] + 3

print (height)

Read more about sequential programs at:

https://brainly.com/question/13893632

Louis has two sets of two gears (Set A and Set B) that he is using to build two different machines. He has all the gears laying out separately, as shown in the diagram above. Then he puts the gears into the machines so that the gears in Set A are touching each other and the gears in Set B are touching each other. Use the information in the diagram to answer the question. After the gears have been touching for a while, which of the two bottom gears will be cooler, and why?

Answers

Answer: The larger bottom gear will be cooler than the smaller bottom gear, because the energy that transferred to it was spread out over more molecules.

Explanation: Thermale Energy

Answer:

The smaller bottom gear will be cooler than the larger bottom gear, because less energy has to transfer for the molecules to reach the same temperature as the molecules of the top gear.

Explanation:

how many of you got the right answer from this app​

Answers

actually, a lot, and it’s especially helpful when the answer is expert verified

Can someone give me the code for the edhesive 3.7 code practice for python? Thanks.

Answers

Answer:

Its me I think u might be able to know :)

Explanation:

A presentation software that is used to organize and present pertinent information using graphics, word processing, outlining, drawing, and presentation management tools is called ?
A Microsoft Word
B Microsoft Excel C
Microsoft PowerPoint
D None of these are correct.

Answers

Answer:

C

Explanation:

Well, in your inquiry it says

"A presentation software that is used to organize and present pertinent information using graphics, word processing, outlining, drawing, and presentation management tools"

We know it isn't Microsoft Word, because Microsoft Word doesn't have a presentation feature. We know it isn't Excel because Excel is only meant for spreadsheet and analytics data.

However, on PowerPoint all these points make sense, PowerPoint is a tool that Microsoft created for the capabilities such as to present information, you can also put information inside of graphics as well, you can also draw, and outline too.

Landrolold are u there ???

Answers

Answer:

what is this landrolold

QUICKLY PLEASE!!!

Respond to the following in three to five sentences.

What is the purpose of netiquette guidelines?

Answers

Answer: As the conventional etiquette, which lays out rules of ethics in social contexts, the purpose of netiquette is to help create and sustain a friendly, relaxed and productive atmosphere for online contact, as well as to avoid putting pressure on the system and creating tension between users.

Explanation:

If a business/industry does not meet OSHA standards?

Answers

Answer:

Criminal penalties ensue if an employer willfully violates OSHA regulations a

Explanation: will result in individual may be fined up to $10,000 and be jailed for up to six months.

Answer:

Criminal penalties ensue if an employer willfully violates OSHA regulations and an employee is killed as a result. The guilty individual may be fined up to $10,000 and be jailed for up to six months.

Explanation:

Which four of the following qualify as fair use?

1. using a quote from a book that you are reviewing for a school assignment
2. modifying an image from a website and using it in a flyer for a local business
3. making a photocopy of a data table for reference while writing an assignment
4. creating a video parodying a character in a popular movie
5. paraphrasing a scholarly article in a news report

Answers

Answer:

1 using the quote and citing it

Explanation:

I would say option 1 :)

PLEASE HELP WILL MARK FIRST CORRECT ANSWER BRAINLIEST!!!!!!!!!!~~~~~~~~~

Reese is creating a presentation. She wants to include a graphic of the steps that her department follows in the decision-making process. Which category of SmartArt would work best?

Picture
List
Hierarchy
Matrix

Answers

Answer:

C

Explanation:

Answer:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC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CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

Explanation:

Why do numA and numB have the same scope in the subtract function? def subtract(numA, numB): return numA - numB def divide(numC, numD): return numC / numD answer = subtract(24,6) print (answer)

Answers

Answer:

The output of the subtract method is "18".  

Explanation:

In the above-given code, two methods "subtract and divide" is declared, that accepts two variable in its parameter, and method work with there respective names.

In this code, the subtract method accepts two-variable "numA and numB", within the same scope because it helps the method in proper functioning, and if the variable is no defined in the scope it will give an error.

Answer: 18

Explanation: got it right on edgen

I just downloaded this song and if any one wants to listen to it then go ahead and do that. It’s called Trap Music 2018 âa bass boosted trap mix.

Answers

Answer:

ok

Explanation:

story to brighten your day :D
i was at a mall and a couple in the christmas area asked me if i could take them a picture and then i did and then they started kissing and a old man passsed bye and she was like there? and i said no lol so again i took another and her phone was so slow people went in the front and came out in it and then again they was kissing AND SOMEONE ELSE WENT IN FRONT and as just there like a stattueeee and then the 4 time i said ok this time and they was posing a kiss and then took like 3 pics HA-NKWDKW

Answers

pfftttt.

thats - just wow

All the following are the basis of the World Wide Web except:
Web browser programs
Infrastructure
Web servers
HTML

Answers

Answer:

Web browser programs

Explanation:

Web broswer programs arent very important because they arent being used to maintain the servers or contail the contents of all the sites, they are only used by people to easily view the world wide web without using advanced commands in a terminal to view sites. all the other selections are very important when it comes to maintaining the entirety of the internet.

Answer:

web browser'

Explanation:

To ensure your online résumé is selected by employers using online searches, you must include _____ in your résumé.

html
key words
long descriptions
hyperlinks

Need answer asap!!

Answers

You must use key words.

A big part of SEO is choosing the correct keywords

Answer:

he correct answer is letter "B": keywords.

Explanation:

Human Resources (HR) staff usually handle an overwhelming number of resumes during openings. To make sure during online searches a curriculum vitae will be selected, keywords must be included. It is most likely that the HR staff will just filter words with the characteristics of the person they are looking for instead of looking at every resume they receive.

plz mark as brainliest

Which are examples of digital video? Choose all that apply.

video played from a reel and shown at a drive-in movie theater

video downloaded from a website and played on a portable electronic device

video streamed from a broadcast news website

video played from a DVD player

Answers

Answer:

B, C, D

Explanation:

Edge 2021

     Digital video is the electronic representation of moving pictures as digital data that has been encoded. Contrasted with this is analogue video, which uses analogue signals to represent moving pictures. Digital video is made up of numerous digital images that are shown quickly one after the other.

DV is a type of video format ?

       In order to transfer DV signals between devices, they are encoded into 80-byte blocks known as DV-DIF data (DV Digital Interface Format). These DV-DIF blocks can either be stored as raw files with the.dv or.dif extension or wrapped in other file formats like AVI, QuickTime, and MXF.

         A file produced by a digital camera and saved in a common raw format is known as a digital video (DV) file. Each Digital Interface Block (DIF) in a DV file contains 80 bytes. Audio, video, and metadata can all be found in DIF blocks.

      Who or what uses DV?  A group of video camera manufacturers led by Sony and Panasonic introduced the DV family of codecs and tape formats for digital video storage in 1995.

      DV(digital video) is one kind of video file captured by dv camera, mini dv, and digital 8.

      DV mode – what is it? A video standard called DV (Digital Video) was introduced in 1996. It was developed by a group of businesses and given the official designation IEC 61834. There are a number versions of the DV standard, including DVCAM (Sony) and DVCPRO (Panasonic). Customers are familiar with MiniDV, DV's smaller format.

To Learn more About  digital video (DV), Refer:

https://brainly.com/question/19554652

#SPJ2

Out of these video games which one do you think is the best
(dont answer if you have never played at least 3 of these games)
Rivals of Aether
Super smash bros ultimate
Smash flash 2
Project M

Answers

Answer:

Tbh Rivals of Aether was pretty good but I gotta go with SMBU

Explanation:

SMBU was lit that's all there is to it

Answer:

Super smash bros ultimate

Explanation:

its ultimate

George has to present the goals of information management to his team member. What is a goal of information management?
The goal of information management is to identify information requirements for various____levels.

Answers

Answer:

Management

Credit / Resource:

This problem has already been solved, if you would like to view more about this please click the question link below.

https://brainly.com/question/5495374

Some people recommend deleting social media accounts because of the troubling legal and ethical implications of social media. Do you support this position? Why or why not?

Answers

Answer:

I do not support this

Explanation:

One reason is because the benefits for social media out way the unbeneficial parts.one reason is because sites like social media have forever changed the life of many familys across the globe.

Alizeh invests $10,000 in an actively managed mutual fund that has an annual expense ratio of 1.3%. The investment earns a 7% rate of return.

How much did she make in one year on her investment with the 7% rate of return?
How much does she pay in fees for her actively managed mutual fund?
At the end of the year, what’s the total value (AFTER FEES) of Alizeh’s mutual fund?

Answers

Answer:

Alizeh

The total value (AFTER FEES) of Alizeh’s mutual fund is:

$10,570.

Explanation:

a) Data and Calculations:

Investment in mutual fund = $10,000

Annual expense ratio = 1.3%

Rate of return on investment = 7%

b) Annual return on investment = $700 ($10,000 * 7%)

c) Annual fees for her actively managed mutual fund = $130 ($10,000 * 1.3%)

d) At the end of the year, the total value (after fees) of Alizeh's mutual fund:

Investment in mutual fund = $10,000

Annual return on investment = $700

Annual fees for mutual fund = ($130)

Total value =                         $10,570

The total amount at the end of the year is the sum of the Principal ,ROI and

the expense which is   $10,570

Mutual Fund/Investment

Given Data

Principal = $10,000Expense ratio = 1.3%Ratet = 7%

1. Let us find the ROI

= 7/00*10000

=0.07*10000

= $700

2. Let us find the fees/expense

= 1.3/100*10000

= 0.013*10000

= $130

hence the total amount at the end will be = 10,000+700+130 =   $10,570

learn more about mutual funds here:

https://brainly.com/question/25300925

Which type of document should Omar print?

Answers

Well it depends on the topic he is doing. if it is a list then a plain doc with a list of numbers. if he is writing a letter then he should use the letter template.

Answer: A

Explanation:

what is the essence of proper nutrition?​

Answers

Answer:

Proper nutrition is about balance, and that means not getting too much of certain ingredients, such as sodium, or salt. Sodium increases blood pressure, which raises the risk of heart disease and stroke.

Explanation:

Answer:

Explanation:

Most people know good nutrition and physical activity can help maintain a healthy weight. But the benefits of good nutrition go beyond weight. Good nutrition can help: Reduce the risk of some diseases, including heart disease, diabetes, stroke, some cancers, and osteoporosis.

delete temp or %temp% files in Windows 10 is safe and, can it help boost up your PC fps?

yes or no

Answers

Answer:   yse

Explanation...

The template code provided is intended to take two inputs, x and y, from the user and print "pass" if one or more of the following is true:

x is not less than 4
y is not greater than 5 and x + y is less than 7
However, when using De Morgan's law to simplify this code, the programmer has made some mistakes. Can you correct the errors so the code functions as intended?


Answers

I hate math so I couldn’t tell you but hope you can find an answer my guy!
Other Questions
what are the positive impacts of Title VII of the Civil Rights Act of 1964 on US companies. How did this historic change in US law benefit companies? what is the cause of a new transportation revolution? A car of mass of 1000 ks in accelerating at 2 ms. What resultant force acts on the car? If theresistance to the motion is 1000 N, what is the force due to engine? 1) Jupiter, mars, and_______ have wind2) ______ means to wear away3) at a wind farm they harvest_______ energy 4. Why is Katniss willing to have her name entered into the reaping extra times in exchange for tesserae? What is the slope of the line? Find the mean, mode, median and the range.-4, -10, 6, 11, -16, 8, -7, 8, 34, 6 Write equations for the vertical and horizontal lines passing through the point (0, -3). If you come across a word you don't know, write it in a blank space below. Try to figure out what the word means by looking at its context. Then use your dictionary or the Internet to look up the correct definition for the word.Word Definitionauthor's purpose -tone -connotation -denotation -figurative language-metaphor -personification -hyperbole- this is a trigonometry question . b) What are the problems of child rights in yourcountry? Suggest some solutions of the problems. CODING HELPPP Erins classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be. What kinds of errors does Erin need to fix? logic errors, database errors, debugging errors, syntax errors Describe the 6 steps in manual dishwashing? Please help!!! What is the "genuine civilization" King has the audacity to live in? 6th grade history i mark as brainliest what are the three ways in which a government can intervene in a market Radical Republicans What were some of the effects of the monsoons? Homeless Bird What items were Spanish Explorers' relentlessly in search of in the New World? pls help. i need to turn this in before midnight