A good example of the implementation of the Election class based on the above UML diagram is given below
What is the Unified Modelling LanguageThe 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
Write a while loop that prints user_num divided by 2 until user_num is less than 1
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()
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?
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
What does it mean when someone says your voice doesn’t match how u look
Explanation:
it means that your voice it doesn't match with your personality like 2 characteristics by voice and by personality
What is an index? What are the advantages and disadvantages of using indexes? How do you use SQL to create an index?
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 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.
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
Convert 105 decimal to 128 binary form
Answer:
1101001 is binary 105
128 in binary is 10000000
Assume that x ransomware is currently pandemic. Explain your way to protect your systems (PCs or servers) from x ransomware without service interruption
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 basisUse strong passwords
Never use 1234.. or any easy passwords like your name,no etcAlways patch early
Try to patch on rare basisUse VPN
Turn off your RDP if you don't need right then
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
Answer:
A is the answer
Explanation:
Because I just did it.
Have a good day.
Careers and information technology deal with
Answer:
computers and telecommunications
Explanation:
You are given a list of N integers . find the largest sum of a continuous sequence from the given list
Explanation:
di5ditdi5suufsutydskydjgsukstralurilttdljstp7hzpgxuptdoyd
can the charger of my laptop get infected with viruses also when it was connected to it?
Answer:
Technically… yes. Because if the charging port is the same as a USB/etc connector port, then it can travel over that.
Explanation:
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:
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
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
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
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
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
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
Answer:
entity relationship diagram ( ERD)
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.
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
what is the benefit of Agile?
Answer:
The benefits of algae is I also don't know .I as also going to ask thanks for point
allows users to enter text and control the computer with their voice.
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
what is the importance of Microsoft word in our everyday lives?
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.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"
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
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.
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
When using sftp to share files, what is encrypted in addition to the authentification information?.
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
What is the term used to describe a singular container in an Excel spreadsheet?
O worksheet
Otab
Ocell
Orange
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:
What is referential integrity
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.
Why should we learn Ethereum? Explain.
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 brianliestList at least four items that security policy should include
Answer:
Purpose.
Audience.
Information security objectives.
Authority and access control policy.
Data classification.
Data support and operations.
Security awareness and behavior.
Encryption policy.
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
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.
when you use the predict step in the IPDE process you
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
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
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 infrastructureWhat 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 infrastructureLearn 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
by default which service accounts will windows powershell cmdlets manage
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