What is algorithm in coding using C++

Answers

Answer 1

Answer:

C++ algorithm

Explanation:

The C++ algorithm is a precise step-by-step general solution guide that was created with the goal of providing the most efficient and least time-consuming solution to any problem. The designation in C++ denotes a set of functions that run on a certain set of components. Algorithms are used to solve issues and perform functions. Algorithms only function with values; they have no bearing on the size or storage capacity of a container. An algorithm can be found in a recipe for making a cake, a method for solving a long division problem, the process of doing laundry, and the functioning of a search engine, to name a few.


Related Questions

2. Technology can have profound effects on a society. Consider the changes that smart phones
have provoked. They have obsolesced cameras, land lines, phone booths, invaded classrooms,
and other places where the ringing of a phone would never have been heard State at least five
(10 Marks)
positive and negative effects of technology on society.

Answers

Smartphones are the technologically most advanced telecommunication device. They have replaced the telephones and landlines. It has both positive and negative impacts on society.

What is technology?

Technology is the use of advanced and high output, less time-consuming systems. It affects society both positively and negatively. The positive effect of technology is:

Information is available across the globeData storage is possible. Robotics has increased the research.Increased better and fast communication channels.Have increased the quality of education.

The negative impact of technology are:

Harmful health effects like depression.Increased crimes and frauds.Decreased physical activity and interactions.Loss of privacy and data theft.Cyberbullying and cybercrimes.

Learn more about technology here:

https://brainly.com/question/21858959

#SPJ1

Suggest any three security requirements that any organisation must implement and explain how a framework can be used for security and control of its data

Answers

The security implementation by any organizations are:

Backup the computer systems.

The use of antivirus.

Avoidance of suspicious website.

How is data security performed?

In an organisation, the data is protected to avoid data and security breaches along with other treats through the following:

Backup the computer systems: Some computer viruses that would require the removal of organisations' data. Without a backup, there would be no way to recover the lost data.

The use of antivirus: This is an anti-virus software that helps to protect the computer system again malware.

Avoidance of suspicious website: The opening of suspicious website should be avoided while implementing security in an organisation.

Learn more about data security here:

https://brainly.com/question/25720881

#SPJ1

What is the output? (Picture)

Answers

Answer:

B is the answer to the question

How is Disaster Recovery used in the IT industry?

Answers

Answer:

IT disaster recovery helps maintain business activity in the event of a disruption such as a natural disaster, ransomware attack or accident.

how have cell phones improved our lives​

Answers

Hey there!

In many ways cell phones have improved our lives.

Some of the advantages of cell phones:

By cell phones we can contact our friends if they are out of country. Because in earlier times cell phones were not invented so people used letters to communicate with others which was quite difficult.By cell phones we can access information on the Internet, which is most important part of today's generation. By cell phones we can attend online classes even if we are at home.

Some of the disadvantages are:

As the usages of cell phones is increasing day by day. As a result many youths are getting to it.It also common that now a days,most of people use social media apps to communicate with others. High usage of social media also effects our lives.As online gaming platforms are now uprising with new games,as a result many students are getting addicted to it and they waste most of the time in playing games which hamper there studies.

Hope it helps

Drag the tiles to the boxes to form correct pairs.
Match the camera mode setting with the correct definition
single shot
Sets a time delay on the closing of the shutter
allowing you to be part of the shot.
continuous shot
Lets you take one shot per press of the
shutter button
self-timer
Lets you take multiple pictures for as long
as you have the shutter button pressed down.

Answers

Here are the answers

#Single shot

Lets you take one shot per press of theshutter button

#Continuous shot

Lets you take multiple pictures for as longas you have the shutter button pressed down.

#Self timer

Sets a time delay on the closing of the shutter

Question 1 of 10
A common human interest story is one that:
O A. covers natural disasters in their entirety.
O B. reports business and financial news.
O c. walks audiences through celebrity homes.
O D. takes audiences behind the scenes.
SUBMIT

Answers

Answer:

D

Explanation:

A common human interest story is one that takes audiences behind the scenes. The correct option is D.

