Skip to content

7 Common Prompt Engineering Mistakes and How to Fix Them: Weak vs Fixed Prompts for Students

Vague asks, missing context, overstuffed prompts and blind trust in AI answers cause most bad results. Here are seven common mistakes, each with a weak and a fixed prompt built around placements, DSA and college projects.

Ucanly Team9 min read
Share

Most students who say "AI gives me useless answers" are not using a bad tool. They are writing prompts that leave the model guessing. ChatGPT, Claude and Gemini can only work with what you put in front of them: a vague question gets a generic answer, and a cluttered one gets a confused answer.

The same handful of mistakes cause most bad results, and each has a simple fix. Below are seven of them, each with a weak prompt, a fixed prompt and the reason the fix works, built around placement prep, DSA, college projects, resumes and internships.

Mistake 1: Asking vague questions

The most common mistake is treating the model like a search box. You type three or four words and expect it to read your mind.

Weak: Explain recursion.

You will get a textbook definition and the factorial example you have seen ten times. Nothing in it is aimed at you.

Fixed: I am a second year B.Tech student preparing for placement coding rounds. I understand loops well but I get lost when tracing recursive calls. Explain recursion using a dry run of a function that prints numbers from 5 down to 1, showing the call stack at each step. Then give me two practice problems of increasing difficulty, without solutions.

Why the fix works

The fixed prompt states who you are, what you already know, where you get stuck, and what you want back. A useful habit: before you hit enter, ask yourself whether a human mentor could answer your prompt well without asking you a single clarifying question. If not, add the missing detail.

Mistake 2: Leaving out the context that matters

Vagueness is about the question. Missing context is about the situation around it. Many students ask for help with a resume, a project or an email without sharing the facts the model needs.

Weak: Write a cover letter for a software internship.

The result will be polished and completely interchangeable with every other AI cover letter a recruiter has read that week.

Fixed: Write a cover letter of about 200 words for a backend developer internship. The job description asks for Python, REST APIs and basic SQL. About me: final year CSE student, built a library management system in Django with a PostgreSQL database for my minor project, and solved around 300 problems on coding practice platforms. I have no prior internship. Keep the tone professional and plain, avoid words like "passionate" and "synergy", and end with a single line asking for an interview.

Context checklist

When you ask for help with any task, try to include:

  • Goal: what the output is for (an internship application, a viva, a placement test)
  • Audience: who will read it (a recruiter, a professor, a beginner)
  • Raw material: your actual project details, the job description, your existing draft
  • Constraints: word limit, tone, things to avoid

The more personal the task, the more context you owe the model. If you want feedback on the resume itself rather than the letter, a tool built for that job, like our AI resume review, already knows what recruiters look for and saves you from writing that context yourself.

Mistake 3: Overstuffing one prompt

Once students learn that context helps, some swing to the opposite extreme. They paste an entire syllabus, three past papers and five unrelated requests into a single message.

Weak: Here is my full DBMS syllabus and my notes. Make a study plan, summarise every unit, generate 50 MCQs, explain normalisation, and also tell me which topics come most in exams and make flashcards.

The model will attempt everything and do each part shallowly.

Fixed (first message): Here are my notes for Unit 3 of DBMS on normalisation. Summarise them into a one page revision sheet covering 1NF, 2NF, 3NF and BCNF, with one small table example for each.

Fixed (next message): Now give me 10 MCQs on this unit, mixing conceptual and table based questions. Put the answers at the end.

Why the fix works

Break big jobs into smaller steps so you can check each output before building on it. A good rule: one prompt, one main task. Context can be long; the instruction should be focused.

Mistake 4: Not specifying an output format

If you do not say how you want the answer shaped, the model picks a shape for you, usually a long essay.

Weak: Compare arrays and linked lists.

Fixed: Compare arrays and linked lists for a placement interview. Give the answer as a table with these columns: operation, array time complexity, linked list time complexity, one line reason. Cover access by index, insertion at start, insertion at end, deletion in the middle and search. After the table, add three bullet points on when to choose each.

You can ask for a table with named columns, a fixed number of bullet points, a strict word limit, or JSON with specific keys if the output feeds into code. Here is a reusable interview prep template with the format built in:

