Question 2 Below is a Unified Modelling Language (UML) diagram of an election class. Election - candidate String - num Votes: int >+ Election () >+ Election (nm : String, nVotes: int) + setCandidate( nm : String) + setNum Votes(): int + toString(): String [30 marks] Using your knowledge of classes, arrays, and array list, write the Java code for the UML above in NetBeans. [7 marks]​

Answers

Answer 1

A good example of the  implementation of the Election class based on the above UML diagram is given below

What is the  Unified Modelling Language

The Election class is known to be one that is defined in the given code and it  known also to be one that includes its constructor, getter and setter methods, and ToString() method.

Furthermore, it showcases the process of generating Election entities, defining their features, and preserving them within an ArrayList. Lastly, it produces the specifics of every Election object enlisted in the ArrayList.

Learn more about  Unified Modelling Language from

https://brainly.com/question/15078406

#SPJ1

Question 2 Below Is A Unified Modelling Language (UML) Diagram Of An Election Class. Election - Candidate
Question 2 Below Is A Unified Modelling Language (UML) Diagram Of An Election Class. Election - Candidate

Related Questions

Drag the tiles to the correct boxes to complete the pairs.
Match each computer field with its appropriate description.
Tiles
information support and services
network systems
programming and software development
web and digital communications
Pairs
creating interactive materials
arrowBoth
providing technical assistance to users
arrowBoth
designing and developing applications
for an organization's use
arrowBoth
developing and implementing an
organization's technology infrastructure
arrowBoth

Answers

The matchup are:

information support and services - providing technical assistance to usersnetwork systems - creating interactive materialsprogramming and software development - designing and developing applications for an organization's useweb and digital communications -developing and implementing anorganization's technology infrastructure

What is network system?

A network is known to be made up of a set of computers, servers, network devices, and other devices that are linked so that it can allow data sharing.

Therefore, The matchup are:

information support and services - providing technical assistance to usersnetwork systems - creating interactive materialsprogramming and software development - designing and developing applications for an organization's useweb and digital communications -developing and implementing anorganization's technology infrastructure

Learn more about network systems from

https://brainly.com/question/1326000

#SPJ1

Firework: tool to design UX

Perl: programming language

Flash: software to design UI

Oracle: database software

You are given a list of N integers . find the largest sum of a continuous sequence from the given list

Answers

Explanation:

di5ditdi5suufsutydskydjgsukstralurilttdljstp7hzpgxuptdoyd

by default which service accounts will windows powershell cmdlets manage

Answers

By default, the service accounts which Windows PowerShell cmdlets will manage are group MSAs.

What is a cmdlet?

A cmdlet is abbreviation for command let and it can be defined as a lightweight and native PowerShell command that is designed and developed to be used by an administrator (end user) within the PowerShell environment of a Windows computer system.

In Computer technology, the PowerShell runtime is saddled with the responsibility of invoking these Windows PowerShell cmdlets based on the automation scripts that are provided by an administrator (end user) at the command line.

In this context, we can infer and logically deduce that by default, the service accounts which Windows PowerShell cmdlets will manage are group MSAs.

Read more on PowerShell cmdlets here: https://brainly.com/question/10674913

#SPJ1

List at least four items that security policy should include

Answers

Answer:

Purpose.

Audience.

Information security objectives.

Authority and access control policy.

Data classification.

Data support and operations.

Security awareness and behavior.

Encryption policy.

Convert 105 decimal to 128 binary form

Answers

Answer:

1101001 is binary 105

128 in binary is 10000000



A mathematics question paper has certain number of questions and each question is
assigned some random maximum marks. Mr. Myers wants to edit the marks assigned
to the questions such that:
1. All questions in the paper should have distinct maximum marks.
2. The total marks of all the questions should be as low as possible.
Mr. Myers wants to achieve this by making minimal changes in the original format,
assigning the question at least as much marks as it originally had. Find the minimum
total marks that he can set the paper for.
Input Specification:

Answers

Using the knowledge in computional language in Java it is possible to write a code that can edit the marks assigned for Mr. Myers:

Writting the code in Java:

#include <stdio.h>

int main()

{

   int n, i, sum=0;

   int a[i];

   printf("Enter the number of Questions in the paper : ");

   scanf("%d", &n);

   printf("Original marks assigned to every question :");

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

   {

       scanf("%d", &a[i]);

   }

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

   {

       sum += a[i];

   }

   printf("The minimum total marks Mr. myers can set the paper for. : %d", sum);

   return 0;

}

