Question 2
An example of something that operates at the application layer is:

Answers

Answer 1

Answer:

HTTP, FTP, SMTP- These are protocols at the application layer

Explanation:


Related Questions

c program to check if number is even​

Answers

Answer:

Yes.

Explanation:

Check the jpeg below for the code.

Write the following function without using the C++ string class or any functions in the standard library, including strlen(). You may use pointers, pointer arithmetic or array notation.Write the function firstOfAny().The function has two parameters (str1, str2), both pointers to the first character in a C-style string.You should be able to use literals for each argument.The function searches through str1, trying to find a match for any character inside str2.Return a pointer to the first character in str1 where this occurs.

Answers

Answer:

The function in C++ is as follows

int chkInd(string str1, string str2){    

int lenstr1=0;

while(str1[lenstr1] != '\0'){  lenstr1++;  }

int index = 0; int retIndex=0;

for(int i=lenstr1-1;i>=0; i--){

   while (str2[index] != '\0'){

       if (str1[i] == str2[index]){

           retIndex=1;

           break;         }

       else{   retIndex=0;      }

  index++;    }

  if (retIndex == 0){   return i;   }else{return -1;}}

}

Explanation:

This defines the function

int chkInd(string str1, string str2){    

First, the length of str1 is initialized to 0

int lenstr1=0;

The following loop then calculates the length of str1

while(str1[lenstr1] != '\0'){  lenstr1++;  }

This initializes the current index and the returned index to 0

int index = 0; int retIndex=0;

This iterates through str1

for(int i=lenstr1-1;i>=0; i--){

This loop is repeated while there are characters in str2

   while (str2[index] != '\0'){

If current element of str2 and str1 are the same

       if (str1[i] == str2[index]){

Set the returned index to 1

           retIndex=1;

Then exit the loop

           break;         }

If otherwise, set the returned index to 0

       else{   retIndex=0;      }

Increase index by 1

  index++;    }

This returns the calculated returned index; if no matching is found, it returns -1

  if (retIndex == 0){   return i;   }else{return -1;}}

}

Code to be written in python:

Correct answer will be automatically awarded the brainliest!

Since you now have a good understanding of the new situation, write a new num_of_paths function to get the number of ways out. The function should take in a map of maze that Yee Sian sent to you and return the result as an integer. The map is a tuple of n tuples, each with m values. The values inside the tuple are either 0 or 1. So maze[i][j] will tell you what's in cell (i, j) and 0 stands for a bomb in that cell.
For example, this is the maze we saw in the previous question:

((1, 1, 1, 1, 1, 1, 1, 1, 0, 1),
(1, 0, 0, 1, 1, 1, 0, 0, 1, 1),
(0, 1, 1, 1, 0, 0, 1, 1, 1, 0),
(1, 1, 0, 1, 1, 1, 1, 0, 1, 1),
(0, 1, 0, 1, 0, 0, 1, 0, 1, 0),
(1, 0, 1, 1, 1, 1, 0, 1, 1, 1),
(0, 1, 1, 1, 1, 1, 1, 1, 1, 0),
(1, 0, 1, 0, 0, 1, 1, 0, 1, 1),
(1, 0, 1, 1, 1, 0, 1, 0, 1, 0),
(1, 1, 0, 1, 0, 1, 0, 1, 1, 1))
Note: You should be using dynamic programming to pass time limitation test.

Hint: You might find the following algorithm useful:

Initialize an empty table (dictionary), get the number of rows n and number of columns m.
Fill in the first row. For j in range m:
2.1 If maze[0][j] is safe, set table[(0, j)] to be 1 because there's one way to go there.
2.2 If maze[0][j] has a bomb, set table[(0, k)] where k >= j to be 0. Since one cell is broken along the way, all following cells (in the first row) cannot be reached.
Fill in the first column. For i in range n:
3.1 If maze[i][0] is safe, set table[(i, 0)] to be 1 because there's one way to go there.
3.2 If maze[i][0] has a bomb, set table[(i, 0)] and all cells under it to be 0. The reason is same as for the first row.

