give an example of an algorithm in c++ that can be used to avoid car collision using four infra red sensors

Answers

Answer 1

Answer:

Since entering the 21st century, the number of vehicles has increased exponentially, and the number of vehicles and drivers has further increased [1]. How to reduce the number of traffic accident deaths and economic losses has become an important issue in the context of such a large number of vehicles [2].

In recent years, some research studies have been made on the collision warning algorithm. The existing collision warning algorithms are mainly divided into two categories, namely, the Safety Time Algorithm and the Safety Distance Algorithm [3]. The safety time logic algorithm compares the collision time between the two workshops with the safety time threshold to determine the safety status. The safety time algorithm mainly uses Time to Collision (TTC) as the research object [4]. The safety distance model refers to the minimum distance between the vehicle and the obstacle, which is also the distance the vehicle needs to maintain to avoid the collision with the obstacle under the current conditions of the vehicle [5].

Explanation:


Related Questions

c. What are the four basic operations in a computer? Define each of them wit help of block diagram.

Answers

Answer:Answer: At a fundamental level, computers operate through these four functions: input, output, processing, and storage.

Explanation:  Input is something entered into a machine or other system, the act of entering data or other information, or input can also describe giving one's help, advice or thoughts.

Output is defined as the act of producing something, the amount of something that is produced or the process in which something is delivered.

An example of process is the steps taken by someone to clean a kitchen. An example of process is a collection of action items to be decided on by government committees. noun.

A storage device is any type of computing hardware that is used for storing, porting or extracting data files and objects.

Explanation:

In java language I want the code

Answers

Answer:

code was too long to paste here, attached below

Question 1 of 10
Which abbreviation is used to describe one type of long-term computer
memory?
O A. SCRAM
O B. DRAM
O C. ROM
O D. RAM

Answers

Answer:

C) ROM

Explanation:

In a computer, RAM is the short term memory. On the other side, ROM is the long term memory. Other examples of long term memory: Hard disk or SDD. Rest all of the options - SCRAM, DRAM, RAM are memory chips.

Answer:

C. ROM

Explanation:

The image was provided for explanation.

Hoped it helped.

Which output returns the Boolean value FALSE? A. 3 B. 2 C. 1 D. 0

Answers

Answer:

D) 0

Explanation:

True - 1

False - 0

30 POINTS!

Which of the following describes an iteration in a computer program?

a set of instructions that causes a number to be printed

a set of instructions that causes the program to stop running

a set of instructions that can be executed multiple times

a set of instructions that does not execute any code​

Answers

The option that describes an iteration in a computer program is a set of instructions that can be executed multiple times.

What tells about an iteration in a computer program?

In computer programming, the term iterative is known to be the act where product design or its application is made better via consistent review and testing.

Therefore saying that The option that describes an iteration in a computer program is a set of instructions that can be executed multiple times is correct.

Learn more about iteration from

https://brainly.com/question/25754804

#SPJ1

Answer:

C. a set of instructions that can be executed multiple times

Explanation:

Question 9
The district purchases a web resource for the elementary campuses, but you
want to use it with your 9th grade students who need remediation. This would be
allowed because the district has extra licenses.
O True
False?

Answers

i think this is false im not sure tho

A computer has 32-bit virtual addresses and 4-KB pages. The program and data together fit in the lowest page (0–4095) The stack fits in the highest page.
1.How many entries are needed in the page table if traditional (one-level) paging is used?
2.How many page table entries are needed for two-level paging, with 10 bits in each part?

Answers

The numbers of entries needed is that:

For a one-level page table, one needs  232/212 or 1M pages needed.  Note that the page table must have 1M entries.

Can I run a 32-bit virtual machine using a 64-bit OS?

Others are:

For two-level paging, the main page table must have 1K entries, each have to points to a second page table. Note that only two of these are to be used.

Therefore, in full, only three page table entries are said to be needed, where one in the top-level table and another in each of the lower-level tables.

Note that one can install a 32-bit virtual machine in 64-bit Windows 10 system as it is very possible as long as the processor aids Virtualization Technology (VT).

Learn more about computer from

https://brainly.com/question/24540334

#SPJ1

What are the operations in the machine cycle ?

Answers

The cycle consists of three standard steps: fetch, decode and execute.

Choose the correct term to complete the sentence.

For most operating systems, the _______ function returns the number of seconds after January 1, 1970, 0:00 UTC.


O localtime()

O time()

O epoch()

Answers

Answer:

time() or time.time()

Explanation:

The time() method from the time module gives the amount of seconds after epoch, or Jan 1, 1970. Running this in the Python shell would return a number like this:

>>> time.time()

1652747529.0429285

For most operating systems, the time() function returns the number of seconds after January 1, 1970, 0:00 UTC. Thus, the correct option is B,

What is the time() function?

In python, the time() function is the function which returns the number of seconds that have been passed since an epoch. It is the point where time actually begins. For the Unix system, the time such as January 1, 1970, 00:00:00 at UTC is an epoch.

The time() method from the time module is used widely to give the amount of seconds which have been passed after the time period of an  epoch, or Jan 1, 1970. Running this in the Python shell would return a number like the one listed in the question.

Therefore, the correct option is B.

Learn more about time() function here:

https://brainly.com/question/12174888

#SPJ2

Choose the appropriate software category for each specific application shown.

: Python


: Microsoft PowerPoint


: Windows 10 operating system

Answers

Python is the correct answer

Design a flowchart or pseudocode for a program that accepts two numbers from a user and displays one of the following messages: First is larger, Second is larger, Numbers are equal?

Answers

The pseudocode of the program will ask of two numbers form the user, compare the numbers and print out statements depending on the result of the comparison.

What is a pseudocode?

Pseudocode is an informal way of programming description that does not require any strict programming language syntax. The pseudocode describes how the code will be written and structured.

Therefore, the pseudocode follows the structure below

Ask the user for two numbersUse the greater than and equals to operator to check if any number is greater than the other or they are the sameFinally, we print the statements: First is larger, second is larger or numbers are equal depending on your result in comparison of the numbers.

learn more on pseudocode here: https://brainly.com/question/14101532

#SPJ1

What is one way that Accenture can ensure that the Cloud is secure for a client?

Answers

One of the ways through which Accenture can ensure that the Cloud is secure for a client is by utilizing special software to analyze all data transaction.

What is a cloud?

In Computer technology, a cloud can be defined as the elastic leasing of pooled computer resources (physical hardware) through virtualization and over the Internet, so as to enable the storage of files and documents virtually.

In this context, a way through which Accenture can ensure that the Cloud is secure for a client is by utilizing special software to analyze all data transaction.

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

#SPJ1

Question 4 of 10
To find an image's____
count the number of pixels across each inch of the image.
A. binary value
B. bitmap
C. pixel density
D. RGB value

Answers

C. pixel density ii belive

HELP ME PASS!
Type the correct answer in the box. Spell all words correctly.
Nathan is creating a presentation for the employees at his office. Which media element should he use in the navigational buttons and menus in his presentation?
Nathan should use text or BLANK elements for the navigational buttons and menus in his presentation.

Answers

Nathan should use text or or  Action button elements for the navigational buttons and menus in his presentation.

What is an Action Button?

An action button is known to be an object that can be seen on a slide that helps one to be able to clicked or pointed to anything on a presentation.

Note that they are often used in self-running presentations and as such, Nathan should use text or or  Action button elements for the navigational buttons and menus in his presentation.

Learn more about presentation from

https://brainly.com/question/24653274

#SPJ1

I need help including my other one I posted

Answers

Answer:

2. I like the form of it, I like the porportion of it.

3. I dont know what a purpose of this maybe it a person wearing a tuexdo stepping out of his house or something.

4. Another thing that would work well is texture.

What is the name of the first screen displayed in a database application that introduces the application

Answers

Answer:

This first database was known as the Integrated Data Store, or IDS.

Explanation:

This first database was known as the Integrated Data Store, or IDS. This was shortly followed by the Information Management System, a database created by IBM.

Explain the stages of the evolution of the idea of IDS and its importance of security, military and examine the importance of intrusion detection systems and categories classifications, and where can put IDS to reduce the risk to the network.

Answers

Intrusion detection systems (IDS) is a software type that is used to check for violations of policy or any other malicious activity. IDS detects and prevents unauthorized activities.

What is IDS?