The minimum total marks that Mr. Myers can set the paper for is 15.

See more about computing at: brainly.com/question/15707178

#SPJ1

Think back to your early days of education—what role did technology play? Now ask a parent/guardian/older family member what role technology played in their education. Discuss the difference between your experience and this older family member’s experience with technology in education. Which do you think created a better learning experience?

Answers

The first use of technology in education is one that is seen in the invention of the use of  abacus for calculations such as addition, subtraction, multiplication, and division.

Note that schools were said to slowly create a curriculum where the subjects which are seen as most vital were taught.

By the mid-1600s, the invention of the modern library and the pencil were brought up, starting the first et of educational technology.

How has technology played a role in education?

It is one that has helped a lot of students to be able to look out or search for new subjects and broaden their understanding of a lot of hard concepts, such as STEM.

Note that The first use of technology in education is one that is seen in the invention of the use of  abacus for calculations such as addition, subtraction, multiplication, and division.

Learn more about technology from

https://brainly.com/question/25110079

#SPJ1

Which of the following should you do when accepting constructive criticism? (choose all that apply)
right: show a positive facial expression
right: maintain eye contact
wrong: interrupt and question the person frequently
right: do not interrupt or speak until you are sure the other person is finished making a point
wrong: cross your arms in front of your chest

I couldnt find the answer on brainly so i putted as a question for who needs it on brainly.

Answers

Maintain eye contact, maintain a cheerful facial expression, and wait to talk until the other person has completed delivering their argument.

Which of the following terms best encapsulates the moral standards that guide an individual's or a group's actions?

Introduction: The moral principles that direct a person's behaviour are known as ethics. Everyday decisions on how to respond to events, both personal and professional, are influenced by our sense of ethics.

What exactly does work ethics entail?

Work ethic is a principle based on diligence and hard labour. It also involves a conviction that work has moral value and can develop good character. The Protestant commitment to hard work is one instance. A work ethic could include of  being reliable, having initiative, or pursuing new skills.

To know more about delivering visit:-

https://brainly.com/question/30645383

#SPJ1

def rectangle_area(base,height):
area =base * height
return area


print("The area is ", rectanle_area(5,6))

ive been typing theabove in my answer but it still say "NOT QUITE"

Answers

Using the computer language in python to write a function code that calculates the area of ​​a rectangle.

Writting the code in python:

def rectangle_area(base, height):

z = base*height  # the area is base*height

print("The area is " + str(z))

rectangle_area(5,6)

See more about python at brainly.com/question/18502436

#SPJ1

Write the SQL commands to obtain the following information from the system catalog:

List every table that you created.
List every field in the Client table and its associated data type.
List every table that contains a field named TaskID.

Answers

The SQL commands to obtain the information from the system catalog is illustrated below.

How to illustrate the the SQL commands?

It should be noted that SQL commands are instructions to communicate with a database to perform a task.

List every table that you created. - SHOW TABLES

List every field in the Client table and its associated data type. - SHOW COLUMNS FROM CUSTOMER

List every table that contains a field named TaskID. - SELECT TBNAME FROM SYSCOLUMNS WHERE COLNAME = 'TaskID'

Learn more about SQL on:

brainly.com/question/25694408

#SPJ1

What is an index? What are the advantages and disadvantages of using indexes? How do you use SQL to create an index?

Answers

Answer:

In DBMS, an index is a physical structure that stores the values for a specific column in a table. An index can be used to extract specific information from data and access records within a table more quickly without having to scan the whole table.

An Index can be made up of one or more columns of a table and each index maintains a list of values within that field that are sorted in ascending or descending order. Indexes cannot be seen by the users, but they are just used to speed up the queries and improve the performance of a database application

Write code that declares variables to represent a user’s hourly rate of pay and the
number of hours worked.
Assign appropriate values to the variables, then calculate and display the user’s gross
pay for a week, the withholding tax (15% of gross pay), and the net pay (gross pay –
withholding). An example output would be:
Gross Pay: 1500
Withholding Tax: 225
Net Pay: 1275

c# language

Answers

The code for the given command is:

hrs = input("Enter Hours:")

h = float(hrs)

ret = input("Enter rate per hour:")

rate = float(ret)

p = computepay(h, rate)

print("Pay", p)

The above code asks the user for input of hourly pay rate and the number of hours worked and prints the output after making the necessary computations.

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

When using sftp to share files, what is encrypted in addition to the authentification information?.

Answers

In addition to the authentification information, the data files are encrypted when using SFTP to share files.

What is SFTP?

SFTP is an abbreviation for SSH File Transfer Protocol and it can be defined as a type of secured file transfer protocol that's designed and developed to run over the SSH protocol by supporting full security and authentication, file management, as well as sharing files between two or more users on an active computer network.

This ultimately implies that, SSH File Transfer Protocol can be used for file management, file transfer and provide end users with full security and authenticated file access.

In conclusion, we can infer and logically deduce that in addition to the authentification information, the data files are encrypted when using SSH File Transfer Protocol (SFTP) to share files.

Read more on file transfer here: brainly.com/question/20602197

#SPJ1

Write a while loop that prints user_num divided by 2 until user_num is less than 1

Answers

Explanation:

The required function in python is written as follows :

user_num = int(input())

#takes an input value and convert to an integer value.

while user_num >= 1 :

#While loops is conditioned to run if user_num is ≥ 1

user_ num = user_num / 2

#divide user_num by 2 and store the result as user_num

print(user_num)

#print user_num

The while loop condition does most of the work here, The while loops is conditioned to run the divison of user_num if the value of user_num is greater than or equal to 1 ; if user_num is lesser than 1, the loop terminates.

Lear more : brainly.com/question/15170131

laminiaduo7 and 9 more users found this answer helpful

THANKS

1

1.5

(8 votes)

Unlocked badge showing two hands making the shape of heart over a pink circle

Found this answer helpful? Say thanks and unlock a badge.

Advertisement

Answer

author link

teobguan2019

Ambitious

613 answers

1.2M people helped

Answer:

user_num = float(input("Enter a number: "))

while(user_num > 1):

user_num = user_num / 2

print(user_num)

Explanation:

Line 1:

Use built-in function input() to prompt user input a number and assign it to the variable user_num.

Since the default data type of the user input is a string, we need to convert it into float data type before assigning it to user_num. We can do the data type conversion by enclosing the user input into the built-in function float().

Line 3:

Create a while loop by setting condition while user_num bigger than 1, the line 4 & 5 should keep running.

Line 4:

Divide user_num by 2 and assign the division result back to the user_num.

Line 5:

Display updated value of user_num using built-in function print()

can the charger of my laptop get infected with viruses also when it was connected to it?​

Answers

Answer:

Technically… yes. Because if the charging port is the same as a USB/etc connector port, then it can travel over that.

Explanation:

what is the importance of Microsoft word in our everyday lives?​

Answers

Answer:

Allows us to create business documents.Helps to design and create cards, brochures, new letters etc. for business.Benefits teachers and students in developing innovative teaching and learning methods.Microsoft word is an important application for the purpose of education.It also helps in making notes instead of using notebooks.Ms Word also helps in making notes having graphs, charts, diagrams, tables etc.

What is referential integrity

Answers

The association between tables is referred to as referential integrity. A primary key is required for each table in a database and can appear in other tables as a result of its connection to the data in those other tables. Foreign keys are used when a primary key from one table appears in another table.

Careers and information technology deal with

Answers

Answer:

computers and telecommunications

Explanation:

Why should we learn Ethereum? Explain.

Answers

Answer:

Ethereum BenefitsIt has a large and committed global community and the largest ecosystem in blockchain and cryptocurrency. Wide range of functions. Besides being used as a digital currency, Ethereum can also process other financial transactions, execute smart contracts and store data for third-party applications.

Explanation:

Hope this helps and mark as a brianliest

when you use the predict step in the IPDE process you

Answers

If a person use the predict step in the IPDE process, you  are known to judge where possible points of conflict any take place.

Why using the IPDE process?

This is known to be Identify, Predict, Decide, and Execute.

The IPDE is regarded as a strategy that a person can make use of in off-road driving and as such, If a person use the predict step in the IPDE process, you  are known to judge where possible points of conflict any take place.

Learn more about IPDE from

https://brainly.com/question/2497669

#SPJ1

The ACME Online Store offers different preferred customer discounts for customers who are "None", "Bronze", "Silver" and "Gold".

The variable customer_category is a string that is one of these 4 values.

0 for "None"
5 for "Bronze"
10 for "Silver"
20 for "Gold"
Your colleague wrote the following program (Program C). Does the program that he/she wrote have the correct logic to assign the correct discount for each of the 4 valid values of customer_category?

Program C:

