A citizen of any group both

Answers

Answer 1

Answer:

Rights and Responsibilities

Explanation:


Related Questions

Hey tell me more about your service. I have a school assignment 150 questions and answers on cyber security,how can I get it done?

Answers

Answer:

Explanation:

I have knowledge in a wide range of topics and I can help you with your school assignment by answering questions on cyber security.

However, I want to make sure that you understand that completing a 150 question assignment on cyber security can be time-consuming and it's also important that you understand the material well in order to do well on exams and to apply the knowledge in real-world situations.

It would be beneficial to you if you try to work on the assignment by yourself first, then use me as a resource to clarify any doubts or to check your answers. That way you'll have a deeper understanding of the material and the assignment will be more beneficial to you in the long run.

Please also note that it is important to always check with your teacher or professor to ensure that getting assistance from an AI model is in line with your school's academic policies.

Please let me know if there's anything specific you would like help with and I'll do my best to assist you.

why does a computer need memory​

Answers

Answer:

For storage area and to put data

Which statement best describes 'abstraction'? *
1 point
the result of how a program handles complexity, by focusing on detail
the result of minimizing program details by reducing the size and complexity of the
program
the result of designing a program where the focus is on what each step does, instead
of how the steps are implemented
the result of increasing program detail or duplication in order to focus on the concept
while adhering to the rules of the programming language
P

Answers

Answer:

I think it's the first one

Explanation:

The true statement regarding the abstraction is that it is the result of how a program handles complexity, by focusing on detail.

What is abstraction?

The general meaning of abstraction is defined as the process of trimming something to a set of core features by eliminating or deleting characteristics.

In terms of technology, it is a modified performance of something sophisticated, like a system's function. The purpose of “abstracting” data is to cut back complexity by removing irrelevant data.

We all think of computers in abstract terms at some level. The true statement about abstraction is that it is the result of a program's approach to complexity, which is to focus on detail.

Therefore, option A is correct.

Learn more about the abstraction, refer to:

https://brainly.com/question/13072603

#SPJ2

paki sagot po kailangan ko na po Kasi Yan ngayon and I follow po Kita f ma answer mo nang Tama!❤️​

Answers

Answer:

1. Mali

2. Tama

3.tama

4. Tama

5. tama

Answer:

1. Mali

2. Tama

3.tama

4. Tama

5. tama

Explanation:

other person got it ;)

6.11 LAB: Sort a vector
Write a program that gets a list of integers from input, and outputs the integers in ascending order (lowest to highest). The first integer
indicates how many numbers are in the list. Assume that the list will always contain less than 20 integers.
Ex: If the input is:
5 10 4 39 12 2
the output is:
2 4 10 12 39
For coding simplicity, follow every output value by a space, including the last one.
Your program must define and call the following function. When the SortVector function is complete, the vector passed in as the parameter
should be sorted.
void SortVector(vector int>& myVec)
Hint: There are many ways to sort a vector. You are welcome to look up and use any existing algorithm. Some believe the simplest to code
is bubble sort: https://en.wikipedia.org/wiki/Bubble_sort. But you are welcome to try others: https://en.wikipedia.org/wiki/Sorting_algorithm.
290064 1698536.qx3zqy7

Answers

The sort a vector program is an illustration of functions, loops and vectors or lists.

The main program

The program written in C++, where comments are used to explain each action is as follows:

#include<bits/stdc++.h>

using namespace std;

//This defines the SortVector function

void SortVector(vector <int>& myVec){

   //This sorts the vector elements in ascending order

   sort(myVec.begin(), myVec.end());

   //This iterates through the sorted vector, and print each element

for (auto x : myVec)

 cout << x << " ";

}

//The main begins here

int main(){

   //This declares all the variables

   int num, numInput; vector<int> v;

   //This gets the length of the vector

   cin>>num;

   //The following iteration gets input for the vector

   for(int i = 0; i<num;i++){

       cin>>numInput;

       v.push_back(numInput);

   }

   //This calls the SortVector function

   SortVector(v);

return 0;

}

Read more about functions at:

https://brainly.com/question/24833629

