You're building a simple task management feature for a productivity app. Users should be able to view tasks, mark them as complete, and add new tasks.
Design and plan the implementation for three React components using TypeScript:
| import React, { useState } from 'react'; | |
| // Types/Interfaces | |
| interface Task { | |
| id: string; | |
| title: string; | |
| completed: boolean; | |
| } | |
| interface TaskItemProps { |
Setting up integration tests for your .NET minimal API with Identity Framework cookie authentication requires creating a test server, seeding test users with appropriate roles, and authenticating requests in your tests.
First, ensure your test project has the necessary packages:
| Course Name | Concepts Covered | Year Covered | Prerequisites |
|---|---|---|---|
| Introduction to Programming | Programming fundamentals, variables, control structures, functions, basic problem solving, introduction to a programming language (Python/Java) | Year 1, Fall | None (entry-level course) |
| Object-Oriented Programming | Classes, objects, inheritance, polymorphism, encapsulation, abstract data types, basic data structures (arrays, lists) | Year 1, Spring | Introduction to Programming |
| Discrete Mathematics | Logic, sets, functions, relations, graph theory, combinatorics, mathematical induction, proof techniques | Year 1-2 | Calculus I (may be concurrent) |
| Data Structures & Algorithms | Big O notation, time/space complexity, linked lists, stacks, queues, trees, hash tables, sorting algorithms, searching algorithms | Year 2, Spring | Object-Oriented Programming, Discrete Mathematics |
| Computer Architecture | Assembly la |
Teams will build a simple personal dashboard web application using Cursor IDE and GPT 4.1. This project is designed to demonstrate the critical importance of context in AI-assisted development.
| rooflow() { | |
| curl -L -o install_rooflow.sh https://raw.githubusercontent.com/GreatScottyMac/RooFlow/main/config/install_rooflow.sh | |
| chmod +x install_rooflow.sh | |
| ./install_rooflow.sh | |
| rm install_rooflow.sh | |
| rm generate_mcp_yaml.py | |
| echo ' | |
| .roo/ | |
| .roomodes | |
| context_portal/ |
Build a console application for a candy shop that demonstrates object-oriented programming concepts through inheritance and composition patterns.
| // Exercise 4: O(1) Space - Constant Memory | |
| // Finding the largest number WITHOUT creating new arrays | |
| // Test data | |
| const small = [3, 1, 4, 1, 5, 9, 2]; | |
| const medium = Array.from({length: 100}, () => Math.floor(Math.random() * 1000)); | |
| const large = Array.from({length: 10000}, () => Math.floor(Math.random() * 1000)); | |
| // O(1) space function - only uses a few variables | |
| function findLargest(arr) { |