if customer_category == "None":

discount = 0

if customer_category == "Bronze":

discount = 5

if customer_category == "Silver":

discount = 10

if customer_category == "Gold":

discount = 20

Answers

Yes, the written program has the correct logic to assign the correct discount for each of the 4 valid values of customer_category

What is a Program?

This refers to the sequence of instructions that are keyed into a computer to execute user-specific commands.

Hence, we can see that based on the variable customer_category that has a string that is one of these 4 values:

0 for "None"

5 for "Bronze"

10 for "Silver"

20 for "Gold"

The program uses the correct syntax as it gives the correct discount based on the assigned values of the variable customer_category as executed with the syntax above.

Read more about programs here:

https://brainly.com/question/1538272

#SPJ1

what is the benefit of Agile?

Answers

Answer:

The benefits of algae is I also don't know .I as also going to ask thanks for point

What does it mean when someone says your voice doesn’t match how u look

Answers

Explanation:

it means that your voice it doesn't match with your personality like 2 characteristics by voice and by personality

Question 1 of 25
How can you best protect your network from web-based malware?
A. By setting up web filtering software to keep users from accessing
questionable sites
B. By using strong passwords to keep malware from attacking your
network resources
C. By installing software updates that include patches created to fix
security flaws
D. By running regular backups on all network resources

Answers

Answer:

Keep your computer and software updated. ...

Use a non-administrator account whenever possible. ...

Think twice before clicking links or downloading anything. ...

Be careful about opening email attachments or images. ...

Don't trust pop-up windows that ask you to download software. ...

Limit your file-sharing.

What is the term used to describe a singular container in an Excel spreadsheet?
O worksheet
Otab
Ocell
Orange

Answers

Cell is the term used to describe a singular container in an Excel.

What is a single box in a spreadsheet?

An active cell as seen in an Excel worksheet, is one which is made up of small rectangle or box called cell.

Note that the active cell is one that has the selected cell and it is where the data is entered if a person begin typing.

Hence, Cell is the term used to describe a singular container in an Excel.

Learn more about spreadsheet from

https://brainly.com/question/4965119

#SPJ1

Answer:

it is d

Explanation:

Assume that x ransomware is currently pandemic. Explain your way to protect your systems (PCs or servers) from x ransomware without service interruption

Answers

Let's check the precautions

Use MFA

MFA stands for multi factor authenticationThis is the complicated edition of general two step authentications we do on regular basis

Use strong passwords

Never use 1234.. or any easy passwords like your name,no etc

Always patch early

Try to patch on rare basis

Use VPN

Turn off your RDP if you don't need right then

Question 3 (5 points) ✔ Saved Janice is scrolling through her feed one day and notices that Abby said some awful things about Patricia. Janice thinks that what Abby is doing to Patricia is wrong, but she decides to log out of her account and ignore the cyberbullying. In this situation, Janice is a/an cyberbully. O advocate. O Internet troll. O bystander.​

Answers

Since Janice did ignore the cyberbullying, one can say that she is a  bystander.​

Who is a bystander?

The term connote a person that is said to be a nonparticipant spectator and in this case the person will do nothing even if someone is been killed in their presence.

Hence, Since Janice did ignore the cyberbullying, one can say that she is a  bystander.​

Learn more about bystander from

https://brainly.com/question/8516593

#SPJ1

In this situation, Janice is considered as a: D. bystander.

Who is a bystander?

A bystander can be defined as an individual that physically witnesses bullying or cyberbullying in digital forms such as social media, websites, and software applications.

In this context, we can infer and logically deduce that Janice is considered as a bystander because she witnessed how Abby said some awful things about Patricia.

Read more on bystander here: https://brainly.com/question/8516593

#SPJ1

allows users to enter text and control the computer with their voice.

Answers

Speech input software allows users to enter text and control the computer with their voice.

What is an input device that allows you to put text into a computer?

An example of these input device is the keyboard and it is one that allows a person to be able to enter letters, numbers and any kind of symbols into a computer.

Note that Speech input software allows users to enter text and control the computer with their voice.

Learn more about The keyboard from

https://brainly.com/question/26632484

#SPJ1

dentify the benefits of workplace diversity. Select all that apply.

The Americans with Disabilities Act (ADA) is a federal law that states employers must do which of the following for workers with disabilities?
right: provide reasonable job accommodations
wrong: hire disabled workers
wrong: make job accommodations no matter the cost

