Date post: | 05-Dec-2014 |
Category: |
Education |
Upload: | andrew-raj |
View: | 1,818 times |
Download: | 3 times |
TheoryAssignment‐1
4. Answerthefollowing:
a. What are is a DBMS ?
A Database Management System (DBMS) arranges all your data in an orderly manner so that
you can retrieve information easily whenever you need it. Database management involves
creating, modifying, deleting, and adding data in a database. The software that performs these
functions is called a Database Management System.
b. Name any two DBMS software. Microsoft Access and My SQL are examples of DBMS software.
c. What is a Primary Key ? Explain with the help of an example.
A primary key is one (or more) column(s) whose values uniquely identify every row in a table.
The value in the primary field is different for every record and thus, helps to identify records
uniquely. For example, in a table containing information about students of Class VIII A, the
column Roll No behaves as the primary key as every student has a unique roll number.
d. List the four objects in a Microsoft Access database.
The four objects in a Microsoft Access database are:
i. Tables: They store the data in a database.
ii. Forms: They make it easy to enter data in tables.
iii. Query: Based on selection criteria, a query retrieves data from one or more tables and displays
it on screen.
iv. Report: It retrieves data and displays it in an easy‐to‐read format for printing.
e. What are the two ways of creating a Microsoft Access database ?
The two ways of creating a Microsoft Access database are by using a blank database or
by using a template.
f. What are the two areas of Design view ?
The Table Design view window consists of two areas:
1. The Field Grid pane or Field Entry area: It allows us to specify field names and data types.
We can also give a description with each field, though this is optional.
2. The Field Properties pane: It allows us to enter more details for each field, like field
size, validation rule, etc.
g. Name any four data types available in Microsoft Access.
Four data types available in Microsoft Access are Text, Memo, Number, and Date/Time.
h. How do you create a table in an existing database ?
Open the database. Click Table Design in the Tables group of the Create tab. The Table Design
view window appears. Here you can create whatever fields you like and select the data types for
each field.
*****************************
Class 8
DB, Egmore ‐ [RA]
TheoryAssignment‐2
4. Answerthefollowing:
a. Which Access view allows more control over table structure ?
Design view in Access allows more control over table structure.
b. What is a validation rule ?
A validation rule limits the value that the field will accept. For example, if the validation rule for a field is <= 100, it means that the field must be less than or equal to 100. If you enter a value greater than 100, you will get an error message.
c. Write a validation rule to ensure that the value of the Salary filed is less than 50000.
The validation rule to ensure that the value of the Salary field is less than 50000 should be < 50000.
d. If you want the Received_Amount field to already have the values Yes during data entry, what property will you use ?
The Default Value property should be used if you want the Received_Amount field to already have the value Yes during data entry.
e. What is the maximum length of data in a Text field ?
The maximum length of data in a Text field is 255 characters.
f. What is a query ? Why are queries required ?
Queries are a method of getting answers to questions about data. Microsoft Access saves each query in the database. A saved query can be run again anytime in the future.
g. What is a Form ? Write two uses of forms.
A form provides an easy‐to‐use method for entering and editing data for those who are not familiar with Access. Forms provide a way of viewing and deleting data.
h. What is a Report ? Mention its use.
Reports are an effective way to present data in printed format. You can control the size and appearance of everything on a report. Thus, you can display the information the way you want to see it.
*****************************
Class 8
DB, Egmore ‐ [RA]
4
4. Answ
a. NameThe <im
b. What The TYattribu
c. Identi
<ul typ
d. Write i. Orde
e. What
f. What
An ord<ol> and
g. Identi
h. What
ALT spe
BORDE
werthefol
e the HTML tmg> tag is used
values can tYPE attribute sute can have A
fy the error
pe="I"> A
the expansered list
will be the o
is the use o
dered list defi
d </ol> tags. Th
fy the error
are the follo
ecifies the tex
ER specifies th
llowing:
tag used to id to insert an
the type attspecifies the tyA, a, i, I, or 1 a
in the follow
Answer : <o
ions of the f ii. List
output of th
f <OL> tag ?
fines a list of ite
he START and
s and rewrit
owing attrib
xt to be display
he thickness o
**
In <olsh
TheoryA
insert an imn image. ALIG
ribute of theype of numbeas values.
wing statem
l start="value
following. item
he following
? Name two
ems in which
d TYPE attribu
te the correc
butes of the
yed while the fi
of the border
***********
The ou
c. ENGd. Hinde. Mat
the given HTl>; </h4> mustould be inser
Assignmen
age. Write aGN and BORD
e <OL> tag hring to be use
ment and wr
e" type="I">
iii. Unorde
g HTML code
attributes t
the order of it
utes specify th
cted HTML c
<IMG> tag u
file loads or if
surrounding
***********
utput will be:
GLISH di hs
TML code, <ut be replacedrted above the
nt‐3
any two attrDER are two a
have ? ed in an ordere
rite the corre
Or <ol type=
ered list
e.
that can be u
tems matters
he numbering
code.
used for ? A
f the browser d
the image.
*******
ul>must be red by </h3>; thee </html> tag.
ributes usedattributes use
ed list. The TYP
ected statem
"I">
used with th
. The list item
scheme.
ALT, BORDER
does not supp
eplaced by e </body> tag
d with this taed with this ta
PE
ment.
his tag.
s are enclosed
R.
port graphics.
Class
ag. ag.
d by
8
Class 8
TheoryAssignment‐1 4. Answerthefollowing:
a. Write the HTML code to create the following table.
S.No. NAME MARKS
1 Sidhi 88
2 Kiran 95
<HTML> <HEAD> <TITLE>Creating a Table</TITLE> </HEAD> <BODY> <TABLE BORDER="1"> <TR> <TH BGCOLOR="BLUE">S. NO.</TH> <TH BGCOLOR="BLUE">NAME</TH> <TH BGCOLOR="BLUE">MARKS</TH> </TR> <TR>
<TD>1</TH> <TD>SIDHI</TD> <TD>88</TD> </TR> <TR> <TD>2</TH> <TD>KIRAN</TD> <TD>95</TD> </TR> </TABLE> </BODY> </HTML>
b. Write the HTML statements to set the border color of table as red and space between cells as 5.
<table border="2" bordercolor="red" cellspacing="5">
c. Differentiate between the VLINK and ALINK attributes.
VLINK (Visited Link): The color of a link to a page the visitor has visited. The default is purple.
ALINK (Active Link): The color of a link when the mouse is on it. The default is red.
d. Can you set an image as hyperlink ? Explain with an example. Yes, an image can be set as a hyperlink. For example, <a href="detail.html"><img src="mypic.gif"></a>
******************
5 Mark Questions:
1. Explain the functions of a DBMS.
2. Explain the elements of Microsoft Access.
3. List down the rules for naming a field in Access.
4. Tabulate the data types in Access.
5. List down the steps to create a Lookup Wizard field in Access data base.
6. Explain the Field properties pane.
7. List down the steps to create a Report in Access.
8. Explain Unordered List (UL) tag with an example.
9. Explain Ordered List (OL) tag with an example.
10. Explain Definition List (DL) tag with an example.
11. Tabulate the attributes of the <IMG> tag in HTML.
12. Tabulate the tags used to create a table in HTML.
13. Tabulate the attributes of the <TABLE> tag.
14. Explain the Anchor tag <A> in detail.
Blue Print
I. Choose the correct answer: (15 x 1 = 15)
II. Fill in the blanks : (7 x 1 = 7)
III. True/False : (6 x 1 = 6)
IV. Answer in One Word : (10 x 1 = 10)
V. 2 mark questions : (16 x 2 = 32)
VI. 5 mark questions : (6 x 5 = 30)
Marks : 100
Time : 2 Hrs.