internet_CS02_assignment
internet_CS02_assignment
Unit 1
1) Explain the different types of computer networks and provide examples of where
each type is commonly used.
3) What is the World Wide Web (WWW)? Explain how it is different from the
internet. Also, discuss the role of search engines in navigating the WWW.
Unit :- 2
1) Explain the basic structure of an HTML document. Discuss the role of basic HTML
tags and attributes, and provide examples of commonly used formatting tags and
list tags.
2) How are tables and frames used in HTML? Explain the syntax for creating tables
and frames, and provide examples of when each would be appropriate in web
design. Additionally, discuss how HTML5 syntax differs from previous versions
and its impact on web development.
3) Explain the structure and purpose of HTML forms. Discuss the different types of
form elements (such as input, textarea, select, button, etc.), and provide examples of
how to use these elements to create a simple user registration form.
1. Explain the different types of style sheets in CSS. How do inline, internal, and
external styles differ, and what are their advantages and disadvantages?
Provide examples to illustrate how these properties are used in styling web
elements.
4. What is the CSS Flexbox layout model? Explain the key Flexbox properties such
as display, flex-direction, justify-content, and align-items. How can Flexbox be
used to create responsive and flexible web layouts?
5. How do CSS media queries work, and how can they be used to create responsive
web designs? Additionally, discuss the use of custom fonts with Google Fonts and
the @font-face rule.
Unit :- 4
1. What are the different types of JavaScript operators, and how are they used in
expressions? Provide examples for arithmetic, comparison, and logical operators.
2. Explain how conditional statements like if, else if, and switch work in JavaScript.
Provide examples demonstrating the use of each.
3. What are JavaScript loops, and how do the break and continue statements affect
loop execution? Provide examples for both for and while loops.
4. What is the purpose of using dialog boxes in JavaScript, and how can you display
a message to the user using the alert() and confirm() methods?
5. How can you validate form data, specifically email addresses, using JavaScript?
Provide an example of a function that checks whether the entered email is in a valid
format.
CS-02: NETWORKING & INTERNET ENVIRONMENT
Unit :- 5
1. Explain the concept of the Bootstrap grid system. How do containers, rows, and
columns work together to create a responsive layout? Provide an example using
different column sizes.
2. What are the different types of Bootstrap content components? Describe how
you can use Bootstrap to style typography, tables, and images. Provide examples
for each.
3. What are some common Bootstrap components and how do you use them?
Explain the functionality of a Navbar, Dropdown, and Modal, and provide code
examples for each.
4. What is the purpose of Bootstrap utilities, and how can they be used to style
elements? Explain how you would apply utilities for spacing, colors, and text
alignment in a responsive design.
5. How can you make a webpage responsive using Bootstrap? Discuss the use of
responsive classes like col-* and offset-* to reorder and resize columns based on
screen size. Provide an example of a responsive layout that adjusts for mobile and
desktop views.
Note:
Each and every question is compulsory