Write multiple if statements. if caryear is 1969 or earlier, print "probably has few safety features." if 1970 or higher, print "probably has seat belts." if 1990 or higher, print "probably has anti-lock brakes." if 2000 or higher, print "probably has air bags." end each phrase with period and newline. ex: caryear = 1995 prints:

Answers

Answer 1
if( caryear >= 2000 ):
    print "probably has air bags.\n"
elif( caryear >= 1990 ):
    print "probably has anti-lock brakes.\n"
elif( caryear >= 1970 ):
    print "probably has seat belts.\n"
else:
    print "probably has few safety features.\n"

Answer 2

Answer:

if (carYear <= 1969) {

        System.out.println("Probably has few safety features.");

     }

if (carYear >= 1970) {

        System.out.println("Probably has seat belts.");

     }

if (carYear >= 1990) {

        System.out.println("Probably has anti-lock brakes.");

     }

if (carYear >= 2000) {

        System.out.println("Probably has air bags.");

     }

Explanation:


Related Questions

What machine is considered by many to be the first all-programmable electronic digital computer?

Answers

The machine is called Colossus worked by Thomas Flowers in the year 1943. Colossus was the world's first programmable electronic computerized PC. English codebreakers utilized Colossus to peruse German coded radio messages amid World War II. Their plan, which was called "Goliath" utilized many vacuum tubes. The main machine, Mark 1, worked in December 1943.

A(n) ______ database stores data in tables that consist of rows and columns.

Answers

Answer:

relational

Explanation:

A relational database is a type of database that has a group of tables organized in rows and colums in which the data is related to one another. As tables are connected and share information, this allows to organize the data in different ways, search for information and create reports.

According to this, a relational database stores data in tables that consist of rows and columns.

Simple mail transfer protocol (smtp) uses the well-known port number ______________ by default.

Answers

I believe it's default is port 587. 

Answer:

it is port 587 or( :587)

2) Where was the first high-level language operating system created?

A- Harvard
B- MIT
C- IBM
D-Stanford


Answers

yo its mit were i go to collage

Answer:

IBM ( B )

Explanation:

The first high-level language operating system was created at IBM in 1954 and in 1956 the first operating system was created and introduced . the first programming language was created at IBM in 1954 and the language was known as FORTRAN ( Formula translation ) this was a high level programming language used for general purpose but it is best suited for scientific and numeric computations till date

The first operating system GM-NAA I/O, was produced and used  by General motors for IBM 704 although there were other operating systems which  were not put into commercial purpose but were as well produced for IBM.

Why does a layer 3 device perform the anding process on a destination ip address and subnet mask?

Answers

To get the network number and node number of the destination machine. The subnet mask is usually called the NETwork MASK, so anding it with the address gives you the network number. Using the not logical operator on the netmask then protects the node bits in a second and operation.

address & netmask = network number
address & not( netmask ) = node number

The not operator essentially just flips the bits of it's argument.

All of the following are examples of a web application except for ______.


A) Pixlr


B) Facebook


C) Google Docs


D) Microsoft Word

I've been trying to figure out this question, but I've only found that they all are web applications.

Answers

B isn’t a web application, it is a social media

State College charges its departments for computer time usage on the campus mainframe. A student had access to the university computer system because a class she was taking required extensive computer usage. The student enjoyed playing games on the computer and frequently had to request extra computer funds from her professor in order to complete her assignments.

The student’s use of the computer to play games was: (ethical or unethical because....)

Answers

It is ethical for her to do her schoolwork on the computer, but it was unethical to use her allotted time to play games, which led to her having to request more time on the computer. If she wants to play games, she should get her own computer or device to play games on

The student’s use of the computer to play games was unethical because he or she has misuse the aim of what the computer was set for in the school.

What are Unethical behavior?

This is known to be any actions done by a person that are known to be against social beliefs or unacceptable things.

Conclusively, note that this is an academic setting and as such, the student’s use of the computer to play games was unethical because he or she has misuse the aim of what the computer was set for in the school.

Learn more about ethics from

https://brainly.com/question/1396910

#SPJ2

Diagnosing is solving the problem, and troubleshooting is figuring out what the problem is.

True or False

Answers

Diagnosing is figuring out the problem and what caused it whereas troubleshooting is trying different solutions and checking if they work for a problem

It is false that diagnosing is solving the problem, and troubleshooting is figuring out what the problem is.

What is troubleshooting?

Troubleshooting is a methodical approach to problem solving that is frequently used to identify and resolve problems with complex machines, electronics, computers, and software systems.

Troubleshooting is a type of problem solving that is frequently used to repair broken products or processes on a machine or system.

It is a logical, systematic search for the source of a problem in order to solve it and re-establish the product or process. To identify the symptoms, troubleshooting is required.

Diagnostics is the process of testing a computer hardware device or software program to ensure that it is functioning properly.

Diagnosis is the process of determining what the problem is. whereas troubleshooting is the way of resolving a problem.

Thus, the given statement is false.

For more details regarding troubleshooting, visit:

https://brainly.com/question/14102193

#SPJ2


Why might location be important when searching for a job?



A. The weather is too cold for most work in the North.
B. Cities have more entertainment options.
C. Rural areas have more land available for sale.
D. Some industries are located only in certain areas.

Can someone please answer this correctly. The subject is economics.

Answers

"D. Some industries are located only in certain areas. " This is because many industries choose either big cities or small towns near big cities to start up their business in order to maximize the amount of money they make.

The location that is important when searching for a job is some industries are located only in certain areas. The correct option is D.

What is job searching?

The word "job" refers to working for a certain business. The position offers the chance to launch a career. A job enables you to obtain skills while also supplying cash support. There are creators, constructors, thinkers, and innovators.

An organized resume helps with the job hunt by listing experiences and abilities. Nearly everyone who applies for a job must submit a resume.

A concise written summary of your education, credentials, and prior employment that you submit to an employer when looking for a job. A candidate for a job creates a legal statement called a résumé to list their qualifications for the position.

Therefore, the correct option is D. Some industries are located only in certain areas.

To learn more about job searching, refer to the link:

https://brainly.com/question/25482793

#SPJ2

The disk drive is a secondary storage device that stores data by _____ encoding it onto a spinning circular disk.

Answers

magnetically





------------------------------

The disk drive is a secondary storage device that stores data by magnetically encoding it onto a spinning circular disk.

Disk drives store data by magnetically encoding it onto a spinning disk. This method uses magnetic fields to represent binary data. This technology is essential for efficient data storage and retrieval. Disk storage is a category of storage mechanisms where data is recorded by various changes to a surface layer of rotating disks.

Magnetic Encoding

Information on modern hard drives is stored in binary form using magnetic fields. The disk is coated with a magnetic film, and data is written using a write head that magnetises small regions of this film either parallel or antiparallel to the disk's velocity. Older technologies like floppy disks used similar magnetic encoding techniques. Data density on these disks can reach very high levels, often measured in bits per square inch.

___ software creates a personal security zone around your computer by monitoring all incoming and outgoing traffic and blocking any suspicious activity.â

Answers

It is known as the firewall software. A firewall is a program or gadget that goes about as a boundary to keep ruinous components out of a system or particular PC. Firewalls are arranged with particular criteria to square or forestall unapproved access to a system.

When you save a file to the cloud, it means your file stored _________

Answers

on an Internet-connected, remote computer, rather than your own device. Some examples of cloud-based software include Dropbox and Google Drive. One major benefit of the cloud is that you can access all of your data (for example, your photographs, music, schoolwork, or other important files) safely and securely on any device that has the ability to access it. For example, if you are working on an assignment at school but run out of time, you can save your work and access it anywhere else you can access the cloud, such as your home or library.

Which type of account will typically have the highest interest rate? A Savings Account B Certificate of Deposit (CD) C Money Market Account D Checking Account

Answers

Answer

Certificate of Deposit (CD)

Explanation

Certificate of deposit is a savings certificate which has a fixed maturity date. In certificate deposit the interest rate rate is fixed and there is penalty if you withdraw funds before maturity ans this may lead to inflation in your savings. Compared to other saving accounts like Savings Account,Money Market Account,Checking Account among others, Certificate deposit typically have highest rate interms of interest.

The correct option is Certificate of Deposit (CD).

Further Explanation:

Certificate of Deposit (CD) usually provides more interest rate than other type of accounts. These are similar to saving accounts but having fixed duration like 6 months, 1 year, 2 years or 5 years etc. Depositors generally get more interest than other saving accounts but if they withdraw money than they will have penalty usually in the form of low interest rates.

A saving account provides you the interest on money you have saved for the future. The interest rates are vary for different account types.

Money market accounts are similar to the saving accounts but they have a preset minimum account balance limit. If you don’t have minimum required balance than they will penalize you.  

Checking accounts provide you the easy access for your money on daily basis and make sure that your cash is secure. They generally provide you the debit cards for money transaction or bill pay.

Learn more:

1. Learn more about the property tax

brainly.com/question/2689578

2. Learn more about the tax on revenue from property

brainly.com/question/2689578

3. Learn more about the personal tax

brainly.com/question/1762937

Answer details:

Grade: High School

Subject: Business

Chapter: Banking System

Keyword:

Saving accounts, certificate of deposit, CD, money market account, checking account, account balance, minimum, highest rate of interest, bank, credit card, debit card, net banking, mobile banking, one time password, account number, saving accounts, current account, high rates, physical location, cheque, withdrawal, deposit, services, cash

