....................................................................................................

....................................................................................................

Answers

Answer 1

Answer:

......................

..............

......

....

...

..

.


Related Questions

Write a program Election that computes the tally in a write-in election, and announces the winner. Since the votes are write-in, there is no pre-determined set of candidates. Whoever appears the most in the votes is the winner. The user enters the individual votes, one vote per line, and ends entering with typing -1 or an empty line. To compute the tally, the program uses two arrays, a String [ ] variable (names), and an int [ ] variable (count). Upon receiving a single vote, the program checks if the name on the vote appears in names, and if it does, the program adds 1 to the value of the element in count. If the name does not appear in names, the program extends both arrays by one element, stores the name in names at the last position and store 1 in count at the last position. In this manner, the two arrays will have the same lengths. The initial length is 0 for both arrays. Below is an example of how the program may runplease I need to demonstrate the code,I need some comments next to every single line

Answers

The election program illustrates the use of ArrayLists, loops and conditional statements.

ArrayLists are resizable arrays, while loops and conditional statements are used to perform repetitions and make decisions, respectively.

The election program written in Java, where comments are used to explain each line is as follows:

import java.util.*;

public class Main {

 public static void main(String[] args) {

     //This creates a Scanner object

   Scanner input = new Scanner(System.in);

   //This creates a string ArrayList for the names of the candidates

   ArrayList<String> names = new ArrayList<String>();

   //This creates an Integer ArrayList for the vote count of the candidates

   ArrayList<Integer> votes = new ArrayList<Integer>();

   //This declares name as string

   String name;

   //This gets input for the name of the candidates

   name = input.nextLine();

   //This is repeated until the user enters "-1"

   while (!"-1".equals(name)){

       //If name is in the list,

       if(names.contains(name)){

             //This gets the index of the name  

             int pos =names.indexOf(name);

             //This calculates the number of votes

             Integer value = votes.get(pos)+1;  

             //This adds the vote to the vote ArrayList

             votes.set(pos, value);

       }

       //If otherwise

       else{

           //This adds the candidate name to the name ArrayList

           names.add(name);

           //This adds 1 as the vote of the candidate to the vote ArrayList

           votes.add(1);

       }

       //This gets input for the name of another candidates

       name = input.nextLine();

   }

   //This prints the name of the election winner

   System.out.println("Winner : " +names.get(votes.indexOf(Collections.max(votes))));

 }

}

Read more about ArrayLists, loops and conditional statements at:

https://brainly.com/question/19504703

PLZ HELP! 50 POINTS!!!! Which device is used to change a signal into a code?


Group of answer choices


an encoder


an antenna


a wave

Answers

B) Antenna they receives signals

Answer:

It should be an encoder.

Explanation:

hope this helps and sorry if its wrong

Computers were originally developed to accomplish various tasks in relative isolation, very different from the collaboration and communication we see today.

A.
True

B.
False

Answers

The answer is A, they were built for work.

What is this on G00gel Documents , how do I fix it?

Answers

Answer:

Sorry but it donest show the picture

Explanation:

Please help please help

Answers

Answer:

Explanation:

je pense que la reponse est la suivante a et b puis c

3- It is an Information page that is displayed through one of the Internet browsers, it can be saved along htm, html page.
a. Dynamic website
f. Static website
b. Ecommerce site
c. Social media sites​

Answers

Answer:

f. Static website

Explanation:

HTML stands for hypertext markup language. It is the standard markup language for web pages that define the structure of the content. These elements are the building blocks of any website.

HTML (Hypertext Markup Language) is the code that is used to structure a web page and its content. For example, content could be structured within a set of paragraphs, a list of bulleted points, or using images and data tables.

Static web pages are often HTML documents stored as files in the file system and made available by the web server over HTTP (nevertheless URLs ending with ". ... Static web pages are suitable for content that never or rarely needs to be updated, though modern web template systems are changing this.

Static website
Hope this will help.

My sister told me an extremely funny joke. what is the direct object for this sentence ?

Answers

Answer:

Explanation:

What are the two main types of software​

Answers

system software and application software

Answer:

System software and application software

Explanation:

This is an Image of the ......... Topology.


The person who got it right ,i will mark hem or her as brainly.​

Answers

Answer:

Bus Topology

Explanation:

[tex]{}[/tex]

This program is an example of:

def factorial(x):

if x == 1:

return x

else:

return x * factorial(x-1)

Group of answer choices

a do while loop.

recursion.

a for loop.

a while loop.

Answers

The program is an example of recursion

In computer programming, recursion is a process in which a function calls itself.

In a recursive program, there is a

base case and a recursive case.

When the condition of recursion is met, the base case is returned, else, the recursive case is continued.

In the function given above,

the base case is 'return x' under the condition 'if x == 1'. The recursive case is 'return x * factorial(x - 1)'.

So, the function runs until the base case it met and then it stops.

So, the program is an example of recursion.

Learn more about recursion here:

https://brainly.com/question/25797503

what is meant by formatting the presentation?​

Answers

It's deciding how things look. If you are on powerpoint you would choose the text style and colors and organize your information how you would like. If you were giving a speech you would decide what order your information is in.

A professional is someone who uses education and acquired skills to earn money in a career.
Question 10 options:
True
False

Answers

After using my big brain it’s true

Jacob is preparing a presentation on the health and social advantages of taking up a sport at an early age. Most of the slides in his PowerPoint presentation provide information using colorful graphics and charts. He plans to give notes to his audience to help them follow along.

Jacob is preparing a presentation on the health and social advantages of taking up a sport at an early age. Most of the slides in his PowerPoint presentation provide information using colorful graphics and charts. He plans to give notes to his audience to help them follow along.

How should Jacob format the Notes Master so it will be most helpful to his audience?

Do not include a slide image, leaving the maximum room to take notes.
Do not include a notes pane because graphics do not need to be annotated.
*Make the slide image large so the charts can be seen clearly.
Make the text pane large so the audience can draw their own charts.

Answers

Answer:

C. Make the slide image large so the charts can be seen clearly.

Explanation: Edg

what are quantum computers and it uses​

Answers

Answer: Quantum computers are machines that use the properties of quantum physics to store data and perform computations

what is internet? short ans​

Answers

Answer:

The Internet is a big network that connects computers all over the world.

A computer has __ IP address(es).


A. Many
B. One

Answers

Answer:

A computer has one IP address(es).

One

Explanation:

Have a great day!

In the program to evaluate passwords, you gradually built a message to display to the user. What did you add to the end of each message string to start each message on a new line?

message = message + "Your password needs an uppercase letter. _____ "

\endline

\e

\n

\newline

Answers

You need to add \n to start a new line

The option that one need to add to the end of each message string to start each message on a new line is \n.

What is a message string?

This is known to be a kind of running aspect of text messages that relates to one topic or any question.

Based on the program written above, the option that one need to add to the end of each message string to start each message on a new line is \n as it is the one that will give the best result.

Learn more about program  from

https://brainly.com/question/1538272

#SPJ2

Which of these would be the best way to inform an employee that they are losing their job?
Group of answer choices

group email

face-to-face conversation

instant message

personal email

Answers

Answer:

Terminations are a sensitive subject.

Even if you have strong reasons for letting an employee go, sitting them down to explain they are out of a job can be an awkward conversation.  

Some employers might be tempted to fire an employee using an impersonal method ⁠— like a phone call, email, or text ⁠— just to avoid that discomfort. But that is a very bad idea. We strongly recommend that employers should only fire staff during a face-to-face termination meeting.

what is the hack of the cookie clicker

Answers

Answer:

Open Sesame

New Pokemon Games - The Loop. Open Sesame is the control panel for Cookie Clicker. It can be opened with a console command, or by changing the name of your bakery.

Explanation:

Hope this helps you !!

Hacking is a process to exploit a computer network system or a private network within a computer. Simply put, unauthorised access to or control of a computer network security system for unauthorised purposes.

To better explain hacking, we must first understand hackers. It’s easy to a Hacking assume that they are intelligent and highly skilled with computers.

In fact, breaking security systems requires more intelligence and expertise than actually creating them. There are no hard and fast rules that can classify hackers into neat categories. However, in common computer terminology, these are called white hats, black hats, and gray hats. White hat experts audit their own security systems to make them more resistant to hacking.

Learn more about network system here:

brainly.com/question/23294592

#SPJ6

write 10 place where computer use and it uses​

Answers

Answer:

dynamite ohohoh

Explanation:

nânnananananananann eh

house store school park

What does // this mean in your code?

Answers

Floor division

For example:-

11//5=2

Some more :-

[tex]\boxed{\begin{array}{c|c}\sf * &\sf Multiplication \\ \sf ** &\sf Exponention \\ \sf \% &\sf Remainder \\ \end{array}}[/tex]

2. Input a decimal number and test if it is not equal to 16.5.


3. If a number x, input from the keyboard is greater than 57, add 4 to x and print the

answer.


4. Input two numbers and find the average only if they are both less than 100.

Answers

Answer:

2:

decNum = float(input("Decimal number: "))

if decNum != 16.5:

   print("Does not equal")

elif decNum == 16.5:

   print("Equal")

else:

   pass

3:

if x > 57:

   x += 4

   print(x)

4:

numOne = int(input("Enter number: "))

numTwo = int(input("Enter number: "))

if numOne < 100 and numTwo < 100:

   yes = numOne + numTwo

   print(yes // 2)

else:

   pass

Explanation:

Please give me brainliest.

Question 7 of 10
What are the three main parts to a slide presentation's structure?
A. Thesis statement, supporting evidence, and concluding quotes
B. Main idea, body, and summary
C. Introduction, body, and conclusion

D. Body, conclusion, and references

Answers

Answer:

A

Explanation:

IT ethics are rules, policies, or principles that guide the behavior of IT professionals.
Question 7 options:
True
False

Answers

Answer: true

Explanation: true

To remove a specified number of characters from anywhere within a string, you should use the ____ method.

Answers

Answer:

remove

Explanation:

when a driver receives a text while driving, what can 2022 versa’s hands-free text messaging assistant do?

Answers

Answer:

It can translate text to voice

Explanation:

relevez le rôle principal de la peau dans l,organime humain. je suis bloquée aidez moi metci​

Answers

Answer:

language?

Explanation:

What's the technique of drawing a 3D object with one vanishing point?​

Answers

I don’t no it brother n I was searching for this answer can u plz tell me
A one-point perspective drawing means that the drawing has a single vanishing point, usually (though not necessarily) directly opposite the viewer's eye and usually (though not necessarily) on the horizon line. All lines parallel with the viewer's line of sight recede to the horizon towards this vanishing point.

One Point Perspective is a type of linear perspective that uses a single vanishing point to create the illusion of depth in a work of art.
Parallel – Parallel lines are lines that never touch… even if they are extended indefinitely.
Horizontal Lines – Lines drawn from side to side level with the horizon.

john wants to draw a letter L. The turtle is pointing towards the top of the screen. Which series of commands will draw the shape? *

BACK 100 LEFT 90 FORWARD 50
BACK 100 RIGHT 90 FORWARD 50
BACK 200 RIGHT 90 BACKWARD 50
RIGHT 180 FORWARD 100 RIGHT 90 FORWARD 50

Answers

Explanation:

BACK 100 RIGHT 90 FORWARD 50

Match each type of Save option on the left with a function on the right.

Answers

Answer:

the above is correct

Explanation:

Other Questions
if something starts to get smaller which law of motion is it The first capital of Mississippi wasA: WashingtonB: JacksonC: TupeloD: Natchez can i get a 12 line poem about the sun and the moon Which expression is undefined? 5. average A body sets off from rest with a constant acceleration of 8.0 m/s? What distance will it have covered after 3.0 s? 6. can someone give me examples of interesting animals to describe The figure below shows the number of dots in each of the first four terms of a pattern.image 3946d177031641899e8a9055b29f185eWhich of these can be used to determine N , the number of dots, given t , the number of the term in the pattern?N=4(t1)N = 4 ( t 1 )N=3t+1N = 3 t + 1N=3(t1)+1N = 3 ( t 1 ) + 1N=3t+2 order the expression from least to greatest As a wave enters a more dense medium (i. E. , air to water), its velocity. Which of the following would9 indicate a new substance hasbeen formed?Bubbling and fizzingoccur.Powder dissolves inan unknown liquidA beaker ofhydrochloric acidevaporates afterseveral daysSolid iron is melted toa liquidColor YELLOWColor ORANGEColor PINKWhich one? What is the trickle down approach to poverty? what are the 3 types of cardiopulmonary injuries Libro emma y las seoras del narco pdf gratis descargar. 18/5=t/4 what does t= QuestionA triangle with area 40 square inches has a height that is four less than six times the width. Find the width and height of thetriangle A box is 36 inches long,18 inches wide, and 6 inches deep. How many cubic feet are in the box? what the first 3 prime numbers greater than 12 In most Greek communities, women...had the same rights as men.Bwere nearly as powerful as men.had far fewer right than men.were often abused and harshly treated. Compare. A. C. = An independent clause contains a subject and verb, expresses a complete thought, and can stand on its own as a complete sentence. A dependent clause contains a subject and verb but does not express a complete thought; it depends on being joined to an independent clause to form a complete sentence. Dependent clauses can often be recognized by a marker word at the beginning of the clause that signals a subordinate relationship with an independent clause. Many sentence fragments are dependent clauses that have mistakenly been separated from the independent clauses they belong with. Which of the following is a dependent clause? Mark all that apply. Choose all that apply 0 points No matter how you look at it. Where I went to elementary school. Since I forgot to bring a change of clothes. As if they were children. Ill go see your band tonight if I finish my work in time. When you arrive will determine whether we find good seats.