Intrusion detection systems (IDS) is the technological system that is built to check for any suspicious and unauthorized activities. They detect the network system and the system logs.

The unauthorized and suspicious things are scanned and made an alert. It is very crucial in many fields as many documented and private items are needed to be protected.

Therefore, IDS can be of various types like host, network, perimeter, and VM.

Learn more about IDS here:

https://brainly.com/question/20709626

#SPJ1

An example of a processing device would be

Answers

Answer:

Central processing unit (CPU) Graphics processing unit (GPU) Motherboard. Network card.

Explanation:

as my study I know this answer I hope it will be help full

Network card, Graphics processing unit, Motherboard, Central Processing unit, Digital Signal Processor, the list goes on.

How far should you sit from your computer screen?
PLS ANSWEER ASAP

6 to 12 inches

12 to 18 inches

18 to 24 inches

24 to 30 inches

Answers

im sorry but none of these THE REAL ANSWER IS 16 to 30 inches
Yes the answer is 16 to 30 inches
Non of these are the answer

.....................................................

Answers

Answer:

i think its, a. sequence

Explanation:

i could be wrong, if i am, i am sorry

AUPs ensure that an organization’s network and internet are not abused. Select 3 options that describe AUPs.

connecting to unauthorized devices through the network

going onto unauthorized sites or downloading certain content

not sending spam or junk emails to anyone

not using the service to violate any law

reporting any attempt to break into one’s account

Answers

AUPs often involves not going onto unauthorized sites or downloading certain content, not using the service to violate any law, and not connecting to unauthorized devices through the network.

What is AUP?

AUP stands for Acceptable Use Policy, which refers to a policy that regulates users when they access a corporate newtork.

How does an AUP regulates users?

Most AUPs imply:

Users can only access certain sites and dowloading specific content is forbidden.The access to the internet or network cannot be used for criminal purposes.Only authorized users can connect to the corporate network.

Learn more about AUP in: https://brainly.com/question/9509517

#SPJ1

Answer:

not sending spam or junk emails to anyone

not using the service to violate any law

reporting any attempt to break into one’s account

Explanation:

Which is an example of a foley effect?

Answers

Answer:

Foley artists reproduce everyday sounds like footsteps, doors opening and closing, wind blowing, glass breaking, and other ambient noise.

Please help its timed! Which of the following is an event? Select 4 options. adding three and four in a program. moving a mouse. clicking a mouse button. a sensor detecting the motion of an earthquake detector. scanning a credit card when you shop? ​

Answers

The option that is an event is known to be clicking a mouse button.

What is a computer event?

An event, in a computing context, is known to be any kind of action that aim to know or  is identified by a program and has a good importance for system hardware or software.

Events  examples  keystrokes and mouse clicks, program loading and others. so we can say that the option that is an event is known to be clicking a mouse button.

Learn more about  program from

https://brainly.com/question/1538272

#SPJ1

Suppose you want to pick the most reliable data storage option possible. What would you choose?
cloud storage
solid-state drive
optical disc
USB flash drive

Answers

Answer:

USB flash drive

Explanation:

A USB flash drive can store important files and data backups, carry favorite settings or applications, run diagnostics to troubleshoot computer problems or launch an OS from a bootable USB. The drives support Microsoft Windows, Linux, MacOS, different flavors of Linux and many BIOS boot ROMs.

Identify the following as a Program, Sub-Project, or Portfolio: (2)
a) Obtaining a Masters degree. Sub Project or Program
b) Pakistan’s Nuclear Weapons Program. Program
c) Developing the database of a remote payment system. Sub Project
d) Construction of cars in an automobile company. Portfolio

Answers

Answer:

obtaining a master degree.sub project or program

2. What is the importance of ethics in emerging technologies?

Answers

Answer:

The importance of ethics in emerging technologies employ speculative data about future aspects such as items, applications, and consequences This help us make more informed moral judgments about and prescriptions for research

How many terabytes is a 128 gigabyte SD memory card

Answers

Answer:

this would be .128 terabytes

Explanation:

This would be since for a whole terabyte you need 1000 gigabytes every 1000 gigabytes is a terabyte for example let’s say you have 5250 gigabytes you would have 5.250 terabytes that simple hope this helped!

