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
vodka [1.7K]
3 years ago
14

What is a shell programming? Write a shell program to get the following details from the student: NAME, AGE, USN and GENDER. Out

put all the details to the terminal and also display message whether the student is eligible to vote or not
Computers and Technology
1 answer:
Leya [2.2K]3 years ago
3 0

Shell programs are computer programs designed to run on the Unix/Linux shell

The shell program where comments are used to explain each line is as follows:

#This gets input for NAME

read NAME  

#This gets input for AGE

read AGE  

#This gets input for USN

read USN

#This gets input for GENDER

read GENDER

#This prints the name

echo "Name: $NAME"

#This prints the age

echo "Age: AGE"

#This prints the usn

echo "USN: USN"

#This prints the gender

echo "GENDER: $GENDER"

#The following if condition determines, if the user is eligible to vote or not

if [ $USN -gt 50 ] then

echo "You are not eligible"

else

echo "You are eligible"

Read more about computer programs at:

brainly.com/question/13795586

You might be interested in
After a file downloads, you can do any of the following except
loris [4]
Change owner rights... I think you forgot to put the choices, I am taking a wild guess of what the answers could have been.
8 0
3 years ago
How many generations of computer languages
vichka [17]
5 generations................
6 0
3 years ago
Google Analytics can collect behavioral data from which systems?
ankoles [38]

Answer:

E.A,B and C

Explanation:

The behavioral data can be collected from E-commerce platforms,Mobile applications,Online point-of-sales system  by Google Analytics because these platform a person always searches what he is interested in.It describes their behavior.What type of lifestyle the person is living,the persons daily schedules etc.So the answer is option E.

6 0
3 years ago
Think about the last business that you purchased a product or a service from. What three types of software might they need? Why
Anton [14]

Answer:

a web a networking site and their online purchasing

Explanation:

web for their business networking site for their employees

5 0
4 years ago
Read 2 more answers
A hard drive with a spin speed of 7200 RPM, commences spinning at time = 0, at time = 1.326 ms what is the angle that the disk h
Flura [38]

Answer: I. 57º 17'   II. 1 rad.

Explanation:

A spin speed, implies the relationship between the angle rotated and the time  that has been spinning, which is equal, by definition, to the angular velocity.

ω = Δ∅ / Δt

In order to get the angle rotated in degrees, we need to convert first from RPM (revolutions per minute) to º/sec, as follows:

7200 rev/min *( 1 min/60 sec)* (360º/ 1 rev) = 7200* 6= 43200 º/s

Now, we know that the time passed since it started to spin, was 1.326 msec, i.e., 0.001326 sec.

Remembering that  ω = Δ∅ / Δt, solving for Δ∅, we get:

Δ∅ = 43200 º /s * 0.001326 sec = 57º 17'

II. In order to get the answer in rads, we can convert the rpm to rads/sec, as follows:

7200 rev/min *( 1 min/60 sec)* (2 π/ 1 rev) = 240 π rad/sec.

Applying the same equation as above, we get:

Δ∅ = 240 π rad/s * 0.001326 sec = 1 rad.

7 0
4 years ago
Other questions:
  • According to your textbook, the three major criteria against which to test documents that you locate on the Internet are authors
    8·1 answer
  • Two of the child elements of the page body are a navigation list with the ID #hole_list and an article element containing inform
    7·1 answer
  • Alice is working on a web page to attract the maximum number of people to join her cause. She wants to inform people about the b
    10·2 answers
  • A business wants to centralize its administrative tasks. At the same time, it wants the existing systems to manage and sustain t
    14·2 answers
  • "Most of us know that when we come into a college classroom, we will see desks and chairs, a computer station and a projector. A
    6·1 answer
  • What’s the purpose of balancing or monitoring your checking account?
    12·2 answers
  • When defining a variable to be used to hold textual information containing multiple characters (letters, numbers, and/or symbols
    5·1 answer
  • (2) What isa<br>LAN and what the<br>devices required in<br>setting up<br>LAN?​
    8·1 answer
  • Examples of pop in computer​
    14·1 answer
  • As the complexity of a network increases, the possibility of security breaches decreases. is this true or false
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!