Skip to main content
SKL
All courses
Course cover: CPR-101

Course

Practical Programming in C and C++

Learn programming fundamentals in C from zero, move the same code to C++, and build four small projects that apply each lesson.

  • CPR-101
  • Beginner
  • 15 hours
  • On demand

A course for complete beginners. It starts with how computers and software work, then you write your first program in C.

You learn input and output (printf and scanf, cin and cout in C++), variables and data types, if statements, loops, arrays, functions and strings. A dedicated lesson converts the code from C to C++, so you see the same concepts work in both languages.

Every topic is practised in exercises solved step by step, and in small projects: an age calculator, a body mass index calculator, a currency converter and a simple ATM.

What you'll build

  • Write and run complete C programs on your computer
  • Use variables, if statements, loops, arrays and functions
  • Work with strings, input and output
  • Move a program from C to C++
  • Break a problem into clear steps before writing code
  • Build an age calculator, BMI calculator, currency converter and ATM

Course outline

12 modules · 107 lessons · Total 14 h 34 min

    • Introduction

      Included after you enrol

      1 min

    • What is Computer ?

      Included after you enrol

      1 min

    • Computer Hardware

      Included after you enrol

      3 min

    • Computer Software

      Included after you enrol

      3 min

    • What is Computer Science

      Included after you enrol

      2 min

    • What is Programming

      Included after you enrol

      2 min

    • Why we build Software

      Included after you enrol

      4 min

    • SW Development Cycle

      Included after you enrol

      9 min

    • What is Programming Language

      Included after you enrol

      9 min

    • C Versions

      Included after you enrol

      3 min

    • Why C

      Included after you enrol

      7 min

    • Why not C

      Included after you enrol

      1 min

    • Summary

      Included after you enrol

      1 min

    • Code Editor

      Included after you enrol

      1 min

    • Compiler

      Included after you enrol

      2 min

    • Compiler Examples

      Included after you enrol

      1 min

    • Linker

      Included after you enrol

      2 min

    • Debugger

      Included after you enrol

      1 min

    • Preprocessor

      Included after you enrol

      2 min

    • IDEs

      Included after you enrol

      3 min

    • Compiling Code Examples

      Included after you enrol

      8 min

    • Requirements Analysis and Pseudo code

      Included after you enrol

      11 min

    • Coding BMI Project 1

      Included after you enrol

      10 min

    • Coding BMI Project 3

      Included after you enrol

      8 min

    • Testing BMI Project

      Included after you enrol

      11 min

    • From C to C++

      Included after you enrol

      14 min

    • What is problem solving and how to start with HackerRank

      Included after you enrol

      11 min

    • Variables and Datatypes

      Included after you enrol

      2 min

    • Declaration, Input and Logic of Cake Example

      Included after you enrol

      5 min

    • Data types in C

      Included after you enrol

      6 min

    • Custom Data Types (Intro)

      Included after you enrol

      2 min

    • Exercises on Data Types

      Included after you enrol

      16 min

    • sizeof()

      Included after you enrol

      2 min

    • Identifiers and Naming Variables

      Included after you enrol

      3 min

    • Important Exercises

      Included after you enrol

      9 min

    • Challenge (Swap)

      Included after you enrol

      1 min

    • Challenge Solution (Swap)

      Included after you enrol

      8 min

    • Constants & const keyword

      Included after you enrol

      8 min

    • #define

      Included after you enrol

      3 min

    • Exercises (important)

      Included after you enrol

      7 min

    • Literals

      Included after you enrol

      1 min

    • ATM Project Requirements

      Included after you enrol

      10 min

    • Project Pseudo Code

      Included after you enrol

      14 min

    • Coding the project

      Included after you enrol

      10 min

    • printf() part 1

      Included after you enrol

      13 min

    • printf() part 2

      Included after you enrol

      13 min

    • Operations on Data and Variables

      Included after you enrol

      12 min

    • Operator Precedence

      Included after you enrol

      14 min

    • Division

      Included after you enrol

      9 min

    • Postfix and Prefix ++

      Included after you enrol

      7 min

    • Assignment Operator =

      Included after you enrol

      3 min

    • Compound Operators += -= *=

      Included after you enrol

      3 min

    • Important Practice

      Included after you enrol

      1 min

    • Exercises Solutions 1

      Included after you enrol

      18 min

    • Exercises Solutions 2

      Included after you enrol

      15 min

    • Age Calculator Project

      Included after you enrol

      6 min

    • Age Calculator Project - Coding

      Included after you enrol

      21 min

    • scanf() - Formatted Input

      Included after you enrol

      3 min

    • Read formatted date scanf()

      Included after you enrol

      6 min

    • scanf() part2

      Included after you enrol

      4 min

    • scanf() part2 - exmaples

      Included after you enrol

      14 min

    • Conditionals (if-else) part 1

      Included after you enrol

      17 min

    • Conditionals (if-else) part 1 examples

      Included after you enrol

      5 min

    • Leap Year Example

      Included after you enrol

      4 min

    • Student Grades Example

      Included after you enrol

      15 min

    • Currency Converter If-Else

      Included after you enrol

      16 min

    • switch case 1 - Currency conversion

      Included after you enrol

      13 min

    • switch case rules 2

      Included after you enrol

      9 min

    • Loops Introduction with Example

      Included after you enrol

      10 min

    • Understand Loops

      Included after you enrol

      11 min

    • While loop

      Included after you enrol

      9 min

    • While loop example 2

      Included after you enrol

      23 min

    • Do-While loop with example

      Included after you enrol

      6 min

    • for loops part1

      Included after you enrol

      8 min

    • for loops part2

      Included after you enrol

      22 min

    • Loops exercises 1 + Continue

      Included after you enrol

      25 min

    • Loops exercises 2 + break

      Included after you enrol

      15 min

    • Loops exercises: Average

      Included after you enrol

      5 min

    • Prime numbers

      Included after you enrol

      25 min

    • Triangles Example Nested Loops

      Included after you enrol

      14 min

    • Arrays & Values Index

      Included after you enrol

      21 min

    • Working with Arrays: read elements and print

      Included after you enrol

      19 min

    • Sum and Average of Array Elements

      Included after you enrol

      5 min

    • Find Elements in Array

      Included after you enrol

      9 min

    • Find Max and Min in Array

      Included after you enrol

      8 min

    • 2d Arrays rows and columns

      Included after you enrol

      5 min

    • How 2D arrays are stored

      Included after you enrol

      1 min

    • Working with 2D arrays using nested loops

      Included after you enrol

      8 min

    • Working with 2D arrays CODE

      Included after you enrol

      6 min

    • 2D Arrays Example

      Included after you enrol

      3 min

    • Understanding Strings

      Included after you enrol

      8 min

    • Coding: Understanding Strings

      Included after you enrol

      10 min

    • Read strings characters using getchar()

      Included after you enrol

      15 min

    • Coding: String examples

      Included after you enrol

      8 min

    • Count Spaces in Strings Example

      Included after you enrol

      19 min

    • What are functions and why

      Included after you enrol

      6 min

    • Design your function

      Included after you enrol

      5 min

    • Parameters, Return Types, Name and Body

      Included after you enrol

      7 min

    • Example on function design

      Included after you enrol

      4 min

    • Coding: Power function

      Included after you enrol

      7 min

    • Where to define functions + examples

      Included after you enrol

      12 min

    • Function Examples

      Included after you enrol

      10 min

    • Scope, Local and Global Variables

      Included after you enrol

      7 min

    • Parameters VS Arguments

      Included after you enrol

      2 min

    • Passing by Value & By Reference

      Included after you enrol

      5 min

    • Passing by Reference Example

      Included after you enrol

      2 min

    • Passing Arrays To Functions

      Included after you enrol

      10 min

Requirements

  • A computer to practise on
  • No previous programming experience needed

Who this course is for

  • Anyone who wants to learn programming properly from the basics
  • Computer science and computer engineering students in their first years

Reviews

No reviews yet.