Which type of memory is used as the working storage space of the computer?

Answers

Answer:

Primary storage

Explanation:

Primary storage (also known as main memory, internal memory, or prime memory), often referred to simply as memory, is the only one directly accessible to the CPU. The CPU continuously reads instructions stored there and executes them as required. Any data actively operated on is also stored there in uniform manner.

Document creation is a key business function because:

A. it provides many entry-level job opportunities.
B. without documents there could be no government reporting.
C. it prevents cyber bullying in the workplace.
D. it allows documents to be stored, distributed, and analyzed for decision
making.

Answers

D. it allows documents to be stored, distributed, and analyzed for decision 
making.

Answer: (D) It allows documents to be stored, distributed, and analyzed for decision  making.

Explanation:

 The document creation is one of the key business function as it allow the document to store, analyzed and also distributed for the decision making. The document creation is one of the technical part of the communication.

There are many different types of document and each document exhibits its different use of purpose like providing and also collecting different types of information or data.

Therefore, Option (D) is correct.  

You need to write a loop that will repeat exactly 125 times. which is the preferred loop construct to use?

Answers

a for loop would be the most convenient.

Which type of css style is best used to format only a single element on a single page in a site?

Answers

Inline CSS is the answer you're looking for, and is generally not good practice to use consistently, as it creates a lot of unnecessary clutter and mess. Prefer external CSS, or at the very least internal CSS.

Inline CSS is when you modify the element itself, rather than selecting classes, IDs and elements like you would with internal or external CSS.

The follow HTML and CSS would cause the paragraph to have red text:

<p style="color:red">
Hello World!
</p>

When a hostname is configured through the cisco cli, which three naming conventions are part of the guidelines? (choose three.)?

Answers

When a hostname is configured through the Cisco cli,  there are some naming conventions are part of the guidelines that should be followed.

From these conventions:
1- the name of the host shouldn't contain any spaces.
2- the name of the host should always begin with a letter
3- the name of the host should be less than 64 characters in length.

What are Programs that can run from a flash drive?

Answers

But this doesn't work for everything; many programs need to reside on the same physical drive as Windows. Heavy-duty apps like Office and Photoshop, for instance, are inextricably tied to the operating system; you could theoretically install them on your flash drive, but they wouldn't run on any other PC.

Hope this helps! :)

Which will not increase demand for desktop computers?
a. an increase in the incomes of computer users
b. cool new computer games
c. dell computers going out of business
d. the price of notebook computers is increasing?

Answers

Dell computers going out of business isthe right answer.

Final answer:

Dell computers going out of business will not inherently increase demand for desktop computers, as this scenario impacts supply rather than demand. Increases in consumer income, the release of new computer games, or rising prices of notebook computers generally lead to increased demand for desktops. The correct answer is c, Dell computers going out of business.

Explanation:

Factors Affecting Demand for Desktop Computers

When examining the factors that can increase demand for desktop computers, we can consider several scenarios. An increase in the incomes of computer users (option a) is typically associated with a rise in demand, as people have more spending power to purchase goods. Similarly, the release of cool new computer games (option b) can drive demand as these games may require advanced computer hardware that is commonly found in desktop computers.

However, Dell computers going out of business (option c) would likely reduce the supply of computers from one major manufacturer, but it may not directly increase demand for desktop computers from other brands. Although the competition is reduced, it could lead to a scenario where remaining manufacturers can fill the gap, or consumers may switch to alternative devices, such as laptops or tablets.

Lastly, if the price of notebook computers is increasing (option d), this may cause a substitution effect where consumers opt for desktop computers as a more affordable alternative, leading to an increase in demand for desktops. Hence, option c, Dell computers going out of business, is the one that will not inherently increase demand for desktop computers.

In a paragraph of no less than 125 words, describe how technology helps business professionals to be more efficient. Include examples of hardware and software.

Answers

i can't type the essay for you but here are some ideas.

