1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Feliz [49]
3 years ago
5

What is a computer network?

Computers and Technology
1 answer:
Fiesta28 [93]3 years ago
3 0

Answer:

A computer network is a set of computers connected together for the purpose of sharing resources. The most common resource shared today is connection to the Internet. Other shared resources can include a printer or a file server.

You might be interested in
Write a program that asks a user to roll a single die twice to get a sum value of 7. If the sum is 11, the user loses. If the su
barxatty [35]

Answer:

Check the explanation

Explanation:

#include <stdio.h>

int dice1;

int dice2;

int sum;

int roll_die_twice(int dice1,int dice2){

 

if(sum==7){

printf("winner");

 

}

else if (sum==11){

printf("looser");

}

else if (sum!=7 && sum!=11)

{

printf("nor winner or looser");

 

}

}

int main()

{

roll_die_twice(2,7);

return 0;

}

The code screenshot and code output can be seen in the attached image below.

6 0
4 years ago
Read 2 more answers
Which is TRUE about web-based application software? It is stored completely on a web server instead of your hard drive. It is in
mote1985 [20]

It is TRUE that a web-based application is stored completely on a web server instead of your hard drive.

Explanation:

Web apps can be accessed over the internet over a HTTP network. These applications are hosted on a remote server and can be accessed easily via a browser. We can only go as far downloading them to our desktop but we cannot make adjustments to them after we have downloaded them. All changes are made on a web browser.

Its mechanism is so easy. It is based on client-server architecture. The client will interact with the application by inputting data. The server, on the other hand, will receive, store, and help in retrieving the result. Accessing applications such as Word online or Spreadsheets online is the best example of how web apps can be accessed over the internet.

Learn more about web-based applications:

brainly.com/question/9385062

brainly.com/question/12887254

#LearnWithBrainly

5 0
3 years ago
Create a C++ program that declares, initializes, and outputs the values contained in a two-dimensional array
Kazeer [188]

Answer:

// here is code in C++.

#include <bits/stdc++.h>

using namespace std;

// main function

int main()

{

// variables

int r_size,c_size;

cout<<"enter the number of row:";

// read the value of row

cin>>r_size;

cout<<"enter the number of column:";

// read the value of column

cin>>c_size;

// create a 2-d array

int arr[r_size][c_size];

// read the value of array

cout<<"enter the elements of array:"<<endl;

for(int x=0;x<r_size;x++)

{

for(int y=0;y<c_size;y++)

{

cin>>arr[x][y];

}

}

cout<<"elements of the array are:"<<endl;

// print the array

for(int a=0;a<r_size;a++)

{

for(int b=0;b<c_size;b++)

{

cout<<arr[a][b]<<" ";

}

cout<<endl;

}

return 0;

}

Explanation:

Here we have demonstrate a 2- dimensional array. In which, how to read the elements and how to print elements of array.Read the value of row and column from user.Create a 2-d array of size r_sizexc_size. then read the elements of array either row wise or column wise. Then print the elements.To print the elements, we can go either row wise or column.

Output:

enter the number of row:2

enter the number of column:3

enter the elements of array:

1 2 3

2 3 4

elements of the array are:

1 2 3

2 3 4

8 0
4 years ago
Draw the flowchart and pseudocode for a program allowing the user to enter a value for one edge of a cube(A box-shaped solid obj
horsena [70]

Answer:

The flowchart, pseudocode and python program all have the same objective.

The flowchart is designed using draw.io (See attachment)

Pseudocode begins here:

1. Start

2. Input Length

3. Area1 = Length * Length

4. Area2 = 6 * Area1

5. Volume = Area1 * Length

6. Print Length

7. Print Area1

8. Print Area2

9. Print Volume

10. Stop

Python Program begins here:

#Prompt user for input

length = float(input("Length of the edge: "))

#Calculate the area of a side

Area1 = length * length

#Calculate the area of the cube

Area2 = 6 * Area1

#Calculate the volume

Volume = Area1 * length

print("Length: "+str(length))

print("Area of a side: "+str(Area1))

print("Area of the cube: "+str(Area2))

print("Volume: "+str(Volume))

Explanation:

The flowchart , pseudocode and python program start by requesting for user input;

This user input is saved in variable length

The surface area of a face is calculated by length * length and saved in Area1; i.e. Area1 = length * length

The surface area of the cube is calculated by 6 * Area1 and saved in Area2. i.e. Area2 = 6 * Area1 = 6 * length * length

The volume of the cube is calculated by Area1 * length and saved in volume. i.e. Volume = Area1 * length = length * length * length

After the surface area of one side of the cube

, the surface area of the whole cube  and the volume of the cube are calculated; the program then prints the user input (length) and each of the calculated parameters.

6 0
3 years ago
Write a Java program which reads a text file and writes the content into a new file. During the read-write process, convert all
Veseljchak [2.6K]

Answer:

Kindly go to the explanation part for the code you seek.

Explanation:

This is the Code to Copy:

package file;

import java.io.BufferedReader;

import java.io.BufferedWriter;

import java.io.DataInputStream;

import java.io.FileInputStream;

import java.io.FileWriter;

import java.io.InputStreamReader;

import java.util.Scanner;

public class file

{

public static void main(String []args)

{

try

{

System.out.print("Type a file name: ");

//declare scanner for keyboard input

Scanner reader = new Scanner(System.in);

//scan the input file name

String infilename=reader.nextLine();

//define file stream

FileInputStream fstream = new FileInputStream(infilename);

DataInputStream in = new DataInputStream(fstream);

//define the buffer reader

BufferedReader br = new BufferedReader(new InputStreamReader(in));

String outfilename = "output.txt";

FileWriter fileWriter = new FileWriter(outfilename);

//declare buffer writer for file write

BufferedWriter bufferedWriter = new BufferedWriter(fileWriter);

String strLine,filename;

int status = 0;

int i=0;

//read lines one by one from input file

while ((strLine = br.readLine()) != null)

{

String temp="";

//for each character in a line

for(int k=0;k<strLine.length();k++)

{

char c;

c=strLine.charAt(k);

//if the character is uppercase

if(Character.isUpperCase(c))

//make the character lowercase and append it to the output line

temp +=Character.toLowerCase(c);

else

//character is not lowercase. append to the output line without changing it

temp += c;

}

//write the line to the file

bufferedWriter.write(temp+"\n");

}

//close the input file

in.close();

//close the output file

bufferedWriter.close();

}

catch (Exception e)

{

//System.err.println("Error: " + e.getMessage());

}

}

}

6 0
3 years ago
Other questions:
  • When typing in a cell, hitting Tab will bring which result?
    12·2 answers
  • Write a recursive program that requests an answer to the question "Are we there yet?" using an input statement and terminates if
    10·1 answer
  • The transitions between slides in a presentation are one type of powerpoint ____.
    6·1 answer
  • In the United States, everyone is guaranteed work true or false
    13·1 answer
  • This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balance
    5·1 answer
  • Which among the following shortcut key is used to check spelling​
    12·2 answers
  • What is the IP address and TCP port number used by the client computer (source) that is transferring the file to gaia.cs.umass.e
    9·1 answer
  • What are ways to create a study schedule? Check all that apply.
    5·2 answers
  • Which of these is an example of output?
    13·2 answers
  • What are three ways a person may use a computer without realizing it?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!