Lab Activity 07 - Batch File_v2
.docx
keyboard_arrow_up
School
Central Georgia Technical College *
*We aren’t endorsed by this school
Course
CST8101
Subject
Computer Science
Date
Dec 6, 2023
Type
docx
Pages
9
Uploaded by ConstableEagleMaster1008
Lab Activity 07
CST8101 Computer Essentials
Version W2023
Due date
Complete your demonstration on or before the due date:
Lab Section 301 Tuesday April 11
th
Lab Section 302 Wednesday April 12
th
Lab Section 303 Monday April 10
th
Lab Section 304 Monday April 10
th
If you miss the demonstration this lab activity becomes zero.
Evaluation
1 Mark
Materials
BYOD College approved laptop
Windows 10 or 11
Procedure
In part 1, you are going to type various commands to see what they do. Your lab
instructor is not going to check your Part 1.
There will also be questions about Part 1 on the final exam.
The commands will also help you in Part 2, of this assignment.
Start the Windows Command Prompt and type in the following commands to see what
they do.
Part 1:
Exercise #1
: Command: CD
1)
Type in: CD /?
2)
Read the help pages for the
cd
command. What is the purpose/output of
cd
command?
__CD
Displays the name of or changes the current
directory._____________________________________________________
Exercise #2
: command cd..
Type the following command and press
Enter
1)
Type in: cd.. /?
2)
Read the help pages for the
cd..
command. What is the purpose/output of
cd..
command?
©Algonquin College
November 30, 2023
Page
1
of
9
Lab Activity 07
CST8101 Computer Essentials
Version W2023
3)
__Displays the name of or changes the current directory, Specifies that you want
to change to the parent
directory_____________________________________________________
Exercise #3
: command
dir
Type the following command and press
Enter
1)
Type in: dir /?
2)
Read the help pages for the
dir
command. What is the purpose/output of
dir
command?
__ Volume in drive C is Windows
Volume Serial Number is BE84-2F6B_
Exercise #4
: command whoami
Type the following command and press
Enter
1)
Type in: whoami /?
2)
Read the help pages for the
whoami
command. What is the purpose/output of
whoami
command?
__show the name of laptop:
laptop-rolvh3tt\zhenz____________________
Exercise #5
: command cls
Type the following command and press
Enter
1)
Type in: cls
/?
2)
Read the help pages for the
cls
command. What is the purpose/output of
cls
command?
____Clears the screen.____________________
Exercise #6
: command echo
Type the following command and press
Enter
1)
Type in: echo
/?
2)
Read the help pages for the
echo
command. What is the purpose/output of
echo
command?
©Algonquin College
November 30, 2023
Page
2
of
9
Lab Activity 07
CST8101 Computer Essentials
Version W2023
___Type ECHO without parameters to display the current echo setting.________
©Algonquin College
November 30, 2023
Page
3
of
9
Lab Activity 07
CST8101 Computer Essentials
Version W2023
Exercise #7
: command exit
Type the following command and press
Enter
1)
Type in: exit
/?
2)
Read the help pages for the
echo
command. What is the purpose/output of
exit
command?
__Quits the CMD.EXE program (command interpreter) or the current batch
script_
Exercise #8
: command net
Type the following command and press
Enter
1)
Type in: net /?
2)
Read the help pages for the
net
command. What is the purpose/output of
net
command?
3)
________________
Exercise #9 command ipconfig
Type the following command and press
Enter
1)
Type in: ipconfig /?
2)
Read the help pages for the ipconfig command. What is the purpose/output of the
ipconfig command?
©Algonquin College
November 30, 2023
Page
4
of
9
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
linux makefile topic
Running “make” command without the arguments starts the target ____ in the makefile.
arrow_forward
Linux OS and uses commands
Create a group with Coworkers then create four different users as a members of the group but before that they must have the following parameters:A) user I'd must be 2023,2022,2021 etc...B) a month name as user nameC) any day name as comment
arrow_forward
C#
Which statement is incorrect?
Question 11 options:
A Visual C# project can have multiple forms.
Every form in a Visual C# project has a class.
If a Visual C# project has a form named Form1, then the project cannot have a class named Form1.
When you create event handlers for a specific form's controls, you write them as methods in that form's class.
arrow_forward
5-Redo Command:This command will
undo the effects of the last
command. You can reach this
command by going to the Quick
Access toolbar and clicking the Undo
button. If you want to undo several
commands, click the small arrow at
the right. You will see a list of the
commands; select the group :and
undo them Also, you can type u at
the command window (don't type
undo, because it has a different
meaning), or press Ctrl + Z at the
keyboard.
TURE
FULSE
arrow_forward
Assignment
First, launch NetBeans and close any previous projects that may be open (at the top menu go to File ==> Close All Projects).
Then create a new Java application called "AverageWithMethods" (without the quotation marks) according to the following guidelines.
The program prompts the user for five to ten numbers, all on one line, and separated by spaces. Then the user calculates the average of those numbers, and displays the numbers and their average to the user.
The program uses methods to:
Get the numbers entered by the user
Calculate the average of the numbers entered by the user
Print the results with the whole number, a decimal, and two decimal positions
The first method should take no arguments and return a String of numbers separated by spaces. [CASE 2]
The second method should take a String as its only argument and return a double (the average). [CASE 4]
The third method should take a String and a double as arguments but have no return value. [CASE 3]…
arrow_forward
Make use of C# in Visual Studio.
The below form will represent the main form from which the user will navigate to the other forms. Meaning each button should be linked to the appropriate form. E.g. If button Manage Addresses is clicked the form managed addresses should be displayed. The Exit button should successfully terminate the program.
Create a void method for each button and name them as follow: LinkToAddresses (), LinkToCustomers (), LinkToDrivers (), LinkToStatus (), and LinkToFreight (). The methods should be called under the appropriate button. For the exit button create a void method named AppExit () this should terminate the program.
arrow_forward
Make use of C# in Visual Studio.
The below form will represent the main form from which the user will navigate to the other forms. Meaning each button should be linked to the appropriate form. E.g. If button Manage Addresses is clicked the form managed addresses should be displayed. The Exit button should successfully terminate the program.
Create a void method for each button and name them as follow: LinkToAddresses (), LinkToCustomers (), LinkToDrivers (), LinkToStatus (), and LinkToFreight (). The methods should be called under the appropriate button. For the exit button create a void method named AppExit () this should terminate the program.
arrow_forward
Assignment3A:
Diagnosis Checker: For years, patients have used websites like WebMD to pre-diagnosis
themselves with a variety of illnesses before meeting with a doctor. As you might imagine,
medical professionals believe this can lead to incorrect treatment. To combat this, a local
hospital has asked you to develop a program that will help patients check if their symptoms
match the online diagnosis.
You will prompt the user to enter their illness. Based on this input, you will ask them if they are
experiencing certain symptoms. Depending on their answer, your program will indicate if the
Internet diagnosis is likely to be correct or not. The decision chart is shown below:
•
●
●
HGPS
0
Do they have brittle bones?
If no, it is likely not HGPS
■ If yes, it is possibly HGPS
Bokter Syndrome
O
Do they have a Vitamin C deficiency?
If no, it is likely not Bokter Syndrome
If yes, are they a sailor?
.
.
Lupus
.
If no, it is likely not Bokter Syndrome
If yes, it is possibly Bokter Syndrome
arrow_forward
C#
Using the Visual Studio Developer Command Prompt, create the application named Tables, as described below. Don't forget to add comments, including your name, name of program, description, and date at the beginning.
Instructions:
Create an application named Tables that computes the price of a table and chairs and whose Main() method calls the following methods:
A method to accept the number of chairs to go with the table as input from the keyboard. This method returns the number of drawers to the Main() method.
A method to accept as input and return the type of wood: p for pine, m for maple, and o or oak (use a loop to ensure only one of these letters is entered).
A method that accepts the number of chairs and wood type, and calculates the total cost of the desk based on the prices below. This method returns the total cost to the Main() method.
Pine tables are $250.
Maple tables are $300.
All other wood types are $350.
There will be an additional cost of $50 per chair. A minimum…
arrow_forward
Redo Command:This command will
undo the effects of the last
command. You can reach this
command by going to the Quick
Access toolbar and clicking the Undo
button. If you want to undo several
commands, click the small arrow at
the right. You will see a list of the
commands; select the group :and
undo them Also, you can type u at
the command window (don't type
undo, because it has a different
meaning), or press Ctrl + Z at the
keyboard.
TURE
FULSE
arrow_forward
Create a simple program for a quiz
Software Requirements:
Latest version of NetBeans IDE
Java Development Kit (JDK) 8
Procedure:
Create a folder named LastName_FirstName (ex. Dahan yoon) in your local
Create a new project named LabExer5B. Set the project location to your own
The program shall:
contain an array of 10 multiple choice questions with three (3) choices each and
require the user to choose among A, B, or C;
Note: Cases are ignored. Lowercase letters are acceptable (a, b, c).
Create a try-catch structure to handle three (3) exceptions. These are when the user inputs the following:
an invalid letter (not A, B, or C)
a number or any special character
blank (no answer)
Prompt the user that he can answer again if any of the three (3) exceptions is
Display the score.
arrow_forward
That answer is wrong. Can you please read the instructions.
arrow_forward
Using C# in Microsoft Visual Studio create an application that displays the total for a customer’s visit .
The application should have the following value-returning methods:
OilLubeCharges —Returns the total charges for an oil change and/or a lube job, if any.
FlushCharges —Returns the total charges for a radiator flush and/or a transmission flush, if any.
MiscCharges —Returns the total charges for an inspection, muf fler replacement, and/or a tire rotation, if any. OtherCharges —Returns the total charges for other services (parts and labor), if any.
TaxCharges —Returns the amount of sales tax, if any. Sales tax is 6% and is charged only on parts. If the customer purchases services only, no sales tax is charged.
TotalCharges —Returns the total charges.
The application should have the following void methods, called when the user clicks the Clear button:
ClearOilLube —Clears the check boxes for oil change and lube job.
ClearFlushes —Clears the check boxes for radiator flush and…
arrow_forward
Latest version of NetBeans IDE
Java Development Kit (JDK) 8
Create a folder named Dahan_yoon in your local
Create a new project named LabExer5A. Set the project location to your own
The program shall:
generate a random number from 1 to 50 for a player to guess;
display a message that indicates whether the player’s guess is correct, too low, or too high; and
prompt the user to keep on guessing until the correct value is entered
Create a try-catch structure that will handle two (2) exceptions. These are when the user inputs the following:
a number that is out of range (1 – 50)
a letter or any non-numeric character
Prompt the user so that he can guess again if an exception is
Display the number of total
Note: An invalid input (when an exception is thrown) is not considered a valid guess or attempt.
arrow_forward
The below form will represent the main form from which the user will navigate to the other forms. Meaning each button should be linked to the appropriate form. E.g. If button Manage Addresses is clicked the form managed addresses should be displayed. The Exit button should successfully terminate the program.
Create a void method for each button and name them as follow: LinkToAddresses (), LinkToCustomers (), LinkToDrivers (), LinkToStatus (), and LinkToFreight (). The methods should be called under the appropriate button. For the exit button create a void method named AppExit () this should terminate the program.
arrow_forward
The below form will represent the main form from which the user will navigate to the other forms. Meaning each button should be linked to the appropriate form. E.g. If button Manage Addresses is clicked the form managed addresses should be displayed. The Exit button should successfully terminate the program.
Create a void method for each button and name them as follow: LinkToAddresses (), LinkToCustomers (), LinkToDrivers (), LinkToStatus (), and LinkToFreight (). The methods should be called under the appropriate button. For the exit button create a void method named AppExit () this should terminate the program.
arrow_forward
Theater RevenueA movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder goes to the movie company. Create a GUI application that allows the user to enterthe following data into text fields:• Price per adult ticket• Number of adult tickets sold• Price per child ticket• Number of child tickets soldThe application should calculate and display the following data for one night’s box officebusiness at a theater:• Gross revenue for adult tickets sold. This is the amount of money taken in for all adulttickets sold.• Net revenue for adult tickets sold. This is the amount of money from adult ticket salesleft over after the payment to the movie company has been deducted.• Gross revenue for child tickets sold. This is the amount of money taken in for all childtickets sold.• Net revenue for child tickets sold. This is the amount of money from child ticket salesleft over after the payment to the movie company has been deducted.• Total gross revenue. This is the…
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Related Questions
- linux makefile topic Running “make” command without the arguments starts the target ____ in the makefile.arrow_forwardLinux OS and uses commands Create a group with Coworkers then create four different users as a members of the group but before that they must have the following parameters:A) user I'd must be 2023,2022,2021 etc...B) a month name as user nameC) any day name as commentarrow_forwardC# Which statement is incorrect? Question 11 options: A Visual C# project can have multiple forms. Every form in a Visual C# project has a class. If a Visual C# project has a form named Form1, then the project cannot have a class named Form1. When you create event handlers for a specific form's controls, you write them as methods in that form's class.arrow_forward
- 5-Redo Command:This command will undo the effects of the last command. You can reach this command by going to the Quick Access toolbar and clicking the Undo button. If you want to undo several commands, click the small arrow at the right. You will see a list of the commands; select the group :and undo them Also, you can type u at the command window (don't type undo, because it has a different meaning), or press Ctrl + Z at the keyboard. TURE FULSEarrow_forwardAssignment First, launch NetBeans and close any previous projects that may be open (at the top menu go to File ==> Close All Projects). Then create a new Java application called "AverageWithMethods" (without the quotation marks) according to the following guidelines. The program prompts the user for five to ten numbers, all on one line, and separated by spaces. Then the user calculates the average of those numbers, and displays the numbers and their average to the user. The program uses methods to: Get the numbers entered by the user Calculate the average of the numbers entered by the user Print the results with the whole number, a decimal, and two decimal positions The first method should take no arguments and return a String of numbers separated by spaces. [CASE 2] The second method should take a String as its only argument and return a double (the average). [CASE 4] The third method should take a String and a double as arguments but have no return value. [CASE 3]…arrow_forwardMake use of C# in Visual Studio. The below form will represent the main form from which the user will navigate to the other forms. Meaning each button should be linked to the appropriate form. E.g. If button Manage Addresses is clicked the form managed addresses should be displayed. The Exit button should successfully terminate the program. Create a void method for each button and name them as follow: LinkToAddresses (), LinkToCustomers (), LinkToDrivers (), LinkToStatus (), and LinkToFreight (). The methods should be called under the appropriate button. For the exit button create a void method named AppExit () this should terminate the program.arrow_forward
- Make use of C# in Visual Studio. The below form will represent the main form from which the user will navigate to the other forms. Meaning each button should be linked to the appropriate form. E.g. If button Manage Addresses is clicked the form managed addresses should be displayed. The Exit button should successfully terminate the program. Create a void method for each button and name them as follow: LinkToAddresses (), LinkToCustomers (), LinkToDrivers (), LinkToStatus (), and LinkToFreight (). The methods should be called under the appropriate button. For the exit button create a void method named AppExit () this should terminate the program.arrow_forwardAssignment3A: Diagnosis Checker: For years, patients have used websites like WebMD to pre-diagnosis themselves with a variety of illnesses before meeting with a doctor. As you might imagine, medical professionals believe this can lead to incorrect treatment. To combat this, a local hospital has asked you to develop a program that will help patients check if their symptoms match the online diagnosis. You will prompt the user to enter their illness. Based on this input, you will ask them if they are experiencing certain symptoms. Depending on their answer, your program will indicate if the Internet diagnosis is likely to be correct or not. The decision chart is shown below: • ● ● HGPS 0 Do they have brittle bones? If no, it is likely not HGPS ■ If yes, it is possibly HGPS Bokter Syndrome O Do they have a Vitamin C deficiency? If no, it is likely not Bokter Syndrome If yes, are they a sailor? . . Lupus . If no, it is likely not Bokter Syndrome If yes, it is possibly Bokter Syndromearrow_forwardC# Using the Visual Studio Developer Command Prompt, create the application named Tables, as described below. Don't forget to add comments, including your name, name of program, description, and date at the beginning. Instructions: Create an application named Tables that computes the price of a table and chairs and whose Main() method calls the following methods: A method to accept the number of chairs to go with the table as input from the keyboard. This method returns the number of drawers to the Main() method. A method to accept as input and return the type of wood: p for pine, m for maple, and o or oak (use a loop to ensure only one of these letters is entered). A method that accepts the number of chairs and wood type, and calculates the total cost of the desk based on the prices below. This method returns the total cost to the Main() method. Pine tables are $250. Maple tables are $300. All other wood types are $350. There will be an additional cost of $50 per chair. A minimum…arrow_forward
- Redo Command:This command will undo the effects of the last command. You can reach this command by going to the Quick Access toolbar and clicking the Undo button. If you want to undo several commands, click the small arrow at the right. You will see a list of the commands; select the group :and undo them Also, you can type u at the command window (don't type undo, because it has a different meaning), or press Ctrl + Z at the keyboard. TURE FULSEarrow_forwardCreate a simple program for a quiz Software Requirements: Latest version of NetBeans IDE Java Development Kit (JDK) 8 Procedure: Create a folder named LastName_FirstName (ex. Dahan yoon) in your local Create a new project named LabExer5B. Set the project location to your own The program shall: contain an array of 10 multiple choice questions with three (3) choices each and require the user to choose among A, B, or C; Note: Cases are ignored. Lowercase letters are acceptable (a, b, c). Create a try-catch structure to handle three (3) exceptions. These are when the user inputs the following: an invalid letter (not A, B, or C) a number or any special character blank (no answer) Prompt the user that he can answer again if any of the three (3) exceptions is Display the score.arrow_forwardThat answer is wrong. Can you please read the instructions.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningProgramming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,