Main dynamic programming procedure - fill in the rest of the table.
If maze[i][j] has a bomb, set table[(i, j)] = 0.
Otherwise, table[(i, j)] = table[(i - 1, j)] + table[(i, j - 1)]
Return table[(n - 1, m - 1)]

Incomplete code:

def num_of_paths(maze):
# your code here

# Do NOT modify
maze1 = ((1, 1, 1, 1, 1, 1, 1, 1, 0, 1),
(1, 0, 0, 1, 1, 1, 0, 0, 1, 1),
(0, 1, 1, 1, 0, 0, 1, 1, 1, 0),
(1, 1, 0, 1, 1, 1, 1, 0, 1, 1),
(0, 1, 0, 1, 0, 0, 1, 0, 1, 0),
(1, 0, 1, 1, 1, 1, 0, 1, 1, 1),
(1, 1, 0, 1, 0, 1, 0, 0, 1, 1),
(0, 1, 1, 1, 1, 1, 1, 1, 1, 0),
(1, 0, 1, 0, 0, 1, 1, 0, 1, 1),
(1, 0, 1, 1, 1, 0, 1, 0, 1, 0),
(1, 1, 0, 1, 0, 1, 0, 1, 1, 1))


maze2 = ((1, 1, 1, 1, 1, 1, 1, 1, 1),
(1, 1, 1, 1, 1, 1, 1, 1, 1),
(1, 1, 1, 1, 1, 1, 1, 1, 1),
(1, 1, 1, 1, 1, 1, 1, 1, 1),
(1, 1, 1, 1, 1, 1, 1, 1, 1),
(1, 1, 1, 1, 1, 1, 1, 1, 1),
(1, 1, 1, 1, 1, 1, 1, 1, 1))

maze3 = ((1, 0, 1, 1),
(1, 0, 1, 1),
(1, 0, 1, 1),
(1, 0, 1, 1),
(1, 0, 1, 0),
(1, 0, 0, 1))

Test Cases:
num_of_paths(maze1) 2
num_of_paths(maze2) 3003
num_of_paths(maze3) 0

Answers

Answer:

def num_of_paths(maze):

   # Initialize the table with zeros

   n = len(maze)

   m = len(maze[0])

   table = [[0 for j in range(m)] for i in range(n)]

   # Fill in the first row

   for j in range(m):

       if maze[0][j] == 0:

           break

       table[0][j] = 1

   # Fill in the first column

   for i in range(n):

       if maze[i][0] == 0:

           break

       table[i][0] = 1

   # Fill in the rest of the table using dynamic programming

   for i in range(1, n):

       for j in range(1, m):

           if maze[i][j] == 0:

               table[i][j] = 0

           else:

               table[i][j] = table[i - 1][j] + table[i][j - 1]

   # Return the value in the bottom right corner of the table

   return table[n - 1][m - 1]

maze1 = ((1, 1, 1, 1, 1, 1, 1, 1, 0, 1),

(1, 0, 0, 1, 1, 1, 0, 0, 1, 1),

(0, 1, 1, 1, 0, 0, 1, 1, 1, 0),

(1, 1, 0, 1, 1, 1, 1, 0, 1, 1),

(0, 1, 0, 1, 0, 0, 1, 0, 1, 0),

(1, 0, 1, 1, 1, 1, 0, 1, 1, 1),

(1, 1, 0, 1, 0, 1, 0, 0, 1, 1),

(0, 1, 1, 1, 1, 1, 1, 1, 1, 0),

(1, 0, 1, 0, 0, 1, 1, 0, 1, 1),

(1, 0, 1, 1, 1, 0, 1, 0, 1, 0),

(1, 1, 0, 1, 0, 1, 0, 1, 1, 1))

