Write the shell script that asks the user to enter a wind velocity (in knots), then display the corresponding description.
Q: Q. ________________ file helps you configure kernel parameter in linux.
A: This is based on linux kernel.
Q: Create a program that will create your own shell. The shell should behave like any other Linux…
A: Input : Input command in the console. Output : Show the output of a command as per the given…
Q: arameters (integers) and displays the median number. If the number of parameters is not three, it…
A: Write a shell script that takes three parameters (integers) and displays the median number. If the…
Q: make a Code execution instructions, Provide clear and detailed instructions on how to compile the…
A: Make a Code execution instructions, Provide clear and detailed instructions on how to compile the…
Q: Which one of the following is a functionality of “toolbar icons” in Arduino IDE? a. To Test and…
A: The toolbar buttons allow you to verify and upload programs, create, open, and save sketches, and…
Q: An.dll file called kernel32.dll is what kind of file
A: SUMMARY: - Hence, we discussed all the points.
Q: Which of the following statements about command line arguments is correct? O You must declare…
A: answer to the above question is in step2.
Q: E9. This exercise provides you with the menu and case construct script, which enables you to…
A: Loop runs till the condition is true. read the input from the user from 0 to 3. run the switch as…
Q: E6. Displaying information and messages using the echo command. It displays its arguments on your…
A: The string that is passed as argument to the echo command gets displayed on to the terminal. Hence…
Q: ould accept the dealer details such as name, address, phone numbe
A: Create a login application using java for accepting the dealer details.The application should accept…
Q: You are required to create a Virtual Pizza Shop, based on clients’ requirements. Please consider…
A: Introduction: You are required to create a Virtual Pizza Shop, based on clients’ requirements.…
Q: In this question, you will develop your own version of shell. Your shell will execute commands given…
A: The ask is to do the following: - Create a user shell. - Takes user input for command to execute and…
Q: Which software license was designed to be purchased once and done (usually non-upgradeable)? Heavy…
A: Software: Software is a set of instructions used to perform certain tasks, there are a huge number…
Q: The compute options give you different levels of control over the configuration of the environment…
A: Virtual machine uses software and provides features which feels like using a separate operating…
Q: Create a shell script to display your name, enrollment ID, the program and the courses you study in…
A: Required: Create a shell script to display your name, enrollment ID, the program and the courses you…
Q: What is the output of this program? #include int main() { fork();…
A: Question. What is the output of this program? #include<stdio.h> int main() {…
Q: Using Ubuntu/Linux, create an interface type Menu using AWK combined with Zenity for these specific…
A: while [ 'Exit' !=opt ] ; do clear; op=$(zenity --list --text="\t\t\t\t\tElectronic…
Q: In this question, you will develop your own version of shell. Your shell will execute commands given…
A: "due to our policy, we can solve only the first 3 parts please repost the other parts and mention…
Q: single command that sets the shell variable GNUM to the group ID for your user id.
A: command id -G {UserNameHere}
Q: This is Linux programming exercises. Please explain with the source code how to make it…
A: Linux Code #!/bin/bash // actually it is called shebang which consists of number sign and…
Q: ou cannot complete less tasks in a terminal than you would also do from a GUI interface in Linux.…
A: Answer:- True Sure, it may be hard, but it is possible to give up graphical interfaces entirely—even…
Q: Q13. is default on most of the desktops in linux. ww Q14. In Linux the is the control panel of the…
A: These given questions are based on Linux and windows.
Q: Identify the errors with the following commands and indicate possible solutions. (Hint:Try typing…
A: Errors In the first line, the error is in the Echo keyword. The corrected command is echo " This…
Q: Provide the java program to declare variables to store the values entered from the keyboard. (LEARN…
A: //online java compiler //java program to input three strings and two numbers import…
Q: Write a shell script called myinfo that will read two variables your name and your age and display…
A: #!/bin/sh read name read age echo "My name is $name" echo "I am $age years old"
Q: In javafx create User Menu Screen class )Loaded by Login Accepts user level and displays menu based…
A: ANSWER: JavaFX: JavaFX is a bunch of illustrations and media bundles that empowers engineers to…
Q: g REPLIT PYTHON create a GUI version of the Connect 4 game the user can choose between easy mode,…
A: It is defined as an interpreted, object-oriented, high-level programming language with dynamic…
Q: Following set of commands are executed in shell, what will be the output?>>>str="hello" >>>str[:2]…
A: This is a python shell based mcq.
Q: is a command line to save the current month (e.g., October) to month.txt
A: It is defined as the arguments which the user gives from the operating system’s command line during…
Q: what is the name of the service in Linux that runs every minute an checks for tasks to complete? a)…
A: what is the name of the service in Linux that runs every minute an checks for tasks to complete?
Q: Create an application that calculates and displays the starting and ending monthly balances for a…
A: import java.text.DecimalFormat; import java.util.Scanner; class Console{ public static void…
Q: This exercise is will require you to write a C program that is able to run Linux commands from the…
A: This exercise is will require you to write a C program that is able to run Linux commands from…
Q: i am using eclipse and the project should be SU2022_LAB1PART2_yourLastName and the class should be…
A: Java code to take user input , display and calculate average of two numbers
Q: Saves the current prompt string to a variable called first_prompt and then changes the current…
A: Saves the current prompt string to a variable called first_prompt and then changes the current…
Q: Which of the following is not a terminal emulators on Linux? a. Xterm b. None of these c. eterm d.…
A: I have answered the question in step 2.
Q: Please help with the following: in linux Give a description of what each command does and explore 1…
A: - The question is to describe some linux commands ,their description and one used option.
Q: Generate Digital Signature using DSA keys
A: Asymmetrically encrypted hashes of a digital message provide the basis of digital signatures (data).…
Q: The controller will maintain the state of ________________ variables. This means these varaibale…
A: Defined the correct for given statements
Q: Write code that when executed in PowerShell, will satisfy the following requirements: • Complete the…
A: paras=1 $lorumlpsum=New lorumlpsum Body Get-Method Get | select-object-meat and filler content…
Q: nix/Linux Quiz Questions: Question 1: Here is a file named phone.book:…
A: According to the Question below the Solution:
Q: You are required to create a console application for a local minicipality that will allow a user to…
A: PROGRAM CODE: import java.util.*; // import java utility package public…
Q: Create a shell script to display your name, enrollment ID, the program and the courses you study in…
A: In this linux script, we just have to display the basic information. so we will use very basic…
Q: You are to make a Login Signup system. The user will interact with the program through the command…
A: It is defined as a object-oriented programming language. It is an extension to C Programming. It…
Q: Create an application that lets you enter a new customer or a new employee. Console Welcome to the…
A: Create Class Person and its methods. Then create two classes customer and Employee which extends…
Q: Which of the following are factors that determine which Linux distribution a user willuse? (Choose…
A: Some of the features of Linux Distributions: Linux kernel, series of the OSS packages and the…
Q: Please help with the following: In Linux Give a description of what the following commands do and…
A: cd: In order to move around with the file hierarchy, we use the cd command. the full form of the cd…
Q: our colleague wrote some code that works on their local environment (Debug.cpp) but is now trying to…
A: The given problem can be solved with two methods namely by including main method and also by using…
Write the shell script that asks the user to enter a wind velocity (in knots), then display the corresponding description.
Velocity (knots) |
|
Description |
||
< 1 |
|
Calm |
||
1 |
– |
3 |
|
Light air |
4 – 27 |
|
Breeze |
||
28 |
– |
47 |
|
Gale |
48 |
– |
63 |
|
Storm |
> 63 |
|
Hurricane |
Linux
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images
- Enter the name of Stock: Oracle Corporation Enter the symbol of Stock: URCL Enter the previous closing price: 34.5 Enter the current price: 34.35 Stock name: Oracle Corporation Stock symbol: ORCL Stock ID: 59 Price-change percentage: - 0.434782608695648 Challenge Question - Using GregorianCalendar and Date classes: (Use the GregorianCalendar class) Java API has the Date class and GregorianCalendar class in the java.util package, which you can use to obtain the current date with specific details like current year, current month, current day of a date and so on. Write a program to perform these tasks: 1. Display the current year, month, and day. 2. Display the current date by using the to String() method from the Date class. 3. Display the current time-which is used to display the number of milliseconds- by using getTime() method from the Date class. We will use it in the step 17. 4. - Display the current year by using get(GregorianCalendar.YEAR) method from to GregorianCale class. 5-…Enter the name of Stock: Oracle Corporation Enter the symbol of Stock: URCL Enter the previous closing price: 34.5 Enter the current price: 34.35 Stock name: Oracle Corporation Stock symbol: ORCL Stock ID: 59 Price-change percentage: - 0.434782608695648 Challenge Question - Using GregorianCalendar and Date classes: (Use the GregorianCalendar class) Java API has the Date class and GregorianCalendar class in the java.util package, which you can use to obtain the current date with specific details like current year, current month, current day of a date and so on. Write a program to perform these tasks: 1. Display the current year, month, and day. 2. Display the current date by using the to String() method from the Date class. 3. Display the current time-which is used to display the number of milliseconds- by using getTime() method from the Date class. We will use it in the step 17. 4. - Display the current year by using get(GregorianCalendar.YEAR) method from to GregorianCale class. 5-…In C language, please include notes as well explain each line Each member the team will write the code for one of the following customized commands: 1. shell*: the environment that will execute the rest of the commands. the shell won’t terminate unless the exit command gets executed. The shell displays a different command prompt (i.e. something other than $ and >).
- A new seat discount system is required to help managers of Qatar Railways Company (Qatar Rail) determine how much discount they have given out. Every time the system runs, the discount rate may be specified by the managers or set to a suitable default. You are thusly required to produce a console application (using Java) that is ready to open the file M:\data\seats.txt which contains the seat’s data. Upon application launch, the system should ask the managers if they wish to specify a custom discount rate, this should be in the form of a yes / no question. When the managers say yes, the system should request the discount rate as input (from the keyboard) which will then overwrite the default discount rate . When the managers say no, the system should report (to the screen) the default discount rate (i.e. like the example given below). Next, the system should loop through the seat’s data, calculating and printing (to the screen) the seat type, seat price, number of bookings, discount…you will develop a small Java application with a GUI to help a business owner record the personal and salary information of the employees in his/her organization. We assume that there are at most 10 employees. Each employee has the following personal information: first name, last name, and social security number. In addition, each employee has an employment grade, basic salary, and allowances. There are three employment grades: A, B, and C. Your application should help the business owner to determine the total payment for each employee based on the following table: Grade A Total pay = Basic Salary + Allowances Grade B Total pay = Basic Salary + 1.1 * Allowances Grade C Total pay = 1.1 * Basic Salary + 1.2 * AllowancesOverview: A new bank wants to make a simple application to keep track of all accounts and transactions. In this TMA, it is required to help the bank manager implement the required application. Requirements: After a quick meeting with the bank manager, you got the following information: It is required to store all bank accounts in one collection and all the transactions happened in another collection. Each account has a unique account number, a holder and balance. There is a specific prefix (common for all accounts) that should be added to the holder's civil id to create the unique account number. In addition, it is not allowed for a holder to have more than one account. Furthermore, only three transactions are allowed on any account: deposit, withdrawal and transfer money to another account. Each holder has a unique civil ID (national id), a name and other attributes (add at least 2 attributes from your choice). For each transaction, it is required to store the account(s) affected,…
- Overview:A new bank wants to make a simple application to keep track of all accounts and transactions. In this TMA, it is required to help the bank manager implement the required application.Requirements:After a quick meeting with the bank manager, you got the following information: It is required to store all bank accounts in one collection and all the transactions happened in another collection. Each account has a unique account number, a holder and balance. There is a specific prefix (common for all accounts) that should be added to the holder's civil id to create the unique account number. In addition, it is not allowed for a holder to have more than one account. Furthermore, only three transactions are allowed on any account: deposit, withdrawal and transfer money to another account. Each holder has a unique civil ID (national id), a name and other attributes (add at least 2 attributes from your choice). For each transaction, it is required to store the account(s) affected,…Overview:A new bank wants to make a simple application to keep track of all accounts and transactions.In this TMA, it is required to help the bank manager implement the required application.Requirements:After a quick meeting with the bank manager, you got the following information: It is required to store all bank accounts in one collection and all the transactions happenedin another collection. Each account has a unique account number, a holder and balance. There is a specific prefix(common for all accounts) that should be added to the holder's civil id to create the uniqueaccount number. In addition, it is not allowed for a holder to have more than one account.Furthermore, only three transactions are allowed on any account: deposit, withdrawal andtransfer money to another account. Each holder has a unique civil ID (national id), a name and other attributes (add at least 2attributes from your choice). For each transaction, it is required to store the account(s) affected, amount of…When you want to work with an object, you use a variable that holds a special value known as a(n) __________ to link the variable to the object. a. union b. reference c. object linker d. data coupling
- 10 How do I write "Minesweeper" in C# with the following requirements ?1. This will be played in the console2. The game should be able to randomly generate 10 mines in a 10x10 grid3. The user will be able to enter a command that represents a coordinate to check a location for a mine4. The application will display a number from 0-8 depending on how many mines surround that location* If the user selects a mine, the game will respond "boom!" and the game will be lost* If every non-mine square has been revealed, the game is wonIn Java SE netbeans: Extreme IT Products is a local supplier that specialises in the sales of the latest InformationTechnology hardware devices. The business has recently opened an outlet in the town you resideand has hired the software development house you work for to design a Java application tomanage their products.Your line manager has requested you to develop the application with the following requirements: 1.5.If the user makes an incorrect product category selection, prompt the user to re-enter avalid product category.Microsoft Visual C# 7th edition. need help, please. Thanks In previous chapters, you created applications for Marshall’s Murals. Now, modify the version of the MarshallsRevenue program created in Chapter 5 so that after mural data entry is complete, the user is prompted for the appropriate number of customer names for both the interior and exterior murals and a code for each that indicates the mural style: L for landscape S for seascape A for abstract C for children’s O for other When a code is invalid, re-prompt the user for a valid code continuously. For example, if Y is input, output Y is not a valid code, and re-prompt the user until a valid code is entered. After data entry is complete, display a count of each type of mural. For example the output should be in the following format with the correct number next to each mural type: The interior murals scheduled are: Landscape 1 Seascape 2 Abstract 1 Children's 3 Other 9 The exterior murals scheduled are: Landscape 4 Seascape 0…