5.24 LAB: Two smallest numbers Write a program that reads a list of integers, and outputs the two smallest integers in the list, in ascending order. The input begins with an integer indicating the number of integers that follow. You can assume that the list will have at least 2 integers and less than 20 integers. Ex: If the input is: 5 10 5 3 21 2 the output is: 2 3 To achieve the above, first read the integers into an array. Hint: Make sure to initialize the second smallest and smallest integers properly. 265236.1527390

Answers

Answer 1

Answer:

Here is the C++ program:

#include <iostream>   //to use input output function

#include <vector>   //to use vectors

using namespace std;   //to identify objects like cin cout

int main() {   //start of main method

int size, number;   //to store size of list and input numbers

cout<<"Enter list size: ";   //prompts user to enter size of the list

cin >> size;   //reads list size from user

vector<int> v;   //creates a vector named v

for (int i = 0; i < size; ++i) {  //iterates till the size of list reaches

cin >> number;   //reads the input numbers

v.push_back(number);   }  //push number into a vector from the back

int num1 = v[0], num2 = v[1], current , temp;    //num1 is set to the element at 0-th position of v and num2 is set to be on 1st index of v

if (num1 > num2)  {  //if num1 is is greater than num2

temp = num1;   //assigns value of num1 to temp

num1 = num2;  //assigns value of num2 to num1

num2 = temp;  }  //assigns value of temp to num2

for (int i = 2; i < size; ++i)  {  //iterates size times

current = v[i];  //set current to the i-th index of v

if (current < num1)  {  //if current is less than num1

num2 = num1;   //assigns value of num1 to num2  

num1 = current;  }  //assigns value of current to num1

else if(current < num2)   {  //if value of current is less than num2

num2 = current;  } }  //assigns value of current to num2

cout<<num1<< " "<<num2<< endl;  } //dispalys num1 and num2 i.e. two smallest integers in ascending order

Explanation:

I will explain the program with an example.

Lets say the list size is 4 and numbers are 1 2 3 4

for (int i = 0; i < size; ++i)

This loop reads each number (1,2,3,4) and adds that number to the vector v which is the sequence container. The method push_back is used which inserts each number into the vector at the end, after the current last number and the vector size is increased by 1.

Next num1 = v[0] becomes num1 = 1

and num2 = v[1] becomes num1 = 2

if (num1 > num2) this condition is false so program moves to the statement:

for (int i = 2; i < size; ++i)

current = v[i]; becomes current = v[2]; which is current = 3

if (current < num1) is false so program moves to :

else if(current < num2) this is also false.

So the program moves to the statement:

cout<<num1<< " "<<num2<< endl;

which prints these two numbers 1 and 2 on output screen as the two smallest integers in the list in ascending order. Hence the output of the program is:

1  2

The screenshot of output of the program is attached.

5.24 LAB: Two Smallest Numbers Write A Program That Reads A List Of Integers, And Outputs The Two Smallest
Answer 2

Answer:

integers=[]

while True:

      number=int(input())

      if number<0:

       break

      integers.append(number)  

print("",min(integers))

print("",max(integers))

Explanation:


Related Questions

Programming Project: N-Queens Prerequisites: Chapter 5 For this project you will create a class that solves a variation of the 8-Queens Problem, the N-Queens Problem. If you need a recap of the 8-Queens Problem watch this video. The N-Queens Problem is identical to the 8-Queens Problem except we vary the size of the board. So, we can find the placement of queens on a 4x4 board (the 4-Queens Problem) or a 9x9 board (the 9-Queens Problem), etc. Your solution to the N-Queens Problem will be implemented entirely in the class ChessBoard which will at minimum include:

Answers

Socractic Would Definitely Help With An Answer Like This

What is a social media scam?

Answers

Answer:

Internet fraud is a type of cybercrime fraud or deception which makes use of the Internet and could involve hiding of information or providing incorrect information for the purpose of tricking victims out of money, property, and inheritance.

Is when people do fraud on the internet to take people money

______ means locating a file among a set of file​

Answers

Answer:

computer files

Explanation:

How many parameters (values inside of the
parenthesis) does a message dialog box take?
A. 1
B. 2.
C. O
D. 3

Answers

Answer:

The answer to this question is given below.

Explanation:

The message dialog box contains many parameters, but primarily three parameters are used such message, title, and button.

