Diploma In CS

PYQ – WEB TECHNOLOGY (2418102) | SEMESTER 1ST AND 2ND (1ST YEAR) | Year 2025

Share:WhatsAppTelegramTwitter
WEB TECHNOLOGY (2418102) – Years

Web Technology 2025 (NEW) PYQ.

WT2025PYQ


Group A

Choose the most suitable answer from the following options: -   (2*10=20)


(i) The <body> tag inserts a line break.

(a) True

(b) False


(ii) Match the following:

1.      Used to center texts                   a. <blockquote>

2.      Used for quoting texts               b. <center>

3.      Used for paragraphs                  c. <p>


(iii) The URL
https://www.mysite.com/images/picture.jpg indicates (a) ____________ and the URL project/current/index.html indicates (b) ___________

(a) Relative URL

(b) Absolute URL


(iv) ___________ styles are CSS rules defined within the <style> tag in the <head> section of an HTML document.

(a) Inline                                  

(b) Internal


(v) Match the following:

1.      Covers entire background image            a. background-image

2.      Sets background image                          b. background-size


(vi) Alert box displays a message and two buttons, OK and Cancel

(a) True

(b) False 


(vii) Identify the item that is a not data type in Java Script.

(a) String

(b) Number

(c) Name

(d) Boolean


(viii) Match the following:

1.      If statement                  a. Executes if the condition is False

2.      Else statement              b. Executes if the condition is True


(ix) Select the operator which is not an arithmetic operation

(a) sum = 10+5

(b) isEqual = (10 == “10”)

(c) difference = 10 - 5

(d) remainder = 10 % 3

 
(x) In JavaScript, applying the toUpperCase() function to the string str = “Hello, World!” will convert the string to “HELLO, WORLD!”

(a) True

(b) False 

 

Group:-"B"

Answer all Five Questions: -                         (5*4=20) 

 

2. Explain the absolute URL with and example and its pros and cons.  

OR

Explain the TR and TH table tag attributes an example.

 

3.  Describe the purpose of the herf attribute in an anchor (<a>) tag.

OR

Discuss HTML attribute for aligning an image to the right side of a webpage.

 

4. Discuss the advantages of using CSS over inline styling.

OR

Explain the use of class selectors in CSS.

 

5. Explain how arrays are used in Java Script. 

OR

Describe process of iterating over an array in Java script using a for loop.

 

6. Identify the keyword used to declare a function in Java Script. 

OR

Identify the Java Script object used for handling dates and times.

 

Group:- "C"

Answer all Five Questions: -                         (5*6=30) 

 

7. Design a meaningful HTML documents that uses heading tags (<h1> to <h6>) and a paragraph tag.

OR

Create an HTML documents that showcases the use of bold, italic, and underline tag.

 

8. Apply a CSS class to change the text color of all <p> elements to blue. 

OR

Link an external CSS file to an HTML document to style a paragraph.

 

9. Write a JavaScript function to display an alert box with the message “Hello” when an button is clicked.  

OR

Explain different data types available in JavaScript. How do you use operators in JavaScript? Provide examples.

 

10. Describe the purpose of the operator () method in Java Script.  

OR

Explain try, catch, and finally statement in JavaScript.

 

11. Explain Exception Handling. How do we handle exceptions.

OR

List steps for calling function in JavaScript.

 

*****

Thank you for visiting us, Hope you like our content and its really helpful for you.

Do follow us for regular updates and if you want any specific help feel free to ask on below.

 

Web Site: https://diplomaincs.in/

 

Contact Us: https://diplomaincs.in/contact-us

 

Follow us on below social handle:-


LinkedIn:
https://www.linkedin.com/in/computer-scinece-and-engineering-diploma-b5917b3a1/

What’s App:
https://whatsapp.com/channel/0029VaGwTZU1t90j9c1bKl0g


Facebook:
https://www.facebook.com/Diploma.1234

 

 

Q1

PYQ Video References

No references available right now.

Comments & Reviews

Loading comments...