Session Overview
Welcome to Session 4!
In our final session, we'll explore the exciting world of Artificial Intelligence (AI) and how it's changing technology. We'll learn about AI tools like ChatGPT and GitHub Copilot, create projects with AI assistance, and discuss the responsible use of these powerful tools!
Learning Objectives
- Understand what Artificial Intelligence is and how it works
- Explore AI tools like ChatGPT and GitHub Copilot
- Learn how to use AI to help with coding and creative projects
- Create projects with AI assistance
- Discuss AI ethics and responsible use
Introduction (15 minutes)
Review from Session 3 and introduce AI concepts
AI Fundamentals (25 minutes)
Learn about what AI is and how it works
ChatGPT & AI Assistants (20 minutes)
Explore conversational AI tools
Break (10 minutes)
Time to stretch and ask questions
GitHub Copilot Demo (25 minutes)
See how AI can help with coding
AI Projects & Ethics (15 minutes)
Create projects with AI and discuss responsible use
Course Wrap-up (10 minutes)
Reflect on what we've learned and future explorations
Activities
AI Fundamentals
What is Artificial Intelligence?
Artificial Intelligence (AI) refers to computer systems designed to perform tasks that typically require human intelligence. These include things like recognizing speech, making decisions, translating languages, and identifying patterns.
AI works by using algorithms (sets of instructions) and data to learn patterns and make predictions. The more data an AI system processes, the better it gets at its task.
Types of AI
- Narrow AI - Designed for specific tasks (like voice assistants, chess programs)
- General AI - Theoretical systems that could perform any intellectual task a human can
Machine Learning
Machine Learning is a type of AI where computers learn from examples rather than being explicitly programmed. It's like how humans learn from experience!
AI in Everyday Life
You probably interact with AI every day without realizing it:
Smart Assistants
Siri, Alexa, and Google Assistant use AI to understand your voice commands and questions.
Social Media
AI decides which posts to show in your feed based on what you like and engage with.
Video Games
AI controls characters' behaviors and makes them respond to your actions.
Photo Apps
AI recognizes faces in photos and applies filters that look good.
How AI "Learns"
AI systems learn through a process called "training." Here's a simple example:
- Gather Data: Collect thousands of cat and dog pictures
- Label Data: Mark each image as "cat" or "dog"
- Train the Model: The AI looks for patterns in the data
- Test the Model: Show the AI new pictures to see if it can identify cats and dogs correctly
- Improve: Keep training with more data to make it better
Activity: AI Detector Challenge
Look at the examples below and try to guess which content was created by AI and which was created by a human!
Example 1: Short Poem
The stars above, a cosmic sea
Twinkling lights for you and me
Ancient fires burning bright
Guide us through the endless night
Example 2: Recipe Instructions
Crack the eggs into a bowl. Whisk them with a fork until they're kind of mixed. Heat the pan but not too hot or they'll burn. Put some butter in. Wait till it's melty and a bit bubbly. Pour in the eggs. Push them around with a spatula until they look done enough for you. Add salt if you want.
ChatGPT & AI Assistants
Conversational AI
Conversational AI systems like ChatGPT are designed to understand and generate human-like text. They can answer questions, have conversations, write stories, explain concepts, and much more!
These systems are trained on vast amounts of text from the internet, books, and articles. They learn patterns in language and how words relate to each other.
How ChatGPT Works
ChatGPT is an AI assistant created by OpenAI. When you type a message, ChatGPT:
- Processes your text to understand what you're asking
- Searches through its "knowledge" of language patterns
- Predicts what would be a helpful and appropriate response
- Generates text one word at a time
ChatGPT doesn't actually "understand" things like humans do. It doesn't have experiences or consciousness - it's recognizing patterns in text!
AI Assistants You Can Try
ChatGPT
A conversational AI that can answer questions, write text, and help with various tasks.
Visit (With Adult Permission)Google Gemini
Google's AI assistant that can answer questions and generate content.
Visit (With Adult Permission)Bing AI Chat
Microsoft's AI assistant integrated with the Bing search engine.
Visit (With Adult Permission)Tips for Using AI Assistants
Be Specific
The more details you provide, the better the AI can help you. Instead of asking "Tell me about space," try "Explain how black holes work in simple terms for a 12-year-old."
Ask Follow-up Questions
If you don't understand something or want more information, ask! AI assistants can explain further or approach the topic differently.
Verify Information
AI can sometimes make mistakes or provide outdated information. Always double-check important facts with reliable sources.
Use It as a Tool, Not a Replacement
AI assistants are helpful tools, but they don't replace your own thinking and learning!
Activity: Creating Prompts
A "prompt" is the text you send to an AI assistant. Good prompts get better results!
Basic Prompt:
"Tell me about dinosaurs"
Better Prompt:
"I'm a 6th grader working on a science project. Can you explain 3 interesting facts about Triceratops in simple terms? Include how big they were, what they ate, and one surprising fact."
GitHub Copilot
Coding with AI Assistance
GitHub Copilot is an AI tool that helps people write code. It's like having a helpful coding partner that can suggest code as you type!
Copilot was trained on billions of lines of public code from GitHub. This allows it to suggest code completions, entire functions, or solutions to coding problems.
How Copilot Helps Programmers
- Suggests code as you type
- Helps write repetitive or standard code quickly
- Offers solutions to coding problems
- Helps learn programming by showing examples
- Explains code when asked
Copilot doesn't replace human programmers - it's a tool that helps them work more efficiently!
GitHub Copilot Examples
You type:
// Function to calculate the area of a circle function calculateCircleArea(
Copilot suggests:
// Function to calculate the area of a circle
function calculateCircleArea(radius) {
return Math.PI * radius * radius;
}
You type a comment:
// Function that checks if a word is a palindrome
Copilot suggests:
// Function that checks if a word is a palindrome
function isPalindrome(word) {
const lowerCaseWord = word.toLowerCase();
const reversedWord = lowerCaseWord.split('').reverse().join('');
return lowerCaseWord === reversedWord;
}
You type:
// Create a simple rock, paper, scissors game
Copilot suggests (partial):
// Create a simple rock, paper, scissors game
function rockPaperScissors() {
const choices = ['rock', 'paper', 'scissors'];
const computerChoice = choices[Math.floor(Math.random() * 3)];
const playerChoice = prompt('Enter rock, paper, or scissors:').toLowerCase();
if (!choices.includes(playerChoice)) {
return 'Please enter a valid choice!';
}
if (playerChoice === computerChoice) {
return `It's a tie! Computer also chose ${computerChoice}.`;
}
if (
(playerChoice === 'rock' && computerChoice === 'scissors') ||
(playerChoice === 'paper' && computerChoice === 'rock') ||
(playerChoice === 'scissors' && computerChoice === 'paper')
) {
return `You win! Computer chose ${computerChoice}.`;
} else {
return `You lose! Computer chose ${computerChoice}.`;
}
}
Benefits of Using Copilot
- Learn While Coding - See how experienced programmers might solve problems
- Save Time - Write repetitive code faster
- Focus on Bigger Ideas - Spend less time on details and more on planning
- Try New Things - Get help with languages or frameworks you're learning
Remember: Always Review AI Code
AI code suggestions aren't always perfect. It's important to understand what the code does and check for errors!
Explore AI AdventuresAI Ethics & Projects
Using AI Responsibly
As AI becomes more powerful and widespread, it's important to think about how we use it responsibly. Just like any tool, AI can be used in helpful or harmful ways.
AI ethics involves thinking about questions like:
- When should we use AI and when shouldn't we?
- How do we make sure AI is fair and doesn't discriminate?
- Who is responsible when AI makes a mistake?
- How can we make sure humans stay in control of AI?
- What happens to privacy when AI can process so much data?
AI Ethics Discussion
AI and Creativity
AI can generate art, music, stories, and other creative works. Let's think about what this means:
Potential Benefits
- Helps people who don't have artistic skills create things
- Provides inspiration for human creators
- Makes art more accessible to everyone
- Can create new styles by combining existing ones
Concerns
- AI learns from human artists' work without permission
- Might replace jobs for artists and creators
- Hard to tell what's made by humans vs. AI
- Questions about who owns AI-generated content
AI in Education
AI tools like ChatGPT can write essays, solve homework problems, and answer questions. How should we think about this?
Potential Benefits
- Provides explanations in different ways to help understanding
- Can act as a tutor to help with difficult concepts
- Helps students who need extra support
- Can make learning more interactive and engaging
Concerns
- Students might use it to cheat on assignments
- May reduce critical thinking if students rely on it too much
- Could create unfair advantages for students with access to AI
- Sometimes provides incorrect information
Creating With AI: Project Ideas
AI Story Collaborator
Work with an AI to create a short story or comic. You provide the main characters and plot, and the AI helps with dialogue and descriptions.
Code Explanation Helper
Find a piece of code that interests you and use an AI to explain how it works. Then try to modify the code based on what you've learned.
AI Research Assistant
Use an AI to help research a topic you're interested in. Ask questions, get summaries, and create a presentation with what you learn.
Guidelines for Using AI
- Always be honest about using AI help
- Verify information from AI with reliable sources
- Use AI to enhance your work, not replace your thinking
- Consider the impact on others when using AI tools
- Remember that AI is a tool created by humans, not magic!
Resources
Additional Learning Materials
Copilot Tutorial
Learn to use GitHub Copilot
Scratch Projects
Create AI-inspired games
AI in Education
Guide to AI tools for students
AI for Kids
Learn how AI works
Interactive Activities
Course Completion
Congratulations Tech Explorer!
You've completed all four sessions of the Tech Explorers Program! We've covered:
- Technology fundamentals and how the Internet works
- Computer hardware, software, and how data is stored
- Programming with HTML, CSS, and Python
- GitHub and version control
- Artificial Intelligence and coding with AI assistance
This is just the beginning of your technology journey! Keep exploring, creating, and learning.
Next Steps:
- Continue with the projects from our activities section
- Explore the additional resources we've provided
- Try creating your own technology projects
- Share what you've learned with friends and family