ICS Notes Computer Science Part 2
ICS Notes Computer Science Part 2
Ans. Data is raw facts whereas information is processed form of data. Data is
given to the computer for input and information is received from the computer in
the form of output.
Master file
Transaction file
Back up file
Program files
Data files
Sequential files
Direct or random access files
Indexed sequential files
Hardware:
The physical components of a system it includes:
Personnel:
People who involve with the system:
Programmer / Analyst
End Users
Database Administrator.
Chapter 2: Basic Concepts and Terminology
Q 1. Define relation.
Ans. In relational database the table in which data is stored is called a relation.
Collection of rows and column is called table. Each intersection of a row and
column is called cell. Table contains the descriptive information about an entity.
Table is also called relation. Each file in a file management system corresponds to
a table in database management system.
Q 2. What is an Entity?
Ans. Anything about which we want to store data is called entity. It can be a
person, place or event etc. Entity always has a unique name with in a domain.
Q 4. What is a key?
Ans. A key field is a field or set of fields of a database table which together form a
unique identifier for a database record. The aggregate of these fields is usually
referred to simply as "the key". A key field also defines searches.
Q 4. Define cardinality.
Ans. The number of entity occurrences of first entity associated with one or more
occurrences of the second entity is known as cardinality. It is expressed as one or
many e.g. a country can have many cities but a country can have only one capital.
Q 5. Define Modality.
Ans. Modality defines whether the participation of an entity in a relationship is
mandatory or optional. If a relationship has a cardinality of zero, then is is an
optional relationship. If relationship has cardinality of at least one the relationship
is mandatory.
Q 6. What is E-R diagram?
Ans. An entity relationship E-R diagram is a specialized graphic that illustrates the
interrelationships between entities in a database. ER diagram often use symbols to
represent three different types of information.
Ans. In centralized database all the data is stored at single location. It is easy but
have a few disadvantages. Data communications may be high in some cases. Data
is not readily accessible by remote users. If central server fails, whole database
fails.
Q 3. What is redundancy?
Ans. Redundancy appears when same data values are stored more than once in a
table. It is also called redundancy if the same values are stored in more than one
table.
Q 4. What is normalization?
Ans. Normalization is s process of converting complex data structures into simple
and stable data structures. It is a technique for reviewing the list of entities and
their attributes to ensure that attributes are stored from where they belong. In other
words we can say that it is a process of analyzing the dependencies of attributes
within entities.
Q 2. What is wizard?
Ans. A wizard is a helper application that makes performing complex tasks easier.
A wizard has a simple decision in a window, which has back and next buttons
underneath. When you have filled in the required data, you click the next button to
go to the next window, or you can click the back button to change your previous
decision.
Q 5. What is a table?
Ans. Table is a collection of rows and columns. All the intersection points of rows
and columns are called cells. In these cells data can be stored. Each column of
table represents a field. Each field is specified to store a particular type of data.
Table can be viewed in different ways but most commonly used are datasheet view
and design view.
Q 6. What is a query?
Ans. Query is a database object used to get data from the database. In query we
can specify a certain criteria to get the required data. The actual objective of data
storage is that it can be retrieved when ever required. Using query object data can
also be deleted and updated.
Q 7. What is a form?
Ans. The window that is used to enter data into the database is called a form.
Using form data can be entered, edited and even viewed in Microsoft Access. Data
entered in forms directly goes to the tables. Forms are always made after table
creation. The fields on forms are linked to the table fields.
Q 9. What is an IDE?
Ans. IDE stands for integrated development environment. It is a simple and easy
way to do a task. It presents graphical objects like buttons, icons and menus to
perform certain operations. Using IDE a new user and programmer can easily do
their jobs. MS Access also provides the same facility for its users.
Chapter 6: Table and Query
Q 1. What is a table?
Ans. Table is a collection of rows and columns. Each intersection of row and
column is called a cell. Cell is the place where data is placed. Table is the
fundamental object of relational database. Table is also known as relation. Each
row represents a tuple and each column represents an attribute of an entity. Table
or relation itself represents an entity.
Q 5. What is a report?
Ans. Reports are the output of database application. The user can generate
different types of reports by manipulating the database.
Q 6. What is linking?
Ans. The process of linking in MS Access creates a link to an object in another
database table. In this method table is not copied from its original location but just
linked.
Q 7. What is a switch board?
Ans. A switchboard is essentially a Microsoft Access form that allows you to
facilitate navigation or perform tasks within your database application. This form
is basically a customized menu that contain user-defined commands, using either
buttons, labels, images or hyperlinks, that involve actions that will automatically
carry out tasks for you such as opening other forms, naming queries or printing
reports.