maze2 = ((1, 1, 1, 1, 1, 1, 1, 1, 1),

(1, 1, 1, 1, 1, 1, 1, 1, 1),

(1, 1, 1, 1, 1, 1, 1, 1, 1),

(1, 1, 1, 1, 1, 1, 1, 1, 1),

(1, 1, 1, 1, 1, 1, 1, 1, 1),

(1, 1, 1, 1, 1, 1, 1, 1, 1),

(1, 1, 1, 1, 1, 1, 1, 1, 1))

maze3 = ((1, 0, 1, 1),

(1, 0, 1, 1),

(1, 0, 1, 1),

(1, 0, 1, 1),

(1, 0, 1, 0),

(1, 0, 0, 1))

print(num_of_paths(maze1))

print(num_of_paths(maze2))

print(num_of_paths(maze3))

what hand glove is used to prevent electric shock and why​

Answers

Answer:

Insulated gloves because their made of synthetic rubber.

Explanation:

insulating rubber gloves will do the job of protecting the worker against electrical shock. Dont forget about leather protectors, they are an essential part of wearing and using the gloves correctly

Why would a virtual machine be useful in a school? It provides a completely secure connection to the internet. Students can collaborate easily. Students can easily access specialized software. It is free and available to all students.

Answers

They can learn more and also it’s faster

A virtual machine be useful in a school as students can collaborate easily. Thus, option A is correct.

What is a virtual machine?

Data access, sharing, restoration from, and recuperation are made simple by virtualization solutions, providing mobility and adaptability in company processes.  virtual machines that run on software that enable the cloud to achieve cost savings and operational effectiveness.

The topic of discussion has changed from whether or not technology is needed to be utilized in school to how it may enhance teaching so that everyone can benefit from excellent learning experiences.

Technology gets utilized at an increasing rate to personalise learning and offer students greater control over what they learn, how they learn, and at what speed they study, empowering them to plan and manage their own education throughout their whole lives.

Therefore, option A is correct.

Learn more about virtual machines, here:

https://brainly.com/question/31659851

#SPJ2

Which problem does IPv6 (Internet Protocol version 6) help to solve?

Answers

Answer:

Address space exhaustion

Explanation:

IPv6 (Internet Protocol version 6) was introduced in 1995. This model is faster and safer than the previous models due to the modifications done on it.

It was however introduced with the main aim of addressing space exhaustion. IPv4 addresses were already getting scarce and a new model had to be introduced to bridge the gap. IPv4 has billions of addresses however IPv6 has multiples of trillions addresses to take care of current and future needs.

np.arange(5,8,1) what output will be produced?

Answers

Answer: [5 6 7]

Explanation: The np.arange takes in three parameters ->start,stop,step.

Hence, since we our range is 5 to 8, incrementing by 1 until we reach 8, giving us a list -> [5,6,7]

A question to determine your ability to use the reference materials effectively. Your boss has determined that you will be using the CIS-20 Security Controls. He has indicated that your organization must restrict access to client machine's use of wireless so that machines with a vital business purpose can only be allowed on approved wireless networks and not allowed on other wireless networks. His question is this: which Implementation Group does this security control apply toward

Answers

Answer:

The answer is "implement on group 2 and group 3".

Explanation:

In the given scenario, When technology workers are using in the project teams. People like to be stable, and we can't allow wireless network transmission to maintain their security and privacy. When we considering category 1 being the only ones who have links to a higher authority, that's why Group 2 and Group 3 were needing to be implemented.

My code doesn't give me the right output: I have to use the Python input command, and the number could be a decimal fraction, such as 6.5, so I should use floating point numbers?
I need to have a loop that repeats six times, with a routine in the middle of the loop to get the user input as a floating point number and add the number to a sum.

Can someone check it for me?
score_list = [ input("Judge No {} :score ".format(num+1)) for num in range(6)]
int_accumilator :int = 0
for score in score_list:
if(score > 10 ):
print("i only like numbers within the 0-10 range !")
exit()
int_accumilator+= score

print("the average score is ...", int_accumilator/ len(score_list))

Answers

Answer:

def get_score(judge_num: int) -> float:

   """

   Asks the user for the score of a single judge and returns it.

   """

   score = float(input(f"Score for Judge {judge_num}: "))

   return score

def calculate_average(scores: list[float]) -> float:

   """

   Calculates the average score given a list of scores.

   """

   return sum(scores) / len(scores)

# Initialize the total score to 0

total_score = 0

# Initialize an empty list to store the scores of the judges

scores = []

# Loop through each judge

for judge_num in range(1, 7):

   # Get the score for the current judge

   score = get_score(judge_num)

   # Add the score to the total score

   total_score += score

   # Append the score to the list of scores

   scores.append(score)

# Calculate the average score

average_score = calculate_average(scores)

# Print the average score

print(f"The average score is: {average_score:.2f}")

There are a few issues with your code.

First, the input function returns a string, not a number. You need to convert the input to a number using the float function before adding it to the int_accumulator.

Second, you have defined int_accumulator as an int, but you are trying to add floating point numbers to it. This will cause an error. Instead, you should define int_accumulator as a float to allow it to hold decimal values.

Finally, you have a typo in your code - int_accumilator should be int_accumulator.

Here is the corrected code:

score_list = [float(input("Judge No {} :score ".format(num+1))) for num in range(6)]
int_accumulator: float = 0
for score in score_list:
if score > 10:
print("I only like numbers within the 0-10 range !")
exit()
int_accumulator += score

print("the average score is ...", int_accumulator / len(score_list))

This should allow you to get the correct output.

Importance of type casting in programming ​

Answers

Answer:

Typecasting, or type conversion, is a method of changing an entity from one data type to another. It is used in computer programming to ensure variables are correctly processed by a function. An example of typecasting is converting an integer to a string.

mark me brainliesttb :))

three classifications of operating system​

Answers

Answer:

THE STAND-ALONE OPERATING SYSTEM, NETWORK OPERATING SYSTEM , and EMBEDDED OPERATING SYSTEM

Code to be written in python:
Correct answer will get brainliest :)

Mr Wu has been going to work every day by taxi for many years. However, the taxi fare has been increasing rather quickly in recent years. Therefore, he is considering driving to work instead. One of the costs for driving is the parking fee. The parking rates of the car park at Mr Wu's workplace are as shown as below:

Weekdays:
$2 per hour between 4am and 7am
$1.20 per half hour between 7am and 6pm
$5 per entry after 6pm

Saturdays:
$2.50 per hour between 4am and 7am
$1.50 per half hour between 7am and 6pm
$7 per entry after 6pm

Sunday: Flat rate of $5 per entry

For all days, there is a grace period of 10 minutes.
The car park opens between 4am and 12 midnight daily. We assume vehicles are magically ejected at midnight.
There is a 10% surcharge on weekdays and a 20% surcharge on Saturdays for vehicles who park for more than 10 hours. There are no surcharges on Sunday.
There is an additional fee of $3 for exiting after 10pm on any day.
Your task is to write a function compute_fee(day, time_in, time_out) that computes the parking fee, where day is an integer between 1 and 7, with 7 representing Sunday, while time_in and time_out are integer values in a 24-hour format - e.g. 700 for 7am and 2359 for 11:59pm. Assume all input is valid.


Below are a few examples of how the fee is calculated:



Example 1: Tuesday, 4:29am to 7:50am.

• 4:29am to 7am is charged as 3 1-hour slots: $2.00 * 3 = $6.00

• 7am to 7:50am is charged as 2 30-minute slots: $1.20 * 2 = $2.40

• Total fee = $6.00 + $2.40 = $8.40



Example 2: Saturday, 7:01am to 7:49pm.

• 7:01am to 6pm is charged as 22 30-minute slots: $1.50 * 22 = $33.00

• 6pm to 7:49pm is charged as one entry: $7.00

• 20% Surcharge for parking more than 10 hours: ($33.00 + $7.00) * 20% = $8.00

• Total fee = $33.00 + $7.00 + $8.00 = $48.00


Example 3: Sunday, 3pm to 10:01pm.

