Answer:
0
Explanation:
The statement, print(8 % 4) will produce the output 0 ;
The print statement is an inbuilt function which is used to output a typed string or display result of a Mathematical calculation and so on.
The expression in the print statement gives 0;
8%4 means, the remainder when 8!is divided by 4 ; 8 /4 gives 2 without a remainder. Meaning that :
8%4 = 0
Hence, print(8 % 4) = 0
. Create a java File call Sales.Java contains a Java program that prompts for reads in the sales for each of 5 salespeople in a company. It then prints out the id and amount of sales for each salesperson and the total sale. 2. Compute and print the average sale. 3. Find and print the maximum and minimum sale. 4. After the list, sum, average, max and min have been printed, ask the user to enter a value. Then print the id of each salesperson who exceeded that amount, and the amount of their sales. Also print the total number of salespeople whose sales exceeded the value entered. 5. Instead of always reading in 5 sales amounts, in the beginning ask the user for the number of sales people and then create an array that is just the right size. The program can then proceed as before
Answer:
The program is as follows:
import java.util.*;
public class Sales{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int salesPeople;
System.out.print("Number of Sales People: ");
salesPeople = input.nextInt();
int[] salesID = new int[salesPeople];
float[] salesAmount = new float[salesPeople];
float total = 0;
for(int i = 0; i<salesPeople;i++){
System.out.print("ID: "); salesID[i] = input.nextInt();
System.out.print("Amount: "); salesAmount[i] = input.nextFloat();
total+=salesAmount[i]; }
System.out.println("ID\t\tAmount");
for(int i = 0; i<salesPeople;i++){
System.out.println(salesID[i]+"\t\t"+salesAmount[i]); }
System.out.println("Total Sales: "+total);
System.out.println("Average Sales: "+total/salesPeople);
Arrays.sort(salesAmount);
System.out.println("Minimum Sales: "+salesAmount[0]);
System.out.println("Maximum Sales: "+salesAmount[salesPeople-1]);
float sales;
System.out.print("Print records that exceed: "); sales = input.nextFloat();
System.out.println("\nID\t\tAmount");
int count = 0;
for(int i = 0; i<salesPeople;i++){
if(salesAmount[i]>sales){
System.out.println(salesID[i]+"\t\t"+salesAmount[i]);
count++; } }
System.out.print("Total sales records that exceed "+sales+" are: "+count);
}
}
Explanation:
See attachment for program source file where comments are used as explanation
todas las computadoras son controladas por hardware?
Answer:
"La placa base está compuesta de más partes que alimenten y controlen el equipo. A diferencia del software, el hardware es una entidad física. ... Sin embargo, sin la creación de hardware para realizar tareas dirigidas por software a través de la unidad central de procesamiento, el software sería inútil."
Explanation:
(Sorry, I don't know much Spanish, so there might be mistakes. I hope this helps you.)
How are sensors and microprocessors used to control a central heating system which uses an oil burner as the source of heat
Answer:
sensors are used to measure physical quantities such as temperature, light, pressure, sound, and humidity. They send signals to the processor . a security alarm system may have an infrared sensor which sends a signal when the beam is broken.
Explanation:
im just smart lol
5.2
Explain ONE reason why the special equipment is used when
testing eyesight for a driver's licence.
(2)
Answer:
In order to reduce the risk of accidents on the roads.
Explanation:
The special equipment is used when testing eyesight for a driver's license in order to reduce the risk of accidents on the roads. Good eyesight is very important for good and safe driving so to find out the eyesight of the driver, the license officer used special equipment in order to check driver's eyes. If the eyesight is good, the officer provide license to the person otherwise not so that no accidents happen on the road.
A ____ is an icon that does not directly represent a file, folder or application but serves as a link to it?
Answer:
Shortcut
Explanation:
A file can be defined as a computer resource that avails end users the ability to store or record data as a single unit on a computer storage device.
Generally, all files are identified by a name, icon, size, and type (format) such as audio, image, video, document, system, text, etc.
Furthermore, files are organized or arranged in directories. These directories are paths that describes the location wherein a file is stored on a computer system.
A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer on how to perform a specific task and solve a particular problem. Thus, it's a computer program or application that comprises of sets of code for performing specific tasks on the system.
In Computer science, it's possible to create a shortcut in several directories (locations) on a computer, so as to reference a file, folder or software application and serve as an executable link.
Hence, a shortcut is an icon that does not directly represent a file, folder or application but serves as a link to it.
Additionally, deleting the shortcut of a data file, folder or software application would not permanently delete or uninstall the main data file respectively.
n
Which of the following is not a goal of a persuasive speaking?
a. to motivate to action
b.
to change attitudes, beliefs, or values
to strengthen or weaken attitudes, beliefs, or values
d. to define, demonstrate, or instruct
C.
Answer: D. to define, demonstrate, or instruct.
Explanation:
Persuasive speaking is the form of speaking that we usually engage in. It is used to convince people. As individuals, we usually engage in persuasive speaking. We argue about different things and try to convince the other person to agree with us.
Th goals of persuasive speaking is to motivate to action, to change attitudes, beliefs, or values and to strengthen or weaken attitudes, beliefs, or values.
It should be noted that the goal of persuasive speaking isn't to to define, demonstrate, or instruct. Therefore, the correct option is D.
Answer:
Simple Answer: D
Drag each tile to the correct box.
Albert has some software on his system. Help him identify the software based on its functions.
database software
word processor
spreadsheet software
multimedia software
can be used to create tables with embedded calculations
arrowRight
can be used to edit .doc files
arrowRight
can be used to store data in ordered form
arrowRight
can play .mpg and .mp3 files
arrowRight
Answer:
1. Spreadsheet software.
2. Word processor.
3. Database software.
4. Multimedia software.
Explanation:
A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer on how to perform a specific task and solve a particular problem.
Simply stated, it's a computer program or application that comprises of sets of code for performing specific tasks on the system.
Basically, the various type of softwares used on computers to perform specific functions include the following;
1. Spreadsheet software: it can be used to create tables with embedded calculations. A spreadsheet can be defined as a file or document which comprises of cells in a tabulated format (rows and columns) typically used for formatting, arranging, analyzing, storing, calculating and sorting data on computer systems.
2. Word processor: it can be used to format or edit .doc files. Some examples of word processors are Notepad, Microsoft Word, Sublime text, etc.
3. Database software: it can be used to store data in ordered form. Thus, it allows computer users to efficiently retrieve and manage their data with an appropriate level of security. These records are stored and communicated to other data user when required or needed.
4. Multimedia software: it can play .mpg and .mp3 files. A multimedia software refers to a software that is designed and developed to accept, utilize and combine various file formats such as audio, video, text, animation effects, etc.
Have you searched Buzz Ch.at on playstore
Answer:
Reorder terms.
y=52x−1
Cancel the common factor of 22.Factor 22 out of −2-2.
y−4=5x2+52⋅(2(−1))y-4=5x2+52⋅(2(-1))
Cancel the common factor.
y−4=5x2+52⋅(2⋅−1)y-4=5x2+52⋅(2⋅-1)
Rewrite the expression.
y−4=5x2+5⋅−1y-4=5x2+5⋅-1
Multiply 55 by −1-1.
y−4=5x2−5
One of the following is NOT a type of Intellectual Property
Group of answer choices.
a) Copyright
b) Trademark
c) Trade Secrets
d) Privacy
Answer:
d) Privacy
Explanation:
An intellectual property can be defined as an intangible and innovative creation of the mind that solely depends on human intellect.
Simply stated, an intellectual property is an intangible creation of the human mind, ideas, thoughts or intelligence. They include intellectual and artistic creations such as name, symbol, literary work, songs, graphic design, computer codes, inventions, etc.
Generally, there are different types of intellectual property (IP) and this includes;
a) Copyright
b) Trademark
c) Trade Secrets
However, privacy is a type of intellectual property.
Can anyone help me solve this?
Answer:
what should be basically be done in this question?
I just need some help working out this Java code! I can list the instructions below:
Modify the CountSpaces program so that contains a String that holds your favorite inspirational quote. Pass the quote to the calculateSpaces method and return the number of spaces to be displayed in the main method.
We're given this to start however I have been struggling as there are two classes and it's been confusing me. Thanks so much for any help! All good and God Bless!
public class CountSpaces
{
public static void main(String[] args)
{
// write your code here
}
public static int calculateSpaces(String inString)
{
// write your code here
}
}
Answer:
public class CountSpaces
{
public static void main(String[] args)
{
String quote = "The concept of infinity is meaningless inside of an insane human mind.";
int nrSpaces = calculateSpaces(quote);
System.out.println("Nr spaces in your quote is " + nrSpaces);
}
public static int calculateSpaces(String inString)
{
int count = 0;
for (int i = 0; i < inString.length(); i++) {
if (inString.charAt(i) == ' ') {
count++;
}
}
return count;
}
}
Explanation:
In this example there is only one class, and since all methods are static the true concept of the class is not even being used.
The smallest piece of information a computer can store is
Answer:
bit
Explanation:
confia
What do you call a commercial transaction beyween a buisness and buisness thatis transactedd online?
A.B2B - commerce
B.B2.B commerce
C. B2b digital transaction
D.B2B e - commerce
E. Non of the above
Answer:
c.B2b digital transaction
Explanation:
yan lang po sana makatulong
what do you understand by the terms:
I)input
ii)process
iii)storage
iv)output
an output device translate information processed by the computer into a form which you can understand.
input device are used to enter information such as letters, numbers, sounds or picture into a computer.
Select the three reasons that the gaming industry is set to grow.
A) more colleges offering jobs in game design
B) a decrease in the average age of gamers
C) an expanding market on mobile phones
D) expanding markets in Asia
E) new accessories that will attract more players
Answer:
expanding markets in Asia, new accessories that will attract more players, an expanding market on mobile phones
Explanation:
When visiting or learning about other places, what new things have you experienced? Choose all that apply.
food and drink
music and art
languages
values and ideas
technology
Answer:
All of these answers
Explanation:
How Many types of application Software are there?
Answer:
there are 2 types of application software
Why did Stephen Hawking stop playing hide and seek?
Answer:
because she keeps using a metal detector.
What can always be seen in the Styles gallery?
O built-in styles with samples
O the original formatting of the document
O changes that have been made to the document's text
O examples of the last five formats used
Please help ASAP
Answer:
examples of the last five formats used
please mark me as brainliest i dont have 1 yet :/
Diana has created a graphic design portfolio for a major project. What kind of portfolio would increase Dlana's chances of getting selected?
OA
a portfolio with some case studies of her graphic design work
OB.
a portfolio with graphic designs in her favorite theme
Ос.
a portfolio containing contact numbers of references
OD.
a portfolio that emphasizes large images and many colors
OE. a portfolio that emphasizes her qualifications and experience
Answer:
Hello There!!
Explanation:
I believe the answer is O A. a portfolio with some case studies of her graphic design work.
hope this helps,have a great day!!
~Pinky~
How did Avery and Garth most likely create their
diagrams?
O Avery used SmartArt and added a shape, whereas
Garth used four shapes.
O Avery used four shapes, whereas Garth used
SmartArt and added a shape.
O Both Avery and Garth used SmartArt and added a
shape.
O Both Avery and Garth used four shapes.
Help!!!
What is the next line?
>>>
tupleB = (5, 7, 5, 10, 2,5)
tupleB.index(5,3)
>>>
A. 0
B. 5
C. 3
D. 1
The right answer is option 4: 2
Explanation:
Lists are used in Python to store elements of same or different data types.
Different functions are used in Python on List. One of them is count.
Count is used to count how many times a specific value occurs in a list.
The syntax for count is:
listname.count(value)
In the given code,
The output will be 2
Hence,
The right answer is option 4: 2
what is the most improved Android robot
Answer:
They are the humanoid robots.
help,these are true and false and tick and cross
Answer:
1.
a.true
b.false
2a internal
Explanation:
hope it helps you
who established computer
Answer:
Charles Babbage
Explanation:
I studied abt him
Choose the issue that is occurring from the drop-down menu. During the , development teams transform the requirements into a software application design. During the , the software design is implemented by developers in code. In the , software is evaluated for quality. Any issues with the software are logged as to be resolved by developers. Software that is maintained by developers is said to be .
Answer: See explanation
Explanation:
During the, (software design phase), developmentt teams transform the requirements into a software application design.
During the (software development phase), the software design is implemented by developers in code.
In the (software evaluation phase), software is evaluated for quality.
Any issues with the software are logged as (bugs) to be resolved by developers.
Software that is maintained by developers is said to be (supported).
Answer:
1) 2
2) 1
3) 2
4) 2
5) 3
Explanation: just did it
If a user has just added a simple triangle shape into a diagram, how can the triangle be adjusted? Check all that
apply.
O by making it bigger
O by adjusting it to be SmartArt
O by making it smaller
O by adjusting it to be different style
O by making it thinner
O by making it thicker
O by adjusting it to be a different color
O by rotating it
Kiko loves to surf the internet and check on different websites. One day he received an email from unknown source. When he opens it, he was directed to a site and logged using his credit card number. After a few days,he learned that his card was use by someone in purchasing an expensive item. What internet threat did Kiko experience and what can you do to avoid it.
He experienced phishing
Phishing is a method of trying to gather personal information using deceptive e-mails and websites.
Here are some measures to avoid phishing. You can pick up the one you liked the most
Always check the spelling of the URLs in email links before you click or enter sensitive informationWatch out for URL redirects, where you're subtly sent to a different website with identical designIf you receive an email from a source you know but it seems suspicious, contact that source with a new email, rather than just hitting reply. Don't post personal data, like your birthday, vacation plans, or your address or phone number, publicly on social mediaPlease help me with my question
Answer:
1. Template
2. Name of the website
3. Signature of the instructor
¿Por qué es importante usar adecuadamente el celular?
Answer:
to stop it from breaking
Explanation: