Lecturer : Dr Rosely Bin Kumoi
Programming Technique I (SECJ) is a course that equips the students with theory and practice on problem solving techniques by using the structured approach. Students are required to develop programs using C++ programming language, to solve simple to moderate problems. The course covers the following: pre-processor directives, constants and variables, data types, input and output statements, control structures: sequential, selection and loop, built-in and user-defined functions, single and two-dimensional arrays, file operations, pointers, and structured data types.
Note : Use a IDE to Open all the Code files given below.
Course Overview
Template.cpp
This file was given by Mr.Rosely as a reference for all upcoming code. Every code has a template and for C++ this is the basic template.
Check odd or even task
Mr.Rosely instructed us to code a program that could check whether if integer entered by user is odd or even and it should display if its odd or even respectively as an output.
Palindrome Checker
Mr.Rosely gave us a task whereby we need to code a working palindrome checker. This code also must implement a do while loop.
Calculator
One of the many task given by Mr.Rosely is a working calculator. This program should be able to handle all addition, subtraction, multiplication and division operation for integers.
Project.cpp
Our final semester Project is a complicated code for a Travel and tours system.
The system should have:
- Struct
- User
- Package
Implemented in the code
Task of the code is to be able to:
- display available tour destination package
- buy a specific package
- print package bought
The code for an example given by Mr.Rosely for a housing system is given in the "Download My Assignments here!" Tab.
Reflection
Programming Technique I (SECJ) is a course where I learned about the theory and practice on problem solving techniques using C++. Programming is important to humankind because of the use of this mechanics in computers, robots, automobiles, and industrial control systems.
This course strengthens my chances of achieving my dream which is to become a successful machine learning engineer. I would like to thank my lecturer towards Dr. Rosely Bin Kumoi and my groupmates. The tasks given was so complicated, but with the help of Dr. Rosely it was completed with ease.
Overall, I am more than happy to say that I completed this course successfully because this course was one of the hardest courses in my study. C++ was certainly not a thing to learn in a day, therefore I would like to express my thanks towards Mr. Rosely for guiding me through this course.
Template.cpp
-
Download Template.cpp
Template.cpp Details
- Wednesday, 03 February 2021 [111 B]
Checkoddoreventask.cpp
-
Download check odd or even.cpp
check odd or even.cpp Details
- Wednesday, 03 February 2021 [367 B]
PalindromeChecker.cpp
-
Download Working_palindromWordsChecker_DoWhileLoop.cpp
Working_palindromWordsChecker_DoWhileLoop.cpp Details
- Wednesday, 03 February 2021 [833 B]
File.cpp
-
Download files4.cpp
files4.cpp Details
- Wednesday, 03 February 2021 [1.2KB]
Calculator.cpp
-
Download calculator.cpp
calculator.cpp Details
- Wednesday, 03 February 2021 [881 B]