Answer:
"else statement"
Explanation:
Given
The above code segment
Required
The output of the program
Analyzing the program line by line, we have:
x = 10 ----> Initialize x to 10
y = 20 ----> Initialize y to 20
if x > y ----> check if x is greater than y
print("if statement") ----> Execute this line if the condition is true
The condition is false because 10 is less than 20, so: the statement will not be executed. Automatically, the else condition will be executed
else
print("else statement")
"else statement" without the quotes will be printed because the if condition is false
When media is used to communicate with a very large audience, it is referred to as media.
Answer:
mass media
Explanation:
Answer:Mass media communication
Explanation:
Abdullah wants to send sessitive data. Abdullah wants to make sure that only ahmed can see and read this. How can abdullah protect this data, so that ahmed can only access it. By using this information make an algorithm.
Answer:
Use an encryption algorithm
Explanation:
An encryption algorithm can be used to hide the message from parties in-between or any third parties that might want to intercept the message being sent by Abudullah to Ahmed.
Encryption algorithms use cryptographic methods to encrypt or code data such that only the sender and receiver of that data have the keys to properly decode/decrypt these messages/data.
The program prompts the user for five to ten numbers all on one line, separated by spaces, calculates the average of those numbers, and displays the numbers and their average to the user.
The program uses methods to:
1) get the numbers entered by the user all on one line separated by spaces;
2) calculate the average of the numbers entered by the user; and
3) print the results.
The first method should take no arguments and return a String of numbers separated by spaces.
The second method should take a String as its only argument and return a double (the average).
The third method should take a String and a double as arguments but have no return value.
IF user input is: 20 40 60 80 100
Answer:
import java.util.Scanner;
public class AverageDemo
{
public static String getNumbers()
{
String numbers;
Scanner scn = new Scanner(System.in);
System.out.println("Enter five to ten numbers all on one line, separated by spaces: ");
numbers = scn.nextLine();
return numbers;
}
public static double calcAverage(String numbers)
{
String[] values = numbers.split(" ");
double total = 0;
for (int i = 0; i < values.length; i++)
{
total += Integer.parseInt(values[i]);
}
if (values.length == 0)
return 0.0;
else
return (total / values.length);
}
// Method definition of printResults: print the results
public static void printResults(String numbers, double average)
{
System.out.printf("\nThe average of the numbers %s is %.2f\n", numbers, average);
}
// main method
public static void main(String[] args)
{
// Call the methods
String numbers = getNumbers();
double average = calcAverage(numbers);
printResults(numbers, average);
}
}
Output:
Tests of controls in an advanced computer system Can be performed using actual transactions or simulated transactions. Can be performed using only actual transactions because testing of simulated transactions is of no consequence. Is inadvisable because they may distort the evidence in master files. Is impracticable because many procedures within the computer processing activity leave no visible evidence of having been performed.
Answer:
Can be performed using actual transactions or simulated transactions.
Explanation:
Artificial intelligence (AI) also known as machine learning can be defined as a branch of computer science which typically involves the process of using algorithms to build a smart computer-controlled robot or machine that is capable of performing tasks that are exclusively designed to be performed by humans or with human intelligence.
Artificial intelligence (AI) provides smarter results and performs related tasks excellently when compared with applications that are built using conventional programming.
In an advanced computer system, test of controls can be performed using actual transactions or simulated transactions.
why are laptop employment of computer popular these days
Answer:
Because due to pandemic all the offices and employment sector are closed physically and to make their work smoothly people are preferring virtual platforms with the concept of work from home .
I hope it is helpful and mark me as brainlest and follow me plllzzz♥️♥️
1. Answer the following questions: a. What are the different types of number system? Name them.
Answer:
binary,decimal, hexadecimal and octal number system
Aarti, a museum employee, has created a table in access titled “Roman Achitecture”. She has included a field that links users images of buildings.
Answer:
memo
Explanation:
Aarti, a museum employee, has created a table in access titled “Roman Achitecture”. She has included a field that links users images of buildings
After a recent breach, an organization determined that phishing was used to gain initial access to the network before regaining persistence. The information gained from the phishing attack was a result of users visiting known malicious websites. What must be done in order to prevent this from happening in the future
Answer:
The organization could make it so that specific websutes that seem fake/unsafe are not accessible to the users. For example, downloading an extension into all the devices, that blocks these malicious websites (uBlock Origin)
What does RoHS stand for and why is RoHS compliance important?
Answer:
It stands for Restriction of Certain Hazardous Substances.
Web search says it is important because,
RoHS compliance dovetails into WEEE by reducing the amount of hazardous chemicals used in electronic manufacture. Put another way, RoHS regulates the hazardous substances used in electrical and electronic equipment, while WEEE regulates the disposal of this same equipment.
Explanation:
which of the following would not transmit signals from one point to another? a. telephone line. b. modem. c. fibre optics. d. coaxial cable
Answer:
b
modem
Explanation:
modem is used to receive signals not transmit
c. Compare Mainframe and Minicomputers with their key features
plzzz help
Answer:
Mainframe computer:
The size of the disk is large.
They have large memory storage.
The speed of processing is fast in comparison to minicomputer.
They are more expensive.
Minicomputer:
The size of disk is small.
They have less memory storage in comparison to mainframes.
Their processing speed is less in comparison to mainframes.
It is not as expensive as mainframes.
Explanation:
I hope this will help you
why are GUI operating system more popular than CUI operating system these days?
Answer
GUI operating system are more popular than CUI operating system because the GUI operating system is easy to use and understand because commands are graphically presented.They support extra devices and multimedia system.They support network and internet fully.They are multiuser,multitasking operating system.eg windows.
Explanation:
Hope it helps you
Plz help help help
What was the first electromechanical digital computer?
For your kind information I would like to tell you that don't search on internet because it will show ENIAC and that is not the answer the answeris may be ABC or MARK I. I am just confused, Please help me
Explanation:
For your kind information the answer of the question is MARK I.
Answer:
What was the first electromechanical digital computer?
=⟩ Mark I was the first electromechanical digital computer.
Hope it helpful to you
Laser printer use a special powdered ink called?
Explain What Peer to Peer Networking is.
Answer:
peer to peer networking is like when joining together works
Help me why did my desktop erase every app I need that please
Answer:
Your computer is affected by a polymorphic or trojan horse virus, so install avast antivirus. Set your computer into safe mode, then open the antivirus
Answer:
your pc has virus
Explanation:
[10 points] Write a program to compute the sum of digits in a number given by the user. You must use your own function to compute the sum of digits.
Answer:
I am going to write the program using BASIC PROGRAMMING
Explanation:
10 PROGRAM TO CALCULATE SUM OF DIGITS
20 INPUT B,H,T,G
30 LET Y = B+H+T+G
40 PRINT Y
DO THIS ON BASIC PROGRAMMING AND YOU HAVE YOUR PROGRAM
Define Artificial Intelligence(AI) in 5 sentence
Answer:
Artificial intelligence (AI) refers to the simulation of human intelligence in machines that are programmed to think like humans and mimic their actions. ... The ideal characteristic of artificial intelligence is its ability to rationalize and take actions that have the best chance of achieving a specific goal.
Select the best answer for the ques
12. A business has a goal of communicating frequently with its customers to offer specials and increase sales. What element should it consider adding to its website
O A. Database
O B. Payment system
O C. Calendar
O D. Mailing list opt-in
The element that should consider adding to its website is Mailing list opt-in. Option D is the correct answer.
Adding a mailing list opt-in to the website would allow the business to collect email addresses from customers who are interested in receiving updates, specials, and promotions.
By building a mailing list, the business can communicate frequently and directly with its customers, informing them about new products, exclusive offers, and other relevant information.
Having a mailing list opt-in provides several advantages. Firstly, it gives the business a direct channel of communication with customers, allowing them to reach a targeted audience interested in their products or services.
Secondly, it helps to increase sales by sending promotional emails and offers to the subscribers, which can encourage them to make purchases. Lastly, it enhances customer engagement and loyalty as customers feel connected to the business and stay informed about its latest offerings. Option D is the correct answer.
For such more question on element:
https://brainly.com/question/4966688
#SPJ8
Tristen is teaching her history course. She printed off her presentation so the students could take notes. Wyatt is
teaching a science course. He wants to make sure students who do not have PowerPoint can still view the
presentation. Reed is teaching a math course online. He finds the students are very visual and wants to control the
timing per slide
Which best describes how each teacher handled their presentations?
O Tristen created handouts, Wyatt saved as a PDF, and Reed saved as a video
O Tristen created a video, Wyatt saved as a PDF, and Reed broadcasted.
O Tristen created handouts, Wyatt saved as a video, and Reed saved as a PDF.
O Tristen created a video, Wyatt broadcasted, and Reed saved as a video
Since Tristen want her students to take notes on her presentations, she should have some sort of handout.
Because Wyatt, wants to ensure that students who do not have PowerPoint can still view his presentations, converting it into a pdf is best.
Since Reed's students are very visual, converting his slides into a video will make it better for students who want to spend some time assessing some of the graphs or equations.
Thus, A is the best choice.
tiền tệ ra đời là kết quả
bruuh, wht is this man saying
What are the three major tasks does a computer perform?
Ans:
Input, processing, and output.
The three major tasks a computer performs are Input, processing, and output.
What are the tasks of a computer?These tasks exist all connected to the four basic computer functions: input, output, processing, and storage.
Taking data and instructions from a user, processing the data as per instructions, and showing or storing the processed data, exist the four main functions of a computer.
To learn more about computer
https://brainly.com/question/24540334
#SPJ2
if ur computer is runing slowly what is most likey to slove the problem
A host is on the 192.168.146.0 network that has a subnet mask of 255.255.255.0. The binary value of the host portion is 11010101. What is the decimal value of the host portion of the address?
Answer:
213
Explanation:
The given parameters are;
The network on which the host is on = 192.168.146.0
The subnet mast = 255.255.255.0
The binary value of the host portion = 11010101
To convert the binary value to decimal value, we proceed by multiplying each of the digits of the binary value by the corresponding power of 2, from the left to right, starting from a power of 0, and sum the result, as follows;
(11010101)₂ = (1×2⁷ + 1×2⁶ + 0×2⁵ + 1×2⁴ + 0×2³ + 1×2² + 0×2¹ + 1×2⁰)₁₀
1×2⁷+1×2⁶+0×2⁵+1×2⁴+0×2³+1×2²+0×2¹+1×2⁰= 128+64+0+16+4+1 = 213
∴ (11010101)₂ = (213)₁₀
The decimal value of 11010101 is 213.
monitor is hard copy output device??
false
true
Answer:
false
Explanation:
monitor is an output device but not hard copy. Hard copy is paper
The number of swappings needed to sort the number 8, 22, 7, 9, 31 in ascending order, using bubble sort is
Answer:
3
Explanation:
swap the 7 with the 22
swap the 7 with the 8
swap the 9 with the 22
A network administrator updated an Internet server to evaluate some new features in the current release. A week after the update, the Internet server vendor warns that the latest release may have introduced a new vulnerability and a patch is not available for it yet. Which of the following should the administrator do to mitigate this risk?
Options are :
A. Enable the host-based firewall on the Internet server
B. Enable HIPS to protect the server until the patch is released
C. Utilize WAF to restrict malicious activity to the Internet server
D. Downgrade the server and defer the new feature testing
Answer:
i think its C. Utilize WAF to restrict malicious activity to the Internet server
What is the role of memory in a computer
Answer:
Computer random access memory (RAM) is one of the most important components in determining your system's performance. RAM gives applications a place to store and access data on a short-term basis. It stores the information your computer is actively using so that it can be accessed quickly.
You upgrade your office graphics workstation with more memory. You replace two of the four inexpensive memory chips with expensive memory designed for workstations but now the system occasionally has memory issues. What could be the problem
Answer:
the two other inexpensive memory chips don't calibrate with the two expensive memory chips because they're not the same
Explanation:
Express your opinion on whether a successful business analyst can be a good programmer. support your answers with reason