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
Nadya [2.5K]
3 years ago
11

A file with a .bat file extension is called a batch file. You can use a batch file to execute a group of commands, sometimes cal

led a script, from a command prompt. Do the following to learn to use a batch file?
Computers and Technology
1 answer:
Elan Coil [88]3 years ago
8 0

Answer:

Create a text file. And add this code in it:

@echo off

You are welcome to the batch programming!

And now save it with .bat file type. Give it any name you want.

And to run the bat file, double click the bat file. It will be running.

You can run it from command prompt as well. Type as below:

C:\folder\batch_name.bat.

Now, we can add as many commands in the file as we want, and we can do the batch programming.

Explanation:

Please check the answer section.

You might be interested in
Write a program that prompts the user to enter integers in the range 1 to 50 and counts the occurrences of each integer. The pro
galben [10]

Answer:

  1. import java.util.Scanner;
  2. public class Main {
  3.    public static void main(String[] args) {
  4.        int num[] = new int[51];
  5.        Scanner input = new Scanner(System.in);
  6.        System.out.print("Number of input: ");
  7.        int limit = input.nextInt();
  8.        for(int i=0; i < limit; i++){
  9.            System.out.print("Input a number (1-50): ");
  10.            int k = input.nextInt();
  11.            num[k]++;
  12.        }
  13.        for(int j=1; j < 51; j++){
  14.            if(num[j] > 0){
  15.                System.out.println("Number of occurrence of " + j + ": " + num[j]);
  16.            }
  17.        }
  18.    }
  19. }

Explanation:

The solution is written in Java.

Firstly, create an integer array with size 51. The array will have 51 items with initial value 0 each (Line 5).

Create a Scanner object and get user entry the number of input (Line 6-7).

Use the input number as the limit to control the number of the for loop iteration to repeatedly get integer input from user (Line 9-13). Whenever user input an integer, use that integer, k, as the index to address the corresponding items in the array and increment it by one (LINE 11-12).

At last, create another for loop to iterate through each item in the array and check if there is any item with value above zero (this means with occurrence at least one). If so, print the item value as number of occurrence (Line 14-17).

8 0
4 years ago
An ip address that does not change and is usuallly assigned manually is called what?
Sav [38]
A static IP.

------------------------
4 0
3 years ago
You have been hired as a Systems Analyst in a famous Burger chain. Due to its popularity, the demands from customers also increa
IceJOKER [234]

a. Assume you are preparing a Customer Satisfaction Questionnaire. What types of questions would you include? Prepare 5 questions that you would ask.

The questions that I would ask would be designed in order for me to know whether our organizational programs have translated to a lower customer satisfaction. Examples of those questions would be:

1. Do you enjoy eating at our place?

2. How would you compare our service  in the past to our service now?

3. How likely are you to recommend our restaurant to your friends?

4. Is there any area where you think we could improve?

5. Do you have any other suggestions for us?

b. What type of questions would you ask the waiters and cooks during the interview? Prepare 5 questions (each) that you would ask waiters and cooks.

I would ask questions that would allow me to determine whether these people are able to work in a fast-paced environment. For example:

1. How good are you at working under pressure?

2. Do you find busy environments stressful?

3. Are you good at multitasking?

4. Have you worked at a busy restaurant before?

5. Do you have a cooperative spirit?

c. What modern requirements determination methods are appropriate for this project?

Prototyping is the requirement that would most help in this task.

7 0
3 years ago
Discuss how the use of standard web component layouts and templates influences the visual design of a web page. In your opinion,
Amiraneli [1.4K]

Answer: The standard web component layouts and templates makes the web page seem like many others but could also make it easier for users to interact and use the web page without much trouble. The approaches do limit creativity and originality in web page design but its better to have an easy to use web page that can still look good rather than something that is confusing for the users.

Explanation:

8 0
4 years ago
What kind of material is used for DRAM (dynamic random-access memory)?
Alex Ar [27]

The kind of material that is used for DRAM (dynamic random-access memory) is metal-oxide-semiconductor.

<h3>What is DRAM?</h3>

DRAM was invented in 1968. It is a type of RAM used in modern computers and laptops. It is a type of random access memory. Its name is dynamic random access memory.

Metal-oxide-semiconductor is used in making the transistors and capacitors of the DRAM, which are used to store the data. They hold a bit of the data in these capacitors and transistors.

Thus, the material that is used is metal-oxide-semiconductor to make DRAM (dynamic random-access memory).

To learn more about DRAM, refer to the link:

brainly.com/question/20216206

#SPJ1

3 0
1 year ago
Other questions:
  • Color of seagrass beds on navigational charts? Please quickly
    12·1 answer
  • When you need to cut new external threads on a bolt, what tool should you use?
    7·2 answers
  • 2) Describe how data becomes knowledge.​
    10·1 answer
  • In order for two computers to communicate via the internet, they must first locate one another. How do computers locate one anot
    12·1 answer
  • Which commonly used animation effect makes text on a slide appear in the presentation?
    9·1 answer
  • A user has requested a field that counts the number of child record associated with a custom object. These custom objects have a
    9·1 answer
  • In many multiprocessor systems __________ is used rather than dedicated processor assignment; in order to evenly distribute work
    14·1 answer
  • Is this a desktop or a computer, or are they the same thing
    12·1 answer
  • how does the use of data abstraction manage complexity in program code? how does using lists make a program easier to develop an
    5·1 answer
  • Here, Do this for 100 points its simple just know how to use flowchart
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!