rsnarsna commited on
Commit ·
abd771f
1
Parent(s): fd40ac2
feat(backend): sync 11 canonical category icon metaphors and child summaries
Browse files4 unmodified lines567891011121314255 unmodified lines270271272273274275276277278279364 unmodified lines644645646647648649650651652360 unmodified lines1013101410151016101710181019102010211022355 unmodified lines137813791380138113821383138413851386390 unmodified lines1777177817791780178117821783178417851786363 unmodified lines2150215121522153215421552156215721582159264 unmodified lines2424242524262427242824292430243124322433326 unmodified lines2760276127622763276427652766276727682769229 unmodified lines2999300030013002300330043005300630073008336 unmodified lines33453346334733483349335033513352335333544 unmodified lines"name": "Essentials","expectedTopicCount": 3,"iconName": "Zap","colorName": "blue","iconColor": "text-blue-400","iconBg": "bg-blue-600/20","borderColor": "border-blue-500/30","introduction": "Welcome to the world of programming! A computer program is simply a recipe of instructions that tells the computer what to do. In this category, you will learn how programs run step-by-step, how to print messages on your screen, and how to ask the user for information.","learningObjectives": ["Understand what a computer program is and how code runs in order.",255 unmodified lines"name": "Variables & Constants","expectedTopicCount": 6,"iconName": "Variable","colorName": "blue","iconColor": "text-blue-400","iconBg": "bg-blue-600/20","borderColor": "border-blue-500/30","introduction": "A variable is a labeled storage box in the computer's memory. Instead of typing the same value again and again, you give it a name like 'player_score = 10'. A constant is a locked box whose value should stay the same forever, like PI = 3.14159.","learningObjectives": ["Create and name variables to remember information.",364 unmodified lines"name": "Data Types & Collections","expectedTopicCount": 5,"iconName": "Boxes","colorName": "cyan","iconColor": "text-cyan-400","iconBg": "bg-cyan-600/20","borderColor": "border-cyan-500/30","introduction": "Computers deal with different flavors of information: numbers for math, text words for messages, yes/no flags for decisions, and collections (lists and dictionaries) to hold groups of items. Knowing your data types prevents bugs and unlocks powerful coding abilities.","learningObjectives": [360 unmodified lines"name": "Operators & Logic","expectedTopicCount": 7,"iconName": "Scale","colorName": "orange","iconColor": "text-orange-400","iconBg": "bg-orange-600/20","borderColor": "border-orange-500/30","introduction": "Operators are symbols that calculate values, compare items, and make smart decisions. Arithmetic operators do math (+, -, *, /), comparison operators check relationships (==, !=, <, >), and logical operators (and, or, not) combine conditions like true puzzle pieces.","learningObjectives": ["Add and subtract values with + and -.",355 unmodified lines"name": "Mathematics","expectedTopicCount": 6,"iconName": "Calculator","colorName": "orange","iconColor": "text-orange-400","iconBg": "bg-orange-600/20","borderColor": "border-orange-500/30","introduction": "Computers are world champion calculators! In this category, you will master essential math functions: calculating absolute distances (abs), powers (pow), rounding numbers (round), snapping down to floors or up to ceilings (floor/ceil), finding minimums and maximums (min/max), and square roots (sqrt).","learningObjectives": [390 unmodified lines"name": "Control Flow","expectedTopicCount": 6,"iconName": "GitBranch","colorName": "amber","iconColor": "text-amber-400","iconBg": "bg-amber-600/20","borderColor": "border-amber-500/30","introduction": "Control flow lets your program make choices and repeat tasks! Instead of a boring straight line, code can branch left or right using If-Else conditions, and repeat loops using For and While loops. This is where programs become truly intelligent.","learningObjectives": ["Use 'if' statements to make decisions.",363 unmodified lines"name": "Functions","expectedTopicCount": 4,"iconName": "Code2","colorName": "indigo","iconColor": "text-indigo-400","iconBg": "bg-indigo-600/20","borderColor": "border-indigo-500/30","introduction": "A function is a reusable mini-machine that does a specific job. You give it a name using 'def', give it ingredients (parameters), let it do the work, and get back the finished product using 'return'. Once built, you can call it a thousand times without repeating yourself!","learningObjectives": ["Define custom reusable functions with the 'def' keyword.",264 unmodified lines"name": "Strings & Collection Operations","expectedTopicCount": 6,"iconName": "Type","colorName": "cyan","iconColor": "text-cyan-400","iconBg": "bg-cyan-600/20","borderColor": "border-cyan-500/30","introduction": "Strings and collections are the building blocks of real software. In this category, you will learn how to transform text casing (upper, lower, title), glue strings together, chop sentences into words (split), add items to lists (append, insert), slice items by position, and look up details in dictionaries.","learningObjectives": ["Transform string cases using upper(), lower(), and title().",326 unmodified lines"name": "Object-Oriented Programming (OOP)","expectedTopicCount": 3,"iconName": "Boxes","colorName": "indigo","iconColor": "text-indigo-400","iconBg": "bg-indigo-600/20","borderColor": "border-indigo-500/30","introduction": "Object-Oriented Programming (OOP) is like playing with Lego! A 'class' is a blueprint or cookie cutter. An 'object' is a real cookie made from that cutter. Objects have things they know (attributes, like color or speed) and things they can do (methods, like drive or brake).","learningObjectives": ["Understand what a class is and how to define one using 'class'.",229 unmodified lines"name": "Files & Data Interchange","expectedTopicCount": 6,"iconName": "FileText","colorName": "grey","iconColor": "text-zinc-400","iconBg": "bg-zinc-600/20","borderColor": "border-zinc-500/30","introduction": "When a program closes, whatever was in RAM memory disappears. To save information permanently, we save it into files on the computer disk! In this category, you will learn how to read text files, write new files, append notes, work with universal JSON data, and close files safely using context managers.","learningObjectives": ["Open and read stored text from files on disk.",336 unmodified lines"name": "Modules & Imports","expectedTopicCount": 1,"iconName": "Package","colorName": "grey","iconColor": "text-zinc-400","iconBg": "bg-zinc-600/20","borderColor": "border-zinc-500/30","introduction": "You don't have to invent every wheel from scratch! Python comes with hundreds of pre-built toolboxes called 'modules'. Using the 'import' keyword, you can bring in superpowers for math, random numbers, dates, networking, and graphics with a single line of code.","learningObjectives": ["Understand what a module is and how it organizes code.",4 unmodified lines567891011121314151617255 unmodified lines273274275276277278279280281282283284285364 unmodified lines650651652653654655656657658659660661360 unmodified lines1022102310241025102610271028102910301031103210331034355 unmodified lines139013911392139313941395139613971398139914001401390 unmodified lines1792179317941795179617971798179918001801180218031804363 unmodified lines2168216921702171217221732174217521762177217821792180264 unmodified lines2445244624472448244924502451245224532454245524562457326 unmodified lines2784278527862787278827892790279127922793279427952796229 unmodified lines3026302730283029303030313032303330343035303630373038336 unmodified lines33753376337733783379338033813382338333843385338633874 unmodified lines"name": "Essentials","expectedTopicCount": 3,"iconName": "Zap","iconMetaphor": "Start flag","childFriendlySummary": "Start, ask questions and show answers.","colorName": "emerald","iconColor": "text-emerald-500","iconBg": "bg-emerald-500/15","pastelBg": "bg-emerald-500/10 dark:bg-emerald-950/20","borderColor": "border-emerald-500/30","introduction": "Welcome to the world of programming! A computer program is simply a recipe of instructions that tells the computer what to do. In this category, you will learn how programs run step-by-step, how to print messages on your screen, and how to ask the user for information.","learningObjectives": ["Understand what a computer program is and how code runs in order.",255 unmodified lines"name": "Variables & Constants","expectedTopicCount": 6,"iconName": "Variable","iconMetaphor": "Storage box","childFriendlySummary": "Keep information inside boxes.","colorName": "amber","iconColor": "text-amber-500","iconBg": "bg-amber-500/15","pastelBg": "bg-amber-500/10 dark:bg-amber-950/20","borderColor": "border-amber-500/30","introduction": "A variable is a labeled storage box in the computer's memory. Instead of typing the same value again and again, you give it a name like 'player_score = 10'. A constant is a locked box whose value should stay the same forever, like PI = 3.14159.","learningObjectives": ["Create and name variables to remember information.",364 unmodified lines"name": "Data Types & Collections","expectedTopicCount": 5,"iconName": "Boxes","iconMetaphor": "Organizer box","childFriendlySummary": "Arrange information into groups.","colorName": "cyan","iconColor": "text-cyan-500","iconBg": "bg-cyan-500/15","pastelBg": "bg-cyan-500/10 dark:bg-cyan-950/20","borderColor": "border-cyan-500/30","introduction": "Computers deal with different flavors of information: numbers for math, text words for messages, yes/no flags for decisions, and collections (lists and dictionaries) to hold groups of items. Knowing your data types prevents bugs and unlocks powerful coding abilities.","learningObjectives": [360 unmodified lines"name": "Operators & Logic","expectedTopicCount": 7,"iconName": "Scale","iconMetaphor": "Balance scale","childFriendlySummary": "Calculate, compare and make logical choices.","colorName": "blue","iconColor": "text-blue-500","iconBg": "bg-blue-500/15","pastelBg": "bg-blue-500/10 dark:bg-blue-950/20","borderColor": "border-blue-500/30","introduction": "Operators are symbols that calculate values, compare items, and make smart decisions. Arithmetic operators do math (+, -, *, /), comparison operators check relationships (==, !=, <, >), and logical operators (and, or, not) combine conditions like true puzzle pieces.","learningObjectives": ["Add and subtract values with + and -.",355 unmodified lines"name": "Mathematics","expectedTopicCount": 6,"iconName": "Calculator","iconMetaphor": "Calculator","childFriendlySummary": "Work with numbers and calculations.","colorName": "orange","iconColor": "text-orange-500","iconBg": "bg-orange-500/15","pastelBg": "bg-orange-500/10 dark:bg-orange-950/20","borderColor": "border-orange-500/30","introduction": "Computers are world champion calculators! In this category, you will master essential math functions: calculating absolute distances (abs), powers (pow), rounding numbers (round), snapping down to floors or up to ceilings (floor/ceil), finding minimums and maximums (min/max), and square roots (sqrt).","learningObjectives": [390 unmodified lines"name": "Control Flow","expectedTopicCount": 6,"iconName": "GitBranch","iconMetaphor": "Road junction","childFriendlySummary": "Choose a path and repeat actions.","colorName": "purple","iconColor": "text-purple-500","iconBg": "bg-purple-500/15","pastelBg": "bg-purple-500/10 dark:bg-purple-950/20","borderColor": "border-purple-500/30","introduction": "Control flow lets your program make choices and repeat tasks! Instead of a boring straight line, code can branch left or right using If-Else conditions, and repeat loops using For and While loops. This is where programs become truly intelligent.","learningObjectives": ["Use 'if' statements to make decisions.",363 unmodified lines"name": "Functions","expectedTopicCount": 4,"iconName": "Code2","iconMetaphor": "Toy machine","childFriendlySummary": "Create actions and use them again.","colorName": "teal","iconColor": "text-teal-500","iconBg": "bg-teal-500/15","pastelBg": "bg-teal-500/10 dark:bg-teal-950/20","borderColor": "border-teal-500/30","introduction": "A function is a reusable mini-machine that does a specific job. You give it a name using 'def', give it ingredients (parameters), let it do the work, and get back the finished product using 'return'. Once built, you can call it a thousand times without repeating yourself!","learningObjectives": ["Define custom reusable functions with the 'def' keyword.",264 unmodified lines"name": "Strings & Collection Operations","expectedTopicCount": 6,"iconName": "Type","iconMetaphor": "Scissors and letters","childFriendlySummary": "Cut, join, change and select information.","colorName": "indigo","iconColor": "text-indigo-500","iconBg": "bg-indigo-500/15","pastelBg": "bg-indigo-500/10 dark:bg-indigo-950/20","borderColor": "border-indigo-500/30","introduction": "Strings and collections are the building blocks of real software. In this category, you will learn how to transform text casing (upper, lower, title), glue strings together, chop sentences into words (split), add items to lists (append, insert), slice items by position, and look up details in dictionaries.","learningObjectives": ["Transform string cases using upper(), lower(), and title().",326 unmodified lines"name": "Object-Oriented Programming (OOP)","expectedTopicCount": 3,"iconName": "Boxes","iconMetaphor": "Blueprint and house","childFriendlySummary": "Design and create objects.","colorName": "sky","iconColor": "text-sky-500","iconBg": "bg-sky-500/15","pastelBg": "bg-sky-500/10 dark:bg-sky-950/20","borderColor": "border-sky-500/30","introduction": "Object-Oriented Programming (OOP) is like playing with Lego! A 'class' is a blueprint or cookie cutter. An 'object' is a real cookie made from that cutter. Objects have things they know (attributes, like color or speed) and things they can do (methods, like drive or brake).","learningObjectives": ["Understand what a class is and how to define one using 'class'.",229 unmodified lines"name": "Files & Data Interchange","expectedTopicCount": 6,"iconName": "FileText","iconMetaphor": "Notebook and parcel","childFriendlySummary": "Open, save, pack and unpack information.","colorName": "amber","iconColor": "text-amber-500","iconBg": "bg-amber-500/15","pastelBg": "bg-amber-500/10 dark:bg-amber-950/20","borderColor": "border-amber-500/30","introduction": "When a program closes, whatever was in RAM memory disappears. To save information permanently, we save it into files on the computer disk! In this category, you will learn how to read text files, write new files, append notes, work with universal JSON data, and close files safely using context managers.","learningObjectives": ["Open and read stored text from files on disk.",336 unmodified lines"name": "Modules & Imports","expectedTopicCount": 1,"iconName": "Package","iconMetaphor": "Toolbox","childFriendlySummary": "Bring in tools that help your program.","colorName": "rose","iconColor": "text-rose-500","iconBg": "bg-rose-500/15","pastelBg": "bg-rose-500/10 dark:bg-rose-950/20","borderColor": "border-rose-500/30","introduction": "You don't have to invent every wheel from scratch! Python comes with hundreds of pre-built toolboxes called 'modules'. Using the 'import' keyword, you can bring in superpowers for math, random numbers, dates, networking, and graphics with a single line of code.","learningObjectives": ["Understand what a module is and how it organizes code.",
specs/programming_fundamentals_11_categories.json+73-40