Write a program that will calculate the internal angle of an n-sided polygon from a triangle up
to a dodecagon. The output to the console should show what the random number chosen was
and the value of the internal angle. Remember to find the internal angle of a polygon use:

360°
n

Answers

The  program that will calculate the internal angle of an n-sided polygon from a triangle upto a dodecagon is given below

import random

def internal_angle(n):

   angle = 360 / n

   return angle

n = random.randint(3, 12)

print("Random number chosen:", n)

angle = internal_angle(n)

print("Internal angle of a", n, "-sided polygon:", angle, "degrees")

What is the Python program  about?

The program uses the formula for calculating the internal angle of a polygon, which is 360° divided by the number of sides (n). It also generates a random number between 3 and 12 to represent the number of sides of the polygon, and uses this value to calculate the internal angle.

The program starts by importing the random library, which is used to generate a random number. Then, it defines a function called "internal_angle" that takes one parameter, "n", which represents the number of sides of the polygon.

Inside the function, the internal angle of the polygon is calculated by dividing 360 by n and storing the result in the variable "angle". The function then returns this value.

Therefore, It's important to note that the internal angle of a polygon would be correct as long as the number of sides is greater than 2.

Learn more about Python program from

https://brainly.com/question/28248633
#SPJ1

Lindsey also needs to calcite the commissions earned each month. If the company earns $200,000 or more in a month, the commission is 35% of the sales. If the company earns less than $200,000 in a month, the commission is 27% of the sales. Calculate the commissions as follows:
a. In cell b17, enter a formula that uses the IF function and tests whether the total sales for January ( cell B10) is greater than or equal to 200000
b. If the condition is true, multiply the total sales for January ( cell B10) BY 0.35 TO calculate a commission of 35%.

Answers

Answer:

srry dont know

Explanation:

An airline describes airfare as follows. A normal ticket's base cost is $300. Persons aged 60 or over have a base cost of $290. Children 2 or under have $0 base cost. A carry-on bag costs $10. A first checked bag is free, second is $25, and each additional is $50. Given inputs of age, carry-on (0 or 1), and checked bags (0 or greater), compute the total airfare. Hints: First use an if-else statements to assign airFare with the base cost Use another if statement to update airFare for a carryOn Finally, use another if-else statement to update airFare for checked bags Think carefully about what expression correctly calculates checked bag cost when bags are 3 or more

Answers

Answer:

The program in Python is as follows:

age = int(input("Age: "))

carryOn = int(input("Carry on Bags [0 or 1]: "))

checkedBags = int(input("Checked Bags [0 or greater]: "))

airFare = 300

if age >= 60:

   airFare = 290

elif age <= 2:

   airFare = 0

if carryOn ==  1:

   airFare += 10

if checkedBags ==  2:

   airFare += 25

elif checkedBags >  2:

   airFare += 25 + 50 * (checkedBags - 2)

print("Airfare: ",airFare)

Explanation:

This gets input for age

age = int(input("Age: "))

This gets input for carry on bags

carryOn = int(input("Carry on Bags [0 or 1]: "))

This gets input for checked bags

checkedBags = int(input("Checked Bags [0 or greater]: "))

This initializes the base cost to 300

airFare = 300

This updates the base cost to 290 for adults 60 years or older

if age >= 60:

   airFare = 290

This updates the base cost to 0 for children 2 years or younger

elif age <= 2:

   airFare = 0

This updates the airFare if carryOn bag is 1

if carryOn ==  1:

   airFare += 10

if carryOn bag is 0, the airFare remains unchanged

This updates the airFare if checkedBags is 2. The first bag is free; so, only the second is charged

if checkedBags ==  2:

   airFare += 25

This updates the airFare if checkedBags greater than 2. The first bag is free; so, only the second and other bags is charged

elif checkedBags >  2:

   airFare += 25 + 50 * (checkedBags - 2)

if checkedBags is 0 or 1, the airFare remains unchanged

This prints the calculated airFare

print("Airfare: ",airFare)

_______ is the assurance that you can rely on something to continue working properly throughout its lifespan.

