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
Deffense [45]
3 years ago
13

When you use a text editor to start a new HTML file from an old file, you a. open the old file, add code to it, and save it with

a new name b. open the old file, save it with a new name, and then add code to it c. create the new file and then copy and paste the code from the old file into it link to the old file when you start the new file
Computers and Technology
1 answer:
crimeas [40]3 years ago
5 0

Answer:

Option a are the correct answer for the above question.

Explanation:

  • If any user wants to change any old file with any new file holding the new code. Then he needs to---
  1. firstly open the old file
  2. Then change to the new file and
  3. Then save the file with the new name.
  • The above option is stated from the option a. So an answer is an option a while the other is not because:-
  1. With the work of the options b, the new code will not save into the file.
  2. With the work of the options c, the new file also contains the same code as the old file.
You might be interested in
A sense of scale tells us what about the objects in a picture?
monitta

Answer:

A. the size

Explanation:

7 0
3 years ago
Read 2 more answers
Define the following Window class:
Olenka [21]

Answer:

The following Window class are given below:

class Window  // define a class Window

{

private:   //access modifier

int width, height;   // integer type variable which is width and height

public:   //access modifier

Window(int w,int h)   //constructor that accepts two integer parameters

{

 width = w;

  height = h;

}

friend bool areSameSize(Window a, Window b)

{

 if ((a.height == b.height) && (a.width == b.width))

  return true;

 else return false;

}

};

Explanation:

According to the question: Firstly we have define a class which name is 'Window' and then we take two integer type data member and after that we have constructor that takes two integer type parameters and after all we have a areSameSize, friend function, which can take two objects and then it give output in the form of true or false, if they are the equal size and finally we check that if the width and the height  match then it returns the true and else it returns the false

3 0
4 years ago
You can press the RIGHT ARROW or LEFT ARROW keys to position the insertion point during in-cell editing. True or false?
Murrr4er [49]

Answer:

Thats a big False

Explanation:

6 0
3 years ago
Read 2 more answers
Which of the following is an accurate statement about the Internet ?
asambeis [7]

Answer:

It began as a project of the Department of Defense.

Explanation:

The first known and recorded prototype of the internet that was workable arrived during the 1960s when the Advanced Research Projects Agency Network (ARPANET) was created. The project was initially funded by the United States Department of Defense and ARPANET allowed for packet switching, to ensure multiple computers were able to communicate on a single network

5 0
3 years ago
Write a program that first calls a function to calculate the square roots of all numbers from 1 to 1,000,000 and write them to a
svlad2 [7]

Answer:

The csharp program to compute square roots of numbers and write to a file is as follows.

class Program  

{  

static long max = 1000000;  

static void writeRoots()  

{  

StreamWriter writer1 = new StreamWriter("roots.txt");  

double root;  

for (int n=1; n<=max; n++)  

{  

root = Math.Sqrt(n);  

writer1.WriteLine(root);  

}  

}  

static void Main(string[] args)  

{  

writeRoots();  

}  

}

The program to compute squares of numbers and write to a file is as follows.

class Program  

{  

static long max = 1000000;  

static void writeSquares()  

{  

StreamWriter writer2 = new StreamWriter("squares.txt");  

long root;  

for (int n = 1; n <= max; n++)  

{  

root = n*n;  

writer2.WriteLine(root);  

}  

}  

static void Main(string[] args)  

{  

writeSquares();  

}  

}  

Explanation:

1. An integer variable, max, is declared to hold the maximum value to compute square root and square.

2. Inside writeRoots() method, an object of StreamWriter() class is created which takes the name of the file as parameter.

StreamWriter writer1 = new StreamWriter("roots.txt");

3. Inside a for loop, the square roots of numbers from 1 to the value of variable, max, is computed and written to the file, roots.txt.

4. Similarly, inside the method, writeSquares(), an object of StreamWriter() class is created which takes the name of the file as parameter.

StreamWriter writer2 = new StreamWriter("squares.txt");

5. Inside a for loop, the square of numbers from 1 to the value of the variables, max, is computed and written to the file, squares.txt.

6. Both the methods are declared static.

7. Inside main(), the method writeRoots() and writeSquares() are called in their respective programs.

8. Both the programs are written using csharp in visual studio. The program can be tested for any operation on the numbers.

9. If the file by the given name does not exists, StreamWriter creates a new file having the given name and then writes to the file using WriteLine() method.

10. The csharp language is purely object-oriented language and hence all the code is written inside a class.

3 0
4 years ago
Other questions:
  • You created a database related to medicinal plants and their uses. For every plant, you would like to enter a description about
    11·1 answer
  • Which of the following allows you to view and access important information about your document all in one location?
    11·2 answers
  • Including quotes in your paper can bring additional meaning to the content True are false
    11·2 answers
  • Siva added a "Contact Form" to her website.
    10·1 answer
  • In a stream channel what is deposited first?
    7·1 answer
  • In order to convert your project to a mobile platform, you need to do all of the following except:
    14·1 answer
  • Queries in Access can be used ______________
    9·1 answer
  • What is a feature of Print Preview?
    14·1 answer
  • Once the data center routes to the destination server that hosts the website, what's the next step in the Internet process?
    12·1 answer
  • What type of data causes concern for institutions or business when collected, stored, and not secured properly
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!