Question Paper Code: 20341: Reg. No. 9 5 1 7

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Reg. No.

9 5 1 7

Question Paper Code : 20341

B.E. / B.TECH. DEGREE EXAMINATIONS, NOVEMBER / DECEMBER 2023


Fifth Semester
Allied Elective
19CSA01 – INTERNET PROGRAMMING
(Regulations: Mepco – R2019)
Duration: 3 Hours Max. : 100 Marks
Answer ALL Questions
PART A – (10  2 = 20 Marks)
BTL, CO

R, CO1 1. A private network that's available through the internet:_________. Justify your answer.
A) Virtual Private Network B) Personal Area Network
C) Local Area Network D) Campus Area Network
U, CO1 2. Differentiate simplex, half-duplex and full-duplex communication.
U, CO2 3. Which of the following input control represents a date(year, month, day) encoded
according to ISO 8601 in web20? Justify your answer.
A) Datetime B) Time C) Date D) Daytime
U, CO2 4. Why meta tag is used while designing web pages even though it is not displayed in
machine?
R, CO3 5. Template literals provide an easy way to interpolate variables and expressions into
strings. The method is called ___________. Justify your answer.
A, CO3 6. Write the CSS code required for the following design:

R, CO4 7. Match the following: Justify your answer.


1. onmouseover - P. moves the mouse away from an HTML element
2. onclick - Q. moves the mouse over an HTML element
3. onmouseout - R. HTML element has been changed
4. onchange - S. clicks an HTML element
A) 1 - Q, 2 - R, 3 - S, 4 - P B) 1-Q, 2 - S, 3 - P, 4 - R
C) 1 - P, 2 - S, 3 -Q, 4 - R D) 1 - R, 2 - S, 3 - P, 4 - Q
U, CO4 8. Define Event Bubbling. And write the snippet how to stop event bubbling.

1
20341
R, CO5 9. In Ruby, a regular expression can be represented as ___________. Justify your answer.
A) pattern B) /pattern/ C) /pattern/i D) \pattern\i
R, CO5 10. What are the three core components of Ruby on Rails?

PART B – (5  16 = 80 Marks)
U, CO1 11. a) i. Justify your answer for why communication between computers is
necessary and explain its types how the communication is enriched? (8 Marks)
U, CO1 11. a) ii. Discuss in detail about any two network topology with a neat diagram. (8 Marks)
OR
U, CO1 11. b) i. Discover the usage of basic internet protocols in networking. (8 Marks)
U, CO1 11. b) ii. Discuss the functionality of webserver. (8 Marks)

A, CO2 12. a) Write the HTML5 program to design the given webpage.

(16 Marks)
OR
A, CO2 12. b) i. Design a web page using HTML5 form elements for workshop
registration. (8 Marks)
U, CO2 12. b) ii. Discuss about datalist elements and auto complete attribute with a suitable
example. (8 Marks)

A, CO3 13. a) i. Create a web page applying all types of Cascading Style Sheet.
(8 Marks)
A, CO3 13. a) ii. Write the code for drop down menus, Text shadows and Box Model which
is included in the web page used in question no. 13.a) i.
(8 Marks)
OR

2
20341
A, CO3 13. b) i. Write a function that returns array elements larger than a number in
JavaScript. (8 Marks)
A, CO3 13. b) ii. Write a JavaScript program that returns a subset of a string.
Sample Data: dog
Expected Output: ["d", "do", "dog", "o", "og", "g"] (8 Marks)

A, CO4 14. a) i. Create a table dynamically using DOM.


(8 Marks)
A, CO4 14. a) ii. Generate the Object tree for the <table> element and its child elements.
(8 Marks)
OR
A, CO4 14. b) i. Write a JavaScript program that implements a "form" validation that
displays an error message if a required field is left empty when submitting
the form. (8 Marks)
A, CO4 14. b) ii. Write a JavaScript program that adds a keydown event listener to a text
input to detect when the "Enter key" is pressed. (8 Marks)

A, CO5 15. a) i. Write a Ruby program to find the second largest number with its position
in the list. (8 Marks)
U, CO5 15. a) ii. How do you integrate the database with Ruby on Rails application?
Explain with a suitable example. (8 Marks)
OR
A, CO5 15. b) i. Develop a Ruby on Rails application to create a telephone directory.
Assume your own database schema. (8 Marks)
U, CO5 15. b) ii. How do you perform the pattern matching in Ruby? Explain with a
suitable example. (8 Marks)

3
20341
4
20341

You might also like