Microsoft Word - 3 - SamplePaper PDF
Microsoft Word - 3 - SamplePaper PDF
Microsoft Word - 3 - SamplePaper PDF
1. a) What is a tuple? 1
b) Name any two types of relationships that can be set between two tables in 1
MS-Access.
c) Answer the following questions based on the structure of the table Student
given below :
Table : Student
Adm_No Name Class DOB Percentage
A101 Sujata 12 A 09/08/1984 78
A102 Anju 12 B 12/07/1983 82
A103 Ananth 12 C 07/08/1984 67
2
(i) Suggest the datatypes that should be used for each of the fields in
the above table.
1
(ii) Suggest a field from the above table, which can be set as the
primary key
d) Give the full forms and a difference between .DAT and a .GIF file with 2
respect to multimedia.
f) Name the extension of the file created when a Flash movie is published 1
c) Explain the terms Shape Tweening and Motion Tweening with the help 2
of an example.
d) Explain the usage of Timeline. 2
Flash Flash
The text on the left hand side shows the position and size for frame 1.
The colour of the text is black.
The text on the right hand side shows the position and size for frame
20. The colour of the text is grey.
Write the procedure and property settings for animating the above
scenario.
a) Specify the tag and attributes used to create a textbox which can accept 2
maximum of 20 characters with a default value Enter Name.
b) Write the HTML code to generate a Web Page in the format given below: 8
b) What is the purpose of the HOUR( ) function? Explain with the help of an 2
example.
c) Explain with examples the difference between implicit and explicit declaration 2
of variables.
d) Write a command to remove the leading and trailing spaces from a character 1
variable NAME, where NAME = ##Smriti# Malhotra### (where # denotes a
blank space).
e) Give the output for the following :
(i) Response.Write(LTRIM(LEFT("####Congratulations", 7))
(where # denotes a blank space)
(ii) Response.Write((3 *5 > 4 + 5) AND (2 ^ 3 + 9 \ 2))
(iii) Response.Write(ABS(3 11 * 4 ^ 2))
5. Questions given below are based on ASP:
a) Name and specify the usage of any two ASP components. 1
c) Underline the errors in the following code and write the corrected script. 2
<%
dim fname
fname=Request.Query("fname")
If fname<>"" Then
Response.Output("Hello " fname "!<br />")
Response.Output("How are you today?")
End
%>
<%
Arr=Array(25,14,20,45,25,4,1,31)
max=ubound(Arr)
For i=max to 1 step -2
Arr[i]= 10*Arr[i]
Response.write (Arr(i) & "<BR>")
next
%>
company wishes to create a web site, which provides information about all their
products. Write the ASP coding for the home page with the following specifications:
To display links to other pages. The links Beauty Creams, Beauty Oils, Face
Packs link to the files CREAMS.ASP, OIL.ASP and PACK.ASP respectively.
To display the number of times the page has been visited.
6. Questions given below are based on VBScript:
b) Change the following script using DO..WHILE without effecting the output: 2
<SCRIPT LANGUAGE="VBScript">
DIM arr(5)
counter=1
DO UNTIL counter > 5
arr(counter) = counter *counter
counter =counter + 1
loop
</SCRIPT>
d) Write an HTML code for creating a form, which accepts the birth date from the user 4
in a textbox and displays the day of the week in a message box on the click of a
button.
d) The Cyber Mind Organisation has set up its new Branch at Mizoram for its office and 4
web based activities. It has 4 Wings of buildings as shown in the diagram:
Z Y
X
U
(i) Suggest a most suitable cable layout of connections between the Wings and topology.
(ii) Suggest the most suitable place (i.e, Wire) to house the server of this organization
with a suitable reason with justification.
(iv) The organization is planning to link its head office situated in Delhi with offices at
Mizoram. Suggest an economic way to connect it; company is ready to compromise
on the speed of connectivity. Justify your answer.