Question
High Scorers! Coding Tasks You have been provided with the following: a file named prog.txt at the location /tmp/prog.txt You need to: echo the names
High Scorers!
Coding
Tasks
You have been provided with the following:
a file named prog.txt at the location
/tmp/prog.txt
You need to:
echo the names of top 3 scorers (concatenated first and last names)
Use the following commands: cut, sort, grep
The participant list has some records in a fixed format and has the following structure:
prog.txt: RegID | Name | Sex | EmailID | Score
Sample Input Data
File (/tmp/prog.txt):
2031 | Alexa Andrews | F |
alexa@playmysong.com | 2000
4092 | Beth Barrista | M |
starbucksbeth@berkley.cu | 1850
1113 | Charlie Cabello | M I
shawnmendes@cabello.edu | 2500
2947 Dean Denver | F |
dean.d@jurassic.com | 500
3900 Eddie Ericsson | M I
ericsson@sony.com | 180
3271 Fiona Ferguson | F |
shreksfiona@outlook.com | 86
Sample Output
AlexaAndrews
BethBarrista
CharlieCabello
Give me output code I want answer in sql
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started