A) Reliability
B) Raid
C) P/E cycle
D) MTBF

Answers

A) Reliability is the assurance that you can rely on something to continue working properly throughout its lifespan.

Need to use Python to create the below function;
''' This function takes as input two lists of same length. It outputs net correlation value between these two lists. To compute correlation between two lists:
1. Compute the average of each list
2. Subtract a list's average from every element in the list (repeat for both lists)
3. Multiply corresponding differences from each list to compute the element-wise correlation
4. Sum all the values from step 3 to compute the net correlation value
Example: [-10,0,10,20],[20,10,10,20] -> 0
def compute_net_correlation(self,data_series_1,data_series_2):
''' #### FILL IN CODE HERE ####
net_correlation = # fill in computation
return net_correlation

Answers

Answer:

The function is as follows:

def compute_net_correlation(data_series_1,data_series_2):

   series1 = 0; series2 = 0

   for i in range(len(data_series_1)):

       series1+=data_series_1[i]

       series2+=data_series_2[i]

   avg_series1 =series1/len(data_series_1)

   avg_series2 =series2/len(data_series_1)

   for i in range(len(data_series_1)):

       data_series_1[i]-=avg_series1

       data_series_2[i]-=avg_series2

       data_series_1[i]*=data_series_2[i]

   net_correlation = 0

   for i in range(len(data_series_1)):

       net_correlation +=data_series_1[i]

   return net_correlation

Explanation:

This defines the function

def compute_net_correlation(data_series_1,data_series_2):

This initializes the sum of each series to 0

   series1 = 0; series2 = 0

This iterates through each data series

   for i in range(len(data_series_1)):

This adds series 1

       series1+=data_series_1[i]

This adds series s

       series2+=data_series_2[i]

This calculates the average of data series 1

   avg_series1 =series1/len(data_series_1)

This calculates the average of data series 2

   avg_series2 =series2/len(data_series_1)

This iterates through each data series

   for i in range(len(data_series_1)):

This subtracts the average from series 1

       data_series_1[i]-=avg_series1

This subtracts the average from series 2

       data_series_2[i]-=avg_series2

This multiplies the corresponding elements of both series

       data_series_1[i]*=data_series_2[i]

This initializes the net correlation to 0

   net_correlation = 0

This iterates through each data series

   for i in range(len(data_series_1)):

This adds up the corresponding elements of both series

       net_correlation +=data_series_1[i]

This returns the net correlation

   return net_correlation

8. Explain strategies employed by the operating system to ensure safety of programs and data in
a computer system.
mand line operating systems.

Answers

Answer:

is the process of ensuring OS integrity, confidentiality and availability. ... OS security encompasses all preventive-control techniques, which safeguard any computer assets capable of being stolen, edited or deleted if OS security is compromised.

Lucy wants to add some notes in her research paper that provide additional information to the reader. She also wants to display her university logo on all the pages as part of the title. What formatting can she apply to her document to include these details?

Answers

She can use a header

Which of the following does NOT pair the statement with the corresponding output?

Answers

The statement that does not pair with the corresponding output is system.out.printin (a + b+ c). The correct option is statement A.

What is the output?

Output is any information processed by and sent by a computer or other electronic device. Anything visible on your computer monitor screen, such as the words you write on your keyboard, is an example of output.

Outputs can be text displayed on the computer's monitor, sound from the computer's speakers, or a physical output such as a printed sheet of paper from a printer connected to the computer.

Therefore, the correct option is A, system.out.printin (a + b+ c).

To learn more about output, refer to the link:

https://brainly.com/question/13736104

#SPJ1

In the flag, the RGB values next to each band indicate the band's colour.
RGB: 11111101 10111001 00010011
RlGB: 00000000 01101010 01000100
RGB: 11000001 00100111 00101101
First, convert the binary values to decimal. Then, to find out what colours these values correspond to, use the Colour names' handout (ncce.io/rep2-2-hw) or look up the RGB values online. Which European country does this flag belong to?​

Answers

Answer:

To convert the binary values to decimal, you can use the following steps:

Start with the rightmost digit and assign it the value of 0.

