182k views
4 votes
Csci 330 assignment 9 (fall 2023) 1 of 4 csci 330 assignment 9 (fall 2023) generating reports with awk (100pts) overview write an awk script that computes and displays a report based on data in the format specified below. the awk script file name must be , where z123456 is replaced with your zid. the awk script will be invoked from the command line with an input file that contains data on associates and sales: % awk -f inputfile format specification all lines in the input file that begin with a. For the CSCI 330 assignment involving AWK scripting and generating reports, what should be the name of the AWK script file?

A) awk_script_z123456
B) awk_script_assignment9
C) z123456_script
D) awk_assignment9_script

1 Answer

4 votes

Final answer:

The correct name for the AWK script file in the CSCI 330 assignment should be 'z123456_script', where 'z123456' is a placeholder for your unique Z-ID.

Step-by-step explanation:

For the CSCI 330 assignment that requires you to write an AWK script for generating reports, the script file should be named according to the instructions provided in the assignment. The name of the AWK script file for the CSCI 330 assignment should be awk_script_z123456. This is in accordance with the given format specification.Typically, the placeholder z123456 would be replaced by your unique identifier or Z-ID. Given the options provided:

  • A) awk_script_z123456
  • B) awk_script_assignment9
  • C) z123456_script
  • D) awk_assignment9_script

the correct answer is C) z123456_script.

User Rosscova
by
7.5k points