automates tasks (accounting and excel)
connectivity to users and employees (like marketing, skype, hiring online)
give a professional and deaign look to items (graphic designers)
learning and training (don't need to go to a school to learn code or selling like linkedin, Lynda, or edukit)
selling products (things don't have to be in a store. less costs for the business for the stores which is easier for customers because it is convient and it moves more product like Amazon)

Answer:

Technology can help business professionals be more efficient by automating tasks so it can be done quicker and be perfect. It can also mean good customer service like being able to talk over video chat and be able to help a custom that has a problem. Technology means internet and if you want your product advertised you can find a lot of places that can easily get your product viewed. And lastly you can sell your product on websites like ebay and amazon and ship your product across the globe.

Explanation: I am in the 10th grade so this will look like it was done from a student and also i used the other answer to write mine!

what database object organizes your data by rows and columns?

Answers

A spreadsheet organizes your data by rows and columns.

Some sites on the internet have the same ip address true or false

Answers

True. In my opinion, named based virtual hosting is the way to set up a webserver unless TLS is needed for a site. So I could have multiple sites going to the same IP address.

For what is a USB port used?

It is used to connect flash drives to each other.
It is used to connect flash drives to devices.
It is used to connect devices to the Internet.
It is used to connect web pages to each other.

Answers

The answer is the second one. 

What command do you type in the search box to access the command line intrface in windows?

Answers

cmd.exe



------------------------------------------

Describe how place value is used in the binary number system. How is it similar or different from the way place value is used in the base 10 number system?

Answers

The binary number system is also referred as base-2 numeral system. The numeric values in the binary system are represented with only two symbols "0" and "1". The base 10 number system on the other hand is the usual number system that uses decimal numbers.
In the binary system the number to the left of the point is a whole number and every number further left gets 2 times bigger. The first digit on the right means halves and every number further right is 2 times smaller.
In the base 10 system number greater than 1 appear to the left of a decimal point. Values that are a fraction appear to the right of the decimal point. Every number further  left is 10 times bigger, and right 10 times smaller.







Which two sentences uses the colon correctly?

Answers

You much list something after a colon.
For example
Kaylina's bag included:
Food,Books,Makeup,and a brush.

Answer:

Erica's morning routine consisted of waking up, brushing her teeth, meditating for ten minutes: eating breakfast, and finally bathing.

Jessica's supplies for the trip included these items: a hairbrush, moisturizer, a toothbrush, and four bottles of mineral water

Explanation:

im pretty sure it's these two

How would you execute a script named testscript from the command line?

Answers

If it's in the same directory that I'm presently in:

./testscript

If it's in a directory on your PATH variable:

testscript

Otherwise it's just as easy to use it's absolute path:

/path/to/testcript

4. When inserting clip art into a page of text, which of the following is true? (1 point)
It is not important what the picture is, as long as it is an exciting picture.
The picture can only go above or below the text.
The picture must stay exactly where it first appears in relation to the text in the document.
You can choose where to position the picture in line with the rest of the text in the document.

Answers

I would vote for D since you can adjust picture positioning and wrapping. A is BS, B and C are not true.
its D trust me i got it right.

When a number gets assigned to a variable that already has a value __________?

Answers

A already assigned variable cannot be assigned twice You can make the variable change over to a new one or call a whole new one to assign one without a value or It might be possible to do v=n (v is variable and n is number / value)
Other Questions
ritz can eat 8 apples in 15 minutes . how long can it take him to eat 16 apples at the same rate the best discription of a food guide is a tool that how can you use absolute value to represent a negative number in a real world situation In 2017 grider corporation had cash receipts of $35,000 and cash disbursements of $20,000. grider's ending cash balance at december 31, 2017 was $65,000. what was grider's beginning cash balance? what is 4 less than three sevenths of y written as an algebraic expression A recipe calls for of a cup of milk for 11 cookies. How many cups of milk are needed to make 99 cookies? Harvey collects rare marbles. He has 112 marbles in his collection. If he uses Seven Trees to hold all of the marbles, how many marbles will he display on three trays? Is tray hold an equal number of marbles answers at brainly.com Given a = -3, b = 5, and c = -8, then a 2 b + c is _____.I thought it was -53 after doing PEMDAS, but I got it wrong. Any help would be appreciated! what is length of DE Which is true of law enforcement at the county level of government in the United States? The sheriff is an elected law enforcement official. The sheriff is an appointed law enforcement officer. The county coroner is the only elected law enforcement official in the nation. The sheriffs deputies run for election. What are the similarities and differences between jobs for teenagers in France and the United States? Write a paragraph of 3 to 5 sentences in English. Help me pleaseThe velocity of an object increases from -10m/s to -15m/s in 2.0s what is the average acceleration of the object?-2.5m/s^2+2.5m/s^2+12.5m/s^2-12.5m/s^2 One of the liver's main functions is to detoxify potentially toxic substances. given this information, which organelle would you expect liver cells to have in abundant? In the parabola y = (x + 1)2 + 2, what is the vertex? Which of the following are effective strategies for looking up words in the dictionary when reading? A turtle walking at an average speed of 3/10 mile per hour takes 13/20 hour from its home how long will take if the turtle doubles its average speed Each interior angle of a regular polygon measures 120. what is the name of the polygon? evaluate the expression 4(2x + 3) + 2(x + 1)-7 What is the fourth term in the arithmetic sequence 13,10,7 Calculate the mass of a 5.50 cm3 cylinder of a substance that has a density of 4.20 g/cm3. Steam Workshop Downloader