Student Information
0Read
1Pseudocode
2Plan Code
3Write Code
4Understand
5Validate
0
Step 0 — Read Question
The Problem Statement
Read the assignment question fully before doing anything else. Make sure you understand every requirement.
Loading question...
Hints
Course Outcomes Addressed
Read the entire question. Understand every requirement before clicking Next. You cannot get a good solution without understanding the problem first.
1
Step 1 — Pseudocode — Think Before You Code
Pseudocode Design
Design your complete solution before writing any C++ code. Fill in all four sections below.
1
Problem Statement
(restate in your own words)
0 characters
2
Data Structures
(what data do you need to store?)
0 characters
3
Functions / Methods
(list every operation you need)
0 characters
4
Write Your Pseudocode
(full algorithm in plain English)
0 characters
5
Identify Edge Cases
Self-Review Checklist — complete at least 4 of 5 before continuing
I identified all the data I need to store
I listed every function and described what each does
My pseudocode covers the full algorithm step by step
I considered at least 2 edge cases
I know the input, output, and core logic of each function
2
Step 2 — Prompt
Prompt Engineering: Convert Pseudocode to a Code Prompt
Translate your pseudocode into a precise prompt. The better your pseudocode, the better the output. Your pseudocode is shown below for reference.
Your Pseudocode (from Step 1)
(Complete Step 1 first)
1Language & Constraints
0 characters
2Code Style Requirements
0 characters
3Specific Patterns to Include(from your pseudocode)
0 characters
4Example Input / Output(from your edge cases)
Your Constructed Prompt (auto-built from pseudocode + requirements)
Fill in the fields above and click Build Prompt...
0 characters
3
Step 3 — Write Code
Implement Your Solution in C++
Translate your pseudocode from Step 1 into working C++ code. Follow your design — do not skip steps or change the approach without noting why.
0 characters
Cross-check: Does your code match your pseudocode design?
(Your pseudocode from Step 1 will appear here)
4
Step 4 — Understand
Explain What the Code Does
Prove you understand your implementation by explaining it in your own words. Describe every function and block.
0 characters
5
Step 5 — Validate
Test, Modify, and Assess
Test the code with at least 3 test cases including edge cases from your pseudocode. Document every change you made.
Aim for: 1 normal case, 1 boundary case, 1 edge case (empty array, single element, negative numbers).
Submit Your Work
Export your completed worksheet as a JSON file to submit to your instructor. Your time on page is included.