Assignment Questions Iwt

13
QNo: 1 a. what are the various types of lists and explain about each attribute of list elements. b. create following type of lists in html. A. India B. China C. Australia a. India b. China c. Australia i. India ii. China iii. australia I. India II. China III. Australia 1. India 2. China 3. Australia A. India b. China II I. Australia iv . Sri Lanka 5. pakistan c.create a list which starts with ‘8’ Ex.

Transcript of Assignment Questions Iwt

Page 1: Assignment Questions Iwt

QNo: 1

a. what are the various types of lists and explain about each attribute of list elements.b. create following type of lists in html.

A. IndiaB. ChinaC. Australia

a. Indiab. Chinac. Australia

i. Indiaii. Chinaiii. australia

I. IndiaII. ChinaIII. Australia

1. India2. China3. Australia

A. Indiab. ChinaIII. Australiaiv. Sri Lanka5. pakistan

c.create a list which starts with ‘8’

Ex.

8. India9. Australia10. China

d.Try adding a definition list which uses an unordered list to define terms

Page 2: Assignment Questions Iwt

QNo:2a. Show how group and alignment of tables rows and columns is achieved using HTML.b. List and explain all the attributes of table, td and tr tags.c. Create the following tables.

Page 3: Assignment Questions Iwt

QNo3:

A. How to include comments in HTML?B. What is a DOCTYPE?C. What is the full form of URI, URL, URN?D. Difference between GET and POST MethodsE. What is the importance of alt attribute in IMG TAG?F. How do I make a frame with a vertical scrollbar but without a horizontal scrollbar?G. What is an empty element? What is the use of empty element? Give an example for empty element?H. define and explain the purpose of web browser and web server? I. What is the difference between HTML and XHTMLJ. What is the difference between submit and button?K. What are the attributes of form tag and explain them?

Page 4: Assignment Questions Iwt

QNo4

1. What is frame? What is the purpose of it? What are the different attributes of frame tag and explain each of them with a proper example.Create the below kind of web page using frames.

Page 5: Assignment Questions Iwt

QNo5:

1. What is Style Sheet? What are the different types of style sheets? Explain each style sheet with simple example. How CSS different from style sheets.

Create a cascading style sheet that will be linked to five different and linked HTML documents. Again, this CSS will include rules and declarations for:

Structuring the document; Specifying fonts; Laying out text and images; Setting colors; Setting spacing for page elements using margins, borders, backgrounds, and padding; and Absolute and relative positioning.

Page 6: Assignment Questions Iwt

QNo6:

1. Explain the use and arguments of the following file handling functions in PHPA. fopen()B. fclose()C. feof()D. fgets()E. fputs()F. fread()G. fwrite()

Page 7: Assignment Questions Iwt

QNo7:1. How associative arrays and multidimensional arrays are different from numeric arrays?

How to store student names and respective percentages in an associative array?Write a program to access the above array and display the average percentage of those students.

Write a PHP program to store marks of each subject of each student in a multidimensional array. Your program should print average of each subject and the list of students who are below the average of each subject.

Page 8: Assignment Questions Iwt

QNo8: 1. List at least 5 web servers. Explain the procedure to deploy a php application in apace web

server. 2. Write a php program to store student names and their phone numbers in mysql database.

QNo9:

1. How php handle XML files using Simple PHP XML parser and PHP XML DOM . list and explain all the functions of Simple php xml parser.

QNo10:1. Write php program to print series of prime numbers upto given number.2. Write php program to print Fibonacci series upto a given number.3. Write php program to print series of Armstrong numbers.

4. Write a php program to print npr for given n and r values

QNo11:1. What are the rules to check a XML file is well formed or not?2. What is the difference between well formed xml document and valid xml document.3. Create an XML FILE for the given tree structure.

Page 9: Assignment Questions Iwt

QNo12:1. What is DTD? What is the purpose of DTD?2. create a DTD for the given XML

<message> <header> <from>[email protected]</from> <to>[email protected]</to> <subject>Comments on XML</subject> </header> <body bgcolor=”blue”> I think that XML has great potential. It will work very well and will help many people to make much better use of the internet. </body> </message>

3.Here is an English-language description of that grammar, create a XML DTD for it.

i. The root element is "Employee_Info"ii. As the content for "Employee_Info," "Employee" occurs 0 or more times

iii. As content of "Employee," "Name," "Department," "Telephone," and "Email" elements occur once in respective order

iv. "Name," "Department," "Telephone," and "Email" content are text stringsv. "Employee" has an attribute called "Employee_Number"vi. "Employee_Number" content must be int type

Page 10: Assignment Questions Iwt

QNo13:1. . What are the features of XML schema? What are the different data types available in XML

SCHEMA

Here is an English-language description of that grammar, create a XML SCHEMA for it.

i) The root element is "Employee_Info"ii) As the content for "Employee_Info," "Employee" occurs 0 or more timesiii) As content of "Employee," "Name," "Department," "Telephone," and "Email"

elements occur once in respective orderiv) "Name," "Department," "Telephone," and "Email" content are text stringsv) "Employee" has an attribute called "Employee_Number"vi) "Employee_Number" content must be int type

QNo14:

1. Write regular expressions to accept the following string patterns

i. strings whose length is not less than 8 character ii. string should start with an alphabetiii. strings Which should contain at least one @ symboliv. strings Which should contain at lease one special characteri. strings Which should contain at least one digitii. Which validates HTML open tagiii. Which validates HTML end tag?iv. Which validates HTML empty tag

QNo15:1. List and explain Date,Array,String objects in Java Script. Explain all functions in those objects.

Page 11: Assignment Questions Iwt

QNo16:1.

a. What is remote login? Explain NVT character set in TELNET.

b. What is SMTP. Explain with a diagram

b. What is FTP? Explain with a diagram.