For each subsequent digit moving from right to left, double the value of the previous digit and add the current digit.

For example, to convert the first binary value, 11111101, to decimal:

10 + 02 + 04 + 08 + 016 + 132 + 164 + 1128 = 253

So the first binary value, 11111101, corresponds to the decimal value 253.

Using this method, you can convert the other binary values to decimal as well. To find out what colours these values correspond to, you can use the Colour names' handout or look up the RGB values online.

To determine which European country this flag belongs to, you can try looking up the colours and seeing if they match any known flags. Alternatively, you could try searching for flags of European countries and see if any of them match the colours you have identified.

70 POINTS!!!!
what is the importance of genders in computer science
give at least 3 complete paragraphs
PLS answer correctly...i will mark u as brainlyst!!!!!

Answers

Answer:

Explanation:

The biggest question now is how do we attract more women into the computer science field. Women need more encouragement, especially from teachers of both sexes and fellow students. Mentoring is a definite means to attract and keep women more interested in the field. Even just the support of other females present in a classroom setting can help boost the confidence in each other. Multiple studies have shown that the lack of women in computer science is very likely to start before college (Cohoon). They need this encouragement not only while taking college courses but also early on in their education. Females tend to be just as interested in science as men when they are young but their teachers and schools, who would have the most influence on them, aren’t doing their job in nurturing and identifying these women (Gurian). A possible solution to improving their confidence would be to have more mentors who can help attract and keep women interested in the field. The shortage of women in the computer science field has made it more difficult to have women in high positions. This makes it important for women who are in high positions to be mentors to all women interested. According to Joanne Cohoon a professor at the University of Virginia “CS departments generally retained women at comparable rates to men when the faculty included at least one woman; was mentored, and supervised female students; enjoyed teaching; and shared responsibility for success with their students”. It is also found that departments with no female faculty lost female students at high rates relative to men (Cohoon). Seeing other women in computer science can definitely raise confidence in women to continue or begin studying the subject. “In a new survey, 40 percent of women in the STEM fields… report that they were discouraged from their career choices, typically in college and often by their professors” (Downey). This data shows how we need more mentors willing to support women and that we are lacking teachers to help inspire young women into entering the field.

Since the beginning of computing most software and programs have been male-oriented. Video games were originally targeted at males with sport and violent themes with mostly male lead characters and limiting female roles like women who need to be rescued (Lynn). Early experiences with computers are important in shaping someone’s willingness to explore technology. “Playing with computer, console, and arcade games and educational ware can provide an introduction to computer literacy, creating familiarity and building confidence in skills” (Lynn, 145). Because computer science is so dominated by men, the software tends to be more male- friendly. To make software more appealing to girls, it should have low frustration levels, be challenging and be interactive (Lynn). By having more women in the field, women can create much more women-friendly software. Girls tend to prefer games where they can make things, rather than destroy them(Lynn). Recently more and more games have been produced that are more girl-friendly, like simulation games. The Sims is a video game where you create humans, animals and homes and has proved to be a big success with a female audience. A strategy to get more women to break outside the stereotype of women being less competitive than men would be to take games designed for boys and demand comparable female characters to empower them to be more competitive and assertive. Video games often become involved with computing as a byproduct of wanting to master gaming (Lynn).

Many boys tend to have more experience with computers at a younger age because of video games, when boys and girls are put together in a class to learn about computers the boys are already at a higher level, which is not encouraging to the women beginning at a lower level in the same class. Making more computer classes mandatory both in high school and at the college level will not only help women because of the increasing number of other female peers, but it can spark interest in women early on, helping teachers to identify students with aptitude.

Someone help me out eh?

Answers

Line 4

It should be font-size: 15px

Also there should be curly braces in line 5.

Answer:

You are screwed

Explanation:

no one cares about this Question

How do internet gateway routers help to defend the network from cyberattack?

Answers

Answer:

Predict and prevent web attacks before they reach your corporate network or your users – wherever they are. Set up first line defence to protect your most valuable asset – your data.

Explanation:

The best solution at Gateway between the Internet (Public) and the Intranet (Vast LAN/VLAN (Private)) for the intruder detection, drop or deny, stopping spam emails and viruses/malwares, protect from exploiting vulnerabilities, flood a targets in application and communication protocol etc. and a best monitoring, evaluation and analysis tool for the better safeguard. Normally we intend to implement either a software or hardware firewall which enforces a set security policies that needs to be fine-tuned according to the recent advancement and race.

We can take all possible measures for the security of databases servers, web servers, systems servers with a set of inbuilt security mechanism and secure travel of transactions over the net based on encryption & VPN as choices are available.

Explain in detail the most important technology term outlined

Answers

Answer:

Technology can be most broadly defined as the entities, both material and immaterial, created by the application of mental and physical effort in order to achieve some value. In this usage, technology refers to tools and machines that may be used to solve real-world problems.

Hope it help!:)

Technology is the use of science and engineering in making life easy.

Answer :

Technology

It is defined as the application of the technical knowledge and scientific knowledge which helps in doing certain processes and studies.

Technology is used in practical purposes using the applied sciences or engineering.

Technology is used in the field of engineering, industries, medicals, space and in many more applications.

Learn More :

https://brainly.com/question/4291549

You are a member of Future Business Leaders of America, and a local retirement community has asked if you and
your other members could come to their facility to help teach the residents that live there how to use technology
so that they can communicate with their grandchildren. This is an example of
networking
a competition
community service
a class assignment

Answers

Senior executives typically invite network members to participate in the planning and implementation of the change process at the first meeting. There is a matter of minutes, and Meetings are scheduled frequently.

Which three strategies would you recommend to make your company a fantastic place to work?

Fantastic lines of communication between management and employees. a feeling of belonging within the crew. allowing workers the freedom to develop their skills. a tradition of ongoing development.

What are some tactics you may employ to promote innovation and creativity within a company?

Ask your staff to present their ideas if you want to encourage creativity and innovation. You might also develop a procedure to submit them. Request that each employee presents an idea within a set deadline, and offer incentives to encourage discussion.

to know more about community service here:

brainly.com/question/15862930

#SPJ1

What is the difference between a baseline and an objective?

A baseline is a start, and an objective is an ending.

A baseline is measurable, and an objective is not measurable.

A baseline is a start, and an objective shows progression.

A baseline is a benchmark, and an objective is an ending.

Answers

The difference between a baseline and an objective is a baseline is a start, and an objective is an ending. Therefore, option A is correct.

What is the objective of baseline?

Regardless of the study topic, a baseline study is a descriptive cross-sectional survey that primarily offers quantitative data on the current condition of a specific situation in a given population. It seeks to quantify how various variables are distributed over time within a study population.

A baseline is a constant point of comparison that is employed in comparison studies. In business, a project's or product's success is frequently evaluated in comparison to a baseline figure for expenses, sales, or any other number of factors. A project may go over or under its predetermined benchmark.

Thus, option A is correct.

To learn more about the objective of baseline, follow the link;

https://brainly.com/question/15018074

#SPJ1

Manfred wants to include the equation for the area of a circle in his presentation. Which option should he choose?
O In the Design tab of the ribbon, choose a slide theme that includes the equation.
O In the Home tab of the ribbon, choose Quick Styles and select the equation from the default options.
In the Insert tab of the ribbon, choose Object and select the equation from the dialog box.
In the Insert tab of the ribbon, choose Equation and select the equation from the default options.

Answers

Answer:

In the Insert tab of the ribbon, Manfred should choose Equation and select the equation from the default options.

write flow chart pseudocode and algorithm for a computation that perform balance,interest, withdrawal,in bank for Ethiopia?​

Answers

Answer:

Flowchart:

Start

Input customer information (name, account number, etc.)

Calculate balance

Calculate interest

Prompt user to enter withdrawal amount

Calculate new balance

Print new balance

End

Pseudocode:

START

// Declare variables

DECLARE customerName

DECLARE customerAccountNumber

DECLARE customerBalance

DECLARE customerInterest

DECLARE withdrawalAmount

// Get customer information

INPUT customerName

INPUT customerAccountNumber

// Calculate balance

