0% found this document useful (0 votes)
25 views5 pages

CSE/CE/IT HTML, CSS, JavaScript, PHP Guide

The document is a question bank for a 5th semester course on Computer Science and Engineering, covering topics such as HTML, CSS, JavaScript, AngularJS, and PHP/MySQL. It includes a comprehensive list of questions related to web technologies, their functionalities, and practical applications. Each unit focuses on different aspects of web development, providing a structured approach to learning these technologies.

Uploaded by

nayakdevang7
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)
25 views5 pages

CSE/CE/IT HTML, CSS, JavaScript, PHP Guide

The document is a question bank for a 5th semester course on Computer Science and Engineering, covering topics such as HTML, CSS, JavaScript, AngularJS, and PHP/MySQL. It includes a comprehensive list of questions related to web technologies, their functionalities, and practical applications. Each unit focuses on different aspects of web development, providing a structured approach to learning these technologies.

Uploaded by

nayakdevang7
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

Institute of Technology & Engineering

Indus University
WT CE0522 Question Bank
5th CSE/CE/IT
Unit-1_HTML
1. What is the World Wide Web (WWW) and how does it differ from the Inter
2. What is the purpose of the HTTP protocol in web communications?
3. Describe the role of a web browser and how it interacts with web servers.
4. Differentiate between HTTP and HTTPS. Why is HTTPS considered more secure?
5. What are the fundamental components of an HTML document?
6. What are HTML attributes, and how are they used? Provide examples.
7. Describe the basic structure of an HTML5 document. How does it differ from
previous versions of HTML?
8. What are some of the deprecated tags in HTML5, and what are their modern
alternatives?
9. What is the purpose of the <canvas> element in HTML5? Provide an example use
case.
10. Explain the functionality of the <audio> and <video> elements in HTML5. How do
they differ from older methods of embedding multimedia?
11. What are SVG elements, and how are they used within an HTML5 document?
12. How do HTML5 forms enhance user input capabilities? Discuss new form controls
and attributes introduced in HTML5.
13. Explain the role of the <form> element in HTML5. What are some new attributes
introduced for forms?
14. Explain 5 basic HTML Tags.
15. Write the usage, attributes and syntax for the following tags:
<p>,<b>, <u>, <i>, <tt>,<div>, <span>,<h1> to <h6>,<hr>, <br>
<font>,<marquee>,<img>,<a>,<sub>, <sup>,<dd>, <dt>, <dl>
<ol>, <ul>, <li>,<strong>, <em>,<frameset>, <iframe>.
16. Explain <table> tag with all the sub tags and attributes.
17. Difference between cell padding and cell spacing. Explain Colspan and Rowspan.
18. Write the usage, attributes and syntax for the following controls:
a. Text box
b. Text area
c. Radio button
d. Checkbox
e. Dropdown
f. Scrolling List
g. Date
h. Time
i. Url
j. Color
k. Spinner
l. Slider
m. Submit
n. Reset
19. Explain the meta tag in detail.

Unit-2_CSS_JAVASCRIPT
20. What is CSS? Describe the different ways to apply CSS to an HTML document.
21. What are the key differences between inline, internal, and external CSS?
22. Explain the CSS box model and its components.
23. Discuss the purpose and usage of CSS selectors. Provide examples of different types
of selectors.
24. How can you apply border radius to an element using CSS3? Provide an example.
25. Explain how CSS3 handles background images and gradients. What new properties
were introduced for background manipulation?
26. Explain CSS3 transformations and provide examples of how they can be used.
27. What are CSS3 transitions, and how do they improve user interaction?
28. How do CSS3 animations differ from transitions? Provide an example of each.
29. Discuss how CSS3 supports multiple columns in a layout. What properties are used?
30. What are some of the CSS3 user interface features that enhance web design?
31. What is Bootstrap, and how does it integrate with CSS?
32. What is JavaScript, and how does it enhance web page functionality?
33. What is JS Variable? Explain the different ways to declare variables in JavaScript.
Provide examples.
34. How do conditional statements work in JavaScript? Provide examples of if, else if,
and switch statements.
35. Describe how looping constructs like for, while, and do...while work in JavaScript.
Provide examples.
36. What are JavaScript functions, and how do you define and call them?
37. How can you handle events in JavaScript? Provide examples of event handling.
38. What are cookies in JavaScript, and how can they be used to store information?
39. What are JavaScript objects, and how are they used to structure data? Provide
examples.
40. Explain error handling in JavaScript. What methods are available for handling errors?
41. How can you validate user input using JavaScript? Provide examples of common
validation techniques.
42. Discuss how JavaScript can be used for animations. What libraries or methods are
commonly used?
43. What role does JavaScript play in handling multimedia content on a web page?
Provide examples of how JavaScript can interact with audio and video elements.
44. What is the difference between inline, embedded and external style sheets?
45. Write CSS code to set proper design of registration page that contain
a. following data fields (Student enrol no, student name, Student mobile no,
b. student email id, branch, semester).
46. What is Margin and padding? How can it be used in web page designing?
47. Write a program using HTML and CSS to change the background colour of a
a. <div> on a mouse over event.
48. What is the use of position property in css? Explain different values of position
property.
49. How to create a hyperlink in HTML? Explain all pseudo classes of hyperlink in detail.
50. Discuss pseudo class and pseudo element with examples.
51. What are JavaScript Data Types? What is the use of the NaN function?
52. What are global variables? How are these variables declared and what are the
problems associated with using them?
53. What is 'this' keyword in JavaScript?
54. What are all the types of Pop up boxes available in JavaScript?
55. How are DOM utilised in JavaScript?
56. How are event handlers utilised in JavaScript?
Unit-3_Angular js
57. What is AngularJS and what are its main features? How does AngularJS differ from
other JavaScript frameworks?
58. What are the core benefits of using AngularJS for web development?
59. Explain the MVC (Model-View-Controller) architecture in [Link] are the
roles of the Model, View, and Controller in an AngularJS application?
60. How does AngularJS implement the MVC pattern in its application structure?
61. What are directives in AngularJS, and how do they enhance HTML functionality?
Explain the difference between built-in and custom directives in AngularJS.
62. Provide examples of common built-in directives in [Link] do you create and
use a custom directive in AngularJS?
63. What are expressions in AngularJS, and how are they different from JavaScript
expressions? How are AngularJS expressions used in the view (HTML)?
64. Discuss how AngularJS expressions are evaluated and how they interact with the
scope.
65. What is the role of a controller in AngularJS? How do you define and use a controller
in an AngularJS application?
66. Explain how controllers interact with views and models in AngularJS.
67. What are filters in AngularJS and how are they used to format data? How do you
create and apply a custom filter in AngularJS?
68. Discuss the built-in filters available in AngularJS. Provide examples of their usage.
69. What are modules in AngularJS, and what is their purpose?
70. How do you create and configure a module in AngularJS? Explain the role of modules
in organising and managing AngularJS applications.
71. How does AngularJS handle forms and form validation? How can you implement
form validation in AngularJS? Provide examples of built-in validation directives.
72. What is the scope in AngularJS and how does it function?
73. Explain the relationship between the scope and the model in AngularJS.
74. What are services in AngularJS, and why are they used? How do you create and use a
service in AngularJS?
75. Discuss the difference between services and factories in AngularJS. Provide examples
of each.

