Video summary
CS301P Assignment 1 Solution Fall 2026 | CS301P Assignment 1 Solution 2026 | 100% Correct Code
Main summary
Key takeaways
Summary
The video demonstrates how to create, enter, compile, and submit a CS301P Assignment 1 solution using Dev-C++. The presenter emphasizes that the solution must use C++, not C, and be submitted as a single .cpp file.
Steps shown
-
Install and open Dev-C++
- Download and install Dev-C++ if it is not already installed.
- In Dev-C++, select File → New → Source File.
-
Save the file
- Save the file to the desktop using the student’s VU ID as the filename.
- Remove any temporary text entered while saving, then save again with Ctrl+S.
-
Enter the assignment code
- Type the code shown in the video, which is approximately 172 lines long.
- The presenter warns that small typing errors may prevent the code from compiling.
- They suggest using ChatGPT or another AI tool to help check for errors.
-
Personalize the code
- Replace the example VU ID in the code with the student’s own VU ID.
- Replace the example final digit with the last digit of that VU ID.
- The presenter says these are the required changes and that the rest of the code should remain unchanged.
-
Compile and run
- Save the completed code with Ctrl+S, then select Dev-C++’s Compile and Run option.
- The presenter says the displayed output matches the expected result. It includes a prime-number count of 3, a value of 93, popped values of 40 and 45, and the binary representation of 45 as 101101.
-
Submit the file
- Close the program and locate the saved
.cppfile on the desktop. - Submit that file through the course LMS. The presenter says no additional file is required.
- Close the program and locate the saved
The presenter also promotes paid assignment services, stating that fees are normal before the due date and double on the due date.
Speakers and sources featured
- KST Learning presenter/narrator: Gives the software setup, coding, testing, and submission instructions.
- Course instructor (“sir”): Referenced by the presenter regarding the requirement to use C++ and follow the assignment instructions; not separately heard in the subtitles.
- Dev-C++: The programming environment shown for creating, compiling, and running the file.
- ChatGPT or another AI tool: Suggested as a way to check the code for errors.
Rate this summary
Your feedback will help improve summaries.
Improve this summary
Reprocess with a stronger model when the summary feels incomplete or inaccurate.
Translate summary in another language
Ask questions to this video
Chat for follow-up questions, clarifications, and source-backed answers.