Act as a technical interviewer for a fresher software role.
Topic: {topic}
Ask me one question at a time. Wait for my answer.
After each answer, reply in this format:
Score: x/10
What was correct:
What was missing:
A stronger answer in 3 to 4 sentences:
Then ask the next question. Stop after 5 questions and give an overall summary.

Mistake 5: Trusting confident answers without checking

Language models can produce answers that sound certain and are simply wrong, often called hallucination: invented citations, library functions that do not exist, wrong time complexities and made up exam patterns.

Weak: Give me 5 research papers on federated learning for my literature review, with authors and years.

You may get plausible titles that do not exist, and your project guide will notice.

Fixed: I am writing a literature review on federated learning for my final year project. Explain the main research directions in this area and the key terms I should search for. Do not list specific papers or authors. I will search Google Scholar myself and paste abstracts back for you to help summarise.

Habits that protect you

  • Ask the model to flag uncertainty: add "If you are not sure about something, say so clearly instead of guessing."
  • Verify anything factual: dates, citations, statistics, eligibility rules, and company hiring processes should be checked against official sources.
  • Run the code: never submit AI generated code you have not executed and tested with edge cases.

The model is a fast first draft and a patient explainer. It is not a source of truth.

Mistake 6: Giving up after the first answer

Many students send one prompt, get a mediocre answer, and conclude that AI is overrated. Prompting is a conversation. The first reply is a starting point.

Weak: (gets a generic project idea list, closes the tab)

Fixed follow up 1: These ideas are too common. Remove anything involving to do apps, weather apps or chatbots. Focus on problems faced by students in Indian colleges, like attendance, hostel complaints or placement tracking.

Fixed follow up 2: Take idea number 3. Break it into a four week build plan for a team of two, using React and Node.js. List the features for a minimum version first, then optional extras.

How to iterate well

  • Say what was wrong with the last answer, specifically ("too long", "too basic", "ignored my tech stack").
  • Ask the model to critique its own answer: "Review your previous answer as a strict senior developer. What is weak or missing?"
  • Start a fresh chat when a conversation drifts too far, and paste in a clean summary of what you need.

Mistake 7: Pasting private or sensitive data

This mistake has the biggest consequences. Never paste these into a public AI tool:

  • Your Aadhaar number, PAN, bank details, passwords or OTPs
  • Other people's phone numbers, emails or marks
  • Code, documents or customer data from an internship or job, unless your employer has explicitly approved that tool
  • API keys, database passwords or .env file contents

Weak: Here is my company's code with the database connection string. Why is the login failing? [pastes full file]

Fixed: I am debugging a login function in a Node.js app. Here is a simplified version with all credentials and company specific names removed. The function returns 401 even when the password is correct. What are the most likely causes, and what should I log to narrow it down?

Why the fix works

You can almost always get help by anonymising and simplifying: use placeholders, strip secrets, and reduce the code to the smallest piece that shows the problem. Building that minimal example often reveals the bug anyway. When you join a company, read its AI usage policy in your first week.

What to do next

Before sending any prompt that matters, run through this checklist:

  1. Clear task: Does it say exactly what I want done?
  2. Context: Have I shared my level, goal and relevant details?
  3. Focus: Is there one main task, not five?
  4. Format: Have I said how the answer should look?
  5. Verification: Do I know which parts I must check myself?
  6. Iteration: Am I ready to refine instead of accepting the first reply?
  7. Privacy: Have I removed anything personal, confidential or secret?

Then pick one task you are doing this week, such as a DSA topic, a project report section or a resume bullet, and write the weak version of the prompt first. Then rewrite it using the checklist above and compare the two answers side by side. The difference will teach you more than any list of tips.

If you want structured practice, our courses cover practical AI skills alongside core placement topics, and the rest of this prompt engineering series on the blog goes deeper into techniques like few shot examples and chain of thought prompting. Good prompting is not a trick. It is clear thinking written down, and that is a skill every recruiter values.

Talk it through with a counsellor

Leave your number and someone from our team will call you with a plan for the career you are working towards.

Get a free career consultation

Tell us where you're headed and a counsellor will call you with a plan for getting there.

We use these details to respond to your request. The box above is only for marketing. See our privacy policy.

Try the free aptitude test

Fifteen questions in fifteen minutes, with every answer explained. Then a roadmap built from your score.