Posts

TCS PRA 1 JUN- Unix: Orders and Customer

Image
  TCS PRA 1 JUN- Unix: Orders and Customer   Order details are stored in an input file in the following format:   Order Id, Item name, Quantity, Customer 0123;Pen;30;Ananata Gogol  0778;Pencil;200;Biraj Phukan 0234;Pen Holder;230;Haren Borah 0891;Pen;60;Juthika 07111;Eraser;100;Anjana 012221;Water Colour;20;Nirupam      Write the unix command to find the Order id of the orders placed by customers whose name starts with A or N or H . e.g. once you command is run, if the input file contains the names given above, the output will be:   0123 0234 07111 012221      Refer to the example below for more clarity on input and output format.  The input file name will be provided as command line argument when the script containing your command will run.   Note Please note that the input file is already confi

TCS CPA Unix Solution | Xplore UNIX CPA Solution | Calculate Total Asset Price | 27 March

Image
TCS CPA Unix Solution | Xplore UNIX CPA Solution | Calculate Total Asset Price | 27 March Unix CPA 27 March Calculate Total Asset Price Asset details belonging to each department are stored in a file in the following format, Each field is  comma  ( , )separated. AssetName,AssetType,Department, AssetPrice Write the UNIX command to find the  total price  of assets belonging to  Finance department . The output should be displayed in below format, Total Asset Price = <"total price calculated"> In case there are no assets found belonging to Finance department, the displayed output should be " No Asset Found " excluding the quotes. Refer to the examples below for more clarity on input and output format. The file name input will be provided as command line argument when the script containing your command will run. You can use shell variables (e.g. $0,$1,$2) whichever is applicable for your requirement to provide the command line argument . Note  : the search for depa

TCS CPA Unix Solution | Xplore UNIX CPA Solution | Count Semesters | 27 March

Image
  TCS CPA Unix Solution | Xplore UNIX CPA Solution | Count Semesters | 27 March Unix CPA 27 march Count Semesters Write the Unix command to print the  count  of subjects in each  semester . You have a file having Subject details in the following format: Subject|Semester|Grade There are three fields and each field is separated by a  pipe  " | ". In the output, the semester name and the count of subjects offered in that semester needs to be displayed in  ascending order  of the  Semester name . Refer the sample input and output for more clarity to input file content's format and the format of the output. The file name will be provided as command line argument when the script containing your command will run. You can use shell variables (ex: $0, $1, $2) whichever is applicable for your requirement to provide the command line argument. For more clarity, please refer to the sample input and output below. The input file with the data mentioned in the sample input, automatically

Homework Writing Robot With Python ( Python Program That Writes Assignment / Homework in Your Handwriting) (Copy Your Handwriting)

Image
Python Program That Writes Assignment / Homework in Your Handwriting (Python OpenCV) A students life is full of assignments and homework. Every student gets assignment from their school and colleges, that they have to submit on time. These assignments don't add any productive value to student. Student does not learn anything by writing assignments. They just copies it from their friend's. By doing so they are wasting their valuable time, that they can spend to do some innovative thing. They can learn something new and productive in that time rather than copying. So, I decided to to make a Computer Program that will help them writing assignments  faster . I made a program which will  write assignments  for the student in  his/her own handwriting . They just need to  paste  the question and answer in a text file. And, after  running  the code, the  assignment image will be generated . This  image  will have the  assignment  content in  student's handwriting . This image can b