
Answer-first summary for fast verification
Answer: "List customer feedback in CSV format with columns: Customer ID, Rating, Feedback, and Timestamp."
## Explanation Option C is the most effective prompt because: - **Explicit Format Specification**: It explicitly requests "CSV format" which is a structured, tabular format that naturally organizes data into columns and rows - **Clear Column Definition**: It specifically lists all required columns: "Customer ID, Rating, Feedback, and Timestamp" - **Standardized Structure**: CSV format ensures consistent column headers and row-based data organization ### Why other options are less effective: - **Option A**: Vague about column names ("customer details") and uses generic terms ("time" instead of "Timestamp") - **Option B**: Good but doesn't specify the output format, which could result in various table representations - **Option D**: Requests a "summary" rather than structured data, which may not produce the required table format ### Best Practices for Generative AI Prompts: - Be specific about the desired output format (CSV, JSON, table) - Explicitly list all required columns with exact names - Specify the structure (rows and columns) when tabular data is needed - Use standardized data formats for consistent results
Author: LeetQuiz .
Ultimate access to all questions.
Question: 26
You need to generate a structured table of customer feedback data using a generative AI model. Each feedback entry should include columns: "Customer ID," "Rating," "Feedback," and "Timestamp." Which of the following prompts is most likely to elicit a table format with correctly labeled columns and corresponding rows of data?
A
"Output a table with customer details, including the feedback, rating, and time."
B
"Generate a table of customer feedback with rows for each entry and columns for Customer ID, Rating, Feedback, and Timestamp."
C
"List customer feedback in CSV format with columns: Customer ID, Rating, Feedback, and Timestamp."
D
"Provide a summary of customer feedback, mentioning the customer's ID, rating, and feedback they provided."
No comments yet.