{"id":20130344,"url":"https://github.com/shahriar-raj/cse_102-structured-programming-language-sessional","last_synced_at":"2026-06-04T22:31:07.629Z","repository":{"id":250828378,"uuid":"835595505","full_name":"shahriar-raj/CSE_102-Structured-Programming-Language-Sessional","owner":"shahriar-raj","description":"This repository contains all home and lab assignments for the CSE 102: Structured Programming Language Sessional course, part of our Term-1, Level-1 curriculum. It applies theories from CSE 101 to problem-solving. We also learned igraphics (an OpenGL library) for animations, culminating in a term project.","archived":false,"fork":false,"pushed_at":"2025-05-10T12:45:58.000Z","size":44178,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-10T13:41:49.746Z","etag":null,"topics":["academic","c","igraphics-project","problem-solving","programming","structured-programming"],"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/shahriar-raj.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}},"created_at":"2024-07-30T06:44:42.000Z","updated_at":"2025-05-10T12:46:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"54df00a2-3c28-48e6-a977-b2c6c26342d3","html_url":"https://github.com/shahriar-raj/CSE_102-Structured-Programming-Language-Sessional","commit_stats":null,"previous_names":["shahriar-raj/cse_102-structured-programming-language-sessional"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shahriar-raj/CSE_102-Structured-Programming-Language-Sessional","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahriar-raj%2FCSE_102-Structured-Programming-Language-Sessional","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahriar-raj%2FCSE_102-Structured-Programming-Language-Sessional/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahriar-raj%2FCSE_102-Structured-Programming-Language-Sessional/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahriar-raj%2FCSE_102-Structured-Programming-Language-Sessional/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shahriar-raj","download_url":"https://codeload.github.com/shahriar-raj/CSE_102-Structured-Programming-Language-Sessional/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahriar-raj%2FCSE_102-Structured-Programming-Language-Sessional/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33923173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"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":["academic","c","igraphics-project","problem-solving","programming","structured-programming"],"created_at":"2024-11-13T20:38:14.220Z","updated_at":"2026-06-04T22:31:07.624Z","avatar_url":"https://github.com/shahriar-raj.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSE 102: Structured Programming Language Sessional  \nThis repository hosts all **home** and **lab assignments** for the **CSE 102: Structured Programming Language Sessional** course, a part of the **Term-1, Level-1** curriculum. The coursework builds upon the foundational theories from **CSE 101** and applies them to real-world problem-solving. Additionally, the course introduces **igraphics**, an OpenGL-based library, for creating animations, culminating in a term project.\n\n---\n\n## **Assignments Overview**\n\n### **Offlines (Home Assignments)**\n1. **Offline-1**: Focuses on **1D Arrays**.  \n2. **Offline-2**: Explores **2D Arrays** and **Strings**.\n\n### **Onlines (Lab Assignments)**  \nEach lab assignment delves into key concepts of structured programming:  \n\n1. **![Status](https://img.shields.io/badge/Online-1-brightgreen)**: *Branching and Basic Arithmetic*  \n   - **Problem 1**: Determining the intersection point of two lines.  \n   - **Problem 2**: Evaluating whether a given point lies *on*, *inside*, or *outside* a circle based on its radius and center.  \n\n2. **![Status](https://img.shields.io/badge/Online-2-brightgreen)**: *Loops*  \n   - **Problem 1**: Printing specific star patterns.  \n   - **Problem 2**: Calculating the **LCM** dynamically as new numbers are added (without arrays).  \n\n3. **![Status](https://img.shields.io/badge/Online-3-brightgreen)**: *1D Arrays and Functions*  \n   - Sorting numbers based on the number of `1s` in their binary representation, with ties resolved using factor numbers.  \n\n4. **![Status](https://img.shields.io/badge/Online-4-brightgreen)**: *Array, Strings, and Recursion*  \n   - Identifying the presence and frequency of a substring within a given string.  \n\n5. **![Status](https://img.shields.io/badge/Online-5-brightgreen)**: *Pointers and Structures*  \n   - **Problem 1**: Implementing a structure to multiply and divide complex numbers.  \n   - **Problem 2**: Concatenating two strings using pointers (without built-in string functions).  \n\n---\n\n## **Special Projects**\n\n### **Assignment with igraphics**\nA unique assignment involving **sine** and **cosine curves**, where users can dynamically adjust the **wavelength** and **amplitude** of the curves.  \n\n---\n\n### **Term Project: \"Catch the Egg\"**\n\n**\"Catch the Egg\"** is an engaging and interactive game developed as the capstone project for this course. It showcases the use of **igraphics** for graphical programming and introduces students to the basics of game development.  \n\n#### **Key Features:**\n- **Graphics and Animation**: Smooth animations and visually appealing graphics powered by the **igraphics** library.  \n- **User Interaction**: Players control a basket using keyboard inputs to catch falling eggs.  \n- **Score Tracking**: The game tracks the player's score, which increases with each successful catch.  \n- **Increasing Difficulty**: The speed and frequency of falling eggs increase progressively, adding to the challenge.  \n\n---\n\n## **About igraphics**  \n**igraphics** is a lightweight and educational graphics library built on **OpenGL**. It provides an intuitive interface for creating graphical applications, making it an excellent tool for beginners.  \n\n---\n\nThis project not only enhances programming skills but also introduces students to the fundamentals of **game development** and **graphical programming**, offering a comprehensive and enjoyable learning experience.\n\n--- \n\nFeel free to explore the repository and dive into the code to see how these concepts were implemented!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahriar-raj%2Fcse_102-structured-programming-language-sessional","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshahriar-raj%2Fcse_102-structured-programming-language-sessional","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahriar-raj%2Fcse_102-structured-programming-language-sessional/lists"}