state 4 basic operation performed by a computer​

Answers

Answer 1

Answer:

The processes are input, output, storing,processing, and controlling.

Answer 2
input, processing, output, and storage.

Related Questions

To iterate through (access all the entries of) a two-dimensional arrays you
need for loops. (Enter the number of for loops needed).

Answers

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

njvekbhjbehjrbgvkheb

Answers

Answer:

shvajskzhzjsbssjjsusisj

Given positive integer n, write a for loop that outputs the even numbers from n down to 0. If n is odd, start with the next lower even number.

Answers

Answer:

if(n % 2 == 0){

   for(int i = n; i >= 0; i-=2){

        System.out.println(i);

    }

}

else{

     for(int i = n - 1; i >= 0; i-=2){

        System.out.println(i);

     }

}

Sample output

Output when n = 12

12

10

8

6

4

2

0

Output when n = 21

20

18

16

14

12

10

8

6

4

2

0

Explanation:

The above code is written in Java.

The if block checks if n is even by finding the modulus/remainder of n with 2.  If the remainder is 0, then n is even. If n is even, then the for loop starts at i = n. At each cycle of the loop, the value of i is reduced by 2 and the value is outputted to the console.

If n is odd, then the else block is executed. In this case, the for loop starts at i = n - 1 which is the next lower even number. At each cycle of the loop, the value of i is reduced by 2 and the value is outputted to the console.

Sample outputs for given values of n have been provided above.

Write a program second.cpp that takes in a sequence of integers, and prints the second largest number and the second smallest number. Note that in the case of repeated numbers, we really mean the second largest and smallest out of the distinct numbers (as seen in the examples below). You may only use the headers: and . Please have the output formatted exactly like the following examples: (the red is user input)

Answers

Answer:

The program in C++ is as follows:

#include <iostream>

#include <vector>

using namespace std;

int main(){

   int n;

   cout<<"Elements: ";

   cin>>n;

   vector <int>num;

   int input;

   for (int i = 1; i <= n; i++){        cin>>input;        num.push_back(input);    }

   int large, seclarge;

   large = num.at(0);      seclarge = num.at(1);

  if(num.at(0)<num.at(1)){     large = num.at(1);  seclarge = num.at(0);   }

  for (int i = 2; i< n ; i ++) {

     if (num.at(i) > large) {

        seclarge = large;;

        large = num.at(i);

     }

     else if (num.at(i) > seclarge && num.at(i) != large) {

        seclarge = num.at(i);

     }

  }

  cout<<"Second Largest: "<<seclarge<<endl;

  int small, secsmall;

  small = num.at(1);       secsmall = num.at(0);

  if(num.at(0)<num.at(1)){ small = num.at(0);  secsmall = num.at(1);   }

  for(int i=0; i<n; i++) {

     if(small>num.at(i)) {  

        secsmall = small;

        small = num.at(i);

     }

     else if(num.at(i) < secsmall){

        secsmall = num.at(i);

     }

  }

  cout<<"Second Smallest: "<<secsmall;

  return 0;

}

Explanation:

See attachment for explanation

Write functions to compute a subset, find member, union, and intersection of sets. Follow the steps below:

1. Read two integers from the user.
2. Suppose one of the integers is 2311062158. The binary equivalent of this integer stored in a register will be 1000 1001 1100 0000 0000 0010 1000 1110. This data should be regarded as bit strings representing subsets of the set {1, 2, … 32}. If the bit string has a 1 in position i, then element i is included in the subset. Therefore, the string: 1000 1001 1100 0000 0000 0010 1000 1110 corresponds to the set: {2, 3, 4, 8, 10, 23, 24, 25, 28, 32}.
3. Print out members of the set from smaller to larger. You can do a loop from 1 to 32. Load a masking bit pattern that corresponded to the position number of the loop counter (0x00000001 for 1). Isolate the bit in the operand by using the AND operation. If the result of the AND is not 0 then the loop counter is in the set and should be displayed. Increment the counter and shift the masking bit pattern to the left.
4. Read a number from the user. Determine if that element is a member of the given sets.
5. Determine the union of two sets.
6. Determine the intersection of two sets.
7. Implement a loop back to the main function. See the prompts below: "Enter the first number:" "Enter the second number:" "Members of Set 1:" "Members of Set 2:" "Enter an element to find:" "It is a member/ not a member of set 1" "It is a member/ not a member of set 2" "Union of the sets:" "Intersection of the sets:" "Do you want to compute set functions again?"
8. Test the program using the following data:

Enter the first number: 99999
Enter the second number: 111445
Members of set 1: 1 2 3 4 5 8 10 11 16 17
Members of set 2: 1 3 5 7 9 10 13 14 16 17
Enter an element to find: 7
It is not a member of set 1
It is a member of set 2
Union of the sets: 1 2 3 4 5 7 8 9 10 11 13 14 16 17
Intersection of the sets: 1 3 5 10 16 17

Answers

Explanation:

Suppose one of the integers is 2311062158. The binary equivalent of this integer stored in a register will be 1000 1001 1100 0000 0000 0010 1000 1110. This data should be regarded as bit strings representing subsets of the set {1, 2, … 32}. If the bit string has a 1 in position i, then element i is included in the subset. Therefore, the string: 1000 1001 1100 0000 0000 0010 1000 1110 corresponds to the set: {2, 3, 4, 8, 10, 23, 24, 25, 28, 32}.

state two ways of moving an icon from one location to another​

Answers

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:

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

Answers

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.

How to use the RANK Function in Microsoft Excel

Answers

Answer:

=RANK (number, ref, [order])

See Explanation

Explanation:

Literally, the rank function is used to rank values (i.e. cells) in a particular order (either ascending or descending).

Take the following instances:

A column used for total sales can use rank function to rank its cells from top sales to least.

A cell used for time can also use the rank function to rank its cells from the fastest time to slowest.

The syntax of the rank function is:

=RANK (number, ref, [order])

Which means:

[tex]number \to[/tex] The rank number

[tex]ref \to[/tex] The range of cells to rank

[tex]order \to[/tex] The order of ranking i.e. ascending or descending. This is optional.

Plzz help will mark brainliest

Answers

Answer:

11. 3 dimensions

12. ( i believe its number 3)

13. 2 option

14. Natural Light

15. Development

Explanation:

Which of the following is primarily operated by a touchscreen?
Mobile device
Notebook
Desktop
Network

Answers

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.

A pharmaceutical company is going to issue new ID codes to its employees. Each code will have three letters followed by one digit. The letters and and the digits , , , and will not be used. So, there are letters and digits that will be used. Assume that the letters can be repeated. How many employee ID codes can be generated

Answers

Answer:

82,944 = total possible ID's

Explanation:

In order to find the total number of combinations possible we need to multiply the possible choices of each value in the ID with the possible choices of the other values. Since the ID has 3 letters and 1 digit, and each letter has 24 possible choices while the digit has 6 possible values then we would need to make the following calculation...

24 * 24 * 24 * 6 = total possible ID's

82,944 = total possible ID's

Please answer it’s timed

Answers

Product safety cuz it talking about safety

Answer:

product safety

Explanation:

brainly:)^

Popular periodicals might include newspapers

True or false?

Answers

Answer:

False

Explanation:

Because there is no way that would be correct!

Answer:

True

Explanation:

It makes sense

~Plz tap the crown ~

~Thank you~

Code a Python program that uses a graphical user interface (GUI) to address a real-world problem. Within reason, you may choose to address any real-world problem that you would like; however, please only choose a real-world problem that is both safe and legal.

Answers

Answer:

Explanation:

The following is a simple GUI Python program that solves for the different variables in a Pythagorean theorem equation, which is a real-world problem that many students have to face on a daily basis. The output can be seen in the attached picture below. Due to technical difficulties, I have added the code as a txt file attachment.

1. A bank customer invested $24 in a bank with 5 percent simple interest per year, write a program the construct a table showing how much money the bank customer would have at the end of each 20- year period starting in 2021 to 2041.

2. A programmer starts with salary of $65,000 and expect to receive $1500 raise each year. Write a program to compute and print the programmer's salary for each of the first 10 years and total amount of money the programmer would receive over the 10- year period.

