A database is a persistent organised store of related data on a computer system.
Key terms:
Serial File - a file of items one after the other
Sequential File - a serial file in order
Entity - something that we store data about in a database
Record - all the data about one item in a database
Attribute - a characteristic of an entity. it becomes a field in a data table
Field - a characteristic of something stored in a database
it is organised so computer programs can easily select or edit data.
database software has to be able to create, retrieve , update and delete the data in the database in a database. this can be referred to as a CRUD.
most computer systems store, process and retrieve data.
this is a simple python program that writes numbers into a file
#program to write ten values to a disk file
f = open ('workfile.txt', 'w')
for x in range (1,11)
f.write(str(x))
f.write('\n')
f.close()

No comments:
Post a Comment