• 3pm to 10:01pm is charged as one entry: $5.00

• Additional fee for exiting after 10pm: $3.00

• Total fee = $5.00 + $3.00 = $8.00


Example 4: Thursday, 11:49pm to 11:59pm.

• Grace period

• Total fee = $0.00


Example 5: Monday, 12pm to 10:01pm.

• 12pm to 6pm is charged as 12 30-minute slots: $1.20 * 12 = $14.40

• 6pm to 10:01pm is charged as one entry: $5.00

• 10% Surcharge for parking more than 10 hours: ($14.40 + $5.00) * 10% = $1.94

• Additional fee for exiting after 10pm: $3.00

• Total fee = $14.40 + $5.00 + $1.94 + $3.00 = $24.34

def compute_fee(day, time_in, time_out):
"""Your code here"""

Test Cases:
compute_fee(2, 429, 750) 8.4
compute_fee(6, 701, 1949) 48
compute_fee(7, 1500, 2201) 8
compute_fee(4, 2259, 2301) 0
compute_fee(1, 1200, 2201) 24.34

Answers

Here is the requested Python function that computes the parking fee based on the given information:

4.3 lesson practice phython

Answers

Answer:

user input loop

count variable

user input

Explanation:

these are you answers

Create a program that will do the following:


Until the user types “q” to quit:


Prompt the user for a name


Prompt the user for a product name


Prompt the user for a product price (this can include decimals)


Prompt the user for a quantity of the product purchased


Have the program calculate the total (price * quantity)


Write the values to a comma separated file (Customer Name, Product Name, Price, Quantity, Total)
Could you use
Module Module1

Sub Main()

Answers

Answer:

I know it

Explanation:

I will tell later

"1jaiz4 and 1 more users found this answer helpful" - who the heII is 1jaiz4?


i was the one that rated that answer like waht

Answers

Answer:

My suspicioun is that they are fake engagements/profiles created by Brainly to boost the reputability of the answer.

Explanation:

TLDR; it's probably fake

Answer:

most likely a fake pf, its just so that answers can gain credibility.

Explanation:

What technique is used to store sound waves as binary numbers?

Answers

Answer:

Sound waves are analogue and therefore they need to be converted into binary in order for a computer to be able to process them. To do this, the computer must convert the waveform into a numerical representation so that the waveform can be stored digitally. For this, we use an Analogue-to-Digital Convertor (ADC).

Explanation:

Sound waves aren’t a digital standard so they used conversion

Complete a program that takes a weight in kilograms as input, converts the weight to pounds, and then outputs the weight in pounds. 1 kilogram = 2.204 pounds (lbs). Ex: If the input is: 10 the output is: 22.040000000000003 lbs Note: Your program must define the function def kilo_to_pounds(kilos)

Answers

Hello there!

def kilo_to_pounds(kilos):

____pounds = 2.204 * kilos

____return pounds

kilos = int(input())

print(kilo_to_pounds(kilos), 'lbs')

The program that takes a weight in kilograms as input, converts the weight to pounds, and then outputs the weight in pounds is in the explanation part.

What is programming?

The process of carrying out a specific computation through the design and construction of an executable computer programme is known as computer programming.

Here is the completed program in Python:

def kilo_to_pounds(kilos):

   pounds = kilos * 2.204

   return pounds

# Main program

kilo_input = float(input("Enter weight in kilograms: "))

pounds_output = kilo_to_pounds(kilo_input)

print("Weight in pounds: ", pounds_output)

Thus, the kilo_to_pounds function takes a weight in kilograms as input and converts it to pounds using the conversion factor of 2.204.

For more details regarding programming, visit:

https://brainly.com/question/11023419

#SPJ2

Assume that you have the business data in various sources such as Excel, .csv, text files and Access, Oracle databases. Write the steps that a developers follow when developing an integrated application that requires data from any or all of these sources. Also assume that a developer needs to build two different applications. One of these is a web application and another a GIS application. Briefly describe the process

Answers

Answer:

