{"id":31363835,"url":"https://github.com/dreyyan/cipher-midterms-programming-cpp","last_synced_at":"2025-09-27T05:23:12.276Z","repository":{"id":315607815,"uuid":"1060147819","full_name":"dreyyan/CIPHER-Midterms-Programming-CPP","owner":"dreyyan","description":"[ CIPHER R\u0026D Committee · C++ Midterms Programming Materials \u0026 Practice Problems ]","archived":false,"fork":false,"pushed_at":"2025-09-19T14:53:20.000Z","size":2071,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-19T16:32:18.681Z","etag":null,"topics":["basic-programming","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dreyyan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-19T13:04:57.000Z","updated_at":"2025-09-19T16:22:07.000Z","dependencies_parsed_at":"2025-09-19T23:30:15.978Z","dependency_job_id":null,"html_url":"https://github.com/dreyyan/CIPHER-Midterms-Programming-CPP","commit_stats":null,"previous_names":["dreyyan/cipher-midterms-programming-cpp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dreyyan/CIPHER-Midterms-Programming-CPP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreyyan%2FCIPHER-Midterms-Programming-CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreyyan%2FCIPHER-Midterms-Programming-CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreyyan%2FCIPHER-Midterms-Programming-CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreyyan%2FCIPHER-Midterms-Programming-CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreyyan","download_url":"https://codeload.github.com/dreyyan/CIPHER-Midterms-Programming-CPP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreyyan%2FCIPHER-Midterms-Programming-CPP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277184144,"owners_count":25775286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-27T02:00:08.978Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["basic-programming","cpp"],"created_at":"2025-09-27T05:23:11.519Z","updated_at":"2025-09-27T05:23:12.264Z","avatar_url":"https://github.com/dreyyan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"![CodeQuest-Header](.assets/banner.png)\n\n# 📘 C++ Midterms Programming - 1st Semester  \n\n## 📌 Overview  \nA collection of **C++ topic materials and practice problems** designed to reinforce concepts  \nranging from **basic syntax to data structures**.  \nThis repository was prepared by the **Research and Development Committee of CIPHER**  \nto serve as a resource for **midterm preparation**.  \n\n---\n\n## 🎯 Objectives  \n- Reinforce understanding of **C++ fundamentals and syntax**  \n- Provide **progressive practice problems** to build problem-solving skills  \n- Support WVSU-CICT 1st year students in preparing for **midterms and beyond**  \n\n---\n\n## 📚 Topics Covered  \n- **Basic Syntax \u0026 Fundamentals** → Variables, operators, conditionals, loops  \n- **Data Structures** → Strings only\n- **Applied Practice** → Midterm-focused problems and challenges  \n\n---\n\n## 📋 Details  \n- **Prepared by:** CIPHER · Research \u0026 Development Committee  \n- **Purpose:** Midterms preparation \u0026 practice reinforcement  \n- **Focus Language:** C++  \n\n---\n\n## 📑 Table of Contents  \n\nClick any filename below to open the example code.  \nYou can view it directly here on GitHub without downloading anything.  \n\n---\n\n### 🟢 Basics (Start Here)  \n- [helloWorld.cpp](1-Basics/01-helloWorld.cpp) – Your very first C++ program  \n- [comments.cpp](1-Basics/02-comments.cpp) – How to write notes inside your code  \n- [dataTypes.cpp](1-Basics/03-dataTypes.cpp) – Different kinds of values (int, float, char, etc.)  \n- [variables.cpp](1-Basics/04-variables.cpp) – Storing values in memory  \n- [arithmeticOperations.cpp](1-Basics/05-arithmeticOperations.cpp) – Adding, subtracting, multiplying, dividing  \n- [escapeSequences.cpp](1-Basics/06-escapeSequences.cpp) – Special characters like `\\n` (new line)  \n- [output.cpp](1-Basics/07-output.cpp) – Different ways to print text (cout, variables, printf)  \n- [outputFormatting.cpp](1-Basics/08-outputFormatting.cpp) – Making your program’s output look neat  \n\n---\n\n### 🟡 Control Flow  \n- [if.cpp](2-Control-Flow/01-if.cpp) – Making simple decisions  \n- [switch.cpp](2-Control-Flow/02-switch.cpp) – Choosing between many options  \n- [forLoop.cpp](2-Control-Flow/03-forLoop.cpp) – Repeating code a set number of times  \n- [whileLoop.cpp](2-Control-Flow/04-whileLoop.cpp) – Repeating code while a condition is true  \n- [doWhileLoop.cpp](2-Control-Flow/05-doWhileLoop.cpp) – Repeating code at least once  \n\n---\n\n### 🟠 Functions  \n- [functions.cpp](3-Functions/01-functions.cpp) – Breaking code into reusable pieces  \n\n---\n\n### 🔵 Data Structures  \n- [strings.cpp](4-Data-Structures/01-strings.cpp) – Working with text in C++  \n- [arrays.cpp](4-Data-Structures/02-arrays.cpp) – Storing many values together in one variable  \n\n---\n\n## 🧩 Think You’re Ready? (Practice Problems)\n\nTry solving these small challenges using what you’ve learned so far.  \nClick any file to see the problem description or solution.  \n\n- [01-helloWorldMod.cpp](Practice-Problems/01-helloWorldMod.cpp) – Ask the user for their name and print a hello world message  \n- [02-commentsPractice.cpp](Practice-Problems/02-commentsPractice.cpp) – Add comments to a program that prints a message  \n- [03-dataTypesExplore.cpp](Practice-Problems/03-dataTypesExplore.cpp) – Work with different data types (int, float, etc.)  \n- [04-variableSwap.cpp](Practice-Problems/04-variableSwap.cpp) – Swap the values of two variables  \n- [05-arithmeticCalc.cpp](Practice-Problems/05-arithmeticCalc.cpp) – Perform basic arithmetic operations on two numbers  \n- [06-escapeSequencePractice.cpp](Practice-Problems/06-escapeSequencePractice.cpp) – Use escape sequences to format output  \n- [07-formattedOutput.cpp](Practice-Problems/07-formattedOutput.cpp) – Format output neatly with variables  \n- [08-gradeChecker.cpp](Practice-Problems/08-gradeChecker.cpp) – Determine a letter grade from a score  \n- [09-dayOfWeek.cpp](Practice-Problems/09-dayOfWeek.cpp) – Print the day of the week using a switch statement  \n- [10-countEvenNumbers.cpp](Practice-Problems/10-countEvenNumbers.cpp) – Print even numbers using a loop  \n- [11-sumUntilZero.cpp](Practice-Problems/11-sumUntilZero.cpp) – Sum numbers until zero is entered  \n- [12-guessNumber.cpp](Practice-Problems/12-guessNumber.cpp) – Create a simple number guessing game  \n- [13-rectangleArea.cpp](Practice-Problems/13-rectangleArea.cpp) – Calculate the area of a rectangle using a function  \n- [14-maxOfThree.cpp](Practice-Problems/14-maxOfThree.cpp) – Find the largest of three numbers using a function  \n- [15-stringReverse.cpp](Practice-Problems/15-stringReverse.cpp) – Reverse a string using a loop  \n- [16-arraySum.cpp](Practice-Problems/16-arraySum.cpp) – Sum the elements of an array  \n- [17-arrayMinMax.cpp](Practice-Problems/17-arrayMinMax.cpp) – Find the smallest and largest values in an array  \n- [18-PrimeNumberCheck.cpp](Practice-Problems/18-PrimeNumberCheck.cpp) – Check if a number is prime using loops  \n- [19-PalindromeString.cpp](Practice-Problems/19-PalindromeString.cpp) – Check if a string is a palindrome  \n- [20-FibonacciSequence.cpp](Practice-Problems/20-FibonacciSequence.cpp) – Generate Fibonacci numbers up to a limit  \n- [21-GCDCalculator.cpp](Practice-Problems/21-GCDCalculator.cpp) – Find the GCD of two numbers using a loop  \n- [22-NumberPattern.cpp](Practice-Problems/22-NumberPattern.cpp) – Print a number pattern using nested loops  \n- [23-StringVowelCount.cpp](Practice-Problems/23-StringVowelCount.cpp) – Count vowels in a string  \n- [24-AveragePositiveNumbers.cpp](Practice-Problems/24-AveragePositiveNumbers.cpp) – Calculate average of positive numbers  \n- [25-MultiplesInRange.cpp](Practice-Problems/25-MultiplesInRange.cpp) – Print multiples of a number in a range  \n- [26-ReverseArray.cpp](Practice-Problems/26-ReverseArray.cpp) – Reverse an array in-place  \n- [27-DigitSum.cpp](Practice-Problems/27-DigitSum.cpp) – Sum the digits of a number  \n- [28-TriangleValidator.cpp](Practice-Problems/28-TriangleValidator.cpp) – Check if three sides form a valid triangle  \n- [29-CountOccurrences.cpp](Practice-Problems/29-CountOccurrences.cpp) – Count occurrences of a character in a string  \n- [30-FactorialRange.cpp](Practice-Problems/30-FactorialRange.cpp) – Print factorials within a range  \n- [31-PerfectNumber.cpp](Practice-Problems/31-PerfectNumber.cpp) – Check if a number is perfect  \n- [32-StringCaseToggle.cpp](Practice-Problems/32-StringCaseToggle.cpp) – Toggle case of characters in a string  \n- [33-ArrayRotation.cpp](Practice-Problems/33-ArrayRotation.cpp) – Rotate an array by k positions  \n- [34-PrimeFactors.cpp](Practice-Problems/34-PrimeFactors.cpp) – Find prime factors of a number  \n- [35-BinaryConverter.cpp](Practice-Problems/35-BinaryConverter.cpp) – Convert a number to binary  \n- [36-MatrixDiagonalSum.cpp](Practice-Problems/36-MatrixDiagonalSum.cpp) – Sum the diagonals of a square matrix  \n- [37-LongestWord.cpp](Practice-Problems/37-LongestWord.cpp) – Find the longest word in a sentence  \n\n✉️ **Want your code checked or reviewed?**  \nFeel free to reach out to **CIPHER's Research \u0026 Development Head** on **Messenger**!  \n👉 [Facebook](https://www.facebook.com/baka.drey.yan): *Adrian Dominic Tan*  \n\n\nHappy coding! 🚀  \n\n\u003e \"The only way to learn a new programming language is by writing programs in it.\"  \n\u003e — Dennis Ritchie  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreyyan%2Fcipher-midterms-programming-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreyyan%2Fcipher-midterms-programming-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreyyan%2Fcipher-midterms-programming-cpp/lists"}