Answer:
file management file manager security threat bugs virus
Explanation:
Do exercises as follows:
a. Enter a whole number from keyboard, a while loop should calculate a sum of all numbers from one to that number that you entered
b. Enter a numeric score - grade of a test, your program should print a corresponding letter grade that matches the score.
For example, if you enter 89.3, the program should display "B", and if you enter 95.7, then the program displays "A"
Answer:
Explanation:
The following Java program asks the user for a number to be entered it and uses a while loop to sum up all the numbers from 1 to that one and print it to the console. Then it asks the user for a grade number and prints out the corresponding letter grade for that number.
file = open('text.txt', 'r')
total_rainfall = 0
for line in file:
line = line.replace('\n', '')
info = line.split(' ')
info = [i for i in info if i != '']
print(info[0] + " will have a total of " + info[1] + " inches of rainfall.")
total_rainfall += int(info[1])
average = total_rainfall / 3
print("Average Rainfall will be " + str(average) + " inches")
How SPARQL 1.1 has advantage over SPARQL 1.0??
What is the molar mass of AuCI2
Answer:267.8726
Explanation:
Which of the following does PXE use?
a) USB
b) DVD-ROM
c) CD-ROM
d) NIC
Answer:
The answer is d) NIC.
Explanation:
PXE Stands for Preboot Execution Environment and a PXE uses an NIC also know as Network Interface Controller. For an example: If you have a DELL Inspiron 8500 and you couldn't get it to work you would need to go through all boot-up system including a Preboot Execution Environment in the booting code protocols it would say connecting to NIC after 6 seconds it would say NIC connected then it would search for a boot device after a few munities since the DELL Inspiron 8500 is obsolete you would get this message:
No Boot Device found
Ralph and his team need to work together on a project. If they need a device that will provide shared storage with access to all team members, which of these devices would work best? *
USB Flash Drive
2 TB HDD installed on one of their computers
BD-RW installed on one of their computers
Network attached storage appliance
Write the simulate method, which simulates the frog attempting to hop in a straight line to a goal from the frog's starting position of 0 within a maximum number of hops. The method returns true if the frog successfully reached the goal within the maximum number of hops; otherwise, the method returns false. TheFrogSimulationclass provides a method calledhopDistancethat returns an integer representing the distance (positive or negative) to be moved when the frog hops. A positive distance represents a move toward the goal. A negative distance represents a move away from the goal. The returned distance may vary from call to call. Each time the frog hops, its position is adjusted by the value returned by a call to thehopDistance method. g
Answer:
Explanation:
The following code is written in Python. It creates the simulate method which takes in an argument for the max number of hops and the goal distance. Then it loops the number for the max number of hops and asks the user for a hop input using the hopDistance() method (which was not included so it was made, this can be removed if wanted). Then it updates position. If after the max hops goal was reached it returns True, otherwise it returns False.
def simulate(max, goal):
position = 0
print("Goal is " + str(goal))
for x in range(max):
hop = hopDistance()
position += int(hop)
if position >= goal:
return True
else:
return False
def hopDistance():
return input("Frog Hop Distance this hop: ")
print(simulate(4, 20))
What are the important points
concerning critical thinking?
(Select all that apply.)
You must evaluate information.
You should use your feelings.
You need to practice the right skills
You need to be well-spoken
You can learn it quickly
You need to use logic and reason
You need to be unbiased and unemotional
Answer:
You must evaluate information
Explanation:
The first step to thinking critically is to accept information only after evaluating it. Whether it's something read or heard, critical thinkers strive to find the objective truth. In doing this, these employees evaluate by considering possible challenges and solutions. This process of vetting new information and considering outcomes is called evaluation.
The hostel in which you plan to spend the night tonight offers very interesting rates, as long as you do not arrive too late. Housekeeping finishes preparing rooms by noon, and the sooner guests arrive after noon, the less they have to pay. You are trying to build a C program that calculates your price to pay based on your arrival time. Your program will read an integer (between 0 and 12) indicating the number of hours past noon of your arrival. For example, 0 indicates a noon arrival, 1 a 1pm arrival, 12 a midnight arrival, etc. The base price is 10 dollars, and 5 dollars are added for every hour after noon. Thankfully the total is capped at 53 dollars, so you'll never have to pay more than that. Your program should print the price (an integer) you have to pay, given the input arrival time.
Answer:
Answered below
Explanation:
// Python implementation
incrementAmount = 5
basePrice = 10
price = 0
arrivalHour = int(input("Enter arrival hour 0-12: ")
if arrivalHour < 0 or arrivalHour > 12:
print ("Invalid hour")
if arrivalHour == 0:
price = basePrice
else:
price = arrivalHour * incrementAmount
totalPrice = price + basePrice
if totalPrice > 53:
totalPrice = 53
print ("Your bill is $totalPrice")
Hubs connect network hosts in which configuration?
Answer:
A high availability hub is not required to enable or use the self-describing agent. You can optionally configure a high availability hub for improved availability and recovery if the hub fails. Network Layer – The network layer is responsible for creating a routing table, and based on the routing table, forwarding the input request. Some of the Devices used in the Network Layer are, Routers: A router is a switch-like device that routes/forwards data packets based on their IP addresses.
Explanation:
(hope this helps can i plz have brainlist :D hehe)
When the function below is called with 1 dependent and $400 as grossPay, what value is returned?
double computeWithholding (int dependents, double grossPay)
{
double withheldAmount;
if (dependents > 2)
withheldAmount = 0.15;
else if (dependents == 2)
withheldAmount = 0.18;
else if (dependnets == 1)
withheldAmount = 0.2;
else // no dependents
withheldAmount = 0.28;
withheldAmount = grossPay * withheldAmount;
return (withheldAmount);
}
a. 60.0
b. 80.0
c. 720.0
d. None of these
Answer:
b. 80.0
Explanation:
Given
[tex]dependent = 1[/tex]
[tex]grossPay = \$400[/tex]
Required
Determine the returned value
The following condition is true for: dependent = 1
else if (dependnets == 1)
withheldAmount = 0.2;
The returned value is calculated as:
[tex]withheldAmount = grossPay * withheldAmount;[/tex]
This gives:
[tex]withheldAmount = 400 * 0.2[/tex]
[tex]withheldAmount = 80.0[/tex]
Hence, the returned value is 80.0
63. Name the 4 main lights & and their primary purpose.
ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP
Answer:
13.c
14.d
15.b
16.a
17.c
Explanation:
please brainleist please ☻☺️❤♨️
Consider the following method:
public static String joinTogether(int num, String[] arr)
{
String result = "";
for (String x : arr)
{
result = result + x.substring(0, num);
}
return result;
}
The following code appears in another method in the same class:
String[] words = {"dragon", "chicken", "gorilla"};
int number = 4;
System.out.println(joinTogether(number, words));
What is printed when the code above is executed?
a. dragonchickengorilla
b. drachigor
c. dragchicgori
d. dragochickgoril
e. There is an error in the program, it does not run
Answer: b.
Explanation:
Which symbol is used for an assignment statement in a flowchart?
Equal symbol
equal symbol
Within most programming languages the symbol used for assignment is the equal symbol.
Which of the following items are both an input and output device?
Answer:
Printer (output) Camera (input), and others
Explanation:
True or false you cannot get a computer virus is you instal antivirus
Answer: F
Explanation: There are many ways hackers can get into your computer, and many ways can bypass an antivirus so it is False
Let's make a song, continue from these lines
My heart is dead
My mind is in a loop
My head hurts
Underpressure
Explanation:
a trance that I cant stop
Which are characteristics of Outlook 2016 email? Check all that apply.
The Inbox is the first folder you will view by default
While composing an email, it appears in the Sent folder.
Unread messages have a bold blue bar next to them.
Messages will be marked as "read" when you view them in the Reading Pane.
The bold blue bar will disappear when a message has been read.
Answer: The Inbox is the first folder you will view by default.
Unread messages have a bold blue bar next to them.
Messages will be marked as "read" when you view them in the Reading Pane.
The bold blue bar will disappear when a message has been read
Explanation:
The characteristics of the Outlook 2016 email include:
• The Inbox is the first folder you will view by default.
• Unread messages have a bold blue bar next to them.
• Messages will be marked as "read" when you view them in the Reading Pane.
• The bold blue bar will disappear when a message has been read.
It should be noted that while composing an email in Outlook 2016 email, it doesn't appear in the Sent folder, therefore option B is wrong. Other options given are correct.
Answer:
1
3
4
5
Explanation:
just did it on edge
Which of the following is not part of the four ways you can avoid problems with email communication?
a.
Be brief.
b.
Proofread your message.
C.
Reply right away after you get an email.
d.
Seek other ways to relay your message
Answer:
d is the correct answer for this problem
what can a user modify on a business card using the Edit Business card in the dialog box?
how many stages needed to have powerful amplifier?
Power amplifier stages in a real circuit. Circuit diagram of a three stage practical audio power amplifier is shown in the figure below. Small signal transistor Q1 and its associated components form the voltage amplification stage.
Answer:
Generally you should pick an amplifier that can deliver power equal to twice the speaker's program/continuous power rating. This means that a speaker with a “nominal impedance” of 8 ohms and a program rating of 350 watts will require an amplifier that can produce 700 watts into an 8 ohm load.
Given two integers as user inputs that represent the number of drinks to buy and the number of bottles to restock, create a VendingMachine object that performs the following operations:
Purchases input number of drinks Restocks input number of bottles.
Reports inventory Review the definition of "VendingMachine.cpp" by clicking on the orange arrow.
A VendingMachine's initial inventory is 20 drinks.
Ex: If the input is: 5 2
the output is: Inventory: 17 bottles
Answer:
In C++:
#include <iostream>
using namespace std;
class VendingMachine {
public:
int initial = 20;};
int main() {
VendingMachine myMachine;
int purchase, restock;
cout<<"Purchase: "; cin>>purchase;
cout<<"Restock: "; cin>>restock;
myMachine.initial-=(purchase-restock);
cout << "Inventory: "<<myMachine.initial<<" bottles";
return 0;}
Explanation:
This question is incomplete, as the original source file is not given; so, I write another from scratch.
This creates the VendingMachine class
class VendingMachine {
This represents the access specifier
public:
This initializes the inventory to 20
int initial = 20;};
The main begins here
int main() {
This creates the object of the VendingMachine class
VendingMachine myMachine;
This declares the purchase and the restock
int purchase, restock;
This gets input for purchase
cout<<"Purchase: "; cin>>purchase;
This gets input for restock
cout<<"Restock: "; cin>>restock;
This calculates the new inventory
myMachine.initial-=(purchase-restock);
This prints the new inventory
cout << "Inventory: "<<myMachine.initial<<" bottles";
return 0;}
You have been given an encrypted copy of the Final exam study guide here, but how do you decrypt and read it???
Along with the encrypted copy, some mysterious person has also given you the following documents:
helloworld.txt -- Maybe this file decrypts to say "Hello world!". Hmmm.
hints.txt -- Seems important.
In a file called pa11.py write a method called decode(inputfile,outputfile). Decode should take two parameters - both of which are strings. The first should be the name of an encoded file (either helloworld.txt or superdupertopsecretstudyguide.txt or yet another file that I might use to test your code). The second should be the name of a file that you will use as an output file. For example:
decode("superDuperTopSecretStudyGuide.txt" , "translatedguide.txt")
Your method should read in the contents of the inputfile and, using the scheme described in the hints.txt file above, decode the hidden message, writing to the outputfile as it goes (or all at once when it is done depending on what you decide to use).
Hint: The penny math lecture is here.
Another hint: Don't forget about while loops...
Mac hint: use encoding="utf-8" in your file open functions, like this:
Mac hint: use encoding="ascii" in your file open functions, like this:
fin = open(input_file,"r",encoding="ascii")
Answer:
You use a decoder
Explanation:
You can find one on an internet browser
When identifying who will send a presentation, what are the two types of audiences?
Answer:
Explanation:Demographic audience analysis focuses on group memberships of audience members. Another element of audience is psychographic information, which focuses on audience attitudes, beliefs, and values. Situational analysis of the occasion, physical setting, and other factors are also critical to effective audience analysis.
Write a class called MonetaryCoin that is derived from the Coin class presented in Chapter 5 (the source code for Chapter 5 examples is available via Moodle). [6 pts] Store one integer and one float in the MonetaryCoin that represent its value and weight in grams, respectively. Add a third variable of your choice (related to a coin, of course) and use self-descriptive variable names for all three variables. Pass the values to the constructor in MonetaryCoin and save them to your variables.
Answer:
Explanation:
The following Java code creates the MonetaryCoin class that extends the Coin class. It then creates three variables representing the MonetaryCoin object which are its value, weight, and coinYear. These are all passed as arguments to the constructor and saved as instance variables.
public class MonetaryCoin extends Coin {
int value;
float weight;
int coinYear;
public void MonetaryCoin(int value, float weight, int coinYear) {
this.value = value;
this.weight = weight;
this.coinYear = coinYear;
}
}
Earth, Wind & Fire were NOT known for combining many different styles of music together.Required to answer. Single choice.
(1 Point)
True
False
Answer:
false
Explanation:
Cause I don't believe you can't use earth, wind,and fire to create music.
What career opportunities are available within the floral industry?
Answer: The floral industry has quite an array of possible occupation pathways. You can do flower production, design, publishing, marketing, home design, engineering, retailing, commercial, research, and lots more.
Using a tag, set the color to green for all tags.
Answer:
<style>
p {
background-color: rgb(255, 0, 0);
}
h1 {
background-color: rgb(0, 255, 0);
}
ol {
background-color: rgb(97,51,47);
}
</style>
Explanation:
Put this at the top of your code. It should target the paragraph tag, the header h1 tag, and the Ordered List (OL) tag individually and set their background colors respectively.
It's been a while since I've done CSS so you might have to tweak the syntax a bit, but it should look something like that.
Which element adjusts the space around the data in each cell of a table? adjusts the space around the data in each cell of a table.
Answer:
Increase/decrease indentation
Explanation:
Answer:
(Cellpadding) is actually the correct answer.
Explanation:
Cellpadding and cellspacing are two important features of an HTML table. Cellpadding sets the space around the data in each cell. Cellspacing sets the space around each cell in the table.
NO LINKS
write a shell script to find the sum of all integers between 100 and 200 which are divisible by 9
Answer:
#!/usr/bin/env bash
for num in {100..200}
do
if [ $((num % 9)) -eq 0 ]
then
((sum += num))
fi
done
echo $sum
Explanation:
The output will be 1683.