So the correct answer to this question is 3.

The message dialog box contains three parameters such as message, title, and buttons.

______________ helps you see how your document will appear on the paper. ​

Answers

Answer:

Print Preview

Explanation:

The "Print Preview" gives a person the idea on how his/her document will look like once it is printed out. Having an overview of the document will let you know whether you need to do some adjustments or edit some things before you actually print it.

There's a shortcut for this when it comes to the "Microsoft Word." All you have to do is to press ctrl + F2. Nevertheless, more modern computers don't need the print preview anymore since you can see the whole document on the actual print page.

A user is asked to type a caption for a photo in a web form's text field. If the caption didn't end with a punctuation mark (. ! ?), a period should automatically be added. A common error is to end with a comma, which should be replaced by a period. Another common error is to end with two periods, which should be changed to one period (however, ending with three periods (or more) indicates elipses so should be kept as is). The corrected caption is output. If the input is "I like pie", the output is "I like pie." If the input is "I like pie!", the output remains "I like pie!" If the input is "Coming soon…", the output remains "Coming soon…"

Answers

Answer:

Here is the c++ program:

#include <iostream>  //to use input output functions

using namespace std;  //to identify objects cin cout

int main() {  //start of main function

string caption;  //stores the caption

int last_index;  //stores the index position of the last character of caption

char last_character;  //stores the last character of the caption

cout<<"Please type a caption: ";  //prompts user to enter a caption

getline(cin, caption);  //reads the complete line of caption from user

last_index = caption.size() - 1;  //sets the last_index to the last character of caption

last_character = caption.at(last_index);  //sets the last_character to the last character positioned by last_index

if ((last_character == '!') || (last_character == '?')) {}  /* checks if the last character of the caption is either ! or ? and if this statement evaluate to true then this does not require any action */

else if (last_character == ',') {  //checks if the last character of the caption is a comma

caption.at(last_index) = '.'; }  //if the else if condition is true then replace that comma with a period .

else if (last_character != '.') {  //checks if the caption does not end with ! ? , .

caption.push_back('.');}  //append period to the caption . if above if else condition is true

else if ((last_index > 0) && (last_character == '.') && (caption.at(last_index - 1) == '.')) {  //checks if the caption has two periods .

if ((last_index > 1) && (caption.at(last_index - 2) == '.')) {}  //checks if the caption has three periods and does nothing if this is true

else {  //if caption has two periods

caption.pop_back();}}  //removes one period if caption has two periods .

cout << caption << endl;}  //displays the caption

Explanation:

I will explain the above program with an example

Lets say user input the caption: I like pie

So

caption = " I like pie"

The first if condition if ((last_character == '!') || (last_character == '?')) evaluate to false because the last character of the caption is not an exclamation mark of a question mark. So the program moves to the next else if statement:

else if (last_character == ',') This statement is also false because the last character of the caption is not a comma. So the program moves to the next else if part.

else if (last_character != '.')

Now this statement evaluate to true because the last character of the caption is not a period . sign. So this part is executed. It has a statement:

caption.push_back('.');

Now this statement uses push_back() method which adds new character i.e. period '.' at the end of the caption string, increasing its length by one.

So the output of the program is:

I like pie.

If the caption = " I like pie!" then this if ((last_character == '!') || (last_character == '?')) condition executes and since it does nothing {} so the caption remains as it is and the output is:

I like pie!

If the caption = "Coming soon…" then this else if ((last_index > 0) && (last_character == '.') && (caption.at(last_index - 1) == '.')) condition executes which checks if the caption has two period. When this condition evaluates to true then the statement inside this else if condition executes which is: if ((last_index > 1) && (caption.at(last_index - 2) == '.')) and this checks if the caption has three periods. Yes the caption has three periods so it does nothing and the caption remains as it is and the output is:

Coming soon…

However if the caption is Coming soon.. with two periods then the else part inside else if ((last_index > 0) && (last_character == '.') && (caption.at(last_index - 1) == '.')) condition executes which is: caption.pop_back(); and this removes one period from the caption and the output is:

Coming soon.

The screenshot of the program and its output is attached.

The email application used by Jim’s office is sending emails with viruses attached to them to user’s computers. What step should Jim try first to resolve the issue?
A. Downgrade the email software to an older, previous version
B. Buy a newer email program and migrate the office computers to that program
C. Switch from open source software to proprietary software
D. Check for and install patches or software updates

Answers

Answer:

A

Explanation:

This program will calculate the rise in ocean levels over 5, 10, and 50 years, Part of the program has been written for you. The part that has been written will read in a rise in ocean levels (per year) in millimeters. This value is read into a variable of type double named risingLevel. You will be completing the program as follows Output the value in risingLevel. This should be the first line of output. The output should be as follows (assume risingLevel has a value of 2.1) Level: 2.1 The number of millimeters higher than the current level that the ocean's level will be in 5 years (assuming the ocean is rising at the rate of risingLevel per year). This is your second line of output. The output will be as follows Years: 5, Rise: 10.5 The number of millimeters higher than the current level that the ocean's level will be in 10 years (assuming the ocean is rising at the rate of risingLevel per year). This is your third line of output. The output will be as follows (for a risingLevel" of 2.1 Years: 10, Rise: 21 The number of millimeters higher than the current level that the ocean's level will be in 50 years (assuming the ocean is rising at the rate of risingLevel per year). This is your final line of output.The output will be as follows (for a risingLevel" of 2.1) Years: 50, Rise: 105 For each of the above you need to output the number of years and the total rise in ocean levels for those years. This is all based on the value in risingLevel For example: ArisingLevel of 2.1 for 5 years would have the following output: Level: 2.1 Years: 5, Rise: 10.5 Years: Years: 50, Rise: 105 10, Rise: 21 Your output must have the same syntax and spacing as above

Answers

Answer:

Here is the C++ program:

#include <iostream>  //to use input output functions

using namespace std;  //to identify objects cin cout

int main(){  //start of main method

     

   double risingLevel;  //declares a double type variable to hold rising level

   cin>>risingLevel;  //reads the value of risingLevel from user

   

   cout<<"Level: "<<risingLevel<<endl;  //displays the rising level

   cout << "Years: 5, Rise: " << risingLevel * 5<<endl;  //displays the rise in ocean level over 5 years

   cout << "Years: 10, Rise: " << risingLevel * 10<<endl;  //displays the rise in ocean level over 10 years

   cout << "Years: 50, Rise: " << risingLevel * 50<<endl;  //displays the rise in ocean level over 50 years

}

Explanation:

The program works as follows:

Lets say the user enters rising level 2.1 then,

risingLevel = 2.1

Now the first print (cout) statement :

cout<<"Level: "<<risingLevel<<endl;  prints the value of risingLevel on output screen. So this statement displays:

Level: 2.1          

Next, the program control moves to the statement:

   cout << "Years: 5, Rise: " << risingLevel * 5<<endl;

which computes the rise in ocean levels over 5 years by formula:

risingLevel * 5 = 2.1 * 5 = 10.5

It then displays the computed value on output screen. So this statement displays:

Years: 5, Rise: 10.5                                                                                                                          Next, the program control moves to the statement:

   cout << "Years: 10, Rise: " << risingLevel * 10<<endl;

which computes the rise in ocean levels over 10 years by formula:

risingLevel * 10 = 2.1 * 10 = 21

It then displays the computed value on output screen. So this statement displays:

Years: 10, Rise: 21                                                                                      

Next, the program control moves to the statement:

   cout << "Years: 50, Rise: " << risingLevel * 50<<endl;

which computes the rise in ocean levels over 50 years by formula:

risingLevel * 50 = 2.1 * 50 = 105

It then displays the computed value on output screen. So this statement displays:

Years: 50, Rise: 105                                                                                                                          Hence the output of the entire program is:

Level: 2.1                                                                                                                     Years: 5, Rise: 10.5                                                                                                           Years: 10, Rise: 21                                                                                                            Years: 50, Rise: 105

The screenshot of the program and its output is attached.

P5.30 Having a secure password is a very important practice, when much of our information is stored online. Write a program that validates a new password, following these rules: •The password must be at least 8 characters long. •The password must have at least one uppercase and one lowercase letter. •The password must have at least one digit. Write a program that asks for a password, then asks again to confirm it. If the passwords don’t match or the rules are not fulfilled, prompt again. Your program should include a function that checks whether a password is valid.

Answers

Answer:

