3.1 3.2 3.4 3.6 3.7 3.8 3.10 3.10v2 3-10tri3 3.11 3.15 3.17 3.18
5.1 5.2 5.3 5.4 5.5 5.6

Tri 1 Summary Of My Learning

Variables:

A variable acts as a storage location for data, allowing a programmer to use and manipulate that data easily by referring to the variable name instead of the actual value.

Data Abstraction:

Data abstraction involves simplifying complex data structures by focusing only on the necessary details while underlying others. This allows programmers to work with data in a more efficient and understandable way, without needing to manage all the details of how the data is processed.

Mathematical Expressions:

Mathematical expressions are combinations of numbers, variables, and mathematical operators (such as +, -, *, or /) that produce a result when evaluated. In programming, these expressions are used to perform calculations, solve problems, and manipulate numerical data.

Strings:

A string is a sequence of characters used to represent text in programming. Strings can contain letters, numbers, and symbols, and are often used to store and manipulate textual data like words, sentences, or even entire paragraphs.

Booleans:

Booleans represent one of two possible values: true or false. In programming, boolean values are used to make decisions or control the flow of a program by evaluating conditions or expressions that result in a true or false outcome.

Conditionals:

Conditionals are statements in programming that allow decisions to be made based on whether a certain condition is true or false. If the condition is true, the program executes a specific block of code and if it is false, the program may execute a different block or skip the execution entirely.

Nested Conditionals:

Nested conditionals occur when one conditional statement is placed inside another. This allows for more complex decision-making processes, like evaluating multiple conditions. The program will first check the outer condition, and if it is true, it will then evaluate the inner condition.

Iteration:

Iteration is the process of repeatedly executing a block of code. This is typically done using loops, which allow a program to repeat a set of instructions a specified number of times or until a certain condition is met.

Lists:

A list is a data structure that stores multiple values in a single variable. Lists can contain any type of data, including numbers, strings, or even other lists. They allow programmers to organize and manage collections of data, making it easier to access, modify, or iterate over the values stored within them.


Big Idea 3: Algorithms and Programming

Lesson 3.1: Variables and Assignment

Summary:
Variables are used to store data values that can change throughout the program. They help make programs flexible, readable, and efficient.

Key Concepts:

Example Code:

age = 16
print(age)  # Output: 16

age = age + 1
print(age)  # Output: 17

Resources:


Lesson 3.2: Data Types and Input

Summary:
Understanding data types allows you to handle and process user input correctly.

Key Concepts:

Example Code:

name = input("Enter your name: ")
print("Hello, " + name)

age = int(input("Enter your age: "))
print("In 5 years you will be", age + 5)

Resources:


Lesson 3.4: Operators and Expressions

Summary:
Operators are symbols that perform operations on variables and values. Expressions combine these to compute results.

Key Concepts:

Example Code:

x = 10
y = 3

print(x % y)             # Output: 1
print(x > y and x < 20)  # Output: True

Resources:


Lesson 3.6 – 3.8: Conditionals & If Statements

Summary:
Conditionals allow a program to choose between different paths of execution depending on whether a condition is true or false.

Key Concepts:

Example Code:

temp = 90

if temp > 100:
    print("Too hot!")
elif temp < 60:
    print("Too cold!")
else:
    print("Just right.")

Resources:


Lesson 3.10: Iteration

Summary:
Loops automate repetitive tasks, allowing code to execute multiple times based on a condition or over a sequence.

Key Concepts:

Example Code:

# For loop
for i in range(5):
    print("Loop iteration", i)

# While loop
count = 0
while count < 5:
    print("Counting:", count)
    count += 1

Resources:


Self Study: Functions

Summary:
Functions are reusable blocks of code that perform a specific task. They help make programs modular and organized.

Key Concepts:

Example Code:

def greet(name):
    return "Hello, " + name

message = greet("Anvay")
print(message)  # Output: Hello, Anvay

Resources:


Big Idea 5: Impact of Computing


Lesson 5.1: Beneficial and Harmful Effects

Summary:
Computing innovations have transformed communication, education, business, and healthcare. However, these innovations can also cause harm when misused or implemented without considering ethical consequences.

Key Concepts:

Example Scenario:
AI used in hiring may speed up decisions, but if trained on biased data, it might favor certain groups unfairly.

Resources:


Lesson 5.2: Digital Divide

Summary:
The digital divide describes the unequal access to computing technologies across different regions or socioeconomic groups. It affects education, job opportunities, and participation in a digital society.

Key Concepts:

Example Scenario:
Students in rural or low-income areas may not have reliable access to online classes, causing them to fall behind academically.

Resources:


Lesson 5.3: Bias in Computing

Summary:
Computing systems can unintentionally inherit bias from the data used to build them. This can lead to unfair treatment or discrimination in real-world applications.

Key Concepts:

Example Scenario:
A healthcare AI tool recommends fewer services for certain populations due to a lack of representation in the training data.

Resources:


Lesson 5.4: Crowdsourcing

Summary:
Crowdsourcing is the process of gathering information or work from a large group of people, typically via the internet. It allows large-scale collaboration, but it can also raise ethical concerns.

Key Concepts:

Example Scenario:
Users labeling images for a machine learning project may not realize their work is training an AI used for commercial profit.

Resources:


Lesson 5.5: Randomness

Summary:
Randomness is used in computing for simulations, games, and security. It adds unpredictability and mimics chance in programs.

Key Concepts:

Example Code:

import random

print(random.randint(1, 6))  # Simulates a dice roll from 1 to 6

Resources:


Summary:
Technology is governed by laws that protect user rights and define ethical practices. Understanding these helps developers build responsible and legal computing systems.

Key Concepts:

Example Scenario:
A company stores children’s data without parental consent, violating COPPA.

Resources:


Lesson 5.7: Safe Computing

Summary:
Safe computing means protecting yourself, your device, and your data from digital threats. It involves using secure practices and staying alert.

Key Concepts:

Checklist:

Resources:


Algorithm
A finite set of instructions to accomplish a specific task.
Sequencing
Steps executed in the order they appear.
Selection
Code that runs based on a true/false condition.
Iteration
Repeats a block of code using loops.
Variable
An abstraction that stores a value.
Procedure
Reusable group of instructions with optional parameters.
Modulus
Returns the remainder of a division: %.
Boolean
True or false value used in conditionals.
List
An ordered collection of elements.
String
A sequence of characters (e.g., text).
API
Rules for how to use functions from a library.
Big O
Describes algorithm efficiency (e.g., O(n), O(n²)).
Undecidable
Problem no algorithm can solve for all cases.
Binary Search
Efficient search in a sorted list.
Metadata
Data about data (e.g., image resolution).
Phishing
Tricking users into giving personal data.
Encryption
Converts data to unreadable form for protection.
Machine Learning
Systems that learn from data without explicit programming.
Bias
A systematic error in data or outcomes.
Open Data
Data freely available to the public.
Citizen Science
Public participation in scientific research.