Introduction To Computer Programming: BITS Pilani
Introduction To Computer Programming: BITS Pilani
COMPUTER
PROGRAMMING
Dr. Pratik Narang
BITS Pilani Computer Science and Information Systems Department
BITS, Pilani
Pilani Campus
OVERVIEW OF THE LECTURE
• General course information
• Introduction to Programming
1. Patt, yale. Introduction to computing systems: from bits & gates to C &beyond
(2/e). Mcgraw hill education, 2017.
2. Forouzan, b.A. And richard F. Gilberg . computer science A structured
programming approach using C (3/e). Cengage learning, 2007
3. Gottfried, B.S. and Jitender chhabra. Programming with C (schaum's outlines
series, 3/e). Mcgraw hill education, 2017.
4. Kernighan, b.W and dennis ritchie. The C programming language (2/e).
Pearson education india, 2015.
5. Das, s. Unix: concepts and applications (4/e). Mcgraw hill education, 2017.
6. Das, Sumitabha. Computer fundamentals and C programming. New delhi,
india: mcgraw hill education. (2018)
GENERAL COURSE INFORMATION
Lab Sessions:
Weekly 2 hour
Lab sessions on Ubuntu – install OS or VM on
your machines [DIY]
Nalanda
LMS of BITS Pilani.
OBJECTIVE OF THE COURSE !
OBJECTIVE OF THE COURSE !
Registers (inbuilt on
the processor)
Cache (inbuilt on
Cost and Speed
the processor)
Size
Primary (RAM,
ROM)
Secondary (HDD,
FlashMemory)
INTRODUCTION TO PROGRAMING
LANGUAGE
Program ?
INTRODUCTION TO PROGRAMING
LANGUAGE
Program
Collection of instructions that performs a specific
task when executed by a computer
INTRODUCTION TO PROGRAMING
LANGUAGE
Program
Collection of instructions that performs a specific
task when executed by a computer
Program
Collection of instructions that performs a specific
task when executed by a computer
Assembly Ease of
Language understanding
Machine language
INTRODUCTION TO PROGRAMING
LANGUAGE
Machine Language
Difficult to learn
INTRODUCTION TO PROGRAMING
LANGUAGE
Assembly Language:
Requires assembler
INTRODUCTION TO PROGRAMING
LANGUAGE
English-like
Easier
Requires Compiler
Kernel
A Program that constitutes the central
core of the Operating System
Responsible for
Process Management
Memory Management
File Management
I/O Management
UNIX OPERATING SYSTEM
Shell
Modes of operation
User: Less privileged
Kernel: privileged mode