SET customerBalance = customerAccountNumber * customerInterest

// Calculate interest

SET customerInterest = customerBalance * 0.05

// Prompt user to enter withdrawal amount

INPUT withdrawalAmount

// Calculate new balance

SET customerBalance = customerBalance - withdrawalAmount

// Print new balance

PRINT customerBalance

END

Explanation:

Please submit one zip file containing all source code, header, and output files. Exercise 1: 30 Points (Duplicate Elimination with vector) Use a vector to solve the following problem. Read in 20 numbers, each of which is between 10 and 100, inclusive. As each number is read, validate it and store it in the vector only if it isn't a duplicate of a number already read. After reading all the values, display only the unique values that the user entered. Begin with an empty vector and use its pushback function to add each unique value to the vector. SAMPLE RUN: Enter an integer: 105 Enter an integer: 5 Enter an integer: 10 Enter an integer: 11 Enter an integer: 11 Enter an integer: 12 Enter an integer: 13 Enter an integer: 14 Enter an integer: 15 Enter an integer: 15 Enter an integer: 16 Enter an integer: 17 Enter an integer: 18 Enter an integer: 19 Enter an integer: 20 Enter an integer: 21 Enter an integer: 22 Enter an integer: 23 Enter an integer: 24 Enter an integer: 25 Enter an integer: 26
Enter an integer: 27
Enter an integer: 28
Enter an integer: 29
Unique values in the vector are:
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 294

Answers

Answer:

The program in C++ is as follows:

#include <iostream>

#include <vector>

#include <algorithm>

using namespace std;

int main(){

   vector <int> inTs;

   int num;

   int count = 0;

   int temp; int chk = 0;

   while(count < 20){

       temp = count;

       cout<<"Enter an integer: ";

       cin>>num;

       if(num>=10 && num<=200){

           for(int i = 0; i<count;i++){

               if(num == inTs.at(i)){ chk = 1; break;}

           }

       if(chk == 0){ inTs.push_back(num); count++; }

       else{ count = temp; }

       chk = 0;

       }

   }

   for(int i=0; i < 20; i++){  cout << inTs.at(i) << ' ';    }

   return 0;

}

Explanation:

See attachment for complete code where comments are used as explanation

Select the correct answer.

Read these lines from a news report. What type of lead do you think the reporter has used in the article?

On New Year’s Eve, the aroma of freshly baked cake attracted John’s attention to an old cottage, bringing back memories of his childhood. His curiosity changes his life forever.

Answers to choose from down below, I’ve been stuck on this test for a while.

Answers

Answer:

c) question lead

Explanation:

bringing back memories of his childhood.

21. The most overlooked people in information security are:
A consultants and temporary hires.
B. secretaries and consultants.
C. contract laborers and executive assistants.
D. janitors and guards.
E. executives and executive secretaries.

Answers

Answer: D. janitors and guards

Explanation:

Information security simply means the protection of information from an unauthorized use or access.

The most overlooked people in information security are the janitors and the guards. Due to the fact that they're at the bottom of the organizational chart, they tend to be overlooked and not given the respect that they deserve.

A sequential circuit has one flip-flop Q, two inputs X and Y, and one output S. The circuit consists of a D flip-flop with S as its output and logic implementing the function D = X ⊕ Y ⊕ S with D as the input to the D flip-flop. Derive the state table and state dia- gram of the sequential circuit.

Answers

To derive the state table and state diagram of the sequential circuit, we first need to determine the possible states of the flip-flop Q, and the next states based on the input values X and Y and the current state of Q.

The state table for the sequential circuit would look like this:

Q(t) X Y Q(t+1) S

0 0 0 0 0

0 0 1 1 1

0 1 0 1 1

0 1 1 0 0

1 0 0 1 1

1 0 1 0 0

1 1 0 0 0

1 1 1 1 1

The state diagram for the sequential circuit would look like this:

 S=0                                                                 S=1

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

  | 0 |   | 1 |                                                    | 1 |   | 0 |

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

  |   |   |   |                                                    |   |   |   |

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

  |   |   |   |                                                    |   |   |   |

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

  |   |   |   |                                                    |   |   |   |

   