Answers

Answer:

1.lettuce is 2021 to 2,000 4136 verse 2. that is 10 years to tell if your 10 years 20 years old point month


Landing pages in a foreign language should never be rated fully meets?

Answers

Answer:

if the landing page provides all kind information of information as to that site people usually like it or will most likely enjoy it

BRAINLIEST?????

Explanation:

pleaseeeeeeee tellllllllllllllllllllll​

Answers

Answer:

visual communication

hope it helps

stay safe healthy and happy.

Answer:

visual communication will be the correct answer

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.

Answers

Answer:

//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.

explain the errors in each error in spreadsheet and how to correct each​

Answers

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:

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

Answers

Answer:

D. parking brake

Explanation:

In Python what are the values passed into functions as input called?

Answers

formal parameter or actual parameter i think

Which of the following describes a characteristic of organic light-emitting diodes (OLEDs) used in clothing?

uniform

flexible

transparent

sizeable

Answers

Flexible

Hopes this helps!

Answer:

Yes the answer is flexible.

Explanation:

I took the test and got it right.

When parameters are passed between the calling code and the called function, formal and actual parameters are matched by: a.

Answers

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.

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);

Answers

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

Other Questions
Help I Will Give You Brainliest!!!! PLEASE HELP I DON'T KNOW Which two elements should I go to literally analysis essay include PLEASE HELP ME WILL GIVE BRAINLIEST How did Italian High Renaissance painters often create theillusion of depth?They used the pyramid configuration to create theillusion of depth.O They used chiaroscura to create the illusion of depth.O They used sfumato to create the illusion of depth.They used one-point perspective to create theillusion of depth. lucy runs from the fauntrue or false Find the value of x. 2x - 5 > 7 * Look at the reference article. The New York Times is otherwise considered a credible source, but what would lead you to question the credibility of the information presented in this specific article? How were the islands of the Mediterraneanformed ______ is a chemical reaction between an acid and a base that forms a salt and water. Group of answer choices Neutralization Dissociation Titration Ionization Help calculate the density and please type it like this and explain how you got the answer thanks Mass: Volume; Density: What is a limitation of a primary-source argument?1. Irrelevant facts 2. Personal opinions 3. Verifiable information 4. Convincing conclusions Express the null hypothesis and the alternative hypothesis in symbolic form. Use the correct symbol ( , rho, ) for the indicated parameter. A psychologist claims that more than 5.8 percent of the population suffers from professional problems due to extreme shyness. Use p, the true percentage of the population that suffers from extreme shyness.a) H0 : p = 5.8%H1 : p < 5.8%b) H0 : p = 5.8%H1 : p 5.8%c) H0 : p = 5.8%H1 : p > 5.8%d) H0 : p = 5.8%H1 : p 5.8% Hey i need help remembering the name of the free online therapy thing. My friend really needs it and ik the name starts with 2cups.please no links Can you help me im stuck on thisOne question Ian invested $20,000 in an account paying an interest rate of 3\tfrac{1}{4}3 4 1 % compounded continuously. Lauren invested $20,000 in an account paying an interest rate of 3\tfrac{7}{8}3 8 7 % compounded monthly. After 20 years, how much more money would Lauren have in her account than Ian, to the nearest dollar? A state government study surveyed a representative sample of child-care centers about childhood illnesses. Which statement BEST explains what makes the sample representative?A Every child-care center in the state participated in the study.B Every child-care center in the state had an equal chance of participating in the study.C Every child-care center was asked a series of randomly selected questions.D Every child-care center that participated must have reported childhood illnesses to the state. Which of the following educationlevels would allow a person to obtaina job as a statistician?A. Associate's degreeB. Bachelor's degreeC. Master's degreeD. Doctorate degree write an Reasoned essay about family budget. ty already! oh and it needs to be at least 150 words. pls i need it now What is the main purpose of the Indian Removal Act? (1) To force Native Americans to resettle in the Southeast.(2) To make the area west of the Mississippi River more suitable for farming.(3) To remove President Jackson from office.(4) To force Native Americans to resettle west of the Mississippi River hi ill give brainliest but you gotta give a correct answer thanks