Explanation:

I believe the best process for this would be for the developer to create a class that has methods for opening up and reading all the data from each one of the sources. They should also add methods for easy manipulation, and writing to these files. This would allow the development team to easily reference this class and call the methods with a single line of code so that they can get and write the data from each individual source as needed. This design will also allow them to use all of these sources easily from any application by simply referencing the class and without having to change any code.

8 cosas que hacemos que gastan mucha energia

Answers

1. PLANCHA DE ROPA
Es posible que planchar la ropa no consuma mucha energía, pero la propia plancha consumirá alrededor de 1200 vatios por hora.

2. SECADOR DE PELO
Aunque no uses tu secador de pelo por mucho tiempo, usa entre 1,000 y 1,875 vatios de energía por hora.

3. HUMIDIFICADOR
Los humidificadores son excelentes para mantener húmedo el aire seco, pero si no obtiene un modelo que ahorre energía, podría estar usando hasta 1,000 vatios de energía por hora.

4. HORNO TOSTADOR
Tostar un poco de pan o calentar una pizza puede llevar solo unos minutos, pero probablemente esté consumiendo más energía de la que cree. El horno tostador promedio utiliza alrededor de 1.150 vatios de energía por hora.

5. FABRICANTE DE CAFÉ
Si es como algunos de nuestros expertos en mejoras para el hogar, le gusta tomar su café diario. Sin embargo, la cafetera promedio usa entre 600 y 1200 vatios de energía.

6. ASPIRADORA
Las aspiradoras vienen en una variedad de estilos y usan una variedad de energía, por lo que una promedio le dará entre 300 y 1000 vatios de energía.

7. MICROONDAS
Al igual que las aspiradoras, las microondas también vienen en una variedad de estilos y usan una variedad de energía, por lo que la suya puede usar entre 600 y 1500 vatios de energía.

8. LAVAVAJILLAS
Sabemos lo conveniente que es un lavavajillas, pero cuando lo usas, estás usando alrededor de 1350 vatios de energía por hora.

How do big organizations take back their data to be reviewed after a disaster?

Answers

Here a 5 step recovery plan, I have been in IT for 8 years

1. Create a disaster recovery team.

The team will be responsible for developing, implementing, and maintaining the DRP. A DRP should identify the team members, define each member’s responsibilities, and provide their contact information. The DRP should also identify who should be contacted in the event of a disaster or emergency. All employees should be informed of and understand the DRP and their responsibility if a disaster occurs.

2. Identify and assess disaster risks.

Your disaster recovery team should identify and assess the risks to your organization. This step should include items related to natural disasters, man-made emergencies, and technology related incidents. This will assist the team in identifying the recovery strategies and resources required to recover from disasters within a predetermined and acceptable timeframe.

3. Determine critical applications, documents, and resources.

The organization must evaluate its business processes to determine which are critical to the operations of the organization. The plan should focus on short-term survivability, such as generating cash flows and revenues, rather than on a long term solution of restoring the organization’s full functioning capacity. However, the organization must recognize that there are some processes that should not be delayed if possible. One example of a critical process is the processing of payroll.

4. Specify backup and off-site storage procedures.

These procedures should identify what to back up, by whom, how to perform the backup, location of backup and how frequently backups should occur. All critical applications, equipment, and documents should be backed up. Documents that you should consider backing up are the latest financial statements, tax returns, a current list of employees and their contact information, inventory records, customer and vendor listings. Critical supplies required for daily operations, such as checks and purchase orders, as well as a copy of the DRP, should be stored at an off-site location.

5. Test and maintain the DRP.

Disaster recovery planning is a continual process as risks of disasters and emergencies are always changing. It is recommended that the organization routinely test the DRP to evaluate the procedures documented in the plan for effectiveness and appropriateness. The recovery team should regularly update the DRP to accommodate for changes in business processes, technology, and evolving disaster risks.



