Answer:
Some examples include versions of Microsoft Windows (like Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP), Apple's macOS (formerly OS X)
Explanation:
Answer:
windows 10 macOs window xp window 8
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:
Which of the following are examples of nontoxic materials used in computer equipment?
gold, silver, copper
arsenic, copper, gold
dioxin, silver, gold
copper, silver, lead
Answer: Gold, Silver, Copper
Explanation:
Gold is very useful in computers as it can be used for connectors, connecting wires and even memory chips. It is a nonreactive metal and so is not toxic unless it is consumed (and in large quantities).
Silver is another nontoxic metal used in computers to make circuit boards, cellphones and even keyboard components. Finally there is the very important copper which is a useful electronic component for more than just computers. This non-toxic metal has contributed significantly to the development of many things electrical including, as already mentioned, computers.
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
How does CSS relate to HTML
Answer:
CSS stands for Cascading Style Sheets with an emphasis placed on “Style.” While HTML is used to structure a web document (defining things like headlines and paragraphs, and allowing you to embed images, video, and other media), CSS comes through and specifies your document's style—page layouts, colors, and fonts are
Explanation:
Komunikasi, dengan program ini kita juga bisa berkomunikasi dengan pengguna lain.Program ini sudah dirancang untuk bisa saling bertukar informasi dalam bentuk jaringan dimana orang lain bisa membuka lembar kerja kita dari terminal (komputer) yang berlainan,bahkan ia juga bisa melakukan perubahan pada lembar kerja yang sama pada saat yang bersamaan pula. Kata pengguna lain dapat disebut dengan kata:_____________
Answer:
what language is this?
Explanation:
Write a class named Employee that has private data members for an employee's name, ID_number, salary, and email_address. It should have an init method that takes four values and uses them to initialize the data members. It should have get methods named get_name, get_ID_number, get_salary, and get_email_address. Write a separate function (not part of the Employee class) named make_employee_dict that takes as parameters a list of names, a list of ID numbers, a list of salaries and a list of email addresses (which are all the same length). The function should take the first value of each list and use them to create an Employee object. It should do the same with the second value of each list, etc. to the end of the lists. As it creates these objects, it should add them to a dictionary, where the key is the ID number and the value for that key is the whole Employee object. The function should return the resulting dictionary. For example, it could be used l
Solution :
class Employee:
#Define the
#constructor.
def __[tex]$\text{init}$[/tex]__([tex]$\text{self, nam}e$[/tex], ID_number, [tex]$\text{salary}$[/tex], email):
#Set the values of
#the data members of the class.
[tex]$\text{self.nam}e$[/tex] = name
[tex]$\text{self.ID}$[/tex]_number = ID_number
[tex]$\text{self.salary}$[/tex] = salary
self.email_address = email
#Define the function
#make_employee_dict().
def make_employee_dict(list_names, list_ID, list_salary, list_email):
#Define the dictionary
#to store the results.
employee_dict = {}
#Store the length
#of the list.
list_len = len(list_ID)
#Run the loop to
#traverse the list.
for i in range(list_len):
#Access the lists to
#get the required details.
name = list_names[i]
id_num = list_ID[i]
salary = list_salary[i]
email = list_email[i]
#Define the employee
#object and store
#it in the dictionary.
employee_dict[id_num] = Employee(name, id_num, salary, email)
#Return the
#resultant dictionary.
return employee_dict
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.
[tex] \tt{Define \: hardware.}[/tex]
Answer:
The vital components of a computer system , which can be seen and touched , are called hardware .
examples
keyboard monitormousehope it is helpful to you
Answer:
Hardware is the collective term for the internal and external hardware that enables you to carry out key operations including input, output, storage, communication, processing, and more.
___________________
Hope this helps!
state 4 basic operation performed by a computer
Answer:
The processes are input, output, storing,processing, and controlling.
Please answer it’s timed
Answer:
product safety
Explanation:
brainly:)^
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.
// 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]
it is a group of two or more computer system connect to each other
network is a group of two or more computer system connected together
how do you fix The lag on your zsnes emulator I’m playing it on My laptop
Answer:
Use a laptop that is not a potato.
Explanation:
ZSNES has super low system requirements, so if it's running poorly you are probably running it on a potato. You might also try a different emulator such as BSNES, if you think that the problem is not the underpowered computer.
How do you get off of the comments after you look at them wit out going all the way off the app?
pleaseeeeeeee tellllllllllllllllllllll
Answer:
true is the correct answer
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 :)
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:
Plzz help will mark brainliest
Answer:
11. 3 dimensions
12. ( i believe its number 3)
13. 2 option
14. Natural Light
15. Development
Explanation:
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.
Select the correct answer.
What is the purpose of using graphics and animation in the title sequence of a video production?
A. they are historical remnants from the era of silent films
B. they provide a synopsis of the program
Oc. they are a substitute for dialogues or a voiceover
D. they break the monotony of watching live action
E. they provide a clue about what to expect in a program
Answer:
They provide a clue about what to expect in a program
Write a recursive method named digitSum that accepts an integer as a parameter and returns the sum of its digits. For example, calling digitSum(1729) should return 1 7 2 9, which is 19. If the number is negative, return the negation of the value. For example, calling digitSum(-1729) should return -19.
Answer:
The function in Python is as follows:
def digitSum( n ):
if n == 0:
return 0
if n>0:
return (n % 10 + digitSum(int(n / 10)))
else:
return -1 * (abs(n) % 10 + digitSum(int(abs(n) / 10)))
Explanation:
This defines the method
def digitSum( n ):
This returns 0 if the number is 0
if n == 0:
return 0
If the number is greater than 0, this recursively sum up the digits
if n>0:
return (n % 10 + digitSum(int(n / 10)))
If the number is lesser than 0, this recursively sum up the absolute value of the digits (i.e. the positive equivalent). The result is then negated
else:
return -1 * (abs(n) % 10 + digitSum(int(abs(n) / 10)))
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()
What is the first step you should take when you want to open a savings account? A. Present your photo ID to the bank representative. B. Go to the bank and fill out an application. C. Make your initial deposit. D. Review the different savings account options that your blunk offers.
Answer: B
Explanation:
How wireless communication might affect the development and implementations of internet of things?
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.
InfoTrac is an aggregated database?
True
False
Answer: true
Explanation:
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:
What allows you to navigate up down left and right in a spreadsheet?
Answer:
scrollbar?
Explanation:
____________
list eight applications software
Answer:
Eight applications software are:
Word processing softwareSpreadsheet software Graphics software Database software Web browser softwareAnimation softwareInternet browser softwares like: fire fox, chrome etcPresentation software