What is human interest story?

A human-interest story is a feature narrative in journalism that emotionally describes people or animals.

In order to provide viewers a glimpse into the lives of people or groups and to highlight their distinctive stories and experiences, popular human interest stories frequently take the audience behind the scenes.

This kind of narrative frequently tries to elicit an emotional response from the viewer and can cover a wide range of subjects, including individual hardships, triumphs, or distinctive lifestyles.

While news articles may center on natural disasters, economic and financial events, or celebrity houses, they may not always strive to create a better knowledge of the people involved.

And hence they do not always qualify as human interest stories.

Thus, the correct option is D.

For more details regarding human interest story, visit:

https://brainly.com/question/20383709

#SPJ2

Three differences between Selecting and Highlighting​

Answers

Answer:

highlighting is selecting a text & it turns into a color

selecting is just going over the text with a cursor

Explanation:

Answer:

Selecting an item is simply choosing something. Highlighting is to note important information. Highlighting only takes important details, selecting chooses objects.

What is it called when you define a variable for the first time

Answers

Answer:

That is called declaring a variable

Explanation:

Answer:

declaring a variable

Explanation:

you have to declare a variable before you call it

roles of computer in business areas​

Answers

Explanation:

The use of computer in business field is increasing day by day. Computers have been heart of modern business. In business, computer help in several kinds...of work such as to keep the records of goods of employees, measure the quantity of goods, send e-maila, communicate with the customers, give online services to customers, control the branch offices from the main offices, and so on....

In this lab, you use what you have learned about parallel lists to complete a partially completed Python program. The program should either print the name and price for a coffee add-in from the Jumpin’ Jive Coffee Shop or it should print the message "Sorry, we do not carry that.".

Answers

The given python code is given below as it makes a parallel list and prints an output.

What is Python Programming?

This refers to the high-level programming language that is used to build data structures and is object-oriented.

Hence, we can see that to use a parallel list to print a program in Python:

Python zip()

list_1 = [1, 2, 3, 4]

list_2 = ['a', 'b', 'c', 'd']

for i, j in zip (list_1, list_2):

print (j)

else

print (i) "Sorry, we do not carry that.";

Read more about python programs here:

https://brainly.com/question/26497128

#SPJ1

QUESTION 11
Which expression for YYY will result in an output of "Pass" only if x is exactly 32?
if YYY:
print('Pass')
else:
print('Fail')
a. x != 32
b.x == 32
OC. x >= 32
d. x <= 32

Answers

Answer:

x == 32

Explanation:

CODE in Java:

       int x = 32;

       if(x == 32){

           System.out.println("Pass");

       }

       else{

           System.out.println("Fail");

       }

OUTPUT:

Pass

Write the following function that returns True if the list is already sorted in increasing order:
def issorted (1st):
Write a test program that prompts the user to enter a list of numbers separated by a space in one line and displays whether the list is sorted or not.
Here is a sample run:
Sample Run 1
Enter list: 1 1 3 4 4 5 7 9 10 30 11
The list is not sorted
Sample Run 2
Enter list: 1 1 3 4 4 5 7 9 10 30
The list is already sorted​

Answers

Answer:

# Get input and strip any leading/trailing spaces

inputList = input('Enter list: ').strip()

def issorted(lst):

   if len(lst) < 2:

       return True

   

   current = 1

   prev = 0

   while current < len(lst):

       # Compare if current value is less than the previous one

       if int(lst[current]) < int(lst[prev]):

           return False

       

       prev = current

       current += 1

   

   return True

# Convert input to list

inputList = inputList.split(' ')

# Print output

if issorted(inputList):

   print("The list is already sorted​")

else:

   print("The list is not sorted")

Which tab alignment option specifies that text and characters will shift to the left as you type?

A. Decimal

B. Center

C. Right

D. Left

Answers

Answer:

D. Left

Explanation:

.

Answer:

You choose this one that is on the image that is blue

Explanation:

It will move to the right


Online education students need to be taught