summary :an organization must develop a recovery team to create a disaster recovery plan that includes identifying and assessing disaster risks, determining critical applications, and specifying backup procedures. Other procedures may be included in the plan based on the organization. The recovery team and organization must then implement the DRP and follow through on the plan procedures. The DRP should be continually tested and maintained to consistently prepare the organization for evolving disasters and emergencies.

Examine the strength of the passwords that you use. How

vulnerable are your passwords to guessing? To brute-force

hacking?​

Answers

Well nobody can guess my password, and if they were to brute-force hack me they have a 50% chance of finding my password.

Read the excerpt below from the play Antigone by Sophocles and answer the question that follows.



ANTIGONE:
I did not think
anything which you proclaimed strong enough
to let a mortal override the gods
and their unwritten and unchanging laws.
They’re not just for today or yesterday,
but exist forever, and no one knows
where they first appeared.



What does the passage reveal about the beliefs of the ancient Greeks?
A. Some believed humans were the ultimate authority.
B. Some believed women were the ultimate authority.
C. Some believed men were the ultimate authority.
D. Some believed the gods were the ultimate authority.

Answers

Answer:

D. Some believed the gods were the ultimate authority.

Explanation:

2. While Wii was an accessible console that appealed to a broad audience, Zynga made access to video games even easier for everyone by ________ .
a) Shipping a console for free with their game
b) Making their game accessible via the internet, with no need for a console
c) Providing a free downloadable file of the game
d) Shipping their game on every type of cell phone available at that time

Answers

Answer:

Making their game accessible via the internet, with no need for a console

Explanation:

They made games like Farmville around this time

A(n) ____ is a central computer that enables authorized users to access networked resources.

A) peripheral
B) server
C) application
D) LAN

Answers

Answer:

Server

Explanation:

Server is a central computer that enables authorized users to access networked resources.

C++ Add each element in origList with the corresponding value in offsetAmount. Print each sum followed by a semicolon (no spaces).

Ex: If origList = {4, 5, 10, 12} and offsetAmount = {2, 4, 7, 3}, print:
6;9;17;15;

#include
#include
using namespace std;

int main() {
const int NUM_VALS = 4;
int origList[NUM_VALS];
int offsetAmount[NUM_VALS];
int i;

cin >> origList[0];
cin >> origList[1];
cin >> origList[2];
cin >> origList[3];

cin >> offsetAmount[0];
cin >> offsetAmount[1];
cin >> offsetAmount[2];
cin >> offsetAmount[3];

/* Your code goes here */

cout << endl;

return 0;
}

Answers

Answer:

here you go, if it helps ,do consider giving brainliest

Explanation:

#include<stdio.h>

int main(void)

{

  const int NUM_VALS = 4;

  int origList[4];

  int offsetAmount[4];

  int i = 0;

  origList[0] = 40;

  origList[1] = 50;

  origList[2] = 60;

  origList[3] = 70;

  offsetAmount[0] = 5;

  offsetAmount[1] = 7;

  offsetAmount[2] = 3;

  offsetAmount[3] = 0;

  // Prints the Sum of each element in the origList

  // with the corresponding value in the

  // offsetAmount.

  for (i = 0;i<NUM_VALS;i++)

  {

      origList[i] += offsetAmount[i];

      printf("%d ", origList[i]);

  }

  printf("\n");

  return 0;

}

Describe the job of an Architect.

Answers

Answer:

Architects plan, develop and implement building designs. They compile feasibility reports, determine environmental impact, create project proposals, estimate costs, determine timelines and oversee construction processes.

Explanation:

Answer:

an architect designs houses and how they will be made.

Explanation:

Which of the following are numbers and text that do not change unless manually altered?
equal sign
references
constants
mathematical operators

Answers

Answer:

constants are numbers and text that do not change unless manually altered.

Answer: c

Explanation:

Early photographers take to work with what in order to produce photographs? (Btw this is photography, it just isn't a subject in Brainly yet)
1. Chemicals
2. Flowers
3. Computers
4. All of the above

Answers

1, they used to use chemicals.

Answer:

Chemicals

Explanation:

Write a for loop to print all elements in courseGrades, following each element with a space (including the last). Print forwards, then backwards. End each loop with a newline. Ex: If courseGrades = {7, 9, 11, 10}, print:
7 9 11 10 10 11 9 7
Hint: Use two for loops. Second loop starts with i = courseGrades.length - 1.
Note: These activities may test code with different test values. This activity will perform two tests, both with a 4-element array. Also note: If the submitted code tries to access an invalid array element, such as courseGrades[9] for a 4-element array, the test may generate strange results. Or the test may crash and report "Program end never reached", in which case the system doesn't print the test case that caused the reported message.
import java.util.Scanner;
public class CourseGradePrinter {
public static void main (String [] args) {
Scanner scnr = new Scanner(System.in);
final int NUM_VALS = 4;
int [] courseGrades = new int[NUM_VALS];
int i;
for (i = 0; i < courseGrades.length; ++i) {
courseGrades[i] = scnr.nextInt();
}
/* Your solution goes here */
}
}

Answers

Answer:

The missing part of the code is:

for (i = 0; i < courseGrades.length; ++i) {

           System.out.print(courseGrades[i]+" ");         }

       System.out.println();

       for (i = courseGrades.length-1; i >=0 ; --i) {

           System.out.print(courseGrades[i]+" ");         }

       System.out.println();

Explanation:

This iterates through the array

for (i = 0; i < courseGrades.length; ++i) {

This prints each element of the array followed by a space

           System.out.print(courseGrades[i]+" ");         }

This prints a newline at the end of the loop

       System.out.println();

This iterates through the array in reverse

       for (i = courseGrades.length-1; i >=0 ; --i) {

This prints each element of the array (reversed) followed by a space

           System.out.print(courseGrades[i]+" ");         }

This prints a newline at the end of the loop

       System.out.println();

Alexandra went shopping for a new pair of pants. Sales tax where she lives is 5%. The price of the pair of pants is $47. Find the total price including tax. Round to the nearest cent.

Answers

Answer:

$49.35

Explanation:

Other Questions
re used by American Indians to purify the spirit and bring balance to people who are unhealthy in spirit, mind, or body. An object that is moving in uniform circular motion will definitely have a large acceleration if it is Which ethnicity inSouth America isa mixture of theSpanish colonistsand theindigenouspeople?A. criolloB. mestizoC. caballo Advantage 2 Starting a business can be risky, but it depends on the opportunity of the entrepreneur's time. If they would be unemployed otherwise, then what looks like risk may actually be a benefit or a reward. Write the number 4,207 in expanded form help me ;v; and thank you sm! Please help - How many whole months will it take for a motorbike valued at 2550 to depreciate to less than 1200 if depreciation is at a rate of 5% per month? What was the nickname of the Battle of Antietam? Which of countries was a leader of trade during renaissance Question 2: The Northside Knights were competing in a soccer game against the Goshen Gladiators. The Knights, k, scored 3 more goals than the Gladiators, g. The game had a total of 7 goals. Write a system of equations that could be used to determine the amount of goals each team scored. What is an example of indirect quotation? How many ways can a teacher choose three students from a class of 19 to go to the office and pick up a package? What are the horizontal and vertical components of a cat's displacement when the cat has climbed 5 mdirectly up a tree = 90? Sin90=1cos90=0 explain the importance of information technology in modern life how did siams kings balance western ideas and local traditions? what role dose competition play in international trade Due to the drivers not paying attention, a small car and a big truck collide, both are initially moving at 25 mph towards each other. Compare the magnitude of the force the truck exerts on the car to the magnitude of the force the car exerts on the truck. Which force is greater? Which vehicle would you rather ride in? Describe why you made your choice. We are asking everyone to focus on reducing their average transaction time by 10%. The average transaction time for this location is 6 minutes and 52 seconds."So we have to get the average transaction time down to __________." In the figure above AB = 4x + 6 and BC = 7x + 15. If AC = 120, find the length of segment AB. Help with this question