Computer 1 New
Computer 1 New
Q 1. What is data?
Ans. Data is raw facts and figures, such as numbers or names. It has no meaning until processed by a computer.
Q 2. What is information?
Ans. Information is processed data that is meaningful and useful. It helps in decision-making and understanding
results.
Q 6. Define field?
Ans. A field is a column in a database table that stores one type of data. It represents an attribute of an entity.
Q 7. Define record.
Ans. A record is a set of related fields about one item or person. For example, a student record has name, roll no,
and marks.
Q 8. Define file.
Ans. A file is a collection of related records treated as a single unit. For example, a student file contains all the
records of students.
Chapter 2
Q 1. Define relation.
Ans. In a relational database, a relation is a table where data is stored. It consists of rows and columns, with each
intersection called a cell. Tables represent descriptive information about an entity.
Q 2. What is an Entity?
Ans. An entity is anything about which data is stored, such as a person, place, or event. It always has a unique name
within a domain.
Q 4. What is a key?
Ans. A key field is a unique identifier for a database record, created from one or more fields in a table. Keys are also
used for defining search criteria.
Chapter 3
Q 1. Define analysis.
Ans. Analysis is the process of studying the existing system and determining what should be included in the new
system. It is crucial for developing a database system, and the person responsible for this is called an "Analyst."
Q 4. Define cardinality.
Ans. Cardinality refers to the number of occurrences of one entity associated with occurrences of another entity,
such as a country having many cities but only one capital.
Q 5. Define Modality.
Ans. Modality defines whether an entity's participation in a relationship is mandatory or optional. A cardinality of
zero means an optional relationship, while at least one means a mandatory relationship.
Chapter 4
Q 3. What is redundancy?
Ans. Redundancy occurs when the same data is stored more than once in a table or across multiple tables.
Q 4. What is normalization?
Ans. Normalization is the process of converting complex data structures into simpler, stable ones by analyzing
attribute dependencies to ensure data is stored correctly.
Chapter 5
Q 2. What is a wizard?
Ans. A wizard is a helper application that simplifies complex tasks by guiding users through a series of steps with
back and next buttons.
Q 5. What is a table?
Ans. A table is a collection of rows and columns, where each column represents a field that stores a specific type of
data. Data is stored in cells at the intersections of rows and columns.
Q 6. What is a query?
Ans. A query is a database object used to retrieve, update, or delete data from a database based on specific criteria.
Q 7. What is a form?
Ans. A form is a window in Microsoft Access used to enter, edit, or view data, with fields linked directly to the
corresponding table fields.
Chapter 6
Q 1. What is a table?
Ans. A table is a collection of rows and columns, with each intersection (row and column) called a cell where data is
stored. It is the fundamental object in a relational database and represents an entity.
Chapter 7
Q 1. What is a form?
Ans. A form is a window with visual components (controls) like text boxes, labels, and checkboxes used to input
and display data in a database.
Q 5. What is a report?
Ans. A report is an output document generated from a database to present data in a structured and readable format.
Q 6. What is linking?
Ans. Linking creates a connection to a table in another database without copying it, allowing access to external data.
Chapter 8
1. Machine language
2. Assembly language
Easy to learn
Easy to remove errors
Machine independence
Standard syntax
Shorter programs
Chapter 10
Chapter 11
c
CopyEdit
if(condition1) statement1;
else if(condition2) statement2;
...
else defaultStatement;
c
CopyEdit
switch(expression) {
case const1: statements; break;
case const2: statements; break;
default: statements;
}
Q11. What is nested if statement?
Ans. An if statement inside another if is called nested if. Syntax:
c
CopyEdit
if(condition1) {
if(condition2) {
statement;
}
}
Chapter 13
Chapter 14