def check_password(password):

   is_short = False

   has_uppercase = False

   has_lowercase = False

   has_digit = False

   

   if len(password) < 8:

       is_short = True

   

   for p in password:

       if p.isupper():

           has_uppercase = True

       if p.islower():

           has_lowercase = True

       if p.isdigit():

           has_digit = True

   

   if is_short == False and has_uppercase and has_uppercase and has_digit:

       return True

   else:

       return False

while True:

   password = input("Enter your password: ")

   password2 = input("Enter your password again: ")

   

   if password == password2 and check_password(password):

       break

Explanation:

Create a function named check_password that takes one parameter, password

Inside the function:

Initialize the is_short, has_uppercase, has_lowercase, and has_digit as False. These variables will be used to check each situation

Check the length of the password using len() method. If it is smaller than 8, set is_short as True

Create a for loop that iterates through password. Check each character. If a character is uppercase, set the has_uppercase as True (use isupper() function). If a character is lowercase, set the has_lowercase as True (use islower() function). If a character is a digit, set the has_digit as True (use isdigit() function).

When the loop is done, check the value of is_short, has_uppercase, has_lowercase, and has_digit. If is_short is False and other values are True, return True. Otherwise, return False

Create an indefinite while loop, that asks the user to enter password twice. Check the entered passwords. If they are equal and the check_password function returns True, stop the loop. This implies that both passwords are same and password is valid.

Kim wants to add a new tab on the ribbon named “Paste as Pictures” for a group of special commands. Put the steps in the correct order to explain how she can accomplish this task.

Step 1: Go to the Backstage view.

Step 2: Select Customize Ribbon.

Step 3: After a dialog box opens, navigate to the right side.

Step 4:

Step 5:

Step 6: Then, click OK.

Answers

✔ Click Options.

✔ Click New tab.

✔ Click Rename.

✔ Type a name.

In Java code, the line that begins with/* and ends with*/ is known as?​​​​​​​​​​​​​​​​​​​

Answers

Answer:

It is known as comment.

Write the definition of a function named count that reads all the strings remaining to be read in standard input and returns their count (that is, how many there are) So if the input was:
hooligan sausage economy
ruin palatial
the function would return 5 because there are 5 strings there.

Answers

Answer:

The function written in C++

int str(string word) {

int count = 1;

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

 if(word[i] == ' ') {

  count++;

 }

}

return count;

}

Explanation:

This line defines the function

int str(string word) {

This line initializes count to 1

int count = 1;

This line iterates through the input string

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

This line checks for blank space

 if(word[i] == ' ') {

Variable count is incremented to indicate a word count

  count++;

 }

}

return count;

}

See attachment for full program

In the insert table of figures dialog box which drop down menu do you use to choose what information is displayed in the table

Answers

Answer:

caption label

Explanation:

20. The time for the disk arm to move the heads to the cylinder containing count
the desired sector is called

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The answer is the seek time.

The seek time is the time for the disk arm to move the heads to the cylinder containing the desired sector.

A script meaning sound effects

Answers

You write sound effects in a screenplay by capitalizing the sound your making in the action line of the script. For example “Jackie SLAMS the door shut.” or “The tires SCREECHES across the street.”

Which step is first in changing the proofing language of an entire document?

Answers

Select the whole document by pressing Ctrl+a.

Answer:

A) Click the Language button on the Status bar

Explanation:

After you do this proceed to find the language you want to change the proofing to.

What is the top digital certification earned by K-12 students?

A: Adobe Certified Associate Illustrator

B: Quickbooks Certified User

C: Microsoft Office Specialist

D: Adobe Certified Associate Photoshop

Answers

Answer: B

Explanation: Quickbooks Certified User is the most common of all listed. Adobe Certified Associate Illustrator is not so common, nor is Adobe Certified Associate Photoshop. Microsoft Office Specialist is for adults, not kids, the answer is B.

The top digital certification that is earned by K-12 students is Microsoft Office Specialist.

A Microsoft Office Specialist refers to an individual that prepares communication, presentations, reports, etc by operating Microsoft Excel, Word, PowerPoint.

It should be noted that K-12 students can become Microsoft Office Specialists when they pass a specific office program. The exam measures their competency in the use of Microsoft spreadsheet and word.

Read related link on:

https://brainly.com/question/24395331