Im asking a question cuz i couldnt find the answer in brainly. for anyone who needs it

Answers

Answer:

A is the answer

Explanation:

Because I just did it.

Have a good day.

A/An ____ is a picture that shows the information that is created, stored, and used by a business system. normalization, entity relationship diagram, data flow diagram, data model​

Answers

Answer:

entity relationship diagram ( ERD)

Other Questions
What provides the genetic material of an organism what device is used to indicate passage of time? Household hydrogen peroxide is an aqueous solution of hydrogen peroxide (H2O2), and its concentration is often measured as a percent by weight. Most drug stores sell 3% solution, which means there are 3.0 g of H2O2 per every 100 g total of solution (H2O2 H2O). For the kinetics experiment, 15 mL of 3% (w/w) hydrogen peroxide solution was poured into a measuring cup with 120 mL of water. 5 mL of 1M sodium carbonate solution (Na2CO3) was also added to the mixture. What is the molar concentration (molarity) of hydrogen peroxide (in mol/L) of the final solution Convert 392 K into Celsius.Your answer should have three significant figures (round your answer to the nearest whole number).Use 273C for absolute zero. the length of the rectangle is 3 times the width. The perimeter is 65.6cm. find the width Pls help ASAP!! Plss 10.Compare the two different student's health habits and answer the questions that follow:Estudiante 1Estudiante 2Que pasa? Me llamo Miguel. Yo soy unpoco perezoso porque no me gusta nadahacer ejercicio entonces yo soy grande.Yo juego videojuegos todos los das- sonmis favoritas. Cuando yo no juegovideojuegos, yo miro Netflix.Normalmente, yo como mucha comidacuando yo miro televisin. Mis comidasfavoritas son: tocino, bistec, y papas.Tambin me gustan los espaguetis ypasteles. Los pasteles son muy sabrosos.Buenos dias! Me llamo Alicia. Hoy yocomo una naranja con pan tostado para eldesayuno. Luego, para almuerzo yo voy acomer una ensalada con lechuga, fresas, ycebolla. Las comidas nutritivas son misfavoritas.Despus de la escuela, yo corro porqueme gusta hacer ejercicio. Yo soy muyactiva y atltica. Me gusta mucho jugarvoleibol y ftbol con mis amigas.What foods does Student 2 like?naranes Answer if you knowDO NOT COPY OTHER PEOPLES ANSWER Which of the following can break solid rock? A. Growth of plant roots but not movement of glaciersB.Movement of glaciers but not growth of plant roots C.Both growth of plant roots and movement of glaciersD.Neither growth of plant roots nor movement of glaciers can break solid rock A student received a coupon for 17% off the total purchase price at a clothing store. Let c be theoriginal price of the purchase. Use the expression below for the new price of the purchase. Write anequivalent expression by combining like terms. What do "quisiera", "me trae", and "me gustara" all have in common when it comes to asking a waiter or waitress for something?A. they have nothing in commonB. they show dissatisfaction in the food servedC. they are stem-changing verbsD. they can be used interchangeably Si un perro de Mxico va a Estados Unidos los otros perros lo entendern? (Debate serio) Can someone help me?2b+17b+21Thanks Krysta is looking for a job cutting hair. One option is self-employment at The Richmond Salon, where she would pay $474 per month to rent a station and keep all of her earnings. Another option is to work at a franchise, where she would just have to pay the salon $6 for every haircut. If she performed a certain number of haircuts every month, the amount paid to either salon would be the same. How many haircuts would that be? How much would Krysta pay? Given the parent functions f(x) = 3x + 2 and g(x) = 5^x - 10, what is g(x) f(x)? (2 points)g(x) = f(x) = 5^x- 8 - 3xObg(x) = f(x) = 5^x - 12 - 3xg(x) f(x) = 3x - 8-5^xOdg(x) f(x) = 3x + 12-5^x Is the sentence a parallel structure??1.)Being happy is the same as being contented.a. Parallel b. Not parallel Which statement is true about this data set?3,1, 6, 4, 4, 4, 3, 2, 5, 3 Car dealers sometimes use the rule of thumb that a car loses about 30% of its value each year. 1. Suppose you bought a new car in December 2010 for $15,000. 2. Develop a general formula for the value of the car t years after its purchase. HELP if bats are able to see, why is echolocation important? A) it increases their flight speed.b) it helps bats see it's dark surroundings. C) it keeps them safe from Perdeoters. Answer This. I will give Brainliest if i can.