Responsible AI Prompting Guide

Avijit Roy, Adjunct Lecturer
Dept of Math & Computer Science
John Jay College of Criminal Justice

CSCI 271/272 โ€” Academic Integrity and Deep Learning Guide


Rationale and Learning Objectives

Artificial Intelligence tools can be utilized in two primary ways:

Objective: Utilize AI as a personalized tutor to facilitate understanding, rather than a shortcut for completion.


Core Academic Integrity Policy

Directly requesting solutions from AI is strictly prohibited.

Incorrect Usage:

"Give me the code for binary search"
"Solve this problem"

Recommended Usage:

"Explain the logic behind binary search step-by-step."
"Guide me through the conceptual framework without providing the final solution."

Note: Reliance on generated solutions will result in significant difficulty during independent exams where AI tools are not permitted.


Recommended AI Prompting Framework

I am a beginner learning C++.

Teach me the topic: [INSERT TOPIC]

I want to understand how to solve problems, not just get answers.

Follow this structure strictly:

1. Simple Explanation (2โ€“4 lines)
   - Explain like Iโ€™m new to programming.

2. Real-Life Analogy
   - Connect the idea to something practical.

3. Step-by-Step Logic
   - Explain how to think through the problem.

4. Code Example (C++)
   - Provide a clean example with comments.

5. Code Walkthrough
   - Show how values change step by step.

6. Common Mistakes
   - List at least 3 mistakes and explain why.

7. Debugging Practice
   - Give me a buggy example.
   - Let me try first BEFORE showing the fix.

8. Practice Problems
   - Give:
     - 1 easy problem
     - 1 moderate problem
   - DO NOT give full solutions immediately.

9. Concept Check (Test Me)
   - Ask me 3 conceptual questions.
   - Wait for my answers before explaining.

10. Real-World Usage
    - Where is this used in real programs?

IMPORTANT RULES:
- Do NOT give full solutions immediately
- Guide me step-by-step instead
- Ask me to think before answering

Self-Assessment Extension

Now test my understanding:
1. Give me 2 MCQ questions (with tricky options)
2. Give me 1 code output question
3. Give me 1 debugging question

Do NOT give answers immediately.
Wait for my attempt, then evaluate me.

Structured Learning Workflow

Step 1: Conceptual Learning

Implement the framework provided above.

Step 2: Independent Application

Step 3: Seek Guidance, Not Solutions

"I have implemented this approach. What conceptual gaps are present?"
"Could you provide guidance on this logic without revealing the full implementation?"

Step 4: Collaborative Debugging

"I am encountering an error in my logic. Help me identify the mistake within my existing code structure."

Common Pitfalls in AI Usage

Superficial Learning

Passive Reliance

Exam Unpreparedness


Exemplary Prompting Strategies

Instead of:

Write a program to reverse an array

Ask:

Teach me how to reverse an array using step-by-step logic.
Let me try before showing the final code.

Advanced Techniques for In-Depth Analysis

Use this when you're comfortable:

Challenge me on this topic:


Strategic Preparation for Independent Assessment

When studying topics like:

Incorporate the following analytical questions during your study of core topics (e.g., Arrays, Sorting, Pointers):


Conclusion and Core Principles

Effective AI usage should:

Ineffective AI usage should be avoided:


Summary Rule

โ€œAsk AI how to think, not what to write.โ€