Answer:
this happened to me before.. there isn't anything wrong you just have to wait a little
Explanation:
IT ethics are rules, policies, or principles that guide the behavior of IT professionals.
Question 7 options:
True
False
Answer: true
Explanation: true
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
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
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
Explanation:
BACK 100 RIGHT 90 FORWARD 50
what are quantum computers and it uses
Answer: Quantum computers are machines that use the properties of quantum physics to store data and perform computations
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.
Answer:
C. Make the slide image large so the charts can be seen clearly.
Explanation: Edg
I WILL GIVE BRAINLIEST TO WHOEVER HELPS ME
I keep pressing the "fn" key or "function" key and the disable / enable touchpad button
fn + f9 = enable/disable touchpad
but all it's doing is disabling it, everytime I press to enable it just keeps saying "touchpad has been disabled"
Assuming you're using Windows 10/11, navigate to settings --> Bluetooth and settings --> Touchpad (Or just search Touchpad on your search bar) --> Toggle the touchpad on.
Hope this helps! :)
Unit 6: Lesson 2 - Coding Activity 1 AP Computer science
The complete program is to define a boolean method that returns true if all elements of an array are negative, or return false, if otherwise
The method in java, where comments are used to explain each line is as follows:
//This defines the method
public static boolean chkNegative (double[] myArr) {
//This initializes a boolean variable
boolean isNeg = true;
//This iterates through the array
for (int i = 0; i < myArr.length; i++) {
//If the array element is 0 or positive
if (myArr[i] >= 0) {
//Then the boolean variable is set to false
isNeg = false;
//And the loop is exited
break;
}
}
//This returns true or false
return isNeg;
}
Read more about boolean methods at:
https://brainly.com/question/18318709
How many letters is in whatyoudoingareyougood
Answer:
43847823773 letters
Explanation:
haha to easy
Answer:
22 letters, 6 words.
:) hope this helps! <3
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
What does // this mean in your code?
Floor division
For example:-
11//5=2Some more :-[tex]\boxed{\begin{array}{c|c}\sf * &\sf Multiplication \\ \sf ** &\sf Exponention \\ \sf \% &\sf Remainder \\ \end{array}}[/tex]
My sister told me an extremely funny joke. what is the direct object for this sentence ?
Answer:
Explanation:
Describe the function of memory and
processing unit of Computer system
Answer:
Computer memory is a temporary storage area. It holds the data and instructions that the Central Processing Unit (CPU) needs. ... This allows the CPU direct access to the computer program. Memory is needed in all computers.
Explanation:
hope it help
which function would you use to change the appearance of data in a cell from decimal to percentage
Answer: use the numbers behind the decimal for the percentage
Explanation:
Answer:format
Explanation: I took the test
what is the hack of the cookie clicker
Answer:
Open SesameNew 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
what is the similarities between traditional and modernized presentation
Answer:
“Traditional” refers to those societies or elements of societies that are small-scale, are derived from indigenous and often ancient cultural practices. “Modern” refers to those practices that relate to the industrial mode of production or the development of large-scale often colonial societies.
What are the two main types of software
Answer:
System software and application software
Explanation:
Match each type of Save option on the left with a function on the right.
Answer:
the above is correct
Explanation:
what is the difference between windows 10 and windows 11
Answer: Windows 11 brings a brand-new, more Mac-like interface to the OS. It features a clean design with rounded corners and pastel shades. The iconic Start menu also moves to the centre of the screen along with the Taskbar. But you can move those back to the left, as they are in Windows 10, if you prefer.
Explanation:
Windows 11 will be a better operating system than Windows 10 when it comes to gaming. ... The new DirectStorage will also allow those with a high-performance NVMe SSD to see even faster loading times, as games will be able to load assets to the graphics card without 'bogging down' the CPU.
goal of any user-friendly game should be to create a good what for the player?
A. user experience (UX)
B. user-interface (UI)
C. user intuition (UIT)
D. user skill (US)
Answer:
A
Explanation:
The goal of user friendly game is to provide UX.
For example a user friendly game will have much different interface than professional CAD program.
Answer:
user friendly.
Explanation:
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
Answer:
A
Explanation:
How to recover permanently deleted photos from gallery?
Answer:
it's technically impossible to recover permanently deleted photos
but if you have a copy of the photo or maybe have backup that would help.
I'm sorry if my answer isn't much help
when a driver receives a text while driving, what can 2022 versa’s hands-free text messaging assistant do?
Answer:
It can translate text to voice
Explanation:
help me pleaseeeeeeee
Answer:
I think you have to ask to your parents
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
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 full form of DDR and GWBASIC?
Answer:
DDR: DDR stands for Double Data Rate.
GWBASIC: The full form of GW-BASIC is Graphics and Windows Beginner‘s All-Purpose Symbolic Instruction Code.
What is DDR? - It is a technique in computing with which a computer bus transfers data at double the rate sending data at rising and falling edges of a clock cycle. This method allows for sending 2 signals per clock cycle.
What is GWBASIC? - GW-BASIC is a dialect of the BASIC programming language developed by Microsoft from IBM BASICA. Functionally identical to BASICA, its BASIC interpreter is a fully self-contained executable and does not need the Cassette BASIC ROM found in the original IBM PC.
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.
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 does
mean in computer science
Answer:
i think the answer is a character or characters that determine the action that is to be performed or considered.
Explanation:
hope this helps
Sampson runs his own online business, and much of his success depends on the reliability and accuracy of various online data. How does integrity help to ensure that Sampson can trust the online data he is using?
A.
Integrity takes steps to ensure Sampson's information cannot be altered or deleted by unauthorized people.
B.
Integrity refers to a process that makes it impossible for anyone but Sampson to see the data that he is using.
C.
Integrity blocks all hackers from interfering with Sampson's data and what he does with it.
D.
Integrity allows Sampson to access and move data on an unsecured network.
Answer: because integrity takes steps to ensure Sampson's information cannot be altered or deleted by unauthorized people and that it stays intact, no matter where it goes
Explanation:
This is an Image of the ......... Topology.
The person who got it right ,i will mark hem or her as brainly.
Answer:
Bus Topology
Explanation:
[tex]{}[/tex]
a data visualization tool that updates in real time and gives multiple outputs is called
Answer:
A data dashboard
Explanation:
A data visualization tool that updates in real time and gives multiple outputs is called data dashboard.
Why is data dashboard required?A data dashboard is a tool that many businesses use to monitor, examine, and present data—typically to acquire understanding of the general health of an organisation, division, or particular procedure.
Businesses utilise an interactive analytical tool called a data dashboard to analyse and monitor the effectiveness of their plans using high-quality KPIs.
These tools give businesses access to real-time data so they can extract useful insights and guarantee ongoing growth.
Making it simpler for data analysts, decision-makers, and everyday users to understand their data, acquire deeper insights, and make better data-driven decisions is the main goal of a data analytics dashboard.
Data dashboard is a term used to describe a real-time updating, multi-output data display tool.
For more details regarding a data dashboard, visit:
https://brainly.com/question/29854747
#SPJ6