From 0f494d7bb9b7ed294f2807ec9283196807276234 Mon Sep 17 00:00:00 2001 From: ADAMU MUHAMMAD MUHAMMAD Date: Wed, 20 Dec 2023 22:08:51 +0100 Subject: [PATCH] doucs: C content --- docs/C/_category_.json | 13 +- docs/{basic/programming.mdx => C/ass.mdx} | 3 +- docs/C/intro.mdx | 95 ------- docs/C/labs.mdx | 5 + docs/C/questions.mdx | 7 + docs/C/session.mdx | 7 +- docs/DSA/_category_.json | 4 +- docs/DSA/array.mdx | 5 + docs/DSA/intro.md | 0 docs/DSA/linklist.mdx | 5 + docs/DSA/stack.mdx | 5 + docs/basic/_category_.json | 8 - docs/basic/git.mdx | 60 ----- docs/basic/github.mdx | 77 ------ docs/basic/githubFeatures.mdx | 50 ---- docs/basic/openWay.mdx | 54 ---- docs/basic/versionControl.mdx | 35 --- docs/intro.mdx | 97 ++++--- docs/python/Day1.mdx | 238 ----------------- docs/python/Day2.mdx | 0 docs/python/Day3.mdx | 153 ----------- docs/python/Day4.mdx | 146 ----------- docs/python/Day5.mdx | 296 ---------------------- docs/python/Day6.mdx | 120 --------- docs/python/Day7.mdx | 5 - docs/python/_category_.json | 8 - docs/python/forward.mdx | 43 ---- docs/python/syllabus.mdx | 67 ----- docusaurus.config.js | 11 + 29 files changed, 117 insertions(+), 1500 deletions(-) rename docs/{basic/programming.mdx => C/ass.mdx} (58%) delete mode 100644 docs/C/intro.mdx create mode 100644 docs/C/questions.mdx create mode 100644 docs/DSA/array.mdx delete mode 100644 docs/DSA/intro.md create mode 100644 docs/DSA/linklist.mdx create mode 100644 docs/DSA/stack.mdx delete mode 100644 docs/basic/_category_.json delete mode 100644 docs/basic/git.mdx delete mode 100644 docs/basic/github.mdx delete mode 100644 docs/basic/githubFeatures.mdx delete mode 100644 docs/basic/openWay.mdx delete mode 100644 docs/basic/versionControl.mdx delete mode 100644 docs/python/Day1.mdx delete mode 100644 docs/python/Day2.mdx delete mode 100644 docs/python/Day3.mdx delete mode 100644 docs/python/Day4.mdx delete mode 100644 docs/python/Day5.mdx delete mode 100644 docs/python/Day6.mdx delete mode 100644 docs/python/Day7.mdx delete mode 100644 docs/python/_category_.json delete mode 100644 docs/python/forward.mdx delete mode 100644 docs/python/syllabus.mdx diff --git a/docs/C/_category_.json b/docs/C/_category_.json index 0126a3e..03630d4 100644 --- a/docs/C/_category_.json +++ b/docs/C/_category_.json @@ -1,9 +1,8 @@ { - "label": "C programing", - "position": 4, - "link": { - "type": "generated-index", - "description": "C is a powerful general-purpose programming language. It can be used to develop software like operating systems, databases, compilers, and so on. C programming is an excellent language to learn to program for beginners." - } + "label": "C Language", + "position": 2, + "link": { + "type": "generated-index", + "description": "πŸš€ C programming Language πŸš€" + } } - \ No newline at end of file diff --git a/docs/basic/programming.mdx b/docs/C/ass.mdx similarity index 58% rename from docs/basic/programming.mdx rename to docs/C/ass.mdx index d394e57..d8a1d0c 100644 --- a/docs/basic/programming.mdx +++ b/docs/C/ass.mdx @@ -2,6 +2,5 @@ sidebar_position: 4 --- -# Programming basic - +# Assignments diff --git a/docs/C/intro.mdx b/docs/C/intro.mdx deleted file mode 100644 index f1d8c1f..0000000 --- a/docs/C/intro.mdx +++ /dev/null @@ -1,95 +0,0 @@ ---- -sidebar_position: 1 ---- - -# Elevate Your Elective Experience! 🌟 - -Hey Future Coders! - -:::tip - -πŸ”₯ Ready to add an electrifying twist to your elective journey? Dive into the world of coding with our specially crafted C -Programming Bootcamps β€” designed just for YOU! - -::: - -## Flexible Bootcamps for C Elective Students - -### 🌐 Why Dive into Coding? - -1. **Breaks Become Learning Opportunities:** - - Why waste breaks when you can turn them into coding triumphs? Join our bootcamps during university breaks and make every moment count. - -2. **Practice Without a Computer:** - - We understand your constraints. Our bootcamps offer hands-on coding experiences that don't require 24/7 computer access. Learn and practice the fundamentals without being tethered to a screen. - -3. **Electricity Woes? No Worries:** - - Frequent power outages? No problem! Our bootcamps provide you with offline materials, enabling you to absorb knowledge even during electricity downtime. - -4. **Flexible Classes: Morning, Noon, and After Class:** - - Busy schedule? No worries! Our bootcamps are designed with your flexibility in mind. Choose sessions in the morning, noon, or after your regular classes. - -5. **Community of Learners:** - - Connect with fellow elective enthusiasts. Collaboration breeds success, and our community is here to support you. - - -:::::info - -Seats are limited, and this exclusive opportunity won't last forever. - -::::danger - -Seats are limited, -To secure your spot and unlock a future filled with coding mastery, - -:::tip - - a fee of 2000 two thousand Naira is required. - -::: - -:::: - -::::: - - - -### 🌈 What's In It for You? - - -- **Flexible Timings, Maximum Learning:** - Choose the schedule that fits your university routine. Morning, noon, or after class – we've got you covered. - -- **Hands-On Coding Labs:** - Immerse yourself in practical labs that mirror real-world challenges. Learning by doing is our mantra. - -- **Interactive Learning Community:** - Share experiences, ask questions, and grow with a community of learners passionate about coding. - - -### Limited Time Offer: Exclusive Access to Bootcamps - -:::::info - -Seats are limited, and this exclusive opportunity won't last forever. - -::::danger - -Seats are limited, -To secure your spot and unlock a future filled with coding mastery, - -:::tip - - a fee of 2000 two thousand Naira is required. - -::: - -:::: - -::::: - - -Ready to spice up your elective experience? Limited slots available for the ultimate coding adventure. [Enroll Now](https://chat.whatsapp.com/FUzAVgiI3WcJh1iavrO7gI) and transform your elective course into a dynamic journey of coding excellence! - ---- -Your coding adventure starts here! πŸš€βœ¨ diff --git a/docs/C/labs.mdx b/docs/C/labs.mdx index 0beba28..01b8f55 100644 --- a/docs/C/labs.mdx +++ b/docs/C/labs.mdx @@ -1,3 +1,8 @@ +--- +sidebar_position: 2 +--- + + # The lab tasks outlined in the COSC 206 Introduction to C programming Lab Manual cover a range of fundamental concepts and programming exercises. Here are the main lab tasks mentioned in the manual: diff --git a/docs/C/questions.mdx b/docs/C/questions.mdx new file mode 100644 index 0000000..510a4cf --- /dev/null +++ b/docs/C/questions.mdx @@ -0,0 +1,7 @@ +--- +sidebar_position: 3 +--- + +# Past Questions + + diff --git a/docs/C/session.mdx b/docs/C/session.mdx index 1579157..d45f070 100644 --- a/docs/C/session.mdx +++ b/docs/C/session.mdx @@ -1,4 +1,9 @@ -# C Programming Bootcamp +--- +sidebar_position: 1 +--- + + +# Concepts ## Day 1: Introduction to C Basics 1. Session 1: Introduction to C Programming diff --git a/docs/DSA/_category_.json b/docs/DSA/_category_.json index b54454d..1616749 100644 --- a/docs/DSA/_category_.json +++ b/docs/DSA/_category_.json @@ -1,8 +1,8 @@ { "label": "DSA", - "position": 5, + "position": 3, "link": { "type": "generated-index", - "description": "πŸš€ In the world of technology, mastering Data Structures and Algorithms is like having the keys to unlock the limitless potential of your career. It's not just code; it's the language of innovation and success in the digital eraπŸš€" + "description": "πŸš€ In the world of technology, mastering Data Structures and Algorithms is like having the keys to unlock the limitless potential of your career. It's not just code; it's the language of innovation and success in the digital era πŸš€" } } diff --git a/docs/DSA/array.mdx b/docs/DSA/array.mdx new file mode 100644 index 0000000..00b8b2d --- /dev/null +++ b/docs/DSA/array.mdx @@ -0,0 +1,5 @@ +--- +sidebar_position: 1 +--- + +# Array \ No newline at end of file diff --git a/docs/DSA/intro.md b/docs/DSA/intro.md deleted file mode 100644 index e69de29..0000000 diff --git a/docs/DSA/linklist.mdx b/docs/DSA/linklist.mdx new file mode 100644 index 0000000..113049e --- /dev/null +++ b/docs/DSA/linklist.mdx @@ -0,0 +1,5 @@ +--- +sidebar_position: 2 +--- + +# Lisklist \ No newline at end of file diff --git a/docs/DSA/stack.mdx b/docs/DSA/stack.mdx new file mode 100644 index 0000000..c6e8616 --- /dev/null +++ b/docs/DSA/stack.mdx @@ -0,0 +1,5 @@ +--- +sidebar_position: 3 +--- + +# Stack \ No newline at end of file diff --git a/docs/basic/_category_.json b/docs/basic/_category_.json deleted file mode 100644 index ca7201b..0000000 --- a/docs/basic/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Mastering the Basics", - "position": 2, - "link": { - "type": "generated-index", - "description": "Unlock the Power of Collaboration and Master the Tools that Drive Modern Software Development!" - } -} diff --git a/docs/basic/git.mdx b/docs/basic/git.mdx deleted file mode 100644 index eaa90dd..0000000 --- a/docs/basic/git.mdx +++ /dev/null @@ -1,60 +0,0 @@ ---- -sidebar_position: 2 ---- - -# Git πŸ’‘ - -## Introduction to Git -- Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. - -- Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows. - -- Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people. - -- Git is a Distributed Version Control System. So Git does not necessarily rely on a central server to store all the versions of a project’s files. Instead, every developer β€œclones” a copy of a repository (a collection of files) and has the full history of the project on their own hard drive. This copy (or β€œclone”) has all of the metadata of the original. - -- Git is a software that helps you track changes made to files. As you edit these files, you tell Git to add the changes you made. When you’re ready, you β€œcommit” the changes, which records them in your repository. You can then β€œpush” your changes to a remote repository, or β€œpull” changes others have made to your local copy. - -# Git - -## tools - -## setups commands - -### git config - -```bash -git config --global user.name "Your Name" -git config --global user.email " -``` - -### git init - -```bash -git init -``` - -### git add - -```bash -git add -git add . -``` - -### git commit - -```bash -git commit -m "message" -``` - -### git status - -```bash -git status -``` - -### git log - -```bash -git log -``` diff --git a/docs/basic/github.mdx b/docs/basic/github.mdx deleted file mode 100644 index 989e5ab..0000000 --- a/docs/basic/github.mdx +++ /dev/null @@ -1,77 +0,0 @@ ---- -sidebar_position: 3 ---- - -# Github πŸ’‘ - -## Introduction to Github - -- GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere. - -- GitHub is a web-based Git repository hosting service. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. - -## Git vs Github -- Git is a version control system that lets you manage and keep track of your source code history. - -- GitHub is a cloud-based hosting service that lets you manage Git repositories. - -- If you have open-source projects that use Git, then GitHub is designed to help you better manage them. - -- If you want to work on a project with multiple people, GitHub makes it easy to collaborate with others. - -- GitHub is a Git repository hosting service, but it adds many of its own features. While Git is a command line tool, GitHub provides a Web-based graphical interface. It also provides access control and several collaboration features, such as a wikis and basic task management tools for every project. - - -## 1. git clone - -```bash -git clone -``` - -## 2. git branch - -```bash -git branch -``` - -## 3. git checkout - -```bash -git checkout -``` - -## 4. git add - -```bash -git add -``` - -## 5. git commit - -```bash -git commit -``` - -## 6. git push - -```bash -git push -``` - -## 7. git pull - -```bash -git pull -``` - -## 8. git merge - -```bash -git merge -``` - -## 9. git rebase - -```bash -git rebase -``` diff --git a/docs/basic/githubFeatures.mdx b/docs/basic/githubFeatures.mdx deleted file mode 100644 index 9c125ad..0000000 --- a/docs/basic/githubFeatures.mdx +++ /dev/null @@ -1,50 +0,0 @@ ---- -sidebar_position: 5 ---- - -# Github featuresπŸ’‘ - -## Github pages - -Github pages is a feature of Github that allows you to host a static website for free. It is a great way to host your portfolio or a blog. You can find more information about Github pages [here](https://pages.github.com/). - -## Github actions - -Github actions is a feature of Github that allows you to automate tasks. You can find more information about Github actions [here](https://docs.github.com/en/actions). - -## Github codespaces - -Github codespaces is a feature of Github that allows you to create a development environment in the cloud. You can find more information about Github codespaces [here](https://docs.github.com/en/codespaces). - -## Github projects - -Github projects is a feature of Github that allows you to create a Kanban board. You can find more information about Github projects [here](https://docs.github.com/en/github/managing-your-work-on-github/about-project-boards). - -## Github issues - -Github issues is a feature of Github that allows you to create issues. You can find more information about Github issues [here](https://docs.github.com/en/github/managing-your-work-on-github/about-issues). - -## Github wiki - -Github wiki is a feature of Github that allows you to create a wiki. You can find more information about Github wiki [here](https://docs.github.com/en/github/building-a-strong-community/about-wikis). - -## Github CLI - -Github CLI is a command line tool that allows you to interact with Github. You can find more information about Github CLI [here](https://cli.github.com/). - -## Github API - -Github API is an API that allows you to interact with Github. You can find more information about Github API [here](https://docs.github.com/en/rest). - -## Github Gists - -Github Gists is a feature of Github that allows you to create gists. You can find more information about Github Gists [here](https://docs.github.com/en/github/writing-on-github/creating-gists). - -## Github Marketplace - -Github Marketplace is a marketplace for Github apps. You can find more information about Github Marketplace [here]( - -## Github Apps - - - diff --git a/docs/basic/openWay.mdx b/docs/basic/openWay.mdx deleted file mode 100644 index 177191c..0000000 --- a/docs/basic/openWay.mdx +++ /dev/null @@ -1,54 +0,0 @@ ---- -sidebar_position: 6 ---- - -# Open Source πŸš€πŸš€πŸš€ - -Welcome to the World of Open Source -At Geek Ink, we are passionate advocates of open source. We believe in the power of collaboration, transparency, and shared knowledge. But what exactly is open source, and why should it matter to you as a tech enthusiast or aspiring developer? Let's embark on a journey together to explore the ins and outs of open source and discover its incredible potential. - -## What is Open Source? -Open source refers to software or projects whose source code is freely available, allowing anyone to view, modify, and distribute it. Unlike proprietary software, which is tightly controlled and often requires licensing fees, open source software embraces a culture of openness, collaboration, and community-driven development. This means that individuals and communities can contribute to and improve the software, fostering innovation and creating a wealth of shared knowledge. - -Open source offers numerous advantages for students and those pursuing a career in tech. - -# Here are some key benefits: - -πŸ‘‰ **Access to Quality Software** πŸš€: Open source provides students with access to high-quality software without the need for expensive licenses. They can explore, use, and contribute to a wide range of powerful tools and frameworks that aid in learning and project development. - -πŸ‘‰ **Hands-on Learning***πŸš€: Open source projects offer an excellent opportunity for students to gain practical experience and apply what they've learned in real-world scenarios. By actively contributing to open source, students can sharpen their coding skills, learn best practices, and collaborate with experienced developers. - -πŸ‘‰ **Community and Collaboration**πŸš€: Open source fosters a vibrant community of developers who collaborate, share knowledge, and support one another. Engaging with this community allows students to connect with like-minded individuals, seek guidance, and collaborate on meaningful projects. It promotes teamwork and the development of essential soft skills. - -πŸ‘‰ **Building a Portfolio**πŸš€: Open source contributions are highly regarded by employers. By actively participating in open source projects, students can build an impressive portfolio that showcases their skills, dedication, and ability to work collaboratively. This can significantly enhance their job prospects and make them stand out in the competitive tech industry. - -πŸ‘‰ **Networking Opportunities**πŸš€: Engaging in open source provides students with valuable networking opportunities. By connecting with experienced developers, mentors, and industry professionals, students can expand their professional network, gain insights, and potentially secure internships or job opportunities. - -πŸ‘‰ **Learning from Peers**πŸš€: Open source projects are excellent platforms for learning from peers. Students can explore code written by experienced developers, analyze their approaches, and gain insights into industry-standard coding practices. This exposure to diverse perspectives and solutions fosters continuous learning and growth. - -πŸ‘‰ **Improving Problem-Solving Skills**πŸš€: Open source projects often involve tackling complex problems. By actively participating, students develop strong problem-solving skills, learn to think critically, and find innovative solutions. This ability to solve real-world challenges is highly valued in the tech industry. - -πŸ‘‰ **Contributing to the Global Tech Community**πŸš€: Open source allows students to make meaningful contributions to the global tech community. By sharing their knowledge, ideas, and code, they become part of a collective effort to advance technology and drive innovation. This sense of purpose and impact can be highly rewarding. - -πŸ‘‰ **Flexibility and Customization**πŸš€: Open source software provides the flexibility to customize and adapt tools according to individual needs. Students can modify and extend open source projects, enabling them to tailor solutions to specific requirements and gain a deeper understanding of the underlying technologies. - -πŸ‘‰ **Ethical and Responsible Development**πŸš€: Open source promotes ethical and responsible development practices. Students learn the importance of proper documentation, licensing, and collaboration etiquette. They become aware of the significance of giving back to the community and respecting intellectual property rights. - -Embracing open source as a student or aspiring tech professional opens doors to a world of opportunities, learning experiences, and personal growth. It empowers individuals to contribute, collaborate, and make a positive impact on the tech industry and the broader community. - -🎯 Geek Ink 🎯 serves as a prime example of the incredible advantages and possibilities that open source offers. Let's explore how Geek Ink leveraged various open source products and technologies to create a thriving platform for tech enthusiasts: - -**Student Developer Pack**πŸ’―: Geek Ink took advantage of the Student Developer Pack offered by GitHub, an open source platform. This pack provided them with access to a suite of powerful development tools, educational resources, and premium services, enabling them to enhance their learning and build a robust platform. - -GitHub Pages πŸ’―: Geek Ink utilized GitHub Pages, a free and open source hosting service, to publish their website. This allowed them to showcase their content and engage with the tech community without incurring any hosting costs. - -GitHub Actions πŸ’―: Geek Ink harnessed the power of GitHub Actions, an open source automation tool, to streamline their workflows. They automated processes such as building and deploying their website, ensuring efficiency and saving valuable time. - -GitHub Discussions πŸ’―: Geek Ink integrated GitHub Discussions, a collaborative communication feature provided by GitHub, to facilitate interactive discussions and engagement within their platform. By leveraging this open source resource, Geek Ink created a vibrant community where users could share their thoughts, ask questions, and contribute their insights. - -Docusaurus πŸ’―: Geek Ink built their website using Docusaurus, an open source static-site generator. Docusaurus empowered them to create a fast, interactive, and customizable website with documentation features. They leveraged the full power of React, an open source JavaScript library, to enhance the user experience and make their platform dynamic. - -By embracing open source technologies and resources at every step of their journey, Geek Ink exemplifies the spirit of collaboration, innovation, and accessibility that open source advocates. Their reliance on open source products, frameworks, and platforms not only enabled them to create a remarkable learning platform but also demonstrated their commitment to the values of open source. - -Geek Ink's story showcases πŸ’‘πŸ’‘πŸ’‘ the transformative potential of open source, highlighting how individuals and communities can leverage open source resources to build meaningful platforms, foster collaboration, and empower tech enthusiasts worldwide. - diff --git a/docs/basic/versionControl.mdx b/docs/basic/versionControl.mdx deleted file mode 100644 index 431dfd1..0000000 --- a/docs/basic/versionControl.mdx +++ /dev/null @@ -1,35 +0,0 @@ ---- -sidebar_position: 1 ---- - -# Version controlπŸ’‘ - -## Introduction to Version Control System -- Version Control System is a system that records changes to a file or set of files over time so that you can recall specific versions later. - -- Version Control System allows you to revert files back to a previous state, revert the entire project back to a previous state, compare changes over time, see who last modified something that might be causing a problem, who introduced an issue and when, and more. - -- It allows you to revert selected files back to a previous state, revert the entire project back to a previous state, compare changes over time, see who last modified something that might be causing a problem, who introduced an issue and when, and more. - -- Version Control System is a category of software tools that help a software team manage changes to source code over time. - -- Version Control System keeps track of every modification to the code in a special kind of database. If a mistake is made, developers can turn back the clock and compare earlier versions of the code to help fix the mistake while minimizing disruption to all team members. - -- Version Control System also allows developers to work simultaneously, and they don’t have to worry about overwriting each other’s changes. Developers can review project history to find out: - - - Which changes were made? - - Who made the changes? - - When were the changes made? - - Why were changes needed? - -## why -Collaboration and Teamwork: Version control systems (such as Git) allow multiple developers to work on the same project simultaneously. It provides a structured way to merge changes made by different team members, preventing conflicts and ensuring efficient collaboration. - -History and Revisions: With version control, you have a detailed history of every change made to your project. It allows you to review, compare, and revert to previous versions, making it easier to troubleshoot issues, identify bugs, and understand the evolution of the codebase over time. - -Branching and Experimentation: Version control allows developers to create branches, which are independent lines of development. This feature enables experimentation, the implementation of new features, and bug fixes without affecting the main codebase. It provides a controlled environment to test ideas and ensure stability before merging changes into the main branch. - -Code Integrity and Security: Version control ensures that the codebase remains intact and secure. Each developer's changes are stored separately, protecting against accidental or malicious modifications. Additionally, version control systems often offer features like access controls and permissions, which help manage project security. - -Collaboration Beyond Code: Version control can be extended beyond code to other types of files and documents. This makes it valuable for non-developers as well, such as designers or technical writers, who can use version control to manage and track changes to their work. - diff --git a/docs/intro.mdx b/docs/intro.mdx index 4466c15..214999d 100644 --- a/docs/intro.mdx +++ b/docs/intro.mdx @@ -2,65 +2,96 @@ sidebar_position: 1 --- -# Career in Tech +# Contents -![](/img/speeker.png) +## Elevate Your Elective Experience! 🌟 -The first thing one needs to know if they are going to pursue a career in tech is that the field is constantly evolving and requires a lifelong commitment to learning and adapting. +Hey Future Coders! -Technology is ever-changing, and staying up to date with the latest trends, tools, and programming languages is crucial. +:::tip -Embracing a growth mindset and a passion for continuous learning will be essential for success in the tech industry. +πŸ”₯ Ready to add an electrifying twist to your elective journey? Dive into the world of coding with our specially crafted C +Programming Bootcamps β€” designed just for YOU! -Additionally, it's important to understand that problem-solving skills are at the core of a tech career. +::: -Technology professionals are often tasked with solving complex problems and finding innovative solutions. Developing strong analytical and critical thinking skills will be invaluable in navigating challenges and finding efficient and effective solutions. +## Flexible Bootcamps for C Elective Students -Furthermore, -collaboration and communication skills are highly valued in the tech industry. +### 🌐 Why Dive into Coding? -Many tech projects are team-based, requiring effective collaboration with colleagues, stakeholders, and clients. +1. **Breaks Become Learning Opportunities:** + - Why waste breaks when you can turn them into coding triumphs? Join our bootcamps during university breaks and make every moment count. -Being able to communicate ideas, ask for help, and work well in a team environment will greatly enhance your professional growth and opportunities. +2. **Practice Without a Computer:** + - We understand your constraints. Our bootcamps offer hands-on coding experiences that don't require 24/7 computer access. Learn and practice the fundamentals without being tethered to a screen. -Lastly, it's essential to recognize that failure and setbacks are a natural part of the learning process in tech. +3. **Electricity Woes? No Worries:** + - Frequent power outages? No problem! Our bootcamps provide you with offline materials, enabling you to absorb knowledge even during electricity downtime. -Embracing a resilient and problem-solving mindset will help you overcome obstacles and view failures as opportunities for growth. Perseverance and a willingness to learn from mistakes are key traits for a successful career in technology. +4. **Flexible Classes: Morning, Noon, and After Class:** + - Busy schedule? No worries! Our bootcamps are designed with your flexibility in mind. Choose sessions in the morning, noon, or after your regular classes. -By understanding and embracing these foundational aspects, aspiring tech professionals can set themselves up for a fulfilling and rewarding career in this dynamic and exciting field. +5. **Community of Learners:** + - Connect with fellow elective enthusiasts. Collaboration breeds success, and our community is here to support you. -## What are the skills required for a successful career in tech? -Here are some technical and non-technical skills required for a successful career in tech: +:::::info -### Technical Skills: +Seats are limited, and this exclusive opportunity won't last forever. -- Programming Languages: Proficiency in one or more programming languages relevant to the field you want to specialize in (such as Python, Java, JavaScript, C++, etc.) is crucial. +::::danger -- Software Development: Understanding software development principles, methodologies (e.g., Agile), and best practices to effectively design, build, and maintain software applications. -Data Structures and Algorithms: Knowledge of fundamental data structures and algorithms to efficiently solve problems and optimize code. +Seats are limited, +To secure your spot and unlock a future filled with coding mastery, -- Web Development: Familiarity with web development technologies like HTML, CSS, and JavaScript, as well as frameworks (e.g., React, Angular, Vue.js) for front-end development. +:::tip -- Database Management: Proficiency in database management systems (e.g., SQL, NoSQL) and understanding how to design, query, and optimize databases. -Cloud Computing: Familiarity with cloud platforms (e.g., AWS, Azure, Google Cloud) and knowledge of deploying and managing applications in the cloud. + a fee of 2000 two thousand Naira is required. -- Networking and Security: Understanding network protocols, cybersecurity best practices, and implementing security measures to protect systems and data. +::: -### Non-Technical Skills: +:::: -- Problem-Solving: Strong problem-solving abilities, critical thinking, and the ability to analyze complex issues to develop innovative solutions. +::::: -- Continuous Learning: A growth mindset and a passion for continuous learning to keep up with evolving technologies and industry trends. -- Communication: Excellent verbal and written communication skills to effectively convey technical concepts to both technical and non-technical audiences. -- Collaboration: The ability to work well in a team, collaborate with colleagues, and contribute effectively to collective goals. +### 🌈 What's In It for You? -- Time Management: Strong organizational skills and the ability to manage multiple tasks and prioritize work effectively to meet deadlines. -- Adaptability: Flexibility to adapt to changing technologies, project requirements, and business needs. +- **Flexible Timings, Maximum Learning:** + Choose the schedule that fits your university routine. Morning, noon, or after class – we've got you covered. -- Attention to Detail: Meticulous attention to detail to ensure code quality, accuracy, and minimize errors. +- **Hands-On Coding Labs:** + Immerse yourself in practical labs that mirror real-world challenges. Learning by doing is our mantra. -These are just a few examples of the skills required for a successful career in tech. It's important to note that the specific skills needed may vary depending on the chosen field, such as software development, data science, cybersecurity, or network engineering. Continuously updating and expanding your skill set will help you stay competitive in the ever-evolving tech industry. +- **Interactive Learning Community:** + Share experiences, ask questions, and grow with a community of learners passionate about coding. + + +### Limited Time Offer: Exclusive Access to Bootcamps + +:::::info + +Seats are limited, and this exclusive opportunity won't last forever. + +::::danger + +Seats are limited, +To secure your spot and unlock a future filled with coding mastery, + +:::tip + + a fee of 2000 two thousand Naira is required. + +::: + +:::: + +::::: + + +Ready to spice up your elective experience? Limited slots available for the ultimate coding adventure. [Enroll Now](https://chat.whatsapp.com/FUzAVgiI3WcJh1iavrO7gI) and transform your elective course into a dynamic journey of coding excellence! + +--- +Your coding adventure starts here! πŸš€βœ¨ diff --git a/docs/python/Day1.mdx b/docs/python/Day1.mdx deleted file mode 100644 index 3281048..0000000 --- a/docs/python/Day1.mdx +++ /dev/null @@ -1,238 +0,0 @@ ---- -sidebar_position: 2 ---- - -# Laying the Foundation (Day 1 ) - -# objective - -> By the end of Day 1 of the bootcamp, participants will: - -- **Explore Python's Significance:** - -Understand the role Python plays in the tech landscape and its diverse applications across industries. - -- **Grasp Python's Foundations:** - -Gain insights into Python's history,creator,philosophy, and the readability-oriented syntax that sets it apart. - -- **Recognize Versatility:** -Discover Python's versatility as a general-purpose language, allowing learners to delve into web development, data analysis, machine learning, and more. - -- **Appreciate the Community:** -Recognize Python's vibrant community, abundant resources, and its position as a supportive starting point for beginners and a powerful tool for experts. - - - -πŸš€ Embark on a journey that will forever change the way you perceive technology! πŸš€ - -Imagine standing at the threshold of a new realm, a realm where lines of code hold the key to unlocking innovation, problem-solving, and boundless creativity. - -Welcome to Day 1 of our Python Boot Camp, where we're not just introducing you to a programming language, but inviting you to be a part of a dynamic, transformative experience. - -# **Discover the Python Ecosystem**: Explore Python's Significance in Today's Tech Landscape - -## Python -python a versatile and user-friendly programming language, has rapidly established itself as a cornerstone of the modern tech landscape. Renowned for its simplicity and readability, Python has found applications in a wide array of fields, from web development and data analysis to machine learning and scientific research. - -In this beginner's guide, we'll delve into the Python ecosystem, understanding its importance and exploring its diverse applications. - -1. **Python's Foundations:** - -Brief history of Python's creation and development by Guido van Rossum. -Python's philosophy: readability counts (PEP 20 - "The Zen of Python"). -Python's syntax and code structure: indentation and readability. -Interpreted nature of Python: write once, run anywhere. - -2. **Python's Key Features:** - -- **High-level language**: focus on the solution, not low-level details. -- **Dynamic typing**: variable types are determined at runtime. -- **Strongly typed**: strict enforcement of variable type rules. -- **Extensive standard library**: pre-built modules and functions for various tasks. - -3. Applications Across Industries: - -- **Web development**: his Libraries like Flask, Django, and FastAPI for creating robust web applications. -- **Data analysis and visualization**: also Libraries like Pandas, NumPy, and Matplotlib for processing and presenting data. -- **Scientific computing**: also Libraries like SciPy for scientific and technical computing. -- **Machine learning and AI**: also Libraries like TensorFlow, PyTorch, and scikit-learn for building and training models. -- **Automation and scripting**: Writing scripts to automate repetitive tasks. -- **Game development**: Libraries like Pygame for creating games. -- **Internet of Things (IoT)**: and ofcourse **MicroPython** for programming embedded systems. - - -# Community and Learning Resources: - -- Active and welcoming Python community. -- Abundance of online tutorials, documentation, and forums. -- Python Package Index (PyPI) for sharing and distributing packages. - -# Future Trends and Continual Learning: - -- Python's plays crucial role in emerging technologies like AI, machine learning, and data science. -- Keeping up with updates and new libraries. -- Contributing to open-source Python projects. - - -# Why Python? - -Understanding the Popularity of Python Among Beginners and Industry Experts - -Python's rise in popularity as a programming language isn't just a coincidence. Its adoption by both beginners and industry experts can be attributed to a unique combination of factors that make it an ideal choice for a wide range of applications. - -we'll explore why Python has become the preferred programming language for novices and seasoned professionals alike. - -## 1. **Beginner-Friendly Syntax**: - -## 2 **Readability and Clarity**: - -Python's syntax emphasizes readability and enforces a clean and consistent code structure, making it easier to understand even for those new to programming. - -## 3. **Minimal Boilerplate**: - -Python's concise syntax reduces the amount of code needed to perform tasks, which simplifies the learning curve for beginners. - -## 4. **Versatility and General-Purpose Nature:** - -Wide Application Spectrum: Python finds applications in web development, data analysis, machine learning, scientific research, automation, and more, making it versatile enough to cater to diverse interests. - -## 5. **Cross-Platform Compatibility:** - -Python is platform-independent, allowing code to run seamlessly across different operating systems. - -## 6. **Rich Standard Library:** - -Python's standard library offers a vast collection of pre-built modules and functions that address common programming tasks, saving time and effort. - -## 7. **Ready-Made Solutions**: - -Beginners can leverage these libraries for tasks like file handling, networking, and data manipulation without having to write extensive code. - - -## 8. **Active and Supportive Community**: - -Open-Source Collaboration: Python's open-source nature has fostered a large and vibrant community of developers who contribute to its growth. -Abundant Resources: Beginners benefit from a wealth of tutorials, forums, and online courses created by the community, aiding in their learning journey. - -## 5. **Ease of Learning:** - -Simple Syntax: Python's straightforward syntax is easy to understand, allowing beginners to focus on programming concepts rather than getting bogged down by complex syntax rules. -Interpretive Nature: Python's interpreted nature enables immediate feedback, helping beginners quickly see the results of their code. - -## 6. Industry Adoption: - -Startup-Friendly: Python's quick development cycle and scalability make it a preferred choice for startups looking to develop prototypes and iterate rapidly. -Large Corporations: Established companies adopt Python for web applications, data analysis, automation, and backend development due to its reliability and efficiency. - - -# Interactive Coding: - -Dive Right In! Experience Hands-On Coding from the Very First Session - -Learning to code is a dynamic and engaging journey, and what better way to start than by diving into interactive coding sessions? In this article, we'll explore the benefits of interactive coding, understand its role in the learning process, and provide beginners with tips to make the most of their hands-on coding experiences from the very first session. - -## 1. Engaging Learning Experience: - -Active Participation: Interactive coding encourages learners to actively engage with concepts by applying them in real-time, fostering better understanding and retention. -Immediate Feedback: Receive instant feedback on your code's functionality, helping you identify and rectify errors quickly. - -## 2. Hands-On Learning: - -Learning by Doing: Interactive coding shifts the focus from passive theory to active application, enabling learners to grasp programming concepts more effectively. -Tangible Results: Witness the tangible results of your code, boosting your confidence and motivation to explore further. - -## 3. Fostering Creativity: - -Experimentation: Interactive coding environments allow you to experiment with different approaches, empowering you to find creative solutions to coding challenges. -Problem-Solving: Tackling coding problems hands-on hones your problem-solving skills and encourages innovative thinking. - -## 4. Instant Gratification: - -Seeing Progress: As you type code and see instant results, you'll experience a sense of accomplishment, which can be a powerful motivator. -Building Momentum: Rapid progress during interactive sessions builds momentum and encourages consistent learning. - -## 5. Overcoming Fear of Mistakes: - -Safe Environment: Interactive coding environments provide a safe space to make mistakes without dire consequences, fostering a growth mindset. -Learning from Errors: Analyzing mistakes and debugging code enhances your ability to identify and rectify issues, a crucial skill for any programmer. - -## 6. Practical Application: - -Real-World Relevance: Interactive coding mimics real-world coding scenarios, helping you bridge the gap between theory and practical application. - -# Getting Started: **Tips for Effective Interactive Coding Sessions**: - -- **Choose the Right Environment:** Select beginner-friendly platforms or integrated development environments **(IDEs)** that provide immediate feedback. - -- **Start Simple:** Begin with basic concepts and gradually progress to more complex ones as your confidence grows. - -- **Break Down Tasks:** Divide larger problems into smaller, manageable steps for easier comprehension and implementation. - -- **Experiment and Play:** Don't hesitate to tinker with code and explore different options. Learning comes from experimentation. - -- **Embrace Challenges:** Embrace coding challenges and errors as opportunities for growth and learning. - -- **Use Online Resources:** Leverage online tutorials, documentation, and coding communities to get help and expand your knowledge. - - -# Problem-Solving with Code: - -Discover How Programming is a Tool for Solving Real-World Challenges - -Programming is not just about writing lines of code; it's a powerful tool that empowers us to tackle real-world challenges in innovative ways. In this article, we'll explore how programming is a key instrument for problem-solving, enabling us to address a diverse range of issues across various domains. - -## 1. Coding as a Problem-Solving Tool: - -**Algorithmic Thinking**: Programming encourages the development of algorithms, step-by-step instructions to solve specific problems. - -**Efficiency Enhancement:** By translating solutions into code, we optimize processes and improve efficiency in various tasks. - -## 2. Unleashing Creativity: - -**Custom Solutions:** Programming allows us to tailor solutions to unique problems that might not have off-the-shelf answers. - -**Innovation:** With coding, we can invent new ways of approaching problems, driving innovation in various industries. - -## 3. Applications Across Domains: - -- **Web Development**: Building websites and applications that cater to user needs and preferences. - -- **Data Analysis:** Analyzing vast datasets to uncover insights, trends, and patterns. - -- **Scientific Research:** Simulating complex phenomena and conducting experiments through computational models. - -- **Automation**: Developing scripts to automate repetitive tasks and increase efficiency. - -- **Healthcare**: Creating software for medical diagnosis, treatment planning, and health monitoring. - -- **Environmental Conservation**: Utilizing programming to model climate change, study ecosystems, and manage resources. - -# Step-by-Step Problem-Solving Process: - -- **Understanding the Problem**: Define the problem clearly and understand its context. -- **Breaking Down the Problem**: Divide complex problems into smaller, manageable subproblems. -- **Designing Algorithms**: Devise a plan or algorithm to solve each subproblem. -- **Coding Implementation**: Translate algorithms into executable code. -- **Testing and Debugging**: Test code thoroughly, identify errors, and debug to refine the solution. - -## Iterative Learning Approach: - -- **Trial and Error**: Problem-solving through coding involves experimenting, testing, and learning from mistakes. - -- **Continuous Improvement**: Refining code based on feedback and experience leads to better solutions over time. - -- **Endless Possibilities**: Coding offers infinite ways to approach a problem, promoting critical thinking and exploration. - -- **Multiple Solutions**: A single problem can have multiple valid solutions, each with its own merits. - -- **Cross-Disciplinary Collaboration**: Programming bridges the gap between technical and non-technical professionals, enabling effective collaboration. - -- **Leveraging Diverse Skills**: Teams with programmers and domain experts to develop comprehensive solutions. - -# Realizing Impact: - -- **Positive Change**: Programming facilitates the creation of tools and applications that drive positive change in society. - -- **Empowerment**: Learning to code empowers individuals to actively contribute to solving global challenges. - diff --git a/docs/python/Day2.mdx b/docs/python/Day2.mdx deleted file mode 100644 index e69de29..0000000 diff --git a/docs/python/Day3.mdx b/docs/python/Day3.mdx deleted file mode 100644 index c0d57fd..0000000 --- a/docs/python/Day3.mdx +++ /dev/null @@ -1,153 +0,0 @@ ---- -sidebar_position: 4 ---- - -# Lists and Tuples (Day 3) - -# Deep Dive into Lists and Tuples: - -# Objective: - -By the end of Day 3 of the boot camp, participants should have a comprehensive understanding of lists and tuples in Python, their characteristics, differences, and practical applications. - -Participants should be able to confidently choose between lists and tuples based on the requirements of a given programming task. - -# Diving Deep into Lists and Tuples: - -Discovering the "Why" Behind Lists' Flexibility and Tuples' Immutability - -Welcome to the next chapter of your coding journey! Just as explorers venture deeper into uncharted territories, we're about to delve into the fascinating world of lists and tuples in Python. These data structures might seem simple at first glance, but their unique properties hold the keys to unlocking powerful programming capabilities. - -## πŸ“š Lists: Dynamic Arrays for Flexibility - -Imagine having a magical backpack that can hold an ever-expanding collection of items. In the realm of programming, lists are your magical backpacks. Lists are dynamic arrays that allow you to store an assortment of values – numbers, strings, other lists, and more – all in one convenient container. - -### Why Lists Matter: - -**Versatility**: Lists are incredibly versatile. They can store elements of different data types, making them the go-to choice for holding various kinds of information in a single collection. - -**Dynamic Sizing**: Unlike traditional arrays, lists in Python can grow or shrink in size dynamically. You can add or remove elements as needed without worrying about the underlying array size. - -**Ordered Collection**: Lists maintain the order of elements as you add them. This means you can access elements by their positions, providing a sense of organization to your data. - -#### Creating and Manipulating Lists: - -```python -# Creating a list of numbers -numbers = [1, 2, 3, 4, 5] - -# Adding an element to the end of the list -numbers.append(6) - -# Removing an element by value -numbers.remove(3) - -# Accessing elements by index -first_number = numbers[0] - -# Slicing to extract a portion of the list -subset = numbers[2:5] - -# Modifying an element by index -numbers[1] = 10 -``` - -## πŸ“œ Tuples: Immutable Structures for Stability - -Now, imagine having a sealed envelope that contains a message. You can't alter the message once it's written – that's the essence of tuples in programming. Tuples are similar to lists, but with one crucial difference: they are immutable. Once you create a tuple and define its contents, you can't change them. - -### Why Tuples Matter: - -**Data Integrity**: Tuples are ideal for holding data that shouldn't be modified, such as coordinates, configurations, or pieces of information that should remain consistent. - -**Hashability**: Because tuples are immutable, they can be used as keys in dictionaries or elements in sets – data structures that require hashable values. - -**Performance**: Tuples have a slight performance advantage over lists due to their immutability. This can be beneficial when dealing with large collections. - -#### Creating and Working with Tuples: - -```python -# Creating a tuple -coordinates = (10, 20) - -# Accessing elements by index -x = coordinates[0] -y = coordinates[1] - -# Unpacking tuples -name, age, city = ("AdamsGeeky", 23, "Gombe") - -# Combining tuples -combined = (1, 2, 3) + (4, 5, 6) -``` - -## 🌟 Combining Lists and Tuples for Power and Precision - -As you continue your coding journey, remember that lists and tuples are like tools in your programming toolkit. Lists provide the flexibility to adapt and change, while tuples offer stability and integrity. Depending on your needs, you can choose the right tool for the job. - -### Practical Application: - -Imagine you're creating a weather app. You could use a list to store daily temperatures, allowing you to update and add new temperatures as they come in. On the other hand, you might use a tuple to hold the coordinates of different cities – data that shouldn't change during app runtime. - -```python -# Weather App Example with Nigerian Cities: Using Lists and Tuples - -# Storing Daily Temperatures using Lists -daily_temperatures = [32.5, 34.3, 31.8, 33.2, 30.9, 29.1, 28.6] - -# Calculating the average temperature -total_temperature = sum(daily_temperatures) -average_temperature = total_temperature / len(daily_temperatures) -print("Average Temperature:", average_temperature) - -# Adding a new temperature to the list -new_temperature = 28.9 -daily_temperatures.append(new_temperature) -print("Updated Daily Temperatures:", daily_temperatures) - -# City Coordinates using Tuples -city_coordinates = { - "Lagos": (6.5244, 3.3792), - "Abuja": (9.0820, 7.4911), - "Kano": (12.0022, 8.591956), - "Ibadan": (7.3775, 3.9470), - "Gombe": (10.2899, 11.1670), - "Kaduna": (10.5164, 7.4388), - "Bauchi": (10.3150, 9.8451) -} - -# Displaying City Coordinates -for city, coordinates in city_coordinates.items(): - print(f"{city} Coordinates:", coordinates) - -``` -# output of the Above -```bash -Average Temperature: 31.957142857142856 -Updated Daily Temperatures: [32.5, 34.3, 31.8, 33.2, 30.9, 29.1, 28.6, 28.9] -Lagos Coordinates: (6.5244, 3.3792) -Abuja Coordinates: (9.082, 7.4911) -Kano Coordinates: (12.0022, 8.591956) -Ibadan Coordinates: (7.3775, 3.947) -Gombe Coordinates: (10.2899, 11.167) -Kaduna Coordinates: (10.5164, 7.4388) -Bauchi Coordinates: (10.315, 9.8451) -``` - -## code Explanation: - -The code calculates the average temperature of the daily temperatures and prints it. -It adds a new **temperature (28.9)** to the daily_temperatures list. -The city coordinates are displayed for each city using the city_coordinates dictionary and the for loop. The coordinates are presented as tuples. - - -Tomorrow, we will dive deeper into **dictionaries** and explore how they can be used to store and manage data in a key-value format. - -For now, let's focus on the **city_coordinates** is a dictionary and its usage in the given code. This dictionary contains city names as keys and corresponding coordinates as values. The code demonstrates how to access and display the coordinates for each city using a **for loop**. - -Stay tuned for tomorrow's **discussion on dictionaries**, where we'll explore their versatile capabilities and practical applications in programming. - - -By mastering lists and tuples, you're adding valuable tools to your programming repertoire. With these insights, you're ready to dive into the depths of data manipulation and manipulation, equipped to tackle a wide range of programming challenges. - -Just as a diver explores the mysteries beneath the surface, you're now equipped to explore the intricacies of **lists** and **tuples**. So, let's continue our journey and uncover the hidden treasures of Python's data structures! πŸš€ \ No newline at end of file diff --git a/docs/python/Day4.mdx b/docs/python/Day4.mdx deleted file mode 100644 index 7b26563..0000000 --- a/docs/python/Day4.mdx +++ /dev/null @@ -1,146 +0,0 @@ ---- -sidebar_position: 5 ---- - -# Sets and Dictionaries (Day 4) - -## Exploring Sets and Dictionaries: -Unlocking Unique Collections and Optimized Data Access - -# Objective: -By the end of Day 4 of the boot camp, participants should have a comprehensive understanding of sets and dictionaries in Python. They should be able to distinguish between sets, lists, and tuples, and confidently utilize dictionaries for efficient data storage and retrieval. - -Participants should also be capable of applying sets and dictionaries to real-world scenarios, demonstrating their understanding through immersive projects. - -# πŸŒ€ Sets: Uniqueness at Its Core -Imagine you're collecting gemstones – you'd want each gemstone to be unique, right? In programming, sets offer this exact quality. Sets are collections of unique elements, ensuring that no duplicate values exist. This distinctive property makes sets invaluable for tasks that involve managing unique items or filtering out repetitions. - -## Why Sets Matter: -Distinct Elements: Sets automatically eliminate duplicate elements, allowing you to focus on the uniqueness of data. - -**Fast Membership Tests**: Checking whether an element exists in a set is exceptionally fast, even for large collections. - -**Mathematical Operations:** Sets support powerful set operations like union, intersection, and difference, which can simplify complex tasks. - -### Creating and Working with Sets: -```python -# Creating a set -colors = {"red", "green", "blue"} - -# Adding elements to a set -colors.add("yellow") - -# Removing an element from a set -colors.remove("green") - -# Checking membership -if "blue" in colors: - print("Blue is in the set") - -# Performing set operations -set1 = {1, 2, 3} -set2 = {3, 4, 5} -union = set1 | set2 -intersection = set1 & set2 -difference = set1 - set2 -``` - -# πŸ“š Dictionaries: Optimized Data Access -Imagine a library where each book has a unique call number – you can quickly locate any book using its call number. Dictionaries in programming work similarly. They store data in key-value pairs, enabling rapid access to values based on their associated keys. Dictionaries are fundamental for building efficient data structures, like databases. - -## Why Dictionaries Matter: -Fast Data Retrieval: Dictionaries use keys for direct data access, making lookups faster than iterating through lists. - -Flexible Data Storage: Values can be of any data type, allowing dictionaries to represent complex relationships between elements. - -Key-Value Mapping: Dictionaries provide a clear mapping between keys and their corresponding values, improving data organization. - -### Creating and Working with Dictionaries: -```python -# Creating a dictionary -student_scores = { - "AdamsGeeky": 95, - "Fadila": 87, - "Aish": 92 -} - -# Accessing values using keys -aish_score = student_scores["Aish"] - -# Adding a new key-value pair -student_scores["Ibrahim"] = 78 - -# Removing a key-value pair -del student_scores["Fadila"] - -# Checking key existence -if "Ibrahim" in student_scores: - print("Ibrahim's score:", student_scores["Ibrahim"]) -```` -## output -```bash -Ibrahim's score: 78 -``` -## Explanation of each step: - -1. The dictionary student_scores is created with three initial key-value pairs. -2. The line **aish_score = student_scores["Aish"]** accesses the value associated with the key "Aish" and assigns it to the variable aish_score. -3. The line **student_scores["Ibrahim"] = 78** adds a new key-value pair "Ibrahim": 78 to the dictionary. -4. The line **del student_scores["Fadila"]** removes the key-value pair associated with the key "Fadila" from the dictionary. -5. The **if "Ibrahim" in student_scores:** statement checks if the key "Ibrahim" exists in the dictionary. Since it does, the following line is executed, and "Ibrahim"'s score is printed. - -**The final output is Ibrahim's score: 78** - -# 🌍 Real-World Scenarios: Applying Sets and Dictionaries -As you dive deeper into the realm of data structures, let's explore real-world scenarios where sets and dictionaries shine. - -## Project: Online Marketplace -Imagine you're building an online marketplace. Here's how sets and dictionaries can be employed: - -Sets: Use sets to maintain a unique list of product categories. This prevents duplicate categories and helps users easily navigate through different types of products. - -Dictionaries: Utilize dictionaries to store product information. Keys could be product IDs, and values could be dictionaries containing details like name, price, and availability. - -```python -# Online Marketplace Example - -# Set for product categories -product_categories = {"Electronics", "Clothing", "Books", "Beauty"} - -# Dictionary for product information -products = { - 101: {"name": "Smartphone", "price": 499.99, "availability": True}, - 102: {"name": "T-shirt", "price": 19.99, "availability": False}, - # ... other products -} -``` - -## πŸ’‘ Putting It All Together -Sets and dictionaries are powerful additions to your programming arsenal. Sets ensure data uniqueness and efficient membership tests, while dictionaries provide optimized data access with key-value mappings. By incorporating these data structures into real-world projects, you're building practical and efficient solutions. - -# Exciting Updates for Tomorrow's Session -Hello, fellow programmer! We hope you're enjoying the journey so far. Tomorrow, get ready to take your programming skills to the next level as we dive into the world of functions. Functions are like powerful tools that help us organize our code, making it more efficient and modular. - -But that's not all! We're not stopping at functions. We're going to add even more exciting features to our online marketplace project, making it an even more immersive and dynamic experience. So, brace yourselves for a session filled with learning, creativity, and hands-on coding. - -Remember our marketplace project? Well, get ready for these new additions: - -## New Features Coming Tomorrow: -- User Authentication -We'll introduce user authentication to enhance security. Users will need to log in to access their carts and account details. - -- Wishlist -Users will be able to create a wishlist of products they're interested in. It's like creating a personalized shopping plan! - -- Filtering and Sorting -We'll implement the ability to filter products by category and sort them by different criteria, giving users more control over their shopping experience. - -### πŸš€ Your Coding Adventure Continues -With these features and the power of functions, you'll be equipped to create a robust, user-friendly, and efficient online marketplace. We're excited to see your coding skills grow and your projects flourish. - -So, mark your calendars, charge your devices, and join us for an action-packed session tomorrow. Together, we're taking strides towards becoming coding experts, one concept at a time. - - -Just as explorers rely on their tools to navigate through uncharted territories, programmers rely on data structures to navigate through the complexities of coding. With sets and dictionaries in your toolkit, you're equipped to conquer coding challenges with finesse and precision. πŸš€ - -See you tomorrow for another thrilling day of coding exploration! πŸŒŸπŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» \ No newline at end of file diff --git a/docs/python/Day5.mdx b/docs/python/Day5.mdx deleted file mode 100644 index a8d3c5f..0000000 --- a/docs/python/Day5.mdx +++ /dev/null @@ -1,296 +0,0 @@ ---- -sidebar_position: 6 ---- - -# Functions and Creativity (Day 5) - -## Creating Efficient Functions: -Boosting Code Reusability and Efficiency -Welcome to Day 5 of our coding journey! Today, we're diving into the world of functions – the building blocks of efficient and organized code. Functions allow us to encapsulate code into reusable units, making our programs more modular and easier to manage. - -## Why Functions Matter: - -**Code Reusability:** Functions enable us to write code once and use it multiple times, reducing redundancy and making maintenance a breeze. - -**Modularity:** By breaking down complex tasks into smaller functions, we create a modular structure that's easier to understand and debug. - -**Efficiency:** Functions improve code efficiency by isolating specific tasks and optimizing their execution. - -### Creating and Using Functions: - -```python -# Defining a simple function -def greet(name): - return f"Hello, {name}!" - -# Calling the function -message = greet("AdamsGeeky") -print(message) - -``` - -# List Comprehensions: - -Embracing Concise Coding Imagine you have a magical wand that can create lists with just one wave. That's the magic of list comprehensions! They offer a concise way to create and manipulate lists, making your code elegant and efficient. - -## Why List Comprehensions Matter: - -**Concise Syntax**: List comprehensions allow you to express complex operations on lists in a single line of code. - -**Readability:** Despite their brevity, list comprehensions can be more readable than traditional loops. - -**Performance:** List comprehensions can often outperform traditional loops, improving code execution speed. - -### Using List Comprehensions: -```python -# Creating a list of squares using a loop -squares = [] -for x in range(1, 6): - squares.append(x ** 2) - -# Creating the same list using a list comprehension -squares_comp = [x ** 2 for x in range(1, 6)] -``` - -# Empowerment through Modules: -Managing Complexity Just like a toolkit with neatly organized compartments, modules help us keep our codebase organized and scalable. Modules allow us to group related functions, classes, and variables together, promoting a clean and maintainable code structure. - -## Why Modules Matter: - -**Code Organization**: Modules keep related code together, making it easier to locate and manage. - -**Avoiding Name Conflicts**: Modules prevent naming clashes by providing a separate namespace for variables and functions. - -**Reusability:** You can reuse modules across different projects, saving time and effort. - -## Creating and Using Modules: -```python -# Creating a module (module.py) -def greet(name): - return f"Hello, {name}!" - -# Using the module in another file -import module -message = module.greet("Bob") -print(message) -``` - -# Project Exploration: Applying Your Knowledge - -Now, let's put everything you've learned into practice. In today's project, we'll collaboratively create a weather app that not only displays temperatures but also incorporates functions for efficient code organization, list comprehensions for concise data processing, and modules to manage different aspects of the app. - -```python -# Weather App with Functions, List Comprehensions, and Modules - -import temperatures_module - -# Getting temperatures -temperatures = temperatures_module.get_temperatures() - -# Function to calculate average temperature -def calculate_average(temps): - total = sum(temps) - return total / len(temps) - -average_temp = calculate_average(temperatures) -print("Average Temperature:", average_temp) - -# List comprehension to filter hot days -hot_days = [day for day in temperatures if day > 30] -print("Hot Days:", hot_days) -``` - -# Here's the continuation of the online marketplace project with the new features - -```python -# Online Marketplace with New Features - -# Set for product categories -product_categories = {"Electronics", "Clothing", "Books", "Beauty"} - -# Dictionary for product information -products = { - 101: {"name": "Smartphone", "price": 499.99, "availability": True}, - 102: {"name": "T-shirt", "price": 19.99, "availability": False}, - # ... other products -} - -# User Authentication -users = { - "namehere": "password123", - "username": "securepass" -} - -def authenticate(username, password): - if username in users and users[username] == password: - return True - return False - -# Wishlist Feature -def create_wishlist(): - return set() - -def add_to_wishlist(wishlist, product_id): - wishlist.add(product_id) - -def remove_from_wishlist(wishlist, product_id): - wishlist.discard(product_id) - -# Filtering and Sorting -def filter_by_category(category): - filtered_products = {product_id: product_info for product_id, product_info in products.items() if category in product_categories} - return filtered_products - -def sort_by_price_asc(): - sorted_products = sorted(products.items(), key=lambda item: item[1]["price"]) - return dict(sorted_products) - -def sort_by_price_desc(): - sorted_products = sorted(products.items(), key=lambda item: item[1]["price"], reverse=True) - return dict(sorted_products) - -# Sample Usage -if __name__ == "__main__": - # Simulating user authentication - username = input("Enter your username: ") - password = input("Enter your password: ") - if authenticate(username, password): - print("Authentication successful!") - user_wishlist = create_wishlist() - - # Simulating wishlist usage - add_to_wishlist(user_wishlist, 101) - add_to_wishlist(user_wishlist, 102) - - # Simulating filtering and sorting - filtered_electronics = filter_by_category("Electronics") - sorted_products_asc = sort_by_price_asc() - sorted_products_desc = sort_by_price_desc() - - print("Filtered Electronics:", filtered_electronics) - print("Sorted Products (Ascending):", sorted_products_asc) - print("Sorted Products (Descending):", sorted_products_desc) - else: - print("Authentication failed.") -``` - -# Here's what you can expect as the output of the code: - -**If the user authentication is successful** - -```bash -Enter your username: username -Enter your password: password123 -Authentication successful! -Filtered Electronics: {101: {'name': 'Smartphone', 'price': 499.99, 'availability': True}} -Sorted Products (Ascending): {102: {'name': 'T-shirt', 'price': 19.99, 'availability': False}, 101: {'name': 'Smartphone', 'price': 499.99, 'availability': True}} -Sorted Products (Descending): {101: {'name': 'Smartphone', 'price': 499.99, 'availability': True}, 102: {'name': 'T-shirt', 'price': 19.99, 'availability': False}} - -**If the user authentication fails** -```bash -Enter your username: userName -Enter your password: hacker123 -Authentication failed. -``` -Keep in mind that the actual output may vary slightly depending on the data entered during the simulation (such as adding products to the wishlist or using different usernames and passwords). - -# code Explanation -let's break down the code step by step: - -```python -# Online Marketplace with New Features - -# Set for product categories -product_categories = {"Electronics", "Clothing", "Books", "Beauty"} - -# Dictionary for product information -products = { - 101: {"name": "Smartphone", "price": 499.99, "availability": True}, - 102: {"name": "T-shirt", "price": 19.99, "availability": False}, - # ... other products -} -``` -In this section, we define the initial product categories as a set **product_categories** and the product information as a **dictionary products**. The dictionary contains product IDs **(keys)** mapped to dictionaries with product details **(values)**. - -```python -# User Authentication -users = { - "namehere": "password123", - "username": "securepass" -} - -def authenticate(username, password): - if username in users and users[username] == password: - return True - return False -``` - -The **users dictionary** stores **usernames as keys** and corresponding **passwords as values**. -The **authenticate function** takes a username and password as **arguments** and checks if the provided credentials match those in the users dictionary. - -```python -# Wishlist Feature -def create_wishlist(): - return set() - -def add_to_wishlist(wishlist, product_id): - wishlist.add(product_id) - -def remove_from_wishlist(wishlist, product_id): - wishlist.discard(product_id) -``` -The **create_wishlist** function returns an empty set, simulating the creation of a user's wishlist. **add_to_wishlist** and **remove_from_wishlist** functions are used to add and remove **product IDs** from the wishlist. - -```python -# Filtering and Sorting -def filter_by_category(category): - filtered_products = {product_id: product_info for product_id, product_info in products.items() if category in product_categories} - return filtered_products - -def sort_by_price_asc(): - sorted_products = sorted(products.items(), key=lambda item: item[1]["price"]) - return dict(sorted_products) - -def sort_by_price_desc(): - sorted_products = sorted(products.items(), key=lambda item: item[1]["price"], reverse=True) - return dict(sorted_products) -``` -The **filter_by_category** function takes a category as an argument and filters the products dictionary to include only products within that category. The **sort_by_price_asc** and **sort_by_price_desc** functions sort the products by price in ascending and descending order, respectively. - -```python -# Sample Usage -if __name__ == "__main__": - # Simulating user authentication - username = input("Enter your username: ") - password = input("Enter your password: ") - if authenticate(username, password): - print("Authentication successful!") - user_wishlist = create_wishlist() - - # Simulating wishlist usage - add_to_wishlist(user_wishlist, 101) - add_to_wishlist(user_wishlist, 102) - - # Simulating filtering and sorting - filtered_electronics = filter_by_category("Electronics") - sorted_products_asc = sort_by_price_asc() - sorted_products_desc = sort_by_price_desc() - - print("Filtered Electronics:", filtered_electronics) - print("Sorted Products (Ascending):", sorted_products_asc) - print("Sorted Products (Descending):", sorted_products_desc) - else: - print("Authentication failed.") -``` - -In this final section, we simulate user authentication by prompting the user for a username and password. If the authentication is successful, we create a user's wishlist, add products to the wishlist, and then demonstrate filtering and sorting functionalities. - - -The output will depend on the input provided during the simulation. **If authentication is successful**, the filtered electronics, sorted products in ascending and descending order will be displayed. If authentication fails, the code will indicate that authentication failed. - -Remember that this code snippet is a simulation and doesn't include the actual implementation of user interaction. It's meant to demonstrate the functionality of **sets**, **dictionaries**, and **functions** - -# 🌟 Unlocking Creativity with Knowledge -remember that functions, list comprehensions, and modules are powerful tools that empower your coding creativity. You now have the skills to create modular, efficient, and elegant code that can tackle diverse challenges. - -In our upcoming session, we'll dive even deeper into **Object-Oriented Programming** (OOP). OOP is a powerful paradigm that allows us to model real-world concepts and relationships in our code. By using classes and objects, we can create more organized, modular, and reusable code. \ No newline at end of file diff --git a/docs/python/Day6.mdx b/docs/python/Day6.mdx deleted file mode 100644 index 27dbb0a..0000000 --- a/docs/python/Day6.mdx +++ /dev/null @@ -1,120 +0,0 @@ ---- -sidebar_position: 7 ---- - -# Functions and Creativity - - -explore modular programming concepts in Python with some code examples. - -# Module Design: - -Suppose you're working on a simple project that involves handling user authentication and generating secure tokens. You can break down this project into two modules: one for authentication and one for token generation. - -auth_module.py: - -```python -def authenticate(username, password): - # Authentication logic - if username == "user" and password == "pass": - return True - return False -``` - -token_module.py: - -```python -import random -import string - -def generate_token(length=16): - characters = string.ascii_letters + string.digits - token = ''.join(random.choice(characters) for _ in range(length)) - return token -``` - -2. Dependency Management: - -Let's say the token generation module depends on the authentication module. Here's how you can use the auth_module in the token_module: - -token_module.py: - -```python -import auth_module - -def generate_token_if_authenticated(username, password, length=16): - if auth_module.authenticate(username, password): - token = generate_token(length) - return token - else: - return None -``` -3. Encapsulation: - -Ensure that your modules encapsulate their internal details. Only expose what's necessary. For instance, users of the auth_module should only interact with the authenticate function: - -auth_module.py: - -```python -def authenticate(username, password): - # Authentication logic - if username == "user" and password == "pass": - return True - return False -``` -# Internal function not exposed to users -```py -def _internal_helper(): - pass -4. Code Organization: - -Organize your project structure to reflect the modular design: - -```css -project/ -β”‚ -β”œβ”€β”€ auth_module.py -β”œβ”€β”€ token_module.py -└── main.py -``` -main.py: - -```python -import auth_module -import token_module - -def main(): - username = input("Username: ") - password = input("Password: ") - - if auth_module.authenticate(username, password): - token = token_module.generate_token() - print(f"Token: {token}") - else: - print("Authentication failed.") - -if __name__ == "__main__": - main() -``` - -5. Testing and Validation: - -Write unit tests to ensure each module functions correctly. Here's a basic example using Python's built-in unittest framework: - -test_auth_module.py: - -```python - -import unittest -import auth_module - -class TestAuthModule(unittest.TestCase): - def test_authentication_success(self): - self.assertTrue(auth_module.authenticate("user", "pass")) - - def test_authentication_failure(self): - self.assertFalse(auth_module.authenticate("user", "wrongpass")) - -if __name__ == "__main__": - unittest.main() -These examples demonstrate how you can apply modular programming concepts in Python. By breaking down your project into modular components with clear interfaces and encapsulation, you make your codebase more manageable, scalable, and collaborative. \ No newline at end of file diff --git a/docs/python/Day7.mdx b/docs/python/Day7.mdx deleted file mode 100644 index 797bbbd..0000000 --- a/docs/python/Day7.mdx +++ /dev/null @@ -1,5 +0,0 @@ ---- -sidebar_position: 8 ---- - -# Object-Oriented Python \ No newline at end of file diff --git a/docs/python/_category_.json b/docs/python/_category_.json deleted file mode 100644 index ac90fe2..0000000 --- a/docs/python/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Python Basics", - "position": 3, - "link": { - "type": "generated-index", - "description": "πŸš€ Discover, Understand, and Create: Python Programming Journey in One Week! πŸš€" - } -} diff --git a/docs/python/forward.mdx b/docs/python/forward.mdx deleted file mode 100644 index 209e941..0000000 --- a/docs/python/forward.mdx +++ /dev/null @@ -1,43 +0,0 @@ ---- -sidebar_position: 7 ---- - -# The Journey Forward - -Exploring New Horizons: The Journey Forward - -At the end of our course, we're not just saying goodbye – we're sending you forth on a path of endless possibilities. As you step into the next chapter of your journey, consider these avenues for personal and professional growth: - -**Self-Discovery and Reflection**: Take a moment to reflect on your coding journey. Recognize how far you've come and the confidence you've gained. - -**Setting Goals**: Define your next milestones. Whether it's pursuit Web development, mobile App development, Data Science, Devops, contributing to open-source projects, or starting your own coding venture, set achievable goals. - -**Networking and Collaboration**: Connect with fellow learners and mentors you've met during the course. Collaboration is key to growth and innovation. - -**Staying Connected**: - -Your Coding Community Our commitment to your growth doesn't end with the course. -We're building a community of like-minded individuals who are passionate about coding, problem-solving, and innovation. - -Stay connected with us and fellow learners through: - -# Social Media Groups: - -Join our dedicated social media groups to share insights, ask questions, and collaborate on coding projects. - -- whatsapp - -- [linkedin](https://github.com/open-source-learners) - -- [Github](https://github.com/open-source-learners) - - -- Online Workshops: Participate in our upcoming online workshops, designed to address advanced coding topics and industry trends. - -- Newsletter: Receive our newsletter with coding tips, project ideas, and updates on coding events around the world. - ->**Remember, This Is Just the Beginning As you embark on your journey beyond our course, remember that the skills you've acquired are tools for transformation.** - -Each line of code you write has the potential to shape the world in unique ways. - -Limited spots available. Course starts [Course Start Date]. \ No newline at end of file diff --git a/docs/python/syllabus.mdx b/docs/python/syllabus.mdx deleted file mode 100644 index 2d8127f..0000000 --- a/docs/python/syllabus.mdx +++ /dev/null @@ -1,67 +0,0 @@ ---- -sidebar_position: 1 ---- - -# Course Syllabus - -# Python Programming Journey in One Week! πŸš€ - -> Are you curious about the language that's shaping the future of technology? - -**Dive deep into Python with our Python Programming**: - -One-Week Course! This unique learning experience isn't just about how to code – it's about understanding the **why** behind every line and mastering the art of learning through hands-on creation. - ->Why Python? The Language of Possibilities Python isn't just a programming language; it's a gateway to endless possibilities. -Our course goes beyond teaching syntax; we focus on cultivating a **strong foundation and igniting your creativity**. - -# Course Methodology: - -## Day 1-2: Laying the Foundation - -- [ ] **Discover the Python Ecosystem**: Explore Python's significance in today's tech landscape. -- [ ] **Why Python?**: Understand why Python is the preferred choice for beginners and industry experts alike. -- [ ] **Interactive Coding**: Dive right in! Experience hands-on coding from the very first session. -- [ ] **Problem-Solving with Code**: Learn how programming is a tool for solving real-world challenges. - -## Day 3-4: Building with Data Structures - -- [ ] **Deep Dive into Lists and Tuples**: Explore the "why" behind lists' flexibility and tuples' immutability. -- [ ] **Sets and Dictionaries**: Grasp why sets are vital for unique collections and how dictionaries optimize data access. -- [ ] **Real-World Scenarios**: Apply data structures to real-world scenarios through immersive projects. - -## Day 5-6: Functions and Creativity - -- [ ] **Creating Efficient Functions**: Understand how functions boost code reusability and efficiency. -- [ ] **List Comprehensions**: Discover the beauty of concise coding through list comprehensions. -- [ ] **Empowerment through Modules**: Realize how modular programming makes your codebase manageable and scalable. -- [ ] **Project Exploration**: Apply your newfound knowledge to collaborative projects. - -## Day 7: Mastering Object-Oriented Python - -- [ ] **Why OOP Matters**: Uncover why object-oriented programming is essential for software design. -- [ ] **Classes and Objects**: Dive deep into classes and objects, the building blocks of OOP. -- [ ] **Packages and Modules Revisited**: Learn why modular coding isn't just a best practice, but a necessity. -- [ ] **Capstone Project**: Bring together your skills to create a functional project, from concept to execution. - -# Why Us? - -πŸ”Έ Interactive Learning: Embrace our learner-centered approach that values your curiosity and questions. - -πŸ”Έ Conceptual Understanding: We prioritize "why" over "how," ensuring you understand the core concepts behind every line of code. -πŸ”Έ Hands-On Projects: Immerse yourself in real projects that translate theory into practical skills. - -πŸ”Έ Collaborative Community: Join a community of learners, fostering a supportive environment for growth. - ->Seize the Opportunity: Ignite Your Python Journey! - -Are you ready to think like a programmer, solve problems creatively, and build projects that showcase your skills? Join our -Python Programming: One-Week Course and embark on a transformative learning journey. Step beyond coding and embrace the "why" behind every line. - -# πŸ‘‰ Enroll Now - -# Connect with Us - -For inquiries or more information, reach out at [muhdadamu0008@email.com] or call [07018565308] - -> Your coding journey is just beginning – let's make it extraordinary! 🌟 diff --git a/docusaurus.config.js b/docusaurus.config.js index ef2b117..4f9c47b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -160,6 +160,17 @@ const config = { ({ // Replace with your project's social card image: 'img/docusaurus-social-card.jpg', + // Announcement + announcementBar: { + id: 'announcementBar-1', // Increment on change + isCloseable: false, + content: + 'Join C Programming Bootcamp Today ! Register here', + backgroundColor: 'orange', + // #4fddbf ,#fafbfc + textColor: 'black', + // `⭐️️⭐️️⭐️️⭐️️⭐️️`, + }, navbar: { logo: { alt: 'Geek ink',