Web Technology B.C.A 16-16 Sem 6
|
|
Name ……………………………
Roll No ……………………….
|
SAINTGITS
COLLEGE OF APPLIED SCIENCES
SecondInternal Assessment Examination,
March 2019
Department of BCA,Semester VI
WEB TECHNOLOGY-Answer
Scheme
Total : 80 marks Time:3Hours
Section
A
Answer
all questions. Each question carries 1 mark.
1.Expand UUCP?
Unix
to unix copy protocol
2.Expand IRC?
Internet
relay chat
3.What are paired and unpaired tags
in HTML?
Unpaired tags are opened and do not have to be closed. They stand
alone. Examples include <b>;, and <img>. Paired tags
must always be opened and closed. A front slash </> is
used to close the pair. Examples include <DOCTYPE>, and <hr>.
4.What is DTD?
Document type declarationA DTD defines the structure and the legal elements and attributes
of a XML document.
5.What are style sheets?
Set
of formatting instructions applied to a piece of trext.
6.Give the rule for defining styles
in CSS?
Selector{property:value;property:value…}
7.What is DOM
Document
object mode.lDOM model is constructed as a tree of Objects:
The W3C Document Object Model (DOM) is a platform
and language-neutral interface that allows programs and scripts to dynamically
access and update the content, structure, and style of a document
8.What is the difference between Java
and JavaScript?
Java and JavaScript: Javais an OOP programming
language while Java Script is an OOP scripting language. Java creates
applications that run in a virtual machine or browser while JavaScript code
is run on a browser only. Javacode needs to be compiled while JavaScript code
are all in text.
9.What
are cookies in PHP?
Cookie
is a text string
10.What
is fopen () in PHP
File
function to open a file
(10 X 1 = 10
marks)
Section
B
Answer
any 8 questions. Each question carries 2 marks.
11.What
is FTP?
File
transfer protocol. The File
Transfer Protocol (FTP) is a standard network protocol used for
the transfer of computer files between a
client and server on a computer
network.
12.What
is MIME?
MultipurposeInternetMailExtension.
MIME (Multi-Purpose Internet Mail Extensions) is an extension of the original Internet e-mailprotocol that lets people use the protocol to exchange different kinds of data files on the Internet: audio, video, images, application programs,
MIME (Multi-Purpose Internet Mail Extensions) is an extension of the original Internet e-mailprotocol that lets people use the protocol to exchange different kinds of data files on the Internet: audio, video, images, application programs,
13.What is a Web Server?
Software running in a computer.tis
can host websites
14.What is CSS?
Cascading style sheets.This
to combine different styles.
15.List out JavaScript data
types?
Numeric
String
Boolean
null
16.What is DHTML?
Combination of content
formatted using HTML cascading style sheets ,scripting languages and DOM
17.Write the syntax offont in CSS?
Font family:<family
name>[<generic family>}
Font-style
Font-weight
Font-size
18.Explain any4
mathematical functions in JavaScript?
Abs()
Asin()
Acos()
A an()
19.What
is the use of echo in PHP?
For
displaying out put.
Echo(“hai”)
20.What is an associated
array in PHP?
Associative
array differ from numeric array in the sense that associative arrays use
descriptive names for id keys.
Below
is the syntax for creating associative array in php.
<?php
$variable_name['key_name']
= value;
$variable_name
= array('keyname' => value);
?>
21.Write the syntax of HR
tag in HTML
Align,noshade ,size ,width
22.What are the advantages
of frame?
The advantages of HTML frames include:
The mainadvantage of frames is that it allows the user to view
multiple documents within a single Web page. It is possible to load pages from
different servers in a single frameset. The concern that older
browsers do not support frames can be addressed using t
(8 X 2 = 16 marks)
Section
C
Short
essay questions
Answer
any 6 questions. Each question carries 4 marks.
23.Write
about Telnet?
Protocol
Remote
session
telnet
client
telnet
server
webbrowser
for client
unix telnet
set of files
telnet
client programs
telnet urls
24Write
about newsgroups?
Usenet service
Moderated
Unmoderated
Major news
groups
Usenet hosts
Usenet
programs
Web browser
for the usenet
25.How are
special characters represented in HTML.
&,<,>,", ,©
26.What are
the different types of multimedia objects in HTML?
Objects
Applets
Jpg
mpg
27 Write the
properties and styles in CSS?
Fonts
Background
color
Text
Boxes
Length
url
28.Write the
string functions in JavaScript?charat
Concat
Lastindex
Lenth
Split
Substr
29.Write
about regular expression in JavaScript?
Data
validation
Regular
expression grammar
Exec
Test
flags
30.Write the
looping statements in PHP?
While
Do while
For loop
For while
31.Write the
datatypes and operators in PHP?
Numbers
Strings
Arrays
Logical
Comparison
Assignment
Mathematical
(6 X 4= 24 marks)
Section
D
Long
Essay questions
Answer
any 2 questions. Each question carries15
marks.
32.Compare
and contrast user defined and built in functions in Php?
- function:
- code to perform a specific
task
- packaged into a single unit
- can be called upon whenever
that task is needed
A function works in
three parts:
- Provide input using arguments
- Function code processes
- Receive output as return values
PHP has many built-in
functions which can be used. It also allows developers to write their own
custom functions.
Let's take a look at
an example of a user-defined function.
String Functions
These are functions
that manipulate string data, refer to the article on strings for implementation
examples of string functions
Numeric Functions
Numeric functions are
function that return numeric results.
Numeric php function
can be used to format numbers, return constants, perform mathematical
computations etc.
Date Functions
33.Write
about the different types of objects in JavaScript?
Image
Array
Date
Document
Window
broswer
34.Explain
WWW in detail
Features
Diagram
http
document
web services
and web browsers
document and
web access using wap
35.Write
about HTML tables with example?
<table>
<tr>
<td>
<th>
Cell spacing
Cell padding
Row span col
span
(2 X 15 = 30 marks)
_______________________
Comments
Post a Comment