Answer:
Sorry mate I tried but I got it wrong!
Explanation:
Sorry again
your computer has been running slowly and you suspect it because its is low on memory. you review the hardware configuration and find that computer has only 4gb of ram. how can you determine how much memory your computer should have to run properly?
which of the following is an example of how to effectively avoid plagiarism
Answer:
You didn't list any choices, but in order to avoid all plagiarism, you must focus on rewriting the following script/paragraph in your own words. This could be anything from completely changing the paragraph (not the context) to summarizing the paragraph in your own words.
Answer:
Simon cites anything that he didnt know before he read it in any given source
Explanation:
a p e x
Which of the following are complete sets of data and are the rows of the table?
Files
Fields
Queries
Records
Answer:
I think the answer is going to be records
The order of slides can be changed here.
HURRY- I’ll give 15 points and brainliest answer!!
How do you insert text into a presentation??
By selecting text from the insert menu
By clicking in the task pane and entering text
By clicking in a placeholder and entering text
By drawing a text box clicking in it and entering text
(This answer is multiple select)
Answer:
the last one the drawing thingy:)))
You plan to make a delicious meal and want to take the money you need to buy the ingredients. Fortunately you know in advance the price per pound of each ingredient as well as the exact amount you need. The program should read in the number of ingredients (up to a maximum of 10 ingredients), then for each ingredient the price per pound. Finally your program should read the weight necessary for the recipe (for each ingredient in the same order). Your program should calculate the total cost of these purchases, then display it with 6 decimal places.
Example There are 4 ingredients and they all have a different price per pound: 9.90, 5.50, 12.0, and 15.0. You must take 0.25 lbs of the first, 1.5 lbs of the second, 0.3 lbs of the third and 1 lb of the fourth. It will cost exactly $29.325000.
Answer:
In Python:
prices = []
pounds = []
print("Enter 0 to stop input")
for i in range(10):
pr = float(input("P rice: "+str(i+1)+": "))
pd = float(input("Pound: "+str(i+1)+": "))
if pr != 0 and pd != 0:
prices.append(pr)
pounds.append(pd)
else:
break
amount = 0
for i in range(len(pounds)):
amount+= (pounds[i]*prices[i])
print("Amount: $",amount)
Explanation:
These initialize the prices and pounds lists
prices = []
pounds = []
This prompts the user to enter up to 10 items of press 0 to quit
print("Enter 0 to stop input")
This iterates through all inputs
for i in range(10):
This gets the price of each item
pr = float(input("P rice: "+str(i+1)+": "))
This gets the pound of each item
pd = float(input("Pound: "+str(i+1)+": "))
If price and pound are not 0
if pr != 0 and pd != 0:
The inputs are appended to their respective lists
prices.append(pr)
pounds.append(pd)
If otherwise, the loop is exited
else:
break
This initializes total to 0
amount = 0
This iterates through all inputs
for i in range(len(pounds)):
This multiplies each pound and each price and sum them up
amount+= (pounds[i]*prices[i])
The total is then printed
print("Amount: $",amount)
The function below takes one parameter: an integer (begin). Complete the function so that it prints every other number starting at begin down to and including 0, each on a separate line. There are two recommended approaches for this: (1) use a for loop over a range statement with a negative step value, or (2) use a while loop, printing and decrementing the value each time.
1 - def countdown_trigger (begin):
2 i = begin
3 while i < 0:
4 print(i)
5 i -= 1 Restore original file
Answer:
Follows are code to the given question:
def countdown_trigger(begin):#defining a method countdown_trigger that accepts a parameter
i = begin#defining variable that holds parameter value
while i >= 0:#defining while loop that check i value greater than equal to0
print(i)#print i value
i -= 2 # decreasing i value by 2
print(countdown_trigger(2))#calling method
Output:
2
0
None
Explanation:
In this code, a method "countdown_trigger" is declared, that accepts "begin" variable value in its parameters, and inside the method "i" declared, that holds parameters values.
By using a while loop, that checks "i" value which is greater than equal to 0, and prints "value" by decreasing a value by 2.
Write a program named HoursAndMinutes that declares a minutes variable to represent minutes worked on a job, and assign a value to it. Display the value in hours and minutes. For example, 197 minutes becomes 3 hours and 17 minutes.'
Answer:
Explanation:
The following code is written in Python, it asks the user for the number of minutes worked. Divides that into hours and minutes, saves the values into separate variables, and then prints the correct statement using those values. Output can be seen in the attached image below.
import math
class HoursAndMinutes:
min = input("Enter number of minutes worked: ")
hours = math.floor(int(min) / 60)
minutes = (int(min) % 60)
print(str(hours) + " hours and " + str(minutes) + " minutes")
What is the effect when one part of a system changes? A. The entire system changes or could stop working. B. The closed-loop system becomes an open-loop system. C. The open-loop system becomes a closed-loop system. D. The larger system is not affected.
Answer:
c is the answer hope you get it right
The effect when one part of a system changes C. The open-loop system becomes a closed-loop system.
Systemic change is generally understood to require adjustments or transformations in the policies, practices, power dynamics, social norms or mindsets that underlie the societal issue at stake. It often involves the collaboration of a diverse set of players and can take place on a local, national or global level.
How does a systemic change happen?All systems organize individual pieces into some sort of interrelated whole. Put simply, systemic change occurs when change reaches all or most parts of a system, thus affecting the general behavior of the entire system.
Why is systems change important?A systems-change approach is more appropriate for problems that are complex, unpredictable, and context-dependent. For example, the challenge of inadequate access to educational opportunities for children from low-income neighborhoods cannot be addressed with a straightforward, logistical fix.
To learn more about A systems-change, refer
https://brainly.com/question/20798008
#SPJ2
d) State any three (3) reasons why users attach speakers to their computer?
Answer:
the purpose of speakers is to produce audio output that can be heard by the listener. Speakers are transducers that convert electromagnetic waves into sound waves. The speakers receive audio input from a device such as a computer or an audio receiver.
Explanation: Hope this helps!
Is the ASSIGN statement a data entry statement, true or false?
Declare a 4 x 5 array called N.
Using for loops, build a 2D array that is 4 x 5. The array should have the following values in each row and column as shown in the output below:
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
Write a subprogram called printlt to print the values in N. This subprogram should take one parameter, an array, and print the values in the format shown in the output above.
Call the subprogram to print the current values in the array (pass the array N in the function call).
Use another set of for loops to replace the current values in array N so that they reflect the new output below. Call the subprogram again to print the current values in the array, again passing the array in the function call.
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3
4 4 4 4 4
I really need help with this thanks. (In Python)
Answer:
N = [1,1,1,1,1],
[2,2,2,2,2],
[3,3,3,3,3],
[4,4,4,4,4]
def printIt(ar):
for row in range(len(ar)):
for col in range(len(ar[0])):
print(ar[row][col], end=" ")
print("")
N=[]
for r in range(4):
N.append([])
for r in range(len(N)):
value=1
for c in range(5):
N[r].append(value)
value=value + 1
printIt(N)
print("")
newValue=1
for r in range (len(N)):
for c in range(len(N[0])):
N[r][c] = newValue
newValue = newValue + 1
printIt(N)
Explanation:
:D
Below is the required program of Python.
PythonProgram:
# Array name will be "N".
# Start program
# Defining a function and taking input array
def printIt(ar):
# Using for loop to scan the rows as well as columns of array
for row in range(len(ar)):
for col in range(len(ar[0])):
# Printing the element of array
print(ar[row][col], end=" ")
print("")
# Passing the array N
N=[]
# Again using the loop
for r in range(4):
N.append([])
# Loop to control rows
for r in range(len(N)):
value=1
# Loop to control columns
for c in range(5):
N[r].append(value)
value=value + 1
# Calling the function
printIt(N)
print("")
newValue=1
# Value in row and column
for r in range (len(N)):
for c in range(len(N[0])):
# Assigning the values to the array
N[r][c] = newValue
newValue = newValue + 1
# Printing the array
# End program
printIt(N)
Program code:
Start a program.Defining a function and taking input arrayUsing for loop to scan the rows as well as columns of arrayPrinting the element of arrayAgain using the loop to control rows and columns.Assigning the values to the arrayEnd program.Output:
Find below the attachment of the output of the program code.
Find out more information about Python here:
https://brainly.com/question/26497128
What are some examples and non-examples of digital security?
Answer:
Devices such as a smart card-based USB token, the SIM card in your cell phone, the secure chip in your contactless payment card or an ePassport are digital security devices
Setting Up Cascading Deletes
Use the drop-down menus to complete the steps to set up cascading deletes between two related tables.
1. Click the
tab
2. In the Relationships group, click Relationships
3. Double-click
4. In the Edit Relationship dialog box, add a check mark next to
5. Click OK
Done
Answer:
Database Tools, The Line Connecting the Tables, Cascade Delete Related Records
Explanation:
If a system contains 1,000 disk drives, each of which has a 750,000- hour MTBF, which of the following best describes how often a drive failure will occur in that disk farm:
a. once per thousand years
b. once per century, once per decade
c. once per year, once per month
d. once per week
e. once per day
f. once per hour
g. once per minute
h. once per second
Answer:
once per month
Explanation:
The correct answer is - once per month
Reason -
Probability of 1 failure of 1000 hard disk = 750,000/1000 = 750 hrs
So,
750/24 = 31.25 days
⇒ approximately one in a month.
what is the role of computer in modern problem solving
Answer:
Una computadora es una herramienta muy básica para hacer tareas repetitivas de forma más eficiente. Una computadora no es capaz de analizar un problema y obtener una solución.
Explanation:
Parts of a computer software
Answer:
I think application software
utility software
networking software
Create a public class called Exceptioner that provides one static method exceptionable. exceptionable accepts a single int as a parameter. You should assert that the int is between 0 and 3, inclusive.
If the int is 0, you should return an IllegalStateException. If it's 1, you should return a NullPointerException. If it's 2, you should return a ArithmeticException. And if it's 3, you should return a IllegalArgumentException.
// Begin class declaration
public class Exceptioner {
// Define the exceptionable method
public static void exceptionable(int number){
//check if number is 0.
if(number == 0) {
//if it is 0, return an IllegalStateException
throw new IllegalStateException("number is 0");
}
//check if number is 1
else if(number == 1) {
//if it is 1, return a NullPointerException
throw new NullPointerException("number is 1");
}
//check if number is 2
else if(number == 2) {
//if it is 2, return an ArithmeticException
throw new ArithmeticException("number is 2");
}
//check if number is 3
else if(number == 3) {
//if it is 3, return an IllegalArgumentException
throw new IllegalArgumentException("number is 3");
}
}
}
Sample Output:Exception in thread "main" java.lang.ArithmeticException: number is 2
at Main.exceptionable(Main.java:26)
at Main.main(Main.java:36)
Explanation:The code is written in Java with comments explaining important parts of the code.
A sample output for the call of the method with number 2 is also provided. i.e
exception(2)
gives the output provided above.
Three reasons why users attach speakers to their computer
How should you present yourself online?
a
Don't think before you share or like something
b
Argue with other people online
c
Think before you post
d
Tag people in photos they may not like
hurry no scammers
Answer: C) Think before you post.
Explanation:
There's a very good chance that whatever you post online will remain there indefinitely. So it's best to think about what would happen if you were to post a certain message on a public place. Keep in mind that you should also safeguard against your privacy as well.
3. Write a program to find the area of a triangle using functions. a. Write a function getData() for user to input the length and the perpendicular height of a triangle. No return statement for this function. b. Write a function trigArea() to calculate the area of a triangle. Return the area to the calling function. c. Write a function displayData() to print the length, height, and the area of a triangle ( use your print string) d. Write the main() function to call getData(), call trigArea() and call displayData().
Answer:
The program in C++ is as follows:
#include<iostream>
using namespace std;
void displayData(int height, int length, double Area){
printf("Height: %d \n", height);
printf("Length: %d \n", length);
printf("Area: %.2f \n", Area);
}
double trigArea(int height, int length){
double area = 0.5 * height * length;
displayData(height,length,area);
return area;
}
void getData(){
int h,l;
cin>>h>>l;
trigArea(h,l);
}
int main(){
getData();
return 0;
}
Explanation:
See attachment for complete program where comments are used to explain the solution
What menu and grouping commands is the "SORT" tool? ( please answering meeeee)
A)Home - editing
B) Edit - format
C )Page layout - sheet options
D) File - edit
If you want to continue working on your web page the next day, what should you do?
a. Create a copy of the file and make changes in that new copy
b. Start over from scratch with a new file
c. Once a file has been saved, you cannot change it
d. Reopen the file in your text editor to
Answer:
d. Reopen the file in your text editor
Answer:
eeeeeeeee
Explanation:
Expain how central processing unit function?
Answer:
Answer of CPU
Explanation:
Central Processing Unit (CPU) consists of the following features − CPU is considered as the brain of the computer. CPU performs all types of data processing operations. It stores data, intermediate results, and instructions (program). It controls the operation of all parts of the computer.
Answer:
A central processing unit (CPU), also called a central processor, main processor or just processor, is the electronic circuitry that executes instructions comprising a computer program.
(The Person, Student, Employee, Faculty, and Staff classes) Design a class named Person and its two subclasses named Student and Employee. Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and email address.A student has a class status (freshman, sophomore, junior, or senior). Define the status as a constant. An employee has
Answer:
Explanation:
The following code is written in Java and creates all the classes as requested with their variables, and methods. Each extending to the Person class if needed. Due to technical difficulties I have attached the code as a txt file below, as well as a picture with the test output of calling the Staff class.
Look at the code below and use the following comments to indicate the scope of the static variables or functions. Place the comment below the relevant line.
Module scope
Class scope
Function scope
#include
2
3 static const int MAX_SIZE=10;
4
5 // Return the max value
6 static double max(double d1)
7 {
8 static double lastMax = 0;
9 lastMax = (d1 > lastMax) ? d1 : lastMax;
10 return lastMax;
11 }
12
13 // Singleton class only one instance allowed
14 class Singleton
15 {
16 public:
17 static Singleton& getSingleton() { return theOne; }
18 // Returns the Singleton
19
Answer:
Explanation:
#include
static const int MAX_SIZE=10; //Class scope
// Return the max value
static double max(double d1) //Function scope
{
static double lastMax = 0; //Function scope
lastMax = (d1 > lastMax) ? d1 : lastMax; //Function scope
return lastMax; //Module Scope
}
// Singleton class only one instance allowed
class Singleton
{
public:
static Singleton& getSingleton() //Function scope
{
return theOne; //Module Scope
}
// Returns the Singleton
You are responsible for a rail convoy of goods consisting of several boxcars. You start the train and after a few minutes you realize that some boxcars are overloaded and weigh too heavily on the rails while others are dangerously light. So you decide to stop the train and spread the weight more evenly so that all the boxcars have exactly the same weight (without changing the total weight). For that you write a program which helps you in the distribution of the weight.
Your program should first read the number of cars to be weighed (integer) followed by the weights of the cars (doubles). Then your program should calculate and display how much weight to add or subtract from each car such that every car has the same weight. The total weight of all of the cars should not change. These additions and subtractions of weights should be displayed with one decimal place. You may assume that there are no more than 50 boxcars.
Example 1
In this example, there are 5 boxcars with different weights summing to 110.0. The ouput shows that we are modifying all the boxcars so that they each carry a weight of 22.0 (which makes a total of 110.0 for the entire train). So we remove 18.0 for the first boxcar, we add 10.0 for the second, we add 2.0 for the third, etc.
Input
5
40.0
12.0
20.0
5. 33.
0
Output
- 18.0
10.0
2.0
17.0
-11.0
Answer:
The program in C++ is as follows:
#include <iostream>
#include <iomanip>
using namespace std;
int main(){
int cars;
cin>>cars;
double weights[cars];
double total = 0;
for(int i = 0; i<cars;i++){
cin>>weights[i];
total+=weights[i]; }
double avg = total/cars;
for(int i = 0; i<cars;i++){
cout<<fixed<<setprecision(1)<<avg-weights[i]<<endl; }
return 0;
}
Explanation:
This declares the number of cars as integers
int cars;
This gets input for the number of cars
cin>>cars;
This declares the weight of the cars as an array of double datatype
double weights[cars];
This initializes the total weights to 0
double total = 0;
This iterates through the number of cars
for(int i = 0; i<cars;i++){
This gets input for each weight
cin>>weights[i];
This adds up the total weight
total+=weights[i]; }
This calculates the average weights
double avg = total/cars;
This iterates through the number of cars
for(int i = 0; i<cars;i++){
This prints how much weight to be added or subtracted
cout<<fixed<<setprecision(1)<<avg-weights[i]<<endl; }
Write a c++ to read seven days in an array and print it
Explanation:
Photosynthesis, the process by which green plants and certain other organisms transform light energy into chemical energy. During photosynthesis in green plants, light energy is captured and used to convert water, carbon dioxide, and minerals into oxygen and energy-rich organic compounds.
What is digital marketing?
Answer:
Digital marketing is the component of marketing that utilizes internet and online based digital technologies such as desktop computers, mobile phones and other digital media and platforms to promote products and services.
Explanation:
To have a reason or purpose to do something
a
Motivate
b
Identity
c
Deceive
d
Anonymous
The answer is A. Motivate
Answer:
A
Explanation: