Answer:
Planning and scheduling. ...
Collaboration. ...
Documentation. ...
Reporting. ...
Resource management. ...
Managing the project budget.
Explanation:
pleaseeeeeeee tellllllllllllllllllllll
Answer:
true is the correct answer
state two ways of moving an icon from one location to another
Answer:
To arrange icons by name, type, date, or size, right-click a blank area on the desktop, and then click Arrange Icons.
Click the command that indicates how you want to arrange the icons (by Name, by Type, and so on).
If you want the icons to be automatically arranged, click Auto Arrange.
If you want to arrange the icons on your own, click Auto Arrange to remove the check mark.
Explanation:
When parameters are passed between the calling code and the called function, formal and actual parameters are matched by: a.
Answer:
their relative positions in the parameter and argument lists.
Explanation:
In Computer programming, a variable can be defined as a placeholder or container for holding a piece of information that can be modified or edited.
Basically, variable stores information which is passed from the location of the method call directly to the method that is called by the program.
For example, they can serve as a model for a function; when used as an input, such as for passing a value to a function and when used as an output, such as for retrieving a value from the same function. Therefore, when you create variables in a function, you can can set the values for their parameters.
A parameter can be defined as a value that must be passed into a function, subroutine or procedure when it is called.
Generally, when parameters are passed between a calling code and the called function, formal and actual parameters are usually matched by their relative positions in the parameter and argument lists.
A formal parameter is simply an identifier declared in a method so as to represent the value that is being passed by a caller into the method.
An actual parameter refers to the actual value that is being passed by a caller into the method i.e the variables or values that are passed while a function is being called.
Create a new Java class called AverageWeight. Create two arrays: an array to hold 3 different names and an array to hold their weights. Use Scanner to prompt for their name and weight and store in correct array. Compute and print the average of the weights entered using printf command. Use a loop to traverse and print the elements of each array or use Arrays class method to print. Submit your code.
//import the Scanner class
import java.util.Scanner;
//begin class definition
public class AverageWeight{
//declare the main method
public static void main(String []args){
//declare the names array
String [] names = new String [3];
//declare the weights array
double [] weights = new double [3];
//Create an object of the Scanner class
Scanner input = new Scanner(System.in);
//create a loop to ask for the names and weights.
for(int i = 0; i< names.length; i++){
System.out.println("Enter name " + (i+1));
names[i] = input.next();
System.out.println("Enter weight " + (i+1));
weights[i] = input.nextDouble();
}
//find the sum of the weights
double sum = 0.0;
for(int j = 0; j< weights.length; j++){
sum += weights[j];
}
//find the average
double average = sum / weights.length;
//print out the average of the weights
System.out.printf("%s%f \n", "The average of the weights is ", average);
//print out the elements of the names array
System.out.println("Names : ");
System.out.print("{ ");
for(int i = 0; i< names.length; i++){
System.out.print(names[i] + " ");
}
System.out.print(" }");
//print out the elements of the weights array
System.out.println();
System.out.println();
System.out.println("Weights : ");
System.out.print("{ ");
for(int i = 0; i< weights.length; i++){
System.out.print(weights[i] + " ");
}
System.out.print(" }");
} //end of main method
} //end of class definition
Sample Output>> Enter name 1
Peter
>> Enter weight 1
12.0
>> Enter name 2
Joe
>> Enter weight 2
23.4
>> Enter name 3
Paul
>> Enter weight 3
23.9
The average of the weights is 19.766667
Names :
{ Peter Joe Paul }
Weights :
{ 12.0 23.4 23.9 }
Explanation:The code contains comments explaining important lines.
The source code file has been attached to this response.
A sample output has also been provided.
The smalled valid zip code is 00501. The largest valid zip code is 89049. A program asks the user to enter a zip code and stores it in zip as an integer. So a zip code of 07307 would be stored as 7307. This means the smallest integer value allowed in zip is 501 and the largest integer value allowed in zip is 89049. Write a while loop that looks for BAD zip code values and asks the user for another zip code in that case. The loop will continue to execute as long as the user enters bad zip codes. Once they enter a good zip code the progam will display Thank you. The first line of code that asks for the zip code is below. You don't have to write this line, only the loop that comes after it.
Answer:
The program in Python is as follows:
zipp = int(input("Zip Code: "))
while (zipp > 89049 or zipp < 501):
print("Bad zip code")
zipp = int(input("Zip Code: "))
print("Thank you")
Explanation:
This gets input for the zip code [The given first line is missing from the question. So I had to put mine]
zipp = int(input("Zip Code: "))
This loop is repeated until the user enters a zip code between 501 and 89049 (inclusive)
while (zipp > 89049 or zipp < 501):
This prints bad zip code
print("Bad zip code")
This gets input for another zip code
zipp = int(input("Zip Code: "))
This prints thank you when the loop is exited (i.e. when a valid zip code is entered)
print("Thank you")
If you are writing an article on your favorite cuisine, which form of illustration would best fit the article?
Bill needs to make a presentation in which he has to represent data in the form of a pyramid. Which feature or menu option of a word processing program should Bill use?
Answer:
images
Explanation:
Adding images to the text gives it more life and makes the topic interesting
Consider the following code segment, where num is an integer variable.
int [][] arr = {{11, 13, 14 ,15},
{12, 18, 17, 26},
{13, 21, 26, 29},
{14, 17, 22, 28}};
for (int j = 0; j < arr.length; j++)
{
for (int k = 0; k < arr[0].length; k++)
{ if (arr[j][k] == num){System.out.print(j + k + arr[j][k] + " ");
}
}
}
What is printed when num has the value 14?
Answer:
Following are the complete code to the given question:
public class Main//main class
{
public static void main(String[] args) //main method
{
int [][] arr = {{11, 13, 14 ,15},{12, 18, 17, 26},{13, 21, 26, 29},{14, 17, 22, 28}};//defining a 2D array
int num=14;//defining an integer variable that holds a value 14
for (int j = 0; j < arr.length; j++)//defining for loop to hold row value
{
for (int k = 0; k < arr[0].length; k++)//defining for loop to hold column value
{
if (arr[j][k] == num)//defining if block that checks num value
{
System.out.print(j + k + arr[j][k] + " ");//print value
}
}
}
}
}
Output:
16 17
Explanation:
In the question, we use the "length" function that is used to finds the number of rows in the array. In this, the array has the 4 rows when j=0 and k=2 it found the value and add with its index value that is 0+2+14= 16.similarly when j=3 and k=0 then it found and adds the value which is equal to 3+0+14=17.So, the output is "16,17".2.
When parking on hills or an unlevel surface, make sure your
is engaged when you leave the vehicle.
A. turn signal
B. accelerator
C. brake pedal
D. parking brake
Answer:
D. parking brake
Explanation:
Es el conjunto de manifestaciones materiales, intelectuales y espirituales que distinguen a un pueblo a)Civilización b)Cultura c)Tradiciones d)Costumbres
Answer:
a)Civilización
Explanation:
How do you answer a question that's already been answered?
Which of the following is primarily operated by a touchscreen?
Mobile device
Notebook
Desktop
Network
Answer: The correct answer is Mobile device
Explanation:
A Mobile device is any portable equipment that can be easily connected to an internet. Example of mobile devices include; smart phones, palmtop, smart watch and other computer gadgets. The use of touchscreen for input or output on mobile devices can not be overemphasized. Mobile devices are handy and can be used for making work easy. As such, in order to effectively use mobile devices, touchscreen can be primarily used.
Please answer it’s timed
Answer:
product safety
Explanation:
brainly:)^
Implement a class Rectangle. Provide a constructor to construct a rectangle with a given width and height, member functions get_perimeter and get_area that compute the perimeter and area, and a member function void resize(double factor) that resizes the rectangle by multiplying the width and height by the given factor
Answer:
Explanation:
The following code is written in Java. It creates the Rectangle class with the height and width variables. The constructor takes these variables as parameters to create Rectangle objects. It creates the get_perimeter method that sums up two of each side in order to get the perimeter of the Rectangle. A get_area method multiplies the height by the width to get the area. Finally, a resize method takes in a double factor variable and multiplies the height and the width by the factor to get a resized Rectangle object.
class Rectangle {
double height, width;
public Rectangle(double height, double width) {
this.height = height;
this.width = width;
}
public double get_perimeter() {
return (this.height + this.height + this.width + this.width);
}
public double get_area() {
return (this.height * this.width);
}
public void resize(double factor) {
this.height *= factor;
this.width *= factor;
}
}
What allows you to navigate up down left and right in a spreadsheet?
Answer:
scrollbar?
Explanation:
____________
Expectation on Information Technology Fundamental
You can expect to develop an understanding of information systems, programming languages, information management and artificial intelligence, leaving your studies with the ability to apply your knowledge to solve problems.
You are in the process of implementing a network access protection (NAP) infrastructure to increase your network's security. You are currently configuring the remediation network that non-compliant clients will connect to in order to become compliant. The remediation network needs to be isolated from the secure network. Which technology should you implement to accomplish this task
Answer:
Network Segmentation
Explanation:
The best technology to implement in this scenario would be Network Segmentation. This allows you to divide a network into various different segments or subnets. Therefore, this allows you to isolate the remediation network from the secure network since each individual subnet that is created acts as its own network. This also allows you to individually implement policies to each one so that not every network has the same access or permissions to specific data, traffic, speeds, etc. This would solve the issues that you are having and add multiple benefits.
All name of Lines Pls Help I give you 98 points
Answer:
Straight.
Parallel Lines.
Curved.
Diagonal.
Dotted.
Vertical.
Zigzag.
Spiral.
Explanation:
u did not explain ur question properly , but i hope this is correct
Answer:
Explanation:
If the question is about geometry in math, then there are four types of lines:
- Horizontal Lines
- Vertical Lines
- Parallel Lines
- Perpendicular Lines
Design a base class, Road, with the following members:
.
Attributes for storing the road's name, number of lanes, and maximum speed limit.
A three-parameter constructor to initialize the three attributes
Accessors and Mutators (Gets and Sets) for each attribute.
Input Validation: You should ensure that the number of lanes is always a value greater
than 0, and that the maximum speed limit is a value between 0 and 100 MPH. This input
validation should apply to both the 3-parameter constructor and the individual accessor
functions
A display function that prints the road's information in a single line format
Design a derived class, TollRoad, which inherits from Road. It should have the following members:
.
An attribute for storing the toll for using the road.
A 4-parameter constructor to initialize the three attributes of the base class, as well as
the toll
Accessor and Mutator methods for the toll.
Input Validation: You should ensure that the toll is a value greater than 0.0. This validation
should apply to both the 4-parameter constructor as well as the individual accessor
An overridden display function that displays the information of the TollRoad in a two-line
format, where the first line displays basic Road information, and a second line specifies
the current toll
I've attached my Java implementation.
The main part of your program has the following line of code.
answer = divide(30,5)
Which function finds the quotient of 30 and 5 and returns 6?
Answer: D
Explanation:
It is not A or C because the "d" in "Divide" is capitalized and the d is lowercase in calling the function. Therefore the answer is D (the last choice) because numA / numB (30 / 5) equals 6.
The major portion of the program has a line of code. The functions that find the quotient of 30 and 5 and returns 6 is as follows:-
def divide(numA, numB)
: return numA/numB
Thus, option D is correct.
What is program?A computer program is a collection of instructions written in a programming language that a computer can execute. Software contains computer programs as well as documentation and other immaterial components. Source code refers to a computer system in its human-readable form.
Source lines of code, often known as lines of code, is an algorithm computes that counts the number of lines in the text of a computer program's source code to determine the size of the program.
It is not A or C since the "d" in "Divide" is uppercase, but the d in invoking the function is lowercase. As a result, D (the last option) is the correct solution, since numA / numB (30 / 5) = 6. Therefore, it can be concluded that option D is correct.
Learn more about the program here:
https://brainly.com/question/3224396
#SPJ2
In this lab, you use what you have learned about searching an array to find an exact match to complete a partially prewritten C program. The program uses an array that contains valid names for 10 cities in Michigan. You ask the user to enter a city name; your program then searches the array for that city name. If it is not found, the program should print a message that informs the user the city name is not found in the list of valid cities in Michigan. The file provided for this lab includes the input statements and the necessary variable declarations. You need to use a loop to examine all the items in the array and test for a match. You also need to set a flag if there is a match and then test the flag variable to determine if you should print the the Not a city in Michigan. message. Comments in the code tell you where to write your statements. You can use the previous Mail Order program as a guide. Instructions Ensure the provided code file named MichiganCities.cpp is open. Study the prewritten code to make sure you understand it. Write a loop statement that examines the names of cities stored in the array. Write code that tests for a match. Write code that, when appropriate, prints the message Not a city in Michigan.. Execute the program by clicking the Run button at the bottom of the screen. Use the following as input: Chicago Brooklyn Watervliet Acme
Answer:
Complete the program as follows:
for(int i = 0; i<10; i++){
if(inCity == citiesInMichigan[i]){
foundIt = true;
break; } }
if(foundIt){ cout<<"It is a city"; }
else{ cout<<"Not a city"; }
Explanation:
Required
Complete the pre-written code in C++ (as indicated by the file name)
The pre-written code; though missing in this question, can be found online.
The explanation of the added lines of code is as follows:
This iterates through the array
for(int i = 0; i<10; i++){
This checks if the city exists in the array
if(inCity == citiesInMichigan[i]){
If yes, foundIt is updated to true
foundIt = true;
And the loop is exited
break; } } -- The loop ends here
If foundIt is true, print it is a city
if(foundIt){ cout<<"It is a city"; }
Print not a city, if otherwise
else{ cout<<"Not a city"; }
// MichiganCities.cpp - This program prints a message for invalid cities in Michigan.// Input: Interactive// Output: Error message or nothing#include <iostream>#include <string>using namespace std;int main(){ // Declare variables string inCity; // name of city to look up in array const int NUM_CITIES = 10; // Initialized array of cities string citiesInMichigan[] = {"Acme", "Albion", "Detroit", "Watervliet", "Coloma", "Saginaw", "Richland", "Glenn", "Midland", "Brooklyn"}; bool foundIt = false; // Flag variable int x; // Loop control variable // Get user input cout << "Enter name of city: "; cin >> inCity; // Write your loop here for (x = 0; x < NUM_CITIES; x++) { // Write your test statement here to see if there is // a match. Set the flag to true if city is found. if (inCity == citiesInMichigan[x]) { foundIt = true; cout << "City found." << endl; break; } else { foundIt = false; } } // Test to see if city was not found to determine if // "Not a city in Michigan" message should be printed. if (!foundIt) { cout << "Not a city in Michigan." << endl; } return 0; } // End of main()
public class Square extends Shape{
/**Like with Shape, we will be making a static instance variable
* to keep track of how many squares we have made. It is very
* similar to the one in shape, and it's uses are similar as well.
* It too is initialized to zero.
*
* We may also need additional instance variables, which you should
* declare as needed. They will not need to be static nor initialized
* here though.
**/
/**You may need additional instance variables. Declare them here.
**/
/**The constructor for Square is a little more involved than the
* Shape constructor, as it takes a single double parameter representing
* the side length. It should also call the super constructor, as
* calling it increments the number of shapes made, which we should
* do (as a Square extends Shape). We also need to increment the
* instance variable representing the number of squares made, and handle
* our parameter appropriately.
**/
public Square(double sideLength){
}
/**Like with our other shapes, this is a simple getter method for our
* static instance variable.
**/ public static int getNumSquaresMade(){
return -1;
}
/**As always, we must override getSize() for our Square. A Square's size
* is simply it's side length squared.
**/
}
public class Shape{
private static int numShapesMade = 0;
public Shape(){
numShapesMade++;
}
public static int getNumShapesMade(){
return numShapesMade;
}
public double getSize(){
return 0;
}
}
Answer:
I would say A
Explanation:
Enjoy :)
What is a document?
a information about a computer file, distinct from the information it contains
a set of information gathered together
a two- to four-letter string set to the right of the dot in a filename; this designates the type of information in the file
a computer file representing a specific text item
Answer:
A document is a written, drawn, presented, or memorialized representation of thought, often the manifestation of non-fictional, as well as fictional, content. The word originates from the Latin Documentum, which denotes a "teaching" or "lesson": the verb doceō denotes "to teach" In general, a document (noun) is a record or the capturing of some event or thing so that the information will not be lost. A document is a form of information. A document can be put into an electronic form and stored in a computer as one or more files. Often a single document becomes a single file.
10. This question refers to the chart from the previous question.
Which of the following conclusions is BEST supported by the scatter plot?
OOOO
A. Most dogs breeds have a maximum weight of 100 lbs or more
B. Most dog breeds have a maximum life span of 10 or fewer years
C. All dog breeds that weigh less than 50 pounds have a maximum lifespan of more than 10 years
D. No dog breeds that weigh more than 150 pounds are expected to live more than 10 years.
Answer: C. All dog breeds that weigh less than 50 pounds have a maximum lifespan of more than 10 years.
Explanation:
Looking at the scatter plot, it is shown that all dogs that weigh less than 50 pounds have a maximum lifespan that is above 10 years with a number of them even approaching 20 years.
This means that on average, dogs that weigh less tend to live longer than dogs that weigh more which as shown in the scatter plot have a lower lifespan the heavier they are.
state 4 basic operation performed by a computer
Answer:
The processes are input, output, storing,processing, and controlling.
// Exercise 4.16: Mystery.java
2 public class Mystery
3 {
4 public static void main(String[] args)
5 {
6 int x = 1;
7 int total = 0;
8
9 while (x <= 10)
10 {
11 int y = x * x;
12 System.out.println(y);
13 total += y;
14 ++x;
15 }
16
17 System.out.printf("Total is %d%n", total);
18 }
19 } // end class Mystery
Answer:
385
Explanation:
There was no question so I simply run the program for you and included the output.
The program seems to calculate: [tex]\sum\limits_{x=1}^{10} x^2[/tex]
To iterate through (access all the entries of) a two-dimensional arrays you
need for loops. (Enter the number of for loops needed).
Answer: You would need two loops to iterate through both dimensions
Explanation:
matrix = [[1,2,3,4,5],
[6,7,8,9,10],
[11,12,13,14,15]]
for rows in matrix:
for numbers in rows:
print(numbers)
The first loop cycles through all the immediate subjects in it, which are the three lists. The second loop calls the for loop variable and iterates through each individual subject because they are lists. So the first loop iterates through the 1st dimension (the lists) and the seconds loop iterates through the 2nd dimension (the numbers in the lists).
To iterate through (access all the entries of) a two-dimensional arrays you need two for loops.
What is an array?A collection of identically typed items, such as characters, integers, and floating-point numbers, are kept together in an array, a form of data structure.
A key or index that can be used to retrieve or change the value kept in that location identifies each element in the array.
Depending on how many indices or keys are used to identify the elements, arrays can be one-dimensional, two-dimensional, or multi-dimensional.
Two nested for loops are often required to iterate over a two-dimensional array: one to loop through the rows, and the other to loop through the columns.
As a result, two for loops would be required to access every entry in a two-dimensional array.
Thus, the answer is two for loops are required.
For more details regarding an array, visit:
https://brainly.com/question/19570024
#SPJ6
State ant two reasons why information should be saved on the computer.
Having duplicate copies of your most important information saved in a remote location keeps it safe in case anything goes badly wrong with your computer. When you think about it there are a number of ways files can be lost unexpectedly.
Populations are effected by the birth and death rate, as well as the number of people who move in and out each year. The birth rate is the percentage increase of the population due to births and the death rate is the percentage decrease of the population due to deaths. Write a program that displays the size of a population for any number of years. The program should ask for the following data:
• The starting size of a population
• The annual birth rate
• The annual death rate
• The number of years to display
Write a function that calculates the size of the population for a year. The formula is
N = P + BP − DP
where N is the new population size, P is the previous population size, B is the birth rate, and D is the death rate.
Input Validation: Do not accept numbers less than 2 for the starting size. Do not accept negative numbers for birth rate or death rate. Do not accept numbers less than 1 for the number of years.
#include
using namespace std;
double calcOfPopulation(double, double, double);
double inputValidate(double, int);
int main()
{
double P, // population size
B, // birth rate %
D, // death rate %
num_years;
cout << "Starting size of population: ";
P = inputValidate(P, 2);
cout << "Annual birth rate: %";
B = inputValidate(B, 0);
cout << "Annual death rate: %";
D = inputValidate(D, 0);
cout << "Number of years to display: ";
num_years = inputValidate(num_years, 1);
cout << "Population size for "
<< num_years << " years "
<< " = "
<< (calcOfPopulation(P, B, D) * num_years)
<< endl;
return 0;
} // END int main()
double inputValidate(double number, int limit)
{
while(!(cin >> number) || number < limit)
{
cout << "Error. Number must not be "
<< " 0 or greater:";
cin.clear();
cin.ignore(numeric_limits::max(), '\n');
}
return number;
}
double calcOfPopulation(double P, double B, double D)
{
B *= .01; // 3.33% = .0333
D *= .01; // 4.44% = .0444
return P + (B * P) - (D * P);
Answer:
See attachment for program source file
Explanation:
The source code in the question is not incorrect; just that, it was poorly formatted.
So, what I did it that:
I edited the source code to be in the right formats.numeric_limits needs the <limits> header file to work properly. The <limits> header file was not included in the original source file; so, I added #include<limits> at the beginning of the source fileI corrected the wrongly declared function prototypes.See attachment for the modified program source file
explain the errors in each error in spreadsheet and how to correct each
Answer:
###### error. Problem: The column is not wide enough to display all the characters in a cell. ...
# Div/0! error. ...
#Name? error. ...
#Value! error. ...
#REF! error. ...
#NUM! error. ...
#NULL error.
Explanation:
which file format would be appropriate for web graphics
Answer:
PNG
Explanation:
PNG files can shrink to incredibly small sizes - especially images that are simple colours, shapes, or text. This makes it the ideal image file type for Web graphics.