Unit-4_PHP_MYSQL

76. What is PHP ? Explain the difference between server-side and client-side scripting.
Where does PHP fit in?
77. What is the basic syntax structure of a PHP script? How do you embed PHP code
within an HTML document? Provide an example.
78. How do you declare and initialise variables in PHP? What are the rules for naming
variables in PHP? Discuss the difference between PHP variables and constants.
79. How do you define a constant in PHP, and how does it differ from a variable? Provide
an example of how to use predefined constants in PHP.
80. What are the different types of decision-making constructs available in PHP? Provide
examples.
81. Explain the usage of if, else if, switch and else statements in PHP.
82. What are the different types of loops available in PHP? Explain the usage of for,
while, and do...while loops in PHP.
83. How can you control loop execution with break and continue statements?
84. What is an array in PHP, and how do you declare an array? Explain the difference
between indexed arrays and associative arrays in PHP.
85. How do you perform string manipulation in PHP? Provide examples of common
string functions. Explain how to concatenate strings in PHP.
86. What are the different types of functions in PHP (e.g., built-in, user-defined)? Explain
the concept of function arguments and return values in PHP.
87. How does PHP interact with HTML forms? What is the role of PHP in handling form
submissions?
88. Explain the difference between the GET and POST methods in PHP. How do you
retrieve data submitted through a form using PHP?
89. What are cookies, and how are they used in PHP? How do you set and retrieve
cookies in PHP?
90. What is a session in PHP, and why is it used? How do you start a session and store
data in a session?
91. What are regular expressions, and how are they used in PHP? Provide examples. How
do you handle exceptions in PHP? Explain with an example.
92. What is the role of object-oriented programming (OOP) in PHP? Explain the basic
principles of object-oriented programming in PHP (e.g., classes, objects, inheritance).
93. How do you define a class and create an object in PHP? What are access modifiers in
PHP, and how are they used in classes?
94. What is PHPMyAdmin, and how does it facilitate database management? How do you
use PHPMyAdmin to create a database and tables?
95. How do you establish a connection to a MySQL database using PHP? Provide an
example. Explain the use of mysqli_connect() and PDO for connecting to a MySQL
database.
96. How do you execute a MySQL query from PHP? Provide examples of SELECT,
INSERT, UPDATE, and DELETE queries.
97. How do you retrieve data from a MySQL database and display it on a web page using
PHP?
98. What are the methods for fetching data from a result set in PHP (e.g.,
mysqli_fetch_assoc(), mysqli_fetch_array())?
99. What are the key considerations when choosing a web hosting provider for PHP
applications?
100. How do you deploy a PHP application to a web server?
101. Write a PHP program to make the sum of first 100 odd numbers.
102. What is an HTML form? How can you access the form data in php page?
a. Explain with suitable example.
103. Write a PHP program that receives the value of N using HTML form and
104. displays the first N Fibonacci numbers as HTML list.
105. Create HTML form to enter one number. Write PHP code to display the
a. message about number is odd or even.
106. Write php code to create database state, create table city(cityname,
a. area,population) and insert data from table.
107. How to read directory in PHP? Write sample code for the same and
a. explain it.
108. Explain date() function in PHP. What PHP can do with header() command?
109. Write PHP Program to store user registration with My Sql Database.
110. Write PHP and HTML code to upload file from client to server.
111. Write a PHP program to store user registration (user-name, address, Date
a. of Birth, age, pan card, gender) with mysql database.
112. Write a code to design single PHP page with following requirement.
a. It accept username and password
b. When user click on submit button then authenticate user id and password.
c. Also perform validation (using JavaScript) like any of input field should not
be blank.
113. Write php code to read from a file and display it in browser
114. Write HTML and PHP program to read and store student information such
a. as enrollment no, name, semester and percentage from database table.
b. Output the data to a webpage in tabular format.

You might also like