What is  flip-flop Q?

A flip-flop is a circuit that is used to store binary data in digital electronic systems. It is a type of latch circuit that is used as a memory element in digital logic circuits. Flip-flops can be either positive edge-triggered or negative edge-triggered, and can be either level-sensitive or edge-sensitive. The most common types of flip-flops are SR flip-flops, JK flip-flops and D flip-flops.

In this case, Q is a flip-flop that is used as a memory element in the sequential circuit. It stores the current state of the circuit and is used in the logic implementation of the circuit's function. The output of this flip-flop is used as an input to the next state of the circuit, and it's also the output of the circuit.

Learn more about flip-flop in brainly.com/question/16778923

#SPJ1

[C++ for array week|
First, make an array to use later in the pogram:
Array of ints of size 90 (not dynamic)
Init all values to 0 (that's the curly braces thing)
Loop through the array and set each value to a random number between 2 and 9
Print the array with a separate for loop. Put a space between each number
Now use that array to do the following:
Ask the user what index they want to change
If it is out of bounds, don't exit the program, just ask again.
Ask the user what the new value should be
Reprint the array
Keep doing this until they enter -1 for the index
Here's a super important point. Before you use the index they gave you, you must check to make sure it is not out of bounds on that array. Crashing is worse than being wrong.
Any crash or infinite loop automatically drops the grade two letters no matter how correct anything else is. In real life, if you make a mistake you can fix it in a patch. If your program crashes though, someone might die. Or worse yet, return your program so you don't get paid.
SP21: Give extra point for dynamic array

Answers

Answer:

this is stupi

Explanation:

Write a recursive function

string reverse(string str)
that computes the reverse of a string. For example, reverse("flow") should return "wolf". Hint: Reverse the substring starting at the second character, then add the first character at the end. For example, to reverse "flow", first reverse "low" to "wol", then add the "f" at the end.

Answers

Answer:

Explanation:

The following code is written in Java. It creates a function called stringReverse that takes in one string parameter and uses a recursive algorithm to print out the input string in reverse. The output can be seen in the attached picture below.

void stringReverse(String str)

   {

       //Check to see if String is only one character or less

       if ((str==null) || (str.length() <= 1))

           System.out.println(str);

       else

       {

           System.out.print(str.charAt(str.length()-1));

           stringReverse(str.substring(0,str.length()-1));

       }

   }

HELP!!!!!!!!!
1. Which of the following sorts software from the lowest level of abstraction to the highest?

Program, code segment, statement

Statement, code segment, program

Program, statement, code segment

Code segment, statement, program



2.Which of the following describes a lossy transformation of a digital image composed of pixels which have red, green and blue components stored using values from 0-255?

Swap the values of the blue and green components for each pixel.

Replace the green component of each pixel with the average value of the red and blue components of the pixel.

Replace the values for each pixel with the values from the pixel which is 10 pixels to the right. If the pixel is less than 10 pixels from the right of the image continue counting from the left of the image when the edge is reached

Replace each component of each pixel with the original value of that component subtracted from 255.

3. Procedures in programming are often defined with parameters - variables that are used in the procedure for which a value needs to be specified each time the procedure is called. Which of the following give a variable that would be useful to have as a parameter for the specified method? The value of (pi) in a procedure to find the area of a circle The name of an author in a procedure to search a library catalog for books The side length of a cube in a procedure to find the surface area of a cube

I and III only

II and III only

I, II, and III

I only

Answers

Answer:

Explanation:

1. Statement, code segment, program

as program includes everything so it has the highest level of abstraction.

2. Replace the green component of each pixel with the average value of the red and blue components of the pixel

as averaging will cause the transformation to become lossy.

3.  II and III only

as value of pi is constant, not a variable.

Answer:

Explanation:

1. the lowest level of abstraction to the highest: Statement, code segment, program

2. lossy transformation of a digital image: Replace the green component of each pixel with the average value of the red and blue components of the pixel.

3.  a variable that would be useful to have as a parameter for the specified method: The name of an author in a procedure to search a library catalog for books The side length of a cube in a procedure to find the surface area of a cube

II and III only

Rory has asked you for advice on (1) what types of insurance she needs and (2) how she should decide on the coverage levels vs monthly premium costs. Give Rory specific recommendations she can follow to minimize her financial risk but also keep a balanced budget.

Answers

She should get a basic health insurance plan with a monthly premium choice as she is a single lady without children in order to make payments more convenient.

How much does health insurance cost?

All full-time employees (30 hours or more each week) have their health insurance taken out of their paychecks. It will total 9.15 percent of your salary when combined with your pension payment. For illustration, a person making 300,000 per month will have 27,450 taken out.

Where in the world is medical treatment free?

Only one nation—Brazil—offers universally free healthcare. According to the constitution, everyone has the right to healthcare. Everyone in the nation, even transient guests, has access to free medical treatment.

to know more about health insurance here:

brainly.com/question/29042328

#SPJ1

Other Questions
Which word in the sentence is a coordinating conjunction?She is talkative, yet she is a good student.A. isB. studentC. yetD. sheE. good HELLLPPP I NEED THIS DONE TODAY AND PLS EXPLAIN A bicycle is probably not a computer because it does not have a screen require electricity use information to solve a problem use the internetPls anwser quick Complete the following decision box for this game. American's profits are on the left in each situation, Braniff's on the right. A dice is rolled. What is the probability of rolling a 6 or less than 4? A interest rate that changes based on the base rate used by the bankA. CurrentB. FixedC. HighD. Variable Britain, France, and Russia were part of the:A.Allied Powers B.Axis Powers C.Big ThreeD.Four Policemen How do you solve a 5 =- 5a 5? 9.Which must pass through the state probate court system?O A. Testamentary trustO B. Living trustO C. Pour-over trust Mr. Hasson has a coupon that says 25% off. He buys a pair of biking shorts that originally costs $34. He calculates 25% of 34 and determines he needs to pay $8.50 for the shortsExplainWhat is the error?Why do you think he made that error?What is the correct way to find the sale price? Hillary wrote an opinion piece about a book she read.A great summer book is The Mystery at Lost Lake because the plot is so exciting. In this book, a group of friends solve a mystery. The characters have to work together because someone or something does not want them to learn the truth!What did Hillary forget to include in this opinion piece? A. her opinion B. a conclusion C. reasons for her opinion D. linking words and phrases What steps led to American participation in ww2 ? The area of a rectangular rug is (3x +9) square units. Factor (3x +39) to find possible dimensions of the rug. Answer for brainless 15) Find x if mm/MTU = 38, and m/STU = 2x + 88.x + 50 = 2x + 88 Communication is the exchange of information. Investigations usually startand end with communication. Which of the following steps in communicationis a scientist likely to take after completing an investigation?A. Write a letter to the local newspaper announcing the results.B. Do background research.C. Discuss the results with scientists who have performed similarinvestigations.D. Form a hypothesis HELP PLEASE A-PEX!!! Please help me with this question please!!!!!!!!!!!!!! How is Cassy's story connected with the themes of the book? Choose two examples and explain how they evoke a specific theme. Your response should be at least 150 words Kim learns how rocks can change from one type into another over a long period of time. She knows that a rock that undergoes extreme heat and pressure below the surface of Earth can be turned into a metamorphic rock. What processes could cause a metamorphic rock to return to the surface of Earth to be worn down again?Choose the two that apply. A. deposition B. plate movement C. chemical changes D. wind or water erosion An ideal gas (which is is a hypothetical gas that conforms to the laws governing gas behavior) confined to a container with a massless piston at the top. (Figure 2) A massless wire is attached to the piston. When an external pressure of 2.00 atm is applied to the wire, the gas compresses from 6.40 to 3.20 L . When the external pressure is increased to 2.50 atm , the gas further compresses from 3.20 to 2.56 L .In a separate experiment with the same initial conditions, a pressure of 2.50 atm was applied to the ideal gas, decreasing its volume from 6.40 to 2.56 L in one step.If the final temperature was the same for both processes, what is the difference between q for the two-step process and q for the one-step process in joules?