DSA - Unit1 - U-1
DSA - Unit1 - U-1
Dr L Josephine Usha
Dr P Shunmuga Sundari
Dr R Deepalakshmi
Topics to be covered
a) Each student is an entity, and the collection of students is the entity set. The properties, name,
major, and so on. of the students are the attributes.
b) The field values are the values assigned to the attributes, i. e., the actual names, test scores,
and so on. The field values for each student constitute a record, and the collection of all the
student records is the file.
c) Either Name or Student Number can serve as a primary key, since each uniquely determines
the student’s record. Normally the professor uses Name as the primary key, but the registrar may
use students Number.
Programming in C
Introduction
• C is a programming language developed at AT & T Bell
Laboratories of USA in 1972, designed and written by “Dennis
Ritchie”.
• C is highly portable i.e., software written for one computer can
be run on another computer.
• An important feature of C is its ability to extend itself.
• Basically it is a collection of functions.