18cs63 - Modu3&4 - Final ASSign

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

DON BOSCO INSTITUTE OF TECHNOLOGY

Kumbalagodu, Mysore Road, Bengaluru – 560074


Department of Information Science & Engineering
AY-2022-23

ASSIGNMENT 2

Course Name with Code: Web Programming and its Applications 18CS63
Semester: VI Max Marks:10
Date of Given: 12/05/2023 Date of Submission: 18 /05/2023

Sl Questions CO
No

Module 3 & Module 4

Group 1:

1. Explain different ways of accessing HTML document elements in JavaScript. Explain major CO3
differences between JavaScript and Java
2. Explain Client Side & Server-side Scripting language & also explains the advantages and CO3
disadvantages. Explain major difference between Java & JavaScript
3. Write a JavaScript code that display text “VTU BELAGAVI” with increasing font size in CO3
the interval of 100ms in blue color, when the font size reaches 50pt it should stop.
4. Discuss the datatypes of PHP. Explain the use of global keyword in PHP CO3
5. Write suitable diagrams, explain PHP module in Apache. Describe the role of Apache CO3
threads in web application execution
6. Explain the different control statements used in PHP with a program CO3
Group 2:

1. What are software layers? What benefits do they provide? Explain in detail. CO3

2. Explain about JavaScript Objects CO3

3. What is Arrays in Java Script.What are the ways of declaring & accessing traversing & modifying CO3
arrays in JavaScript

4. Write a JavaScript code that uses function for the following problems: CO3
i)For the string input the output should be to display the position of left most vowel.
ii)For the numeric input output should be to display the reverse of a number.
5. Explain the different methods in Java Script to access DOM nodes with examples CO3

6. List and explain the different events – i) frame events ii) mouse events iii) keybords events iv) CO3
form events
Group 3:

1. Explain different server-side technologies for creating web technology CO4

2. Write example PHP tags, PHP comments, data types and constants CO4

3 Explain Program Control with syntax and example in PHP


4. Explain the process of populating $_GET and $_POST super global arrays CO4

5. Write a PHP program to create a class STUDENT with the following specification. CO4
Data members: Name, Roll number, Average marks
Member function: Read(getters)and write(setters)
Use the above specification to read and print the information of 2 students.

Or

Write a PHP program to create a class “Artist” with suitable constructor. All its data members
are accessible only inside the class.
Data members: first name, last name, birth, city, date
Member function: getters and setters.
Use the above class instantiates 2 objects and display the artist details.

6. How is array defined in PHP? Explain the array operations of PHP.

Group 4: CO4

1. Explain the $_SERVER array. Explain the use of $_FILES array. CO4

2. Define constructor and discuss the concept of data encapsulation inheritance, polymorphism CO4
and object interface with respect to OOP.
3. Briefly explain Error handling. CO4

4. What is server-side include files? Why are they important in PHP? CO4

5. Explain the $_SERVER array. Explain the use of $_FILES array. CO4

6. How are the classes declared in PHP. CO4


How to access methods and properties of class in PHP.

Course Instructors Signature HOD

You might also like