the reasons why they should be ethical
how to be friends with their instructors
how to waive their right to privacy
how to communicate professionally
how to commit academic fraud

Answers

Online education is a teaching practice delivered through the internet. The students learning from online platforms must be taught to be ethical.

What is the importance of ethics and integrity?

In the online education system, the students should learn to be ethical and integral as it enables the students and their teachers to be creative, free to create ideas, and acknowledge others' work.

Ethics teaches the students to develop their personalities and behavior. Students' integrity allows them to be honest, responsible, and fair towards their work and instructor.

Therefore, option A. online learning students must be taught to be ethical.

Learn more about online learning here:

https://brainly.com/question/14708323

#SPJ1

Answer:

-the reasons why they should be ethical

-how to communicate professionally

Explanation:

Ability of a controller to communicate with the main memory is called ________.?

Answers

Answer:

Memory controller

Explanation:

hope it helps

From the order _details table-product_id, quantity, item_price where the quantity is greater than 3 and sorted by price



SQL problem?

Answers

Answer:

SELECT product_id, quantity, item_price

FROM order_details

WHERE quantity > 3

ORDER BY item_price

Explanation:

Mention and justify any business task that cannot be done in the Cloud

Answers

Cloud computing makes it difficult to monitor real-time data for the business.

What is cloud computing?

Cloud computing is given as the accessing, storing, and managing of data over the internet with the securing firewall network.

Cloud computing however is found to be developed with the challenges that made the difficult business tasks.

The task such as maintaining the real-time monitoring is not provided by various cloud providers was found as the task to be difficult to work with cloud computing.

Learn more about cloud computing, here:

https://brainly.com/question/11973901

#SPJ1

What is the difference between DWT and CWT?

Answers

Answer:

raspuns:

Explanation:

amandoua sunt cam la fel dar si diferite pe alte parti

Daisy loves playing games with words. Recently, she has been playing the following Deletive Editing word game with Daniel. Daisy picks a word, for example, "DETERMINED". On each game turn, Daniel calls out a letter, for example, 'E', and Daisy removes the first occurrence of this letter from the word, getting "DTERMINED". On the next turn, Daniel calls out a letter again, for example, 'D', and Daisy removes its first occurrence, getting "TERMINED". They continue with 'I', getting "TERMNED", with 'N', getting

Answers

The steps for Daisy to take in giving the Input and Output of the program are as detailed below.

How to create a program for games?

For the Input, we do it as follows;

The first line of the input contains an integer n — the number of test cases (1 ≤ n ≤ 10000). The following n lines contain test cases.

Now, each test case will consist of two words s and t separated by a space. Each word consists of at least one and at most 30 uppercase English letters; s is the Daisy's initial word for the game; t is the final word that Daisy would like to get at the end of the game.

For the Output, we will do it as follows;

Output n lines to the output — a single line for each test case. Output "YES" if it is possible for Daisy to get from the initial word s to the final word t by playing the Deletive Editing game. Output "NO" otherwise.

Read more about game programs at; https://brainly.com/question/1786465

#SPJ1

Which of the following is a strength of monetary policy?

A. Control of the money supply
B. Time lag
C. Can only be expansionary

Answers

Answer:

A

Explanation:

Monetary has to deal with money.

A(n) is a combination of a mobile phone and handheld computer

Answers

A phone / mobile device

To embed an existing word object in a slide what would you click

Answers

Answer:

Right-click the object, and then click Linked Presentation Object or Slide Object. Click Open or Open Link, depending on whether the object is embedded or linked, and then make the changes that you want. If the object is embedded, the changes are only in the copy that is in the document.

Explanation:

Hello can someone help with the output of this please?

Answers

Answer:

its a diamond shape

Explanation:

i did it on desmos please give brainliest please and good luck :)

what instruments uses MIDI?

Answers

Answer:

Of course, MIDI is not just for keyboards... other MIDI-equipped musical instruments include digital drums, guitars, wind instruments, and more. For electronic dance

What refers to the main screen of the computer

Answers

Answer:

Desktop.

Explanation:

