Computer Programming fundamentals Part 2


Course ID

CPF2

Instructor

Cost

$384 AUD including GST for 16 hours.

Summary

This is part 2 of computer Programming fundamentals. Starts from where the part 1 left off. So part1 is a must have for this course. This part deals with functions, multifile programs, strings, customer data types and file handling. The course will be using all the constructs we learned in the Part 1 as well. Like Part 1 this is also Programming language and computer platform agnostic. While the default flavor of this course is in C# or Python this is also conducted in Python 3.0, Java, C++, PowerShell and JavaScript.

Prerequisites

Computer programming fundamentals part 1. You will not be eligible to independently participate in this course unless you have completed Part 1 of this series. Students should bring a laptop preferably with a windows 7 or later OS. We will be using “Visual Studio Code” with “Mingw compiler” for all practicals ( windows port of gcc ).

Contents

Hour1 - Functions - Concept

The concept of functions. Handling things when it gets bigger. Declaration and definition, multifiles. Passing parameters and returning values as input and output from a function. Sharing data between functions and files. Extern keyword.

Hour2 - Functions - Coding

Creating functions. Declaration and definition of functions, functions in multiple files. Passing parameters and returning values as input and output from a function. Sharing data between functions and files with global variables. Extern - working of the keyword.

Hour3 - String handling

String in programming. What is a string. String literals. String operations. functions and library. importance. unicode, ascii and other encodings.

Hour4 - String handling - Coding

String copy. String concatenate. Inside a string. String library functions. String formats.

Hour5 - Custom data types.

Data types revisit. Arrays revisit. Custom data type. Class / struct keyword. The object of a class. Elements or members of a class - data types and functions.

Hour6 - Custom data types - Coding

Class keyword. Creating class. Creating objects. Creating nested objects. Access of elements.

Hour7 - File Handling and command line arguments.

Concept of saving data into disk. Types of memory register cache memory disk. File system. Files. Opening a file. Modes of opening, read write - close. file and programs… like jpg doc xls etc. Input to the program - command line arguments.

Hour8 - File Handling and command line arguments - coding

Create read and write to file. View the file from outside of the program. System restart. View content. Run and read. Command line arguments.

Hour 9 to 16 Mini Project Coding- Student Library

Understanding the requirements and use cases. Thinking about potential future use cases and enhancements. Figuring out the objects. Operations on objects. Backend plain text file. Middle tier functions implement operations. Basic features. Entering student details. Entering books details. Student takes a book. Student returns a book. Targets and deadlines Hour 11 - CURD students. Hour 13 - CURD books. Hour 15 - Student take and return a book. Hours 16 conclusion. The necessity of threading atomicity, frameworks, database.

 

Duration

16 hours

Level

2

Setup

Students should bring a laptop preferably with a windows 7 or later OS. We will be using Visual Studio code with Mingw compiler ( windows port of gcc ). Mac and Linux also acceptable while Windows is highly recommended to maintain the uniformity. Mac and Linux users please follow this before coming for the training.