0% found this document useful (0 votes)
10 views4 pages

Question Paper Code: 19213: Reg. No

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views4 pages

Question Paper Code: 19213: Reg. No

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Reg. No.

Question Paper Code : 19213

B.E. / B.TECH. DEGREE EXAMINATION, NOVEMBER / DECEMBER 2022


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

A, CO1 1. Assume a government institution is in need of establishing a network within its


campus. Identify which network is suitable and justify.
A, CO1 2. Which of the following is oddly matched HTTP status codes? Justify your
answer.
A) 200 OK B) 400 Bad Request
C) 301 Moved permanently D) 304 Not Found
A, CO2 3. Write an HTML5 code for web form such that when a user enters a letter “g”, all
words starting with “g” must be displayed.
A, CO2 4. Which of the following HTML code will make an image clickable? Justify your
answer.
A) <a href=”www.google.com”>Google Image</a>
B) <a href=”www.google.com”> <img src=”Google.jpeg”></a>
C) <a href=”www.google.com”></a><img src=”Google.jpeg”/>
D) <img src=”Google.jpeg”><”a href=www.google.com”></a></img>
U, CO2 5. State the purpose of === and !== operator in Javascript with an example.
U, CO3 6. _________ function of the String object returns the character in the string
starting at the specified position via the specified number of characters. Justify
your answer with an example.
A) slice() B) split() C) substr() D) search()
A,CO4 7. Write a code to display a message “WELCOME” on clicking a button.
A, CO4 8. What is the color of “Rainbow” in the following code? Justify your answer.
<style>
div {color:blue;}
</style>
1
19213
<script>
document.getElementById('id').style.color = 'yellow';
</script>
<div id="id" style="color:red;">Rainbow</div>
A) Yellow B) Red C) Blue D) Black
U, CO5 9. Illustrate the purpose of unless statement in RUBY.
A, CO5 10. What is the output for the following RUBY code snippet? Justify your answer.
"Ruby".reverse.upcase
ruby.reverse
A) YBUR, Error B) YBUr, ybur
C) Error, ybur D)YBUR, ybur

PART B – (5  16 = 80 Marks)
U, CO1 11. a) i. Discuss in detail about different kinds of topologies used in
networking with its pros and cons. (12 Marks)
U, CO1 11. a) ii. Compare synchronous and asynchronous communication. (4 Marks)
OR
U, CO1 11. b) i. Explain in detail about various switching techniques in
communication networks with proper diagrams. (12 Marks)
U, CO1 11. b) ii. Differentiate serial and parallel transmission with a proper
example. (4 Marks)

U, CO2 12. a) i. Discuss about the different types of lists provided by HTML.
Create an HTML5 document showing all these types of lists in
action. (8 Marks)
A, CO2 12. a) ii. Design a webpage to accept the details of a student: Name,
address, Gender (Male/ Female), Electives (Check box), Branch
(chosen from a list box), with submit and Reset buttons on it. Use
appropriate HTML5 form elements. (8 Marks)
OR
U, CO2 12. b) i. Explain in detail about any four page structure elements used in
HTML5 with examples. (8 Marks)
A, CO2 12. b) ii. Create an HTML5 autocomplete input element with an associated
datalist that contains the days of the week. (8 Marks)

2
19213
U, CO3 13. a) i. Discuss about different types of CSS selectors with proper code
snippets. (8 Marks)
A, CO3 13. a) ii. Write a Javascript program using functions to find:
A) Find sum of first 50 even numbers.
B) Find factorial of a given number. (8 Marks)
OR
U, CO3 13. b) i. Discuss about various CSS properties that can affect the text, font
and borders with examples. (8 Marks)
A, CO3 13. b) ii. Write Javascript code for the following:
A) Create an empty array and then add 5 elements.
B) Display the array.
C) Sort the array in ascending order.
D) Remove the second and third element from the array. (8 Marks)

U, CO4 14. a) i. Discuss about various DOM collections with proper example. (8 Marks)
A. CO4 14. a) ii. What is event handling mechanism? Design a webpage and write
a code to trigger the following events:
A) onload() B) onchange() C) onkeydown() (8 Marks)
OR
U, CO4 14. b) i. Discuss about form processing blur and focus events with a proper
code snippet. (8 Marks)
A. CO4 14. b) ii. Write a script function that responds to a click anywhere on the
page by displaying an alert dialog. Display the event name if the
user held Shift during the mouse click. Display the element name
that triggered the event if the user held Ctrl during the mouse
click. (8 Marks)

A,CO5 15. a) i. Write a Ruby program with the following specification:


Input: A list of numbers from the keyboard.
Output: The second-smallest number in the list, along with its
position in the list. (8 Marks)
U, CO5 15. a) ii. Outline the concept of static and dynamic documents using Rails
Document Requests. (8 Marks)
OR

3
19213
A,CO5 15. b) i. Write a Ruby program with the following specification:
Input: A list of numbers from the keyboard.
Output: Two lists of numbers, one with input numbers greater
than ten and one with those less than 10. (8 Marks)
U, CO5 15. b) ii. Write the steps involved in building rail applications with
databases with code snippets. (8 Marks)

4
19213

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy