13
Welcome to COMPUTER PROGRAMMING I (TA C162) LECTURE 1 – INTRODUCTION

Lect1 Intro

Embed Size (px)

DESCRIPTION

CS

Citation preview

Page 1: Lect1 Intro

Welcome toCOMPUTER PROGRAMMING I

(TA C162)

LECTURE 1 – INTRODUCTION

Page 2: Lect1 Intro

Today’s AgendaIntroduction

Policies to follow

Course Administration

Introduction to Computer Programming IIntroduction to Computer Programming I (CP 1)

Thursday, January 7, 2010 Biju K Raveendran@BITS Pilani. 2

Page 3: Lect1 Intro

IntroductionInstructors

Dr. Biju K RaveendranA – 413CS/IS [email protected] Time: Anytime between 10 A M to 10 P MConsultation Time: Anytime between 10 A.M to 10 P.M

Dr. Bharat M DeshpandeA – 408A 408CS/IS [email protected] Time:

CP – I TeamMr Ar l Mr Ar n Mrs Cenitta Mr Ga ra & Mr MahadeMr. Arul, Mr. Arun, Mrs. Cenitta, Mr. Gaurav & Mr.Mahadev

Thursday, January 7, 2010 Biju K Raveendran@BITS Pilani. 3

Page 4: Lect1 Intro

Policies to FollowClass room

No entry after11:05 A MNo entry after11:05 A.MNot allowed to leave in between the class

LabCome well before timeAllowed to leave after the successful completion of the Lab sheetof the Lab sheet

Thursday, January 7, 2010 Biju K Raveendran@BITS Pilani. 4

Page 5: Lect1 Intro

Course AdministrationLabs

11 LabsBest 10 out of 11 for evaluation.10% weightage for the labsO l b i i f 1 h ( til fi i h thOne lab session is for 1 hours (until you finish the problem)On LINUX basic UNIX commands VI editor shellOn LINUX – basic UNIX commands, VI editor, shell scripting, LC-3 simulator and C programming

Thursday, January 7, 2010 Biju K Raveendran@BITS Pilani. 5

Page 6: Lect1 Intro

Course AdministrationTests

Test 1Day,Date & Time:Saturday, 24 – 02 – 2010 (8:30 – 9:30)Weightage: 15%Mode: Closed Book

T t 2Test 2Day,Date & Time:Saturday, 31 – 03 – 2010 (8:30 – 9:30)Weightage: 15%Weightage: 15%Mode: Closed Book

Make-up PolicyMedical certificate from the doctor (Dr. Ragvendra)Photocopy of the medicial reports & Bills

N k f l ti ’ iNo makeup for relative’s marriageThursday, January 7, 2010 Biju K Raveendran@BITS Pilani. 6

Page 7: Lect1 Intro

Course AdministrationOnline test(s)Online test(s)

Programming in NatureWeightage: 20%Weightage: 20%If found copied – We will report to disciplinary committee & -20% will be awarded.

Comprehensive ExaminationComprehensive ExaminationDay, Date & Time:Wednesday,12 – 05 – 2010, FNWeightage: 40%Weightage: 40%Mode: Partial Open Book

Thursday, January 7, 2010 Biju K Raveendran@BITS Pilani. 7

Page 8: Lect1 Intro

Course AdministrationMaterial:Material:

ftp://10.1.1.223/ACADEMICS%2009-10/SEM-II/TA/ TA C162 COMPUTER PROGRAMMING I_ _ _ _

Text Book – 1:Introduction to Computing Systems (From Bits and p g y (Gates to C and Beyond), Yale N. Patt, and Sanjay J. Patel. McGraw Hill International Edition 2001.

T t B k 2Text Book – 2:Problem Solving and Program Design in C, J R Hanlyand E B Koffman Pearson Education Fifth Edition 2007and E B Koffman, Pearson Education Fifth Edition 2007

Note: Make it a habit to visit course ftp page. The page will be updated on a daily basisThe page will be updated on a daily basis

Thursday, January 7, 2010 Biju K Raveendran@BITS Pilani. 8

Page 9: Lect1 Intro

Introduction to CP IBuild understanding from the bottom up

BitsBits

GatesGates

ProcessorProcessor

InstructionsInstructions

C P iC ProgrammingThursday, January 7, 2010 Biju K Raveendran@BITS Pilani. 9

Page 10: Lect1 Intro

Course Layout1. Data Representation in Computers2. Digital Logic Structuresg g3. Building a Simple Computer i.e. LC-3

Programming the LC3 Computerg g pLC-3 Machine Language

4. Problem Solving Techniquesg qFlow Charting and Algorithm design Translation of Flow Chart/Algorithm into aTranslation of Flow Chart/Algorithm into a computer program

5. C Language Programmingg g g g

Thursday, January 7, 2010 Biju K Raveendran@BITS Pilani. 10

Page 11: Lect1 Intro

A Computer System Have

Memory UnitMemory UnitTo store information

Processing UnitProcessing UnitTo process the information

Control UnitControl UnitTo control the overall operation!!!

Anything Else???Anything Else???Let’s connect all of them. How???

Thursday, January 7, 2010 Biju K Raveendran@BITS Pilani. 11

Page 12: Lect1 Intro

Block Diagram of a Computer

Memory

Input Output

Processor

Input Output

Data Flow

Control Flow

Control Unit

Thursday, January 7, 2010 Biju K Raveendran@BITS Pilani. 12

Page 13: Lect1 Intro

Next Class…

How to represent the Data???How to represent the Data???Number SystemsRepresentation of numbersRepresentation of numbers

Thursday, January 7, 2010 Biju K Raveendran@BITS Pilani. 13