Answer:

converting from gigabyte to terabyte, divide by 1000

therefore, 128 gigabyte = 128/1000 =0.128 terabyte

A license agreement specifies the number of
devices on which you can install the product, any
dates of expiration, and other restrictions. True or false?

Answers

The statement that a license agreement specifies the number of devices on which you can install the product, any dates of expiration, and other restrictions is true.

What is a license agreement?

A license agreement is a formal agreement that is given to a person to do or use something.

It is a legal contract between people or government and a person to authorize over any product.

Thus, the given statement is true.

Learn more about license agreement

https://brainly.com/question/14681311

#SPJ1

Explain the working operation of Wi-Fi and hotspots in provision of broadband services

Answers

╭── ⋅ ⋅ ── ✩ ── ⋅ ⋅ ──╮

Hello, This is My explanation!

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

A WiFi hotspot is a location that has been provided to give users the opportunity to use their devices away from their homes. These hotspots became popular over a decades ago at eating establishments such as cafes and are now found anywhere people wish to use them. (malls, airports,hotels,stores,restaurants,etc).

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

Hope this Helped!

╰── ⋅ ⋅ ── ✩ ── ⋅ ⋅ ──╯

what are some answers about computer languages​

Answers

Question: What is program execution?

Answer: Program execution is the process of carrying out instructions innate to the program by the computer. Before execution, the computer program is required to be loaded into the memory (RAM) of the computer.

Other Questions
What does an adverbial phrase have that a prepositional phrase doesn't ? A. A noun B. The object of a preposition C. An adjective modifying a noun D. A subject and a verb Bonds occur to make atoms more stable. Covalent bonds occur between _____Question 41 options:metals and noble gases because valence electrons are given to noble gasesmetals and nonmetals because valence electrons are given to metalsnonmetals and nonmetals because valence electrons are sharedmetals and metals because valence electrons are shared Slide the green dot Use the number line to plot the numbers. Then arrange them in order from smallest 1 to largest 4 What is the transition statement inthe following sentence?Some believe aliens do exist;however, others simply do not.A. others simply do notB. howeverC. some believe pls answer quickly. thanks - 5/6 x -6/7 x -4/5- 4/5 x -5/8 x 8/9and 3/4 x -8/9 x 3/10simplify it During the romantic period, composers continued to benefit from the patronage system, and many composers built their careers around service to a royal family. a. true. b. false. These three gases, Helium, Neon, and Argon all have one property in common because they are gases at room temperature. That is they: 13.33:For a set of ten numbers, removing the largest number decreases the average by 1. Removing the smallest number increases the average by 2 . What is the positive difference between the largest and the smallest of these ten numbers?Hint: Sometimes thinking of the average of a list of numbers as "balancing" the list helps solve problems.Hint: How far must the largest number be from the average of the origiNl list? help please!!! Highlight the word or phrase that makes the thesis statement wordy. Refer the attachment:- Explain in Two sentences! What particles bond together toform molecules?A. AtomsB. NeutronsC. CompoundsD. Protons What is the height of a cylinder if the diagonal is 13 inches and the radius is 5 inches? Two ways in which truthful investigative journalism contributes to our democratic society most often limits product availability for consumers.A. ReligionB. CultureC. TransportationD. EducationPlease select the best answer from the choices provided. OD Select the verb that makes sense in the context of the sentence. 1. --___________ t un poco de espaol?--S, y hablo tambin un poco.a. Prefieresb. Pensamos c. Entiendesd. Quiere why does the water in the rivers flatulate? Gustavo is in a contest where he will win one of four possible prizes. He creates a four-part spinner to represent the four prizes that he has an equal chance of winning: a video game system, a bicycle, a watch, and a gift card. He spins the spinner several times to demonstrate the likelihood of winning a certain prize. What is true about Gustavos method of data collection and his data on the possible prizes?Gustavo used an experiment where the data is qualitative.Gustavo used an experiment where the data is quantitative.Gustavo used a simulation where the data is qualitative.Gustavo used a simulation where the data is quantitative. Which pronouns act as the object in a sentence? Percussion is a means of producing sounds by tapping various parts of the body. Describe how the provider uses percussion during an examincluding the different types of percussion used.