This assignment involves writing a Python program to compute the average quiz grade for a group of five students. Your program should include a list of five names. Using a for loop, it should successively prompt the user for the quiz grade for each of the five students. Each prompt should include the name of the student whose quiz grade is to be input. It should compute and display the average of those five grades and the highest grade. You should decide on the names of the five students. Your program should include the pseudocode used for your design in the comments.

Answers

Answer:

Here is the Python program along with the comments of program design

#this program is designed to compute the average quiz grades for a group of five students  

students = ["Alex", "John", "David", "Joseph", "Mathew"] #create a list of 5 students  

grades = []  # create an empty list to store the grades in  

for student in students: #loop through the students list  

   grade = input("Enter the quiz grade for "+student+": ") #prompt the user for the quiz grade of each student

   #store the input grades of each student to grade

   grades.append(int(grade))  # convert the grade to an integer number and append it to the list  

print("Grades are:", grades) #display the grades of five students  

average = sum(grades) / len(grades) #compute the average of five grades  

print("The average of grades is:", average) #display the average of five grades  

highest = max(grades) #compute the highest grade

print("The highest grade is:", highest) #print highest grade  

Explanation:

The program first creates a list of 5 students who are:

Alex

John

David

Joseph

Mathew

It stores these into a list named students.

Next the program creates another list named grades to store the grades of each of the above students.

Next the program prompts the user for the quiz grade for each of the five students and accepts input grades using input() method. The statement contains student variable so each prompt includes the name of the student whose quiz grade is to be input. Each of the grades are stored in grade variable.

Next the append() method is used to add each of the input grades stored in grade to the list grades. The int() method is used to first convert these grades into integer.

Next print() method is used to display the list grades on output screen which contains grades of 5 students.

Next the average is computed by taking the sum of all input grades and dividing the sum by the total number of grades. The sum() method is used to compute the sum and len() method is used to return the number of grades i.e. 5. The result is stored in average. Then the print() method is used to display the resultant value of average.

At last the highest of the grades is computed by using max() method which returns the maximum value from the grades list and print() method is used to display the highest value.

The screenshot of the program and its output is attached.

Consider the following class declaration: public class Square { private double sideLength; public double getArea() { return sideLength * sideLength; } public double getSideLength() { return sideLength; } } Assuming that a no-arg constructor already exists, write an overloaded constructor for this class. It should accept an argument that is copied into the sideLength field. The parameter’s name is s.

Answers

Answer:

Here is the constructor:

public Square(double s) {  //constructor name is same as class name

sideLength = s;  } //s copied into sideLength field

Explanation:

The above constructor is a parameterized constructor which takes a double type variable s as argument. The name of constructor is same as the name of class.This constructor requires one parameters. This means that all declarations of Square objects must pass one argument to the Square() constructor as constructor Square() is called based on the number and types of the arguments passed and the argument passed should be one and of type double.

Here is where the constructor fits:

public class Square {

private double sideLength;

public Square(double s) {  

sideLength = s;  }

public double getArea() {

return sideLength * sideLength;}

public double getSideLength() {

return sideLength; } }

in a blank excel workbook go to insert tab on the ribbon, which of the following is Not vailable 1 smart art 2 coloumns ( not coloumn chart) 3 shapes 4 pictures​

Answers

Answer:

hahahahahahahhahah

The rows that are not available in a blank excel workbook go to the insert tab on the ribbon.  The correct option is D.

What are ribbons?

Click the Ribbon Display Options icon in the document's upper right corner. The Minimize icon is to the left of it. To display the Ribbon with all tabs and all commands, select Show Tabs and Commands from the menu that appears.

Basic units known as cells are created by rows and columns in an Excel workbook. There are only a set number of rows and columns available for the workspace.

There are 1,048,576 rows in the workbook's excel worksheet. It cannot be inserted using the Insert tab on the ribbon. Images, tables, and shapes can be added by selecting the tab or option for the Insert tab.

Therefore, the correct option is D, Rows.

To learn more about rows, refer to the link:

https://brainly.com/question/29889229

#SPJ2

The question is incomplete. Your most probably complete question is given below:

Pictures

Table

Shapes

Rows

Which of the following ports offers a fast connection that could be used to download and watch your favorite TV shows?

Ethernet

modem

FireWire

USB

Answers

Answer:

