NF C++ CodeQuest

Grade 8 C++ · Learn at your own pace

Learn the idea.
Build the program.
Grow with feedback.

Short lessons, C++ coding practice, teacher-assigned quizzes and learning milestones—connected to your classroom and saved progress.

New students join with a teacher's class code. Existing students sign in with their Student ID and password.

hello_codequest.cppWorked lesson example
#include <iostream>

int main() {
    std::cout << "Hello, CodeQuest!\n";
    std::cout << "I am learning C++.";
    return 0;
}

Read the statements in order and predict what they display. Code Lab helps you save a solution and submit it for teacher feedback.

See the expected output
Hello, CodeQuest!
I am learning C++.

Use your classroom C++ compiler to compile and run downloaded .cpp files.

Connected to saved records

Your learning platform, right now

Registered students

1

Active staff accounts

3

Teaching sections

4

Published activities

0
13 C++ lessons13 Code Lab practice activities6 guided challenges16 learning milestones

Published activities include 0 assignments/challenges and 0 quizzes. These are saved platform totals; classroom schedules control when students can take them.

Live data loaded. Refreshes every 15 seconds while this page is visible.

Last successful update:

For students

Start with your teacher's class code.

Choose your grade and section, verify the matching code, then create your Student ID and password. Already registered? Sign in to continue your saved work.

Teacher-approved registration starts your account with 100 XP, using the system's current welcome reward.

Staff profile photo

For teachers

Guide your Grade 8 C++ classroom.

Create sections and join codes, assign lessons, publish timed quizzes and coding activities, and review student solutions with a learning rubric.

Class reports use saved learning evidence. Teachers make the final decision on Code Lab scores and feedback.

Explore the course

Build your C++ foundations

Lessons include worked examples, retryable checkpoints, reflection, and a linked Code Lab activity.

13 of 13 lessons shown

13 lessons in the current course library. Reading times are estimates; checkpoint practice is untimed.

Lesson 1 · 12 min read

Your first steps in programming

Introduction

Explain what an algorithm and a C++ program do, then trace a simple program.

Sign in to open lesson →
Lesson 2 · 8 min read

Your first C++ program

Program structure & output

Recognize the parts of a C++ program and print a message on a new line.

Sign in to open lesson →
Lesson 3 · 10 min read

Variables and arithmetic

Data types & operators

Store whole-number values in int variables and use them in a calculation.

Sign in to open lesson →
Lesson 4 · 10 min read

Read and use user input

Console input

Read a number into a declared variable, use it in a calculation, and display the result.

Sign in to open lesson →
Lesson 5 · 12 min read

Calculate with C++ operators

Operators

Apply arithmetic operators and explain integer division and remainder.

Sign in to open lesson →
Lesson 6 · 10 min read

Make decisions with if and else

Conditions

Choose between two actions using a comparison and an if/else statement.

Sign in to open lesson →
Lesson 7 · 12 min read

Repeat with a for loop

Loops

Use initialization, a condition and an update to print a countdown.

Sign in to open lesson →
Lesson 8 · 12 min read

Stop input with a sentinel

Loops & input

Use a while loop to process values until a sentinel appears, without adding the sentinel to the total.

Sign in to open lesson →
Lesson 9 · 12 min read

Organize code with a function

Functions

Define a function with a parameter, return a calculated value, and call it from main.

Sign in to open lesson →
Lesson 10 · 12 min read

Store a collection in an array

Arrays

Access valid array indexes and use a loop to total five values.

Sign in to open lesson →
Lesson 11 · 12 min read

Work with text using strings

Strings

Store a word in std::string and combine it with a greeting.

Sign in to open lesson →
Lesson 12 · 12 min read

Find and fix a small bug

Debugging

Distinguish compiler, runtime and logic errors, and trace a repair.

Sign in to open lesson →
Lesson 13 · 12 min read

Build a classroom supplies mini-project

Mini-projects

Plan, implement and test a program that totals supplies for three teams.

Sign in to open lesson →

A classroom learning journey

Understand it, practise it, explain it.

Learn

Read a focused lesson, trace an example, check your understanding and ask your teacher for help.

Build

Write your own C++ solution, save your draft and explain how you tested your approach.

Improve

Use final teacher feedback to revise your work. Saved rewards and badges record your progress.

Before you join

Where do I get a class code?

Ask your classroom teacher. Choose the matching grade and section during student registration. A paused enrollment or replaced code needs your teacher’s current instructions.

Can I practise before I know much C++?

Yes. Start with the first program lesson and follow the sequence through variables, input, decisions, loops and functions. Checkpoints can be retried while you learn.

How do quizzes and coding assignments work?

Your teacher publishes work to your grade and section. Quiz schedules and attempt limits are checked by the server. Coding assignments may also have a deadline and a work timer.

How is my code assessed?

Code Lab saves your source and explanation. Your teacher reviews the submitted version and saves the final rubric scores and feedback. Guided code checks help you look for common mistakes.

Your class records stay in your account

The public homepage shows platform totals and course topics. Student code, quiz answers, roster identities and class join codes are available only through the appropriate signed-in account. Students can choose how their nickname and avatar appear to classmates on the leaderboard.