Spaces:
Running
Running
File size: 4,505 Bytes
fb8b524 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Concept_ID,Universal_Concept,Logic_Analogy,Category,Python,Java,C,CPP,CSharp,JS,SQL,HTML,CSS
CORE_01,Program Entry Point,The front door of a building; where everyone must enter to start the journey.,Logic,None (Script-level execution),public static void main(String[] args) { },int main() { return 0; },int main() { return 0; },static void Main(string[] args) { },None (Script-level execution),N/A,N/A,N/A
VAR_01,Variables,A labeled storage box in a warehouse that holds one item.,Logic,x = 10,int x = 10;,int x = 10;,int x = 10;,int x = 10;,let x = 10;,DECLARE @x INT = 10;,N/A,N/A
COND_01,Conditional Logic (If-Else),"A fork in the road: 'If' it's raining, take an umbrella; 'Else', wear sunglasses.",Logic,"if x > 5:
...",if (x > 5) { ... },if (x > 5) { ... },if (x > 5) { ... },if (x > 5) { ... },if (x > 5) { ... },WHERE x > 5 (or CASE WHEN),N/A,N/A
LOOP_01,Fixed Loops (For),A guard counting exactly 10 people entering a gate.,Logic,for i in range(10):,for(int i=0; i<10; i++),for(int i=0; i<10; i++),for(int i=0; i<10; i++),for(int i=0; i<10; i++),for(let i=0; i<10; i++),N/A,N/A,N/A
LOOP_02,Conditional Loops (While),"Eating soup until the bowl is empty; you don't count spoons, you check the bowl.",Logic,while condition:,while(condition) { },while(condition) { },while(condition) { },while(condition) { },while(condition) { },WHILE condition BEGIN ... END,N/A,N/A
FUNC_01,Functions / Procedures,A recipe card; a set of instructions you can follow anytime someone asks for that dish.,Logic,def my_func():,public void myFunc() { },void myFunc() { },void myFunc() { },public void MyFunc() { },function myFunc() { },CREATE PROCEDURE MyProc,N/A,N/A
DATA_01,Lists / Arrays,A multi-slotted egg carton where each slot has a number (index).,Logic,"my_list = [1, 2, 3]","int[] arr = {1, 2, 3};","int arr[] = {1, 2, 3};","int arr[] = {1, 2, 3};","int[] arr = {1, 2, 3};","let arr = [1, 2, 3];",N/A (Tables used instead),N/A,N/A
OOP_01,Classes / Objects,"A blueprint for a car. The blueprint isn't a car, but you use it to build many real cars.",Logic,class Car:,public class Car { },N/A (Structs used),class Car { };,public class Car { },class Car { },N/A,N/A,N/A
ERR_01,Error Handling (Try-Catch),"A safety net under a tightrope walker; 'Try' the walk, 'Catch' the fall if it happens.",Logic,"try:
...
except:",try { ... } catch(Exception e) { },N/A (Check return codes),try { ... } catch(...) { },try { ... } catch(Exception e) { },try { ... } catch(err) { },TRY...CATCH,N/A,N/A
OUT_01,Outputting Data,Speaking or writing a message on a whiteboard for everyone to see.,Logic,print('Hello'),System.out.println('Hello');,printf('Hello');,std::cout << 'Hello';,Console.WriteLine('Hello');,console.log('Hello');,SELECT 'Hello' or PRINT 'Hello',<p>Hello</p>,content: 'Hello';
SQL_01,Data Retrieval (Select),Asking a librarian to pull a specific book from the shelf.,Query,df.head(),SELECT...,N/A,N/A,context.Users.ToList(),fetch('/api/data'),SELECT * FROM TableName;,N/A,N/A
SQL_02,Filtering Data (Where),Using a sieve to keep only the large stones and let the sand fall through.,Query,df[df['age'] > 18],N/A,N/A,N/A,.Where(u => u.Age > 18),arr.filter(u => u.age > 18),SELECT * FROM Users WHERE Age > 18;,N/A,N/A
SQL_03,Combining Tables (Join),Matching two puzzle pieces together based on a common shape.,Query,"pd.merge(df1, df2)",N/A,N/A,N/A,.Join(...),N/A,SELECT * FROM T1 JOIN T2 ON T1.id = T2.id;,N/A,N/A
WEB_01,Document Structure,The skeleton of a body; it gives shape but has no skin or clothes.,Structure,N/A,N/A,N/A,N/A,N/A,document.createElement('div'),N/A,<html><body> ... </body></html>,N/A
WEB_02,Styling (Color/Font),The clothes and makeup you wear to change how you look without changing your skeleton.,Style,N/A,N/A,N/A,N/A,N/A,element.style.color = 'red',N/A,style='color:red',body { color: red; font-family: Arial; }
WEB_03,Navigation (Links),A portal or door that transports you to a different room instantly.,Structure,N/A,N/A,N/A,N/A,N/A,window.location.href = '...',N/A,<a href='url'>Click Here</a>,N/A
WEB_04,Input Fields (Forms),A registration form at a hospital where you write your details for the staff.,Structure,input(),Scanner,scanf(),cin,Console.ReadLine(),prompt(),N/A,<input type='text' name='user'>,input { border: 1px solid black; }
WEB_05,Box Model (Spacing),The bubble wrap around a gift inside a box (Padding) and the space between two boxes (Margin).,Style,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,.box { padding: 10px; margin: 20px; border: 1px; }
|