Skip to main content

ICP

Introduction to Computer Programming

Course Description

This course is an introduction to computer programming using the C programming language. learnt the fundamentals of programming, including variables, data types, control structures, functions, arrays, and the mechanics of running, testing, and debugging(GDB)

Completed the course with a grade of A

Commands used

For compiling

gcc -o <output_file> <input_file>

For running

./<output_file>

for compiling with debugging symbols

gcc -g -o <output_file> <input_file>

for running with debugging symbols

gdb ./<output_file>

Special Topic

We were introduced to new programming language called VSC which is stands for Very Simple Computer, this was made by the professor to help us understand the basics of programming and how the computer works. It contains only 16 instructions and 1000 memory locations.

Course Content

  • Data Types
  • Variables
  • Control Structures
  • Functions
  • Arrays
  • Pointers
  • Structures
  • File I/O
  • GDB

Professor

  • Dr. Harish Karnick