Computer Science Grade 6 20 min

Building a Portfolio

Building a Portfolio

Tutorial Preview

1

Introduction & Learning Objectives

Learning Objectives Identify the key components of a project description. Use variables to store project titles, descriptions, and languages. Combine strings and variables (concatenation) to print formatted project details. Write code comments to explain their portfolio structure. Organize the code for multiple projects in a single file. Structure their code for better readability. Ever wanted to show off all your cool coding projects in one place? 🤖 Let's learn how to build a digital trophy case for your code! In this lesson, we'll go beyond just listing projects. You will learn advanced techniques like using variables and comments to create a well-organized and descriptive portfolio that showcases your amazing coding skills. Real-World Applications Professi...
2

Key Concepts & Vocabulary

TermDefinitionExample PortfolioA collection of your best work that shows off your skills and accomplishments.A single code file that lists and describes three different games you have created. Project DescriptionA short, clear summary of what a project does, what it's for, and what tools were used to make it."A fun guessing game where the player has 5 tries to guess a secret number. Built using Python." String ConcatenationThe process of joining two or more strings together to make one longer string.`print("Project: " + "Guess the Number")` would display `Project: Guess the Number`. Code CommentA special note inside your code that the computer ignores. It's for humans to read and understand the code better.`# This variable stores the name of my game...
3

Core Syntax & Patterns

Project Information Pattern project_title = "Title" project_description = "Description" project_language = "Language" Use a separate variable for each piece of information about your project. This keeps your data organized and easy to update. Commenting Syntax # This is a comment In many languages like Python, place a hashtag (#) at the beginning of a line. The computer will skip this line, allowing you to leave notes for yourself or others. Formatted Output Pattern print("Title: " + project_title) print("About: " + project_description) Use the print function with string concatenation (+) to combine labels (like "Title: ") with your project variables. This creates a neat, easy-to-read display.

4 more steps in this tutorial

Sign up free to access the complete tutorial with worked examples and practice.

Sign Up Free to Continue

Sample Practice Questions

Challenging
You've shown your portfolio to three people. A coder friend says 'Your code is messy.' Your artist friend says 'The colors are boring.' Your grandma says 'I don't know what a variable is.' What is the best way to synthesize this feedback into a single action plan?
A.First, rewrite all your code to be cleaner, then worry about the other things.
B.First, add comments to your code explaining variables for your grandma, then change the colors.
C.First, change the colors to be more exciting, because that's the easiest fix.
D.First, improve project descriptions to explain concepts simply (for grandma), then improve the visual design (for artist), and finally, clean up the code (for coder).
Challenging
Your newest project is a text-based adventure game. It looks very simple (just text on a screen), but it uses a complex system of variables and if/else statements to track player choices and change the story. How can you best showcase the project's complexity in your portfolio?
A.Only show a screenshot of the simple-looking start screen.
B.Include a short video or a diagram showing how different choices lead to different paths, and explain the logic in your description.
C.Write in the description, 'This project is extremely complex and advanced,' without any other details.
D.Don't include it in your portfolio because it doesn't look visually impressive.
Challenging
You built a portfolio and shared the link, but your analytics show almost no one is visiting it. What is the most logical sequence of steps to figure out why?
A.1. Double-check the link works. 2. Ask a friend to try the link on a different computer. 3. Share the link in more places where people will see it.
B.1. Rebuild the entire website from scratch. 2. Change all the colors. 3. Buy a custom domain name.
C.1. Add three more projects. 2. Write longer descriptions. 3. Post the link on your personal social media.
D.1. Delete your analytics so you don't have to worry about it. 2. Assume people don't like your projects. 3. Start a new hobby.

Want to practice and check your answers?

Sign up to access all questions with instant feedback, explanations, and progress tracking.

Start Practicing Free

More from Advanced Topics

Ready to find your learning gaps?

Take a free diagnostic test and get a personalized learning plan in minutes.