Ethernet

Explanation:

Ethernet cables provide a fast, wired connection to the internet

Answer: The answer should be FireWire. FireWire ports are used for audio/video output.

Solve the recurrence relation.
S(1)=1
S(n)= S(n-1)+(2n-1) for n>=2

Answers

Answer:

hope that will help you

Which of the following takes place during the research phase

Answers

i would say a formulation of the hypothesis

I am unsure if this is the correct question, but I think this is the full question:

Which of the following takes place during the research phase? (choose all that apply)

O software requirements are gathered

O software requirements are implemented in code

O software requirements are analyzed

O software requirements are detailed in a specification document

The answers to this question are software requirements are gathered, software requirements are analyzed, and software requirements are detailed in a specification document (1st, 3rd, and 4th options).

Shana works for a company that makes industrial kitchen equipment that is sold to cafeterias and restaurants. She helps the company’s sales representatives create presentations for clients. They regularly use a custom PowerPoint template to craft their pitches. The sales reps have asked for a slide that will allow them to add a diagram showing the benefits of the equipment they sell.

What steps should Shana take to meet the needs of the company’s sales representatives?

Insert a slide for a diagram each time a sales rep needs to create a new presentation.
In the template’s Slide Master tab, use Master Layout to pick a placeholder for a diagram.
In the template’s Slide Master tab, select Insert Layout, name the layout, and insert a placeholder.
Save a brand-new presentation using the template, select Insert, and choose Charts from the Illustrations command group.

Answers

Answer:

Its C on edg

Explanation:

100%

Answer:

c

Explanation:

Write a program that prompts the user to enter: The cost of renting one room The number of rooms booked The number of days the rooms are booked The sales tax (as a percent). The program outputs: The cost of renting one room The discount on each room as a percent The number of rooms booked The number of days the rooms are booked The total cost of the rooms The sales tax The total billing amount. Your program must use appropriate named constants to store special values such as various discounts.

Answers

Answer:

Written in Python

cost = float(input("Cost of one room: "))

numrooms = int(input("Number of rooms: "))

days = int(input("Number of days: "))

salestax = float(input("Sales tax (%): "))

print("Cost of one room: "+str(cost))

print("Discount: 0%")

print("Number of rooms: "+str(numrooms))

print("Number of days: "+str(days))

totalcost = numrooms * cost

print("Total cost: "+str(totalcost))

salestax = salestax * totalcost/100

print("Sales tax: "+str(salestax))

print("Total Billing: "+str(salestax + totalcost))

Explanation:

The next four lines prompts user for inputs as stated in the question

cost = float(input("Cost of one room: "))

numrooms = int(input("Number of rooms: "))

days = int(input("Number of days: "))

salestax = float(input("Sales tax (%): "))

The following line prints cost of a room

print("Cost of one room: "+str(cost))

The following line prints the discount on each room (No information about discount; So, we assume it is 0%)

print("Discount: 0%")

The following line prints number of rooms

print("Number of rooms: "+str(numrooms))

The following line prints number of days

print("Number of days: "+str(days))

The following line calculates total cost of rooms

totalcost = numrooms * cost

The following line prints total cost

print("Total cost: "+str(totalcost))

The following line calculates sales tax

salestax = salestax * totalcost/100

The following line prints sales tax

print("Sales tax: "+str(salestax))

The following line calculates and prints total billings

print("Total Billing: "+str(salestax + totalcost))

Omar is preparing to deliver a presentation to his class. It is about a program to collect samples from an asteroid that has been set up by the National Aeronautics and Space Administration. As he checks the spelling, PowerPoint identifies the name of the asteroid Bennu as a misspelled word.

Which option should Omar click in the Spell Checker pane so that PowerPoint does not identify the asteroid’s name as a misspelled word again?

Add
Change
Change All
Ignore Once

Answers

Answer:

Its A

Explanation:

On Edg

Answer:

A is the answer

Explanation:

it just is.

1. What is MEK? What is it used for?

Answers

Answer:

MEK is a liquid solvent used in surface coatings, adhesives, printing inks, chemical intermediates, magnetic tapes and lube oil dewaxing agents. MEK also is used as an extraction medium for fats, oils, waxes and resins. It is a highly efficient and versatile solvent for surface coatings.

Why is it important for element IDs to have meaningful names?

