Examine the strength of the passwords that you use. How

vulnerable are your passwords to guessing? To brute-force

hacking?​

Answers

Answer 1

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


Related Questions

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)

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.

Question 2
1 pts
Which of the following is true about main and secondary memory?
O Main memory is short term memory used by the CPU in processing commands,
secondary memory is more permanent and used for storage.
Secondary memory is lost when the device's power is turned off.
Main memory is more permanent and used for storage, secondary memory is short
term memory is used by the CPU in processing commands.
Main memory is used for storage.

Answers

Answer:

Main memory is short term memory used by the CPU in processing commands,

secondary memory is more permanent and used for storage.

Explanation:

Main memory defines ur ram.

Secondary memory defines your hard drives etc.

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

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.

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.

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.

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.

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

_______ 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.

explain the fundamental Components of a Programming Language
can u answer in 8 lines

Answers

Answer:

1. Syntax: Syntax is the structure of a programming language which includes rules for constructing valid statements and expressions.

2. Data Types: Data types are used to define the type of data that is stored in a variable.

3. Variables: Variables are used to store data values.

4. Operators: Operators are used to perform operations on variables and values.

5. Control Structures: Control structures are used to control the flow of a program.

6. Functions: Functions are used to group related code into a reusable block.

7. Libraries: Libraries are collections of functions and data structures that can be used in a program.

8. Comments: Comments are used to document code and make it easier to understand.

Explanation:

A memory hierarchy is composed of an upper level and a lower level. Assume a CPU with 1ns clock cycle time. Data is requested by the processor. 8 out of 10 requests find the data in the upper level and return the data in 0.3ns. The remaining requests require 0.7 ns to return the data. Determine the corresponding values for the upper level memory.
Hit rate =
Miss rate =
Hit time =
Miss penalty =
AMAT =

Answers

Answer:

Hit rate = 80%

Miss rate = 20%

Hit time = 0.3 ns  

Miss penalty = 0.4 ns

AMAT ≈ 3.875 ns

Explanation:

8 out of 10 = 0.3ns. to return data  ( also finds data in the upper level )

2 out of 10 = 0.7 ns to return data

a) Hit rate in upper level memory

= 8/10 * 100 = 80%

b) Miss rate

= 2/ 10 * 100 = 20%

c) Hit time in the upper level memory

Hit time = 0.3 ns

d) Miss penalty

This is the time taken by the missed requests to return their own data

= 0.7 ns -  0.3 ns =  0.4 ns

e) AMAT ( average memory access time )

Hit rate = 80% , Hit time = 0.3ns

miss rate = 20%  Miss time = 0.7 ns

hence AMAT = (0.3 / 0.8 ) +  (0.7 / 0.2 )

                      ≈ 3.875 ns

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

[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:

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.

Can someone write an essay on data storage and describe the different storages I have listed below•
Hard drive disk
floppy disk
tape
compact disk
dvd and blu-ray
usb flash drive
secure digital card
solid state drive
cloud storage
punch card
...
.
.
. This is worth 100 points!!!
I really need this!

Answers

Answer:

Explanation:

Punch card is the oldest computer storage; followed by tape and then floppy disk. Hard drive goes back as far as floppy but is still in use today. CD/DVD/BR discs are all later storage but are also used for storing music and videos. USB flash, SD card, SSD and cloud storage are the common technologies used today for data storage.

Answer:

Explanation:

the other answer talks about when the different storages were used; here are their capacity comparison; in increasing order:

punch card - one hole represents 1 bit

tape - slightly more w/ 0/1 represented by sound

floppy disk - more as 0/1 represented by magnetics

hard drive - also magnetics but capacity ranges from okay (in MB) at the beginning to enormous (in TB) currently

CD - beginning to be okay but still under 1 GB

DVD and BR - better 5-28GB

USB/SD/SSD - good; all in 10s to 100s of GB

cloud storage - UNLIMITED!

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

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));

       }

   }

Grade Average Lab Assignment Purpose: The goal of this lab assignment is to learn how to use for loops and if/else commands. Write a program that will calculate a numeric average and a letter grade for a student. The main method creates an object of the Grades class that sends two parameters to the Grade class constructor: a student name and the grades to be averaged.

Answers

Answer:

//class to test the Grade class

public class GradeTest{

    public static void main(String []args){        

       //create the grades to be averaged

      double [] grades = {23, 45, 67, 12.6};

       

       //create an object of the Grade class and

       //pass in the necessary arguments to the constructor

       Grade grade = new Grade("John", grades);

       

       //print out the results from the Grade object.

       System.out.println("Your name is " + grade.getName());

       System.out.println("Your average score is " + grade.getAverage());

       System.out.println("Your letter grade is " + grade.getLetterGrade());

       

   }

}  //End of the GradeTest class

//The Grade class

class Grade {

   

   //create instance variables

   private String name;

   private double [] grades;

   

   //constructor for the class

  public Grade(String name, double [] grades){

       

       //initialize the instance variables

      this.name = name;

       this.grades = grades;

       

   }

   

   //method to return the name of the student

  public String getName(){

       //return the name

       return this.name;

   }

   

   

   //method to calculate the average of the grades

  public double getAverage(){

       

       double [] grades = this.grades;

       

       //initialize some needed variables

       double sum = 0;

       double average = 0;

       

       //loop through the grades array and add each element to the sum variable

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

           sum += grades[0];    

       }

       

       //calculate the average

      average = sum / grades.length;

       

       //return the average grade

       return average;

     

   }

   

   

   //method the calculate the letter grade from the average

   public char getLetterGrade(){

       

       //initialize some variables

      double average = this.getAverage();

       char letterGrade;

       

       //check the average and determine its corresponding letter grade

       if(average >= 40 && average < 45){

           letterGrade = 'E';

       }

       else if(average >= 45 && average < 50){

           letterGrade = 'D';

       }

       else if(average >= 50 && average < 60){

           letterGrade = 'C';

       }

       else if(average >= 60 && average < 70){

           letterGrade = 'B';

       }

       else if(average >= 70 && average <= 100){

           letterGrade = 'A';

       }

       else {

           letterGrade = 'F';

       }

       //return the letter grade

       return letterGrade;

       

   }

   

}   //End of the Grade class

Sample Output:

Your name is John

Your average score is 23.0

Your letter grade is F

Explanation:

The code above is written in Java and it contains comments explaining important parts of the code. It also contains a sample output got from running the program. To run this on your machine, copy the code and save in a file named GradeTest.java

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

Assume your sketch has a variable named silo, which stores an object that is defined by a class you have created. The name of the class is Cylinder. The Cylinder class has a method named volume, which calculates the volume of a cylinder using its property values and returns the calculated value. Which line of code is the correct line to use the silo variable, calculate volume, and store that value in a new variable.

a. let v = [silo volume];
b. let v = volume(silo);
c. let v = silo.volume();
d. let v = silo[volume];
e. let v = cylinder.volume(radius, height);

Answers

Answer:

c. let v = silo.volume();

Explanation:

When you create and initialize a new object you pass through that object's class constructor. The constructor is in charge of initializing all the necessary variables for that class including radius and height. Once you save the object in a specific variable (silo) you need to call the class methods through that variable, using the '.' command. Therefore, in this scenario, in order to call the volume() method you would need to call it from the silo object and save it to the v variable, using the following statement.

let v = silo.volume();

BRAINLIEST BRAINLIEST BRAINLIEST BRAINLIEST BRAINLIEST BRAINLIEST BRAINLIEST BRAINLIEST BRAINLIEST BRAINLIEST BRAINLIEST BRAINLIEST

Answers

Answer:

I think the answer is network

hope this helps

have a good day :)

Explanation:

Answer:

Network

Explanation:

A citizen of any group both

Answers

Answer:

Rights and Responsibilities

Explanation:

why does a computer need memory​

Answers

Answer:

For storage area and to put data

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:

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 function that simulates the roll of a six-sided dice. The name of the function is rollDice. The function accepts no parameters and returns a pseudorandom int: 1, 2, 3, 4, 5, or 6. Write only the function, not the main program. You may assume that srand() was invoked in the main function. There should not be any cin or cout statements in the function.

Answers

Answer:

int rollDice(){

  return 1 + rand() % 6;

}

Explanation:

At what point is photo editing too much? What is your opinion? Please answer in 5-7 sentences.​

Answers

Answer:

Too much photoshop to the point where you start to resemble Kim Kardashian is way too much. Simple men like me enjoy average women. Like makeup, an absurd amount of photoshop will deter most men as they'll find you shallow and fraudulent. More women should start to flaunt their natural beauty. Natural beauty is always a better indicator than excessive photoshop for a good relationship and partner.

Explanation:

Other Questions
Which of the following is directly responsible for an orgasm? Give five results of the Nanjing Treaty Cules son opciones para un alojamiento?There is MORE THAN ONE CORRECT ANSWER choice. Be sure to select all that apply.una pensinun campo de golfuna saunauna cabaaun centro vacacionalun hotel de lujo Helppppppppppppppp!!!!! Compare and contrast the Earths revolution and moons revolutionpls help dnt use g.o.o.glewill mark brainliest ________ was the forerunner of the English Reformation, who objected to the pope's interference in English politics. 3. __________is the energy of position. Hint: It is stored energy of an object due to its height that has the ability to become active. Page 259 * the alternative minimum tax base is typically ______ the regular income tax base. Please correct the given paragraph into making more sense in SpanishEres un profesor increble y me siento muy afortunado de haber sido colocado en tu clase porque me has ayudado a aprender ms sobre Espaa y es un lenguaje y una cultura maravillosos. You are designing a highway to AASHTO guidelines on rolling terrain where the design speed will be 65 mi/h. At one section, a 1.25% grade and a -2.25% grade must be connected with an equal-tangent vertical curve. Determine the minimum length of curve to meet SSD requirements you can use a calculator if you want. No links please help this is very important i will give you brain thing if its correct Type your response in the box. Think about how governments allocate their budgets. What might make government officials decide to spend additional money on Social Security instead of the military Find the area of this parallelogram. Be sure to include the correct unit in your answer. ____ is the requirement that every employee be able to perform the work of another employee.a. Collusion b. Task rotation c. Duty exchange d. Two-man control What is a major problem with CFCs?A-it is toxic to breathe.B-It does not readily break down in the atmosphere.C-It is a greenhouse gas.D-It isn't a good refrigerant What is the difference between a solution and a suspension. Dan is trying to construct a bigger square by utilizing and putting together pieces of square-shaped pieces of paper with similar dimensions. Without tearing or cutting, what is the minimum number of pieces required to achieve his objective? A small town surveyed 250 adults, 180 of whom were parents, about whether a park should be expanded. The results showed that 150 of the adults who were parents and 40 of the adults who err not parents thought the park should be expanded. A toddler is experiencing hemorrhagic shock and did not respond to an initial fluid bolus. What is the immediate next step of care What is the measure of ZB?