Question Paper Code: 20341: Reg. No. 9 5 1 7
Question Paper Code: 20341: Reg. No. 9 5 1 7
Question Paper Code: 20341: Reg. No. 9 5 1 7
9 5 1 7
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:
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, 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