Desktop refers to the main screen of the computer.

The more backups you have, the better, but two to ———— should be fine for most.

Answers

Answer:

Three

Explanation:

Even with multiple backups, two to three is fine.

hope this helps :)

I will give brainyest
My Chromebook turned off and it won't turn back on and it's not dead. What do I do?

Answers

Answer:

Power down your Chromebook by doing a hard reset.

Explanation:

The first thing to check for when your Chromebook won't turn on is a dead battery. Plug the unit in via AC charger and let it charge for at least 30 min to an hour and try turning it on again.

Answer:

your Chromebook most likely crashed or the battery inside the           Chromebook died I would get it checked out

Explanation:

thank u

Upon knowing the nutritional value of meat, do you think it is necessary to include it on our everyday diet? Why or why not?​

Answers

no because a lot of anything can be bad for you. hope this helped (i could be wrong)

Question 1 of 25
Which hardware device uses abstraction to allow a user to navigate within a
computer interface?
A. Headphones
B. Cables
C. Mouse
D. Memory card

Answers

Answer:

mouse

Explanation:

Other Questions
1. What is going to happen in the United States of America in the next 10 years? Where are we going as a country?Write 3 sentences Write a verbal expression for:20+6 Wesley has started to collect sports cards. The graphshows how many sports cards he has collected.86Number ofSports Cards0 2 4 6 8 10 XWeeksWhich table shows the information in the graph?Weeks (x) 2 4 6 8Weeks (x) 2 4 6 8Number ofNumber of1 2 3 42 4 5A Sports Cards (y)(yB Sports Cards ) 2 3 4 52 4 6 82 4 6 8Weeks (x)Number ofC Sports Cards ()Weeks (x)Number ofD Sports Cards (y)2 4 6 83 5 7 9 "But it's cruel to have them believeshe is coming on the plane," I said."When they see it's just me, they'llhate me. . . . They'll think I'mresponsible, that she died becauseI didn't appreciate her." And AuntieLindo looked satisfied and sad atthe same time, as if this were trueand I had finally realized it. She satdown for an hour, and when shestood up she handed me atwo-page letter. She had tears inher eyes. . . . "Thank you," Iwhispered.Analyze this quote Should oil production in Mexico be privatized? why were northerners against texas becoming a state? Choose any 5 contractions from the chart and use them in sentences of your own. My sentences: 1. Sample answer: You mustn't go to school when you're sick. 2. 3. 4. 5. A circle with a centre 0, has an equation x2 + y2 = 25The coordinate A (4,3) is on the circumference of the circle.Find the equation of the tangent at point A. the question in the box below. What would the coordinates of thesquare with vertices (0, 0), (1,0), (0, 1), and (1,1) be after being translated four units right and two units down? Given f(x) = x4 3x3 + x 3. What is Limit of f (x) as x approaches negative 2? 45 13 3 35 What are main ideas? Good ideas in your oral report Main points in your speech Details that back up opinions 4.4.1 Identify the figure of speech in line 15: 'The shoulder of the mountain shrugs away its lights'. 4.4.2 Explain the significance of the above-mentioned image. The students in Class A and Class B were asked how many pets they each have. The dot plots below show the results.Students in Class AA dot plot titled Students in Class A. A number line going from 0 to 5 labeled Number of pets. There are 5 dots above 0, 5 above 1, 4 above 2, 1 above 3, and 0 above 4 and 5.Students in Class BA dot plot titled Students in Class B. A number line going from 0 to 5 labeled Number of pets. There is 1 dot above 0, 2 above 1, 2 above 2, 4 above 3, 3 above 4, 3 above 5.What is the difference between the ranges in the dot plots?0234 If a source has no publishing date, what should you put in parentheses along with the author's name for your in-text citation?A. ampersandB. ndC. n.d.D. et al help me with this please Temperatura ideal aire acondicionado en fahrenheit. What is the solution of x+8=13 fghdfghdfghdfgdfghdfhgggggggggggggg explain 3 benefits of participating in any campaign that addresses a human right issue