Answer:
a
Explanation:
7.4 question 1 edhesive
Answer:
huh
Explanation:
what do you mean? the question doesn't make any sense
Answer:
def GPAcalc(g):
if g == "a" or g == "A":
return 4
elif g == "B" or g == "b":
return 3
elif g == "C" or g == "c":
return 2
elif g == "D" or g == "d":
return 1
elif g == "F" or g == "f":
return 0
else:
return "Invalid"
grade = input("Enter your Letter Grade: ")
gpa = GPAcalc(grade)
print("Your GPA score is: " + str(gpa))
Explanation:
#include
main()
{
int i, n=10, rem, inc=0;
scanf("%d",&n);
for(i=1; i =3)
inc++;
else;
inc--;
}
printf("Final Value=\n",inc);
}
SOLVE THIS PROGRAM...
Answer:inpossible !889
Explanation: I npossible !889
Complete the sentence. Use a ___ ___ (2 words) to find a website's URL based on keywords you specify.
Answer: Search engine
Explanation:
If you need to find out the URL of a website that can help you with a particular service needed, you can use a search engine such as G-oogle or Duck-duckgo to find the relevant websites. You type in keyword/s and the search engine will look for websites associated with the word/s.
The links to be websites will be displayed and clicking on them will take you to the website.
Question 4 (5 points)
The more RAM you have, the less things your computer can do at the same time.
True
False
ent:
Is a NAS just a collection of hard drives or a computer
Answer:
NAS systems are networked appliances that contain one or more storage drives, often arranged into logical, redundant storage containers or RAID.
(3)(6 Points) During a sale at a store, a 10% discount is applied to purchases over $10.00. Write a program that asks for the amount of a purchase, then calculates the discounted price. The purchase amount will be input in cents (as an integer). These are two examples of your expected program's execution.
Type the correct answer in the box. Spell all words correctly.
John wants to use graphical elements on his web page. Which image formats should he use to keep the file size manageable?
John should use
formats to keep the file size manageable.
Answer:
JPEG or PNG but mostly JPEG
Explanation:
JPEG – JPEG is the best option for photographs and other images displaying a huge variety of colors. They can also be compressed, sacrificing quality for a reduction in file size.
PNG – PNGs win for graphics, drawings, text, and some screenshots. They also support transparency, unlike JPEGs. This format uses lossless compression, which results in higher quality but also bigger files.
The image formats should he use to keep the file size manageable is JPEG or PNG however commonly JPEG.
What is JPEG format?JPEG is the high-satisfactory choice for pics and different pix showing a massive sort of colors. They also can be compressed, sacrificing high-satisfactory for a discount in report size.
PNG PNGs win for graphics, drawings, text, and a few screenshots. They additionally help transparency, not like JPEGs. This layout makes use of lossless compression, which leads to better high-satisfactory but additionally larger files.
Read more about the image formats:
https://brainly.com/question/26733261
#SPJ2
A mobile base station in an urban environment has a power measurement of 25 µW at 225 m. If the propagation follows an inverse 4th-power law, assuming a distance of 0.9 km from the base station, what would be a reasonable power value, in µW?
Give your answer in scientific notation to 2 decimal places
Answer:
The answer is below
Explanation:
The inverse fourth power law states that the intensity varies inversely to the fourth power of the distance from the source. That is as the distance increases, the intensity decreases.
Let I represent the intensity and let d represent the distance from the source, hence:
I ∝ 1 / d⁴
I = k / d⁴
Where k is the constant of proportionality.
Given that at a power of 25W = 25*10⁻⁶ W, the distance (d) = 225 m. We can find the value of k.
25*10⁻⁶ = k / 225⁴
k = 225⁴ * 25*10⁻⁶ = 64072.27
Hence:
I = 64072.27 / d⁴
At a distance (d) = 0.9km = 900 m, we can find the corresponding power:
I = 64072.27 / 900⁴
I = 9.77 * 10⁻⁸ W
Create a Python program that computes the cost of carpeting a room. Your program should prompt the user for the width and length in feet of the room and the quality of carpet to be used. A choice between three grades of carpet should be given. You should decide on the price per square foot of the three grades on carpet. Your program must include a function that accepts the length, width, and carpet quality as parameters and returns the cost of carpeting that room. After calling that function, your program should then output the carpeting cost. of carpeting a room. Note: the output is NOT in the function but in the main. Display your name,class,date as per SubmissionRequirements by using a function.
Your program should include your design steps as your comments. Document the values you chose for the prices per square foot of the three grades of carpet in your comments as well.
Answer:
In Python:
def calcCost(length,width,quality):
if quality == 1:
cost = length * width * 3.50
if quality == 2:
cost = length * width * 2.50
else:
cost = length * width * 1.50
return cost
length = float(input("Room Length: "))
width = float(input("Room Width: "))
print("Quality:\n1 - Best\n2 - Moderate\n3 and others - Worst")
quality = int(input("Quality: "))
print("Calculate: "+str(calcCost(length,width,quality)))
Explanation:
This defines the function calcCost to calculate the carpeting cost
def calcCost(length,width,quality):
If quality is 1, the total cost is calculated by area * 3.50
if quality == 1:
cost = length * width * 3.50
If quality is 2, the total cost is calculated by area * 2.50
if quality == 2:
cost = length * width * 2.50
For other values of quality, the total cost is calculated by area * 1.50
else:
cost = length * width * 1.50
This returns the calculated carpeting cost
return cost
The main begins here
This prompts the user for the length of the room
length = float(input("Room Length: "))
This prompts the user for the width of the room
width = float(input("Room Width: "))
This gives instruction on how to select quality
print("Quality:\n1 - Best\n2 - Moderate\n3 and others - Worst")
This prompts the user for the quality of the carpet
quality = int(input("Quality: "))
This calls the calcCost method and also printst the calculated carpeting cost
print("Calculate: "+str(calcCost(length,width,quality)))
Every home or organization with Internet access has an ISP.
Question 29 options:
True
False
write an algorithm and draw a flowchart to calculate the sum of of the first 10 natural numbers starting from 1
Answer:
#include <stdio.h>
void main()
{
int j, sum = 0;
printf("The first 10 natural number is :\n");
for (j = 1; j <= 10; j++)
{
sum = sum + j;
printf("%d ",j);
}
printf("\nThe Sum is : %d\n", sum);
}
Within a loop
Step 1: Initialize a variable to 1 (say x=1)
Step 2: Specifiy the condition
In this case x<=10
Step 3: Increment the variable by 1
using increment operator x++
OR
simply x+=1(x=x+1)
Step 4: Print the value of variable
Terminate the loop
Explanation:
Why is sequencing important?
A. It allows the programmer to test the code.
B. It allows the user to understand the code.
C. It ensures the program works correctly.
D. It makes sure the code is easy to understand.
Answer:
c i think but if not go with d
Answer:
C
Explanation:
It ensures the program works correctly
hope it helps!
Using words input, output, processor, CPU, memory, RAM, ROM, and storage,
answer the questions:
Copy and paste your answers to avoid misspelling.
1. A computer processor is also called CPU
2. A speaker is a(n)
device.
3. A scanner is an
device.
4. Hard disk is a(n)
device.
5. RAM and ROM are types of
Mmory
6. A computer monitor is a output
I
device.
here because brainly sucks I hate this website stop censoring litteraly everything, can't get away with calling someone a poopy head on here
8. Type the correct answer in the box. Spell all words correctly.
Until when can you register your work with the US Copyright Office in order to claim statutory damages from the court in the event of infringement?
You need to register with the US Copyright Office prior to the infringement,____ or within
months of the publication of the image, to claim statutory damages from the court
Answer:
To be eligible for an award of statutory damages and attorneys' fees in a copyright infringement case, the copyrighted work must be registered before infringement commences, or, if the work is published, within 3 months of publication.
Answer:
The answer is 3 months.
Explanation:
Drivers are concerned with the mileage obtained by their automobiles. One driver has kept track of several tankfuls of gasoline by recording miles driven and gallons used for each tankful. Develop a sentinel-controlled-repetition script that prompts the user to input the miles driven and gallons used for each tankful. The script should calculate and display the miles per gallon obtained for each tankful. After processing all input information, the script should calculate and display the combined miles per gallon obtained for all tankfuls (that is, total miles driven divided by total gallons used).
Enter the gallons used (-1 to end): 128
Enter the miles driven: 287 The miles/gallon for this tank was 22.421875
Enter the gallons used (-1 to end): 10.3
Enter the miles driven: 200 The miles/gallon for this tank was 19.417475
Enter the gallons used (-1 to end): 5
Enter the miles driven: 120 The miles/gallon for this tank was 24.000000
Enter the gallons used (-1 to end): -1 The overall average miles/gallon was 21. 601423
Answer:
In Python:
gals= float(input("Enter the gallons used (-1 to end): "))
miles = float(input("Enter the miles driven: "))
mileage = 0.0
count = 0
while not (gals == -1):
count += 1
mileage +=(miles/gals)
print("The miles/gallon for this tank was "+str(round(miles/gals,6)))
gals= float(input("Enter the gallons used (-1 to end): "))
miles = float(input("Enter the miles driven: "))
print("The overall average miles/gallon was "+str(round(mileage/count,6)))
Explanation:
#This prompts the user for the number of gallons used
gals= float(input("Enter the gallons used (-1 to end): "))
#This prompts the user for miles driven
miles = float(input("Miles driven: "))
#This initializes the mileage to 0
mileage = 0.0
#This initializes the count of vehicles to 0
count = 0
#The following is repeated until input for gallons is -1
while not (gals == -1):
#The count of vehicles is increased by 1
count += 1
#The total mileage for all cars is calculated
mileage +=(miles/gals)
#This prints the mileage for that particular vehicle
print("The miles/gallon for this tank was "+str(round(miles/gals,6)))
#This prompts the user for the number of gallons used
gals= float(input("Enter the gallons used (-1 to end): "))
#This prompts the user for miles driven
miles = float(input("Miles driven: "))
#This calculates and prints the overall average mileage
print("The overall average miles/gallon was "+str(round(mileage/count,6)))
You want to make access to files easier for your users. Currently, files are stored on several NTFS volumes such as the C:, D:, and E: drives. You want users to be able to access all files by specifying only the C: drive so they don't have to remember which drive letter to use. For example, if the accounting files are stored on the D: drive, users should be able to access them using C:\accounting. What can you do?
Answer:
volume mount points
Explanation:
The best thing to do would be to use volume mount points. This is a feature that allows you to mount/target (from a single partition) another folder or storage disk that is connected to the system. This will easily allow the user in this scenario to access the different files located in the D: and E: drive from the C:\ drive itself. Without having to go and find each file in their own separate physical drive on the computer.
Austin has a report due at school tomorrow, but has not started working on it yet. Now he is worried about getting a bad grade. So he searches the Internet for his topic and finds lots of information. He chooses a small, obscure site, copies text and images, and pastes them into his report. He's done before bedtime. But he receives an F on his report.
1. What could Sam have done differently on his report to avoid failing?
2. Is this incident an example of an unethical action or an illegal action?
Answer:
Explanation:
Question One
He could have read other sites with other points of view and summarized that. Most importantly he could have used footnotes that gave credit to every idea that he used.
He could have put the material down and begin to write. The words would have come out in his awkward style. He would still need to footnote the ideas. That is most important.
Question Two
It is both. Plagiarism is a serious crime if it involves many people being affected by what he wrote.
But it is totally unethical at any level. Trying to pass off something that isn't yours is totally unethical. It should never be done. It shames the subject which is shown to be unimportant and it shames the instructor (he knew enough to catch the plagiarism), and it shames the person getting caught.
Given the waveform below, derive the output waveform (Q) for the respective devices. All outputs start at RESET (Q = 0) state
a) S-R latch assuming A = S and B = R.
b) Gated D latch assuming C = EN and B = D.
c) Negative Edge-triggered D Flip-flop assuming C = CLK and A = D.
d) Positive Edge-triggered J-K Flip-flop assuming C = CLK, A = J, and B = K.
1. Select two forms of case designed suitable for ATX power supply and
motherboard,
A. Chassis and cabinet
B. Cabinet and tower
C. Desktop and tower
D. Chassis and tower
As you will solve more complex problems, you will find that searching for values in arrays becomes a crucial operation. In this part of the lab, you will input an array from the user, along with a value to search for. Your job is to write a C++ program that will look for the value, using the linear (sequential) search algorithm. In addition, you should show how many steps it took to find (or not find) the value, and indicate whether this was a best or worst case scenario (... remember the lecture). You may refer to the pseudo-code in the lecture, but remember that the details of the output and error conditions are not specified there. Also, note that in pseudo-code arrays are sometimes defined with indices 1 to N, whereas in C++ the indexes span from 0 to N-1.
The program will work as follows. First, you should ask the user to enter the size of the array, by outputting:
"Enter the size of the array: "
to the console. If the user enters an incorrect size, you should output the error message:
"ERROR: you entered an incorrect value for the array size!"
and exit the program. If the input is a valid size for the array, ask the user to enter the data, by outputting
"Enter the numbers in the array, separated by a space, and press enter: "
Let the user enter the numbers of the array and store them into a C++ array. Up to now, this should be exactly the same code as Lab#2. Next, ask the user a value v to search for in the array (called the "key"), by outputting:
"Enter a number to search for in the array: " to the screen, and read the key v.
Search for v by using the linear search algorithm. If your program finds the key, you should output:
"Found value v at index i, which took x checks. "
where i is the index of the array where v is found, and x is the number of search operations taken place.
If you doesn't find the key, then output: "
The value v was not found in the array!"
Then indicate whether you happened to run into a best or worst case scenario. In case you did, output: "
We ran into the best case scenario!" or "We ran into the worst case scenario!"
otherwise, don't output anything.
Answer:
#include<iostream>
using namespace std;
int main() {
cout<<"Enter The Size Of Array: ";
int size;
bool isBestCase=false;
cin>>size;
if(size<=0){
cout<<"Error: You entered an incorrect value of the array size!"<<endl;
return(0);
}
int array[size], key;
cout<<"Enter the numbers in the array, separated by a space, and press enter:";
// Taking Input In Array
for(int j=0;j<size;j++){
cin>>array[j];
}
//Your Entered Array Is
for(int a=0;a<size;a++){
cout<<"array[ "<<a<<" ] = ";
cout<<array[a]<<endl;
}
cout<<"Enter a number to search for in the array:";
cin>>key;
for(i=0;i<size;i++){
if(key==array[i]){
if(i==0){
isBestCase=true; // best case scenario when key found in 1st iteration
break;
}
}
}
if(i != size){
cout<<"Found value "<<key<<" at index "<<i<<", which took " <<++i<<" checks."<<endl;
} else{
cout<<"The value "<<key<<" was not found in array!"<<endl;
cout<<"We ran into the worst-case scenario!"; // worst-case scenario when key not found
}
if(isBestCase){
cout<<"We ran into the best case scenario!";
}
return 0;
}
Explanation:
The C++ source dynamically generates an array by prompting the user for the size of the array and fills the array with inputs from the user. A search term is used to determine the best and worst-case scenario of the created array and the index and search time is displayed.
Programming exercise 3-4a
Answer:
???????????.?????????????
Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in the string. The output should include the input character and use the plural form, n's, if the number of times the characters appears is not exactly 1.You may assume that the string does not contain spaces and will always contain less than 50 characters.
Ex: If the input is:
n Monday
the output is:
1 n
Ex: If the input is:
z TodayisMonday
the output is:
0 z's
Ex: If the input is:
n It'ssunnytoday
the output is:
2 n's
Case matters.
Ex: If the input is:
n Nobody
the output is:
0 n's
n is different than N.
C programming.
Answer:
The program and input is different than n, and it’s sunny today.
Select each of the benefits of wireless communication.
checking e-mail from a remote location
o transmiting broadcast signals
receiving voicemail messages while away from the office
sending and receiving graphics and video to coworkers
sending data from outside the office
Answer:
checking e-mail from a remote location
receiving voicemail messages while away from the office
sending and receiving graphics and video to coworkers
sending data from outside the office
Explanation:
Wireless networks have proved to be more beneficial and accessible as compared to the wired networks. Wireless networks have helped in increasing the efficiency of transferring the data. It is also very accessible and easy to operate. It helps a person be connected even during travelling. It saves the cost and helps in better execution of the work. The speed at which the data is transferred helps in saving the cost and time. The maintenance cost is reduced in wireless communication as that of wired one. It also helps during the times of emergency situations.
Answer:
checking e-mail from a remote location
receiving voicemail messages while away from the office
sending and receiving graphics and video to coworkers
sending data from outside the office
Explanation:
EDGE 2021
1, 3,4,5
Consider the following method, inCommon, which takes two Integer ArrayList parameters. The method returns true if the same integer value appears in both lists at least one time, and false otherwise.
public static boolean inCommon(ArrayList a, ArrayList b)
{
for (int i = 0; i < a.size(); i++)
{
for (int j = 0; j < b.size(); j++) // Line 5
{
if (a.get(i).equals(b.get(j)))
{
return true;
}
}
}
return false;
}
Which of the following best explains the impact to the inCommon method when line 5 is replaced by for (int j = b.size() - 1; j > 0; j--) ?
a. The change has no impact on the behavior of the method.
b. After the change, the method will never check the first element in list b.
c. After the change, the method will never check the last element in list b.
d. After the change, the method will never check the first and the last elements in list b.
e. The change will cause the method to throw an IndexOutOfBounds exception.
Answer:
b. After the change, the method will never check the first element in list b.
Explanation:
After changing the code on line 5 with the one in the question the method will never check the first element in list b. This is because by changing the code you are telling the method to run for every element in list b starting from the last element and moving backward. Since the second argument is j > 0, once j is equal to 0 it will not run the method since it would give a False on the argument and therefore, will never run the method for the element in position 0 (first element in the list)
Nearly all personal computers are capable of serving as network servers.
Question 26 options:
True
False
Type the correct answer in the box. Spell all words correctly.
Kenny is out with his friends. He took some pictures with his phone camera. His phone has limited internal memory and it won’t store a lot of images. He wants to transfer his images to another storage system to free the phone’s internal memory. He doesn’t have any other storage device with him, but he does have a decent Internet connection from his phone. Which storage system should Kenny consider?
Kenny should consider _____.
Answer:
Kenny should consider cloud storage.
true or false. in a list with 5 items the index of the final item is 4
Answer: True
Explanation:
We start at 0 for lists
[item, item, item, item, item]
0 1 2 3 4
true on edge2020/2021
What does Ares want Percy to do for him?
Answer:
Get his sheild
Explanation:
Answer:
Ares wants Percy to retrieve his shield
Explanation:
What would a bar graph best be used for? State why and give 2-3 examples of things you could demonstrate with a bar graph
Answer:
A bar graph is used to compare facts.
For example:
A group of people's favorite movie.
A group of people's favorite fruit.
What is the total March Expenditure now? (cell Q2)