Answers

Answer:

Explanation:

In programming, it is very important that element ID's have meaningful names because it allows anyone reading the code to be able to easily identify what that element is and where it is most likely to be found in the code. This also applies to variables in every programming language. The clearer and more unique the name is the easier it becomes to know what that variable or element ID is representing which ultimately makes reading and debugging the code that much easier. This means that the entire process becomes more efficient as well.

It is vital for element IDs to have meaningful names due to the fact that it allows easy identification of the codes.

Element IDs refer to the id property of the interface of the element. It should be noted that the id property is unique in a document.

Element IDs should have meaningful names due to the fact that it allows east identification of the codes. This makes it easy for the person reading the code to identify them easily. The uniqueness of an element ID is vital to know what it represents.

Read related link on:

https://brainly.com/question/18173585

what is digital footprint ?

Answers

Answer:

the information about a particular person that exists on the internet as a result of their online activities.

Answer:

Your digital footprint is what you do on the internet and what information you input. That is why it is important to never share information online

Explanation:

How computer can affect the life of people?

Answers

Answer These are the negative effectsLow grades In school: others use the computer not for studying but something else. Which makes them unfocused in school.Waist and wrist pains: Due to long sitting ppl experience pains all over the body.

Addiction: People get addicted to the computer and makes them forget they have something important doing.
Other Questions
Read the scenario of a formal one-on-one discussion. Sarah and Aidan are discussing fundraising for a school club. SARAH: In the past, we have successfully held different types of fundraisers. From bake sales, we raised about $1,000. From car washes, we raised about $1,500. AIDAN: Is there a cost difference in having either kind of fundraiser? SARAH: Oh, that's a good question. I had not thought of analyzing the cost difference. I'm sorry about that. AIDAN: You have nothing to be sorry about. The information you have here is great. We can make a note to analyze the cost difference the next time we meet. Which appropriate behavior does Aidan display? He is helping Sarah stay on task. He is being considerate to Sarah. He is collaborating with Sarah on the agenda. He is encouraging Sarah to contribute. how do you inquire data in a certain field of study?write your top three methods and describe each HELP I ONLY HAVE 6 MINUTES PLEASE HELPP MEERead this short passage and answer the question below:Cruising into a Driverless FutureEerie as it may seem to drive alongside a car with no one behind the wheel, autonomous vehicles are poised to hit the roads in the next few years. A lawsuit between Uber and Waymo, Googles self-driving car project, settled in February 2018 illustrates the fierce battle to develop driverless car technology. Many cars already employ semi-autonomous technology, such as parking assistance and lane monitoring. The National Highway Traffic Safety Administration (NHTSA) suggests that automated vehicles could promote safety on the road. According to NHTSAs Federal Automated Vehicles Policy, 94 percent of car accidents are linked to human choice or error. Automated vehicles, the NHTSA writes, could reduce the frequency of crashes by eliminating some human error on the roads. The policy indicates positive features of automated vehicles beyond safety, including potential environmental benefits and increased mobility for those otherwise unable to drive. The cutting-edge technology, however, presents ethical questions and other concerns. Some research included in this roundup indicates that the environmental effects of widespread adoption of autonomous vehicles might not be positive. Safety benefits are not so clear-cut either.The author organizes this passage byA) comparing and contrasting different findings on autonomous vehicles B) explaining the best way to research the safety of autonomous vehicles C) presenting in chronological order the progress of autonomous vehicles D) describing the outcome of extensive research on autonomous vehicles What does the wave in Patricia Hubbell's poem "The Black Snake" symbolize?A: the movement of the oceanB: how the tree swaysC: the snake's movementD: how a tire rolls PLEASE PLEASE HURRY ITS REALLY URGENT If you put cold water in a cup and then put the same temperature water in it would it get colder or would it stay the same temperature? Select all that apply. Timur the Lame, the "Prince of Destruction": A. ruled with an iron fistB. encouraged scientific discoveryC. quashed all artistic expressionD. allowed the local leader to continue to ruleE. commissioned paintings sculptures and building projects Boilermaker House Painting Company incurs the following transactions for September:1. Paint houses in the current month for $11,000 on account.2. Purchase painting equipment for $12,000 cash.3. Purchase office supplies on account for $1,700.4. Pay workers' salaries of $2,400 for the current month5. Purchase advertising to appear in the current month for $1,200 caslh6. Pay office rent of $3,600 for the current month.7. Receive $6,000 from customers in (1) above.8. Receive cash of $4,200 in advance from a customer who plans to have his house painted in the following month.Required:1. Prepare journal entries for the above transactions.2. Post each transaction to T-accounts and calculate the ending balances.At the beginning of September, the company had the following account balances:Cash $17,100Accounts Receivable 800Supplies 320Equipment 5,600Accounts Payable 700Common Stock 16,000Retained Earnings 7,120.All other accounts had a beginning balance of zero.3. Prepare a trial balance. A file that is 228 megabytes is being downloaded. If the download is 19.7% complete, how many megabytes have been downloaded? Round your answer to thenearest tenth.I megabytes5?I Don't KnowSubmit Please sort between in animal cells in plant cells or in both.Cell membrane Cell wallCytoplasmMitochondrionChloroplastsVacuoleRibosomesGolgi Apparatus lysosomesEndoplasmic reticulum No ruler took more liberties with his religion than Akbar, the greatest of the Mughals, the Muslim dynasty that dominated India between the early 16th and 18th centuries. Like Ashoka and Gandhi, Akbar constructed a religious ideology that served to hold together a diffuse polity as it fed his own soul. It began with pragmatic policies of tolerance. Akbar had inherited the throne, at the age of 13, in 1556. In 1579 he abolished the jiziya, a tax imposed on all but the poorest non-Muslims. This was the most notable in a series of measures to recruit the Hindu majority and others to the cause of unifying and expanding his empire. He could be ruthless: his troops massacred 20,00025,000 non-combatants after a four-month siege of Chitor, a nearly impregnable Hindu fortress in Rajasthan. But he preferred incentives to coercion. He defeated the war-like Rajputs, but gave them rank and married their princesses, who were permitted to conduct Hindu rites in the harem. The Mughal-Rajput alliance was a bulwark of his empire. "Multicultural Akbar, The Economist, 1999. Explain ONE specific political development that resulted from the conditions created by the religious policies described in the passage? which elephants weight 2.85 tons when rounded to the nearest hundredth? Is it tiny: 2.805 tons Lizzy: 2.861 tons Raja: 2.842 tonsfanny: 2.849 tons Those are the 4 chooses and I am confused on it What causes a person to have their vision go in and out. Find the equation of this line.Simplify the fractional part.(Picture) According to a supply and demand model for apples, if the average household income decreases at the same time 10 apple orchards go out of business, one would expect the equilibrium Group of answer choices price of apples to be indeterminate and the equilibrium quantity of apples in the market to increase. quantity of apples in the market to be indeterminate and the equilibrium price of apples to increase. price of apples to increase and the equilibrium quantity of apples in the market to decrease. quantity of apples in the market to decrease and the equilibrium price of apples to stay the same. quantity of apples in the market to decrease and the equilibrium price of apples to be indeterminate. Can anyone find X Help, please what do other supporters of confederate symbols and monuments say they represent I WILL GIVE BRAINLYIST!!For every 4 apples, there are_____oranges what is your smallest bone in your body Read the excerpt from "The Legacy of Billy Mason.""I told you I should have stayed home!" Billy protestedplaintively. "I'm missing the first game of the playoffs,and my team really needs me!""I understand began his father."No, you don't understand," said Billy, "because younever cared about anything like I care about baseball,not in your whole life."Which sentence best characterizes Billy?O He feels misunderstood.O He does not like his family.O He is angry most of the time.O He is obsessed with sports. I need a poem NOW. (must be at least 12 lines) Your chosen creative piece must address the following topic: "What was the significance of Aryan and other tribal migrations on the Indus Valley?"Basically, you will want to tell the history of the Indus Valley Civilization through your story or lyrics. Be sure to include SPECIFIC DETAILS in your creative piece.The following specific details must be included in your poem:Include references to the Harappa/Mohenjo-Daro, the Aryans, and the Dravidians.Talk about how all three of these societies were interconnected. (Who came first; who came next; who came last? How were the societies the same? How were they different? Where in the Indus Valley did they live? How did they interact with each other?)Discuss, specifically, how this interconnection affected or changed the economy, the politics, the society, and the religions of the Indus Valley civilizations.