Web Engineering Note
Web Engineering Note
QUESTION BANK
UNIT – I
TWO MARKS
1. What is Web? a subset of the Internet consisting of the pages that can be accessed by a Web browser.
It has number of Applications that works on network platform for information sharing,
interoperability, user-centered design and collaboration etc.
The interaction between the User and the Web Application is called as Conversation.
Active: The information displayed can be customized according to the inputs given by the
User.
Passive: The User can select the information to be presented, but he has no direct control
over its volume, type or structure.
4. What is a Web Application? A Web application (Web app) is an application program that is stored on a
remote server and delivered over the Internet through a browser interface.
It is a vehicle that acquires information, structures it, builds a packaged presentation and
delivers it to the Users of Web.
Web Engineering proposes an agile, yet disciplined framework for building industry-quality
WebApps.
It is a lightweight process that has been created to tackle the challenges that have been
identified in Web engineering such as : short development life-cycle times; multidisciplinary
development teams; delivery of bespoke solutions comprising software and data.
A WebApp Increment delivers selected content and functionality to the end user. Later
increments expand on the content and functionality delivered until the completed WebApp
is deployed.
A web framework (WF) or web application framework (WAF) is a
13. What is a WebE Framework? software framework that is designed to support the development of web
applications including web services, web resources, and web APIs
A framework establishes the foundation for a complete web engineering process by
identifying a small number of framework activities that are applicable to all WebApp projects,
regardless of their size and complexity.
It is populated by a set of WebE actions that is a collection of tasks that produces a work
product.
15. List out the WebE activities that are part of a generic framework.
· Communication
· Planning
· Modeling
· Construction
· Deployment
It is a philosophy, incorporating a process, a collection of methods and a tool set that has
been adopted wherever software is built.
19. What are the WebE methods within the process Framework?
· Communication Methods
· Requirement Analysis
· Design Methods
· Construction Methods
· Testing Methods
It provides the ability to gain an understanding of what the problem is both in terms of context
and technology. So that the work can be refined or adapted the basic process to meet the
specific needs of the actual problem.
A Stakeholder is any person who has a vested interest in the WebApp. They may be actively
participating in defining requirements, managing the business aspects of a project using the
WebApp or developing the WebApp itself.
23. List the WebE actions that characterize the WebE process- Communication.
· Formulation
· Elicitation
· Negotiation
In some cases, the framework activity is conducted informally. In others a distinct set of
actions will be defined and conducted by team members. When an action is complex, it may
be further refined into a set of WebE tasks.
Agile: A single, team-oriented meeting in which all WebE team members assist in planning.
Adaptive: Things happen, and as a consequence, the plan may have to be modified as the
WebApp Increment is engineered.
Modeling is an activity that creates one or more conceptual representations of some aspect
of the WebApp to be built that encompasses one or more : written documents, sketches,
schematic diagrams, graphical models, written scenarios, paper or executable prototypes or
code.
Design is a WebE activity that produces a model or representation that exhibits firmness,
commodity and delight.
The focus of Quality Assurance is to ensure firmness, commodity and delight will be the
outcome, when an increment is deployed.
Firmness: A WebApp should not have any bugs that inhibit its function.
Commodity: A WebApp should be suitable for the purposes for which it was intended.
Change requests can be queued for assessment and action after the increment is deployed.
40. What are the two ways to manage the High-Impact risks?
· Reactive management
· Proactive management
Potential risks are identified, their probability and impact is assessed, and they are ranked by
importance.
UNIT – II
TWO MARKS
1. What are the two things used to understand the models to be built?
· The process being followed
· The product to be developed
For example, the state of an airline reservation application might have a user logged in, with
a completely selected flight, but no confirmation or payment.
Business model defines both strategic and tactical mechanisms that enable a business to
attract customers, produce and sell products and generate revenue.
6. They provide clarification of the set of models that might be used in web engineering. It
suggests about the model types, the frameworks often aim to establish terms and concepts
that are relevant.
Second dimension presents six questions like: What (data), How (function), Where (location),
Who (people), When (time) and Why (motivation).
8. What are the things that to be accommodated by the modeling frameworks for web?
9. Name the modeling framework for web and who developed this?
The WAAF framework provides an indication of which models or work products are
appropriate for which purpose and audience.
Modeling language incorporates a set of notations, terms, and/or symbols as well as the rules
for establishing associations between them. It has a formally structured representation and
graphical elements.
It is a checklist which has requirements for a modeling language and different modeling
approaches along with the result that the requirements are met or partially met.
19. What are the size – related factors that emphasizes the degree of analysis modeling?
· Size and complexity of WebApp
· Number of Stakeholders
· Size of WebE team
· Degree to which members worked together before
· Degree to which organization’s success directly depends on success of
WebApp
A prototype is a stripped down version of one or more aspects of the WebApp increment.
It identifies the full spectrum of content to be provided by the WebApp. It includes text,
graphics and images, video and audio data.
(OR)
A representation that provides a clear indication of the content that is required to support a
usage scenario.
It defines the operations that will be applied to WebApp content and describes other
processing functions that are independent of content but necessary to the end user.
Attributes define an analysis class. They clarify what the class means in the context of the
problem space.
Collaborated classes to achieve some requirement are organized into an architectural element
or subsystem during design.
It describes the ways in which users will interact with the WedApp and they implicitly
captures the exchange value between different users.
Part-3:
1) Explain what are the key responsibilities of a Web Developer?
• Program test and debug all web applications
• Design, develop, test and deploy web applications
• Uploading sites onto server and registering it with different search engines
• Coordinate with other designers and programmers to develop web projects
• Fix bugs, troubleshoot and resolve problems
• In case of system failure initiate periodic testing and implement contingency plans
• Develop appropriate code structures to solve specific tasks
• Support and assist in the upkeep and maintenance of websites
• Assume ownership of code throughout staging, development, testing and production
• HTML
• CSS
• SQL
• PHP/Ruby/Python
• JQuery
• JavaScript
(CORS) Cross-Origin Resource Sharing is a mechanism that enables many resources (e.g.,
JavaScript, fonts etc.) on a web page to be requested from another domain outside the
domain from which the resource originated. It is a mechanism supported in HTML5 that
manages XMLHttpRequest access to a domain different.
Long polling is a web application development pattern used to emulate pushing data from
the server to the client. When the long polling is used, the client sends a request to the
server, and the connection remains intact until the server is ready to send data to the client.
The connection will be closed only after the data is sent back to the client or connection
timeout occurs.
A DTD means Document Type Definition (DTD) which defines the structure, legal
elements and attributes of an XML document.
• PCDATA: A PCDATA is a Parsed Character Data. XML parsers usually parse all
the text in an XML document.
• CDATA: While CDATA is an Unparsed Character Data, the term CDATA is used
about text data that should not be parsed by the XML parser.
8) Mention some tips you can use to reduce the load time of a web
application that you have written?
To decrease the load time of a web application you have to follow the following tips
• Optimize images to no longer than screen resolution and save it as a compressed file
• Eliminate all JavaScript files to reduce the amount of transferable data
• Combine & Mininify all CSS and JS and call them in footer
• Defer or Asynch JS Files
9) Mention what is the correct way to include JavaScript into your HTML?
The correct way to include JavaScript into your HTML is by using inline event handlers or
inline code.
10) Explain in CSS, how can you make a form element’s background color
change when the user is entering text? Does this work in all browsers?
Yes, you can change the default look of form elements by styling their HTML tags: input,
select and text area but it won’t work for all browsers.
11) Explain what is the difference between cookies and local storage?
Data accessible both at client side Only at the local browser side data is
Client Side/ and server side. The data is sent to accessible. Server cannot use local storage
Server Side the serverside with every cookie until deliberately sent a request to the
request. server via POST or GET
Cookies have expiration and cookie There is no expiration and has to remove
Expiration
data gets deleted after some time manually
12) In HTML what tag can be used for a multi-line text input control?
For multi-line text input control, you can use the “textarea tag”.
13) Explain how can you refer to CSS file in the web page?
You can refer to the .CSS file in the webpage by using the <link> tag. It should be kept
between <head></head>tag. For example <linkhref=”/css/[Link]” type=”text/css”
rel=”stylesheet”/>
14) List out few ways you can reduce page load time?
Frame Div
With frames, you can show more than one
The <div> tag defines a division or a section
HTML document in the same browser
in an HTML document
window
The frame tag declares one particular The <div> is used to group block-elements
window within a frameset to format them with styles
On the other hand page, divisions can serve
Frames can load other resources using local content in the manner of the frames,
HTML but that content is not independent of the
page though
Part-4
Q1. What is a pseudo-class?
Ans. It is a CSS technique that sets the style when an element changes its state. E.g. style
changes when mouse hover, different styles for visited or unvisited links, etc.
• Links: These pseudo-classes are used to style the link both in its normal state by default
and when it has already been visited
• Dynamic: Dynamic pseudo-classes can be applied to any element to define how they are
shown when the cursor is located on them, or by clicking on them or when they are selected
• Structural: Structural pseudo-classes allow to style elements based on an exact numerical
position of the element
• Others: Some elements can be styled differently based on the language or what type of
label they are not.
: active Active the element has been clicked IE7, FF1, O3.5, S1, CSS1
Ans. It is usually not a good practice to use global variables in programming languages
including JavaScript. However, you may have to use global variables sometimes. So,
JavaScript introduces the concept of namespacing which ties down a part of the code and
registers it with a unique name.
The namespace is nothing more than a container name where we hold classes, functions,
and variables that can be repeated with the same name in other namespaces or namespace
without involving an error.
Ans. These are the following ways you can reduce web page loading time –
Due to the same-origin policy followed by XMLHttpRequest and fetch, JavaScript can only
make calls to URLs that live on the same origin as the location where the script is running.
Without features like CORS, websites are restricted to accessing resources from the same
origin through the same-origin policy.
Q5. What are the advantages of HTTP 2.0 over HTTP 1.1?
Ans. The major advantages of HTTP 2.0 over HTTP 1.1 include –
Q6. How do you take into account SEO, maintainability, UX, performance, and
security when you’re building a web application?
Ans. Explain how you prioritize your actions as per the requirements of the organization. If
your organization handles vital data, then security will be your top priority. If it is a
medium-sized online business, SEO and UX might be your top priority, and so on.
Q8. What’s the best way to integrate 5 different stylesheets into a website?
Ans. It usually depends on how the site is laid out. However, the most efficient way would
be using just one file called [Link] (or similar). If you want to change the style, you just
open up [Link], scroll to find the relevant section, and modify the CSS. You can link the
sheet in your HTML as –
Ans. The HTML <canvas> element is used to draw graphics using JavaScript. We can use
it to draw graphs, combine photos, or create basic animations.
Ans. Canvas is an HTML5 element that can draw graphics on the fly with the help of
JavaScript. SVG (Scalable Vector Graphics) is used to display vector-based graphics on the
web. The major differences are –
Canvas SVG
The interaction between the event model and the The interaction between the event model
user is granular (x, y) and the user is summarized (rect, path)
Ans. There is no default border size of a Canvas. You can adjust using CSS.
To learn more about web development, read our blog – what is Web Development?
ID’s Class
Each page can have only one element with You can use multiple classes on the
that ID same element
Find and modify the style to any single Find and modify the style to any
element number of elements
Ans. This question is not about checking if you are perfect for the same environment as the
organization works but to measure if you are flexible to work in any environment. So, give
them a hint that you are able to adapt to any environment with the core skills that you have.
Q14. Which are the new APIs provided by HTML5?
• Media API
• Text track API
• Application cache API
• Data transfer API
• User interaction API
• Command API
• Constraint validation API
• History API
Ans. This is one of the frequently asked web developer interview questions.
You can talk about your current job role in a reply to this question. usually, the most
common job responsibilities of a web developer include –
• Writing well designed, testable, efficient code by using best software development practices
• Creating website layout/user interface by using standard HTML/CSS practices
• Integrating data from various back-end services and databases
• Gathering and refine specifications and requirements based on the client’s requirements
• Creating and maintain software documentation
• Maintaining, expand, and scale the websites
• Staying plugged into emerging technologies/industry trends, and apply them to operations
and activities
• Meeting with clients or management to discuss the needs and design of a website
• Cooperating with web designers to match visual design intent
• Creating and test applications for a website
• Writing code for the website, using programming languages such as HTML or XML
• Integrating graphics, audio, and video into the website
Q16. What is the difference between null value and undefined value in JavaScript?
Ans. In JavaScript, undefined means a variable has been declared but has not yet been
assigned a value. On the other hand, null is an assignment value. Undefined is a type
whereas null is an object.
Q17. What are the web technologies that you are proficient in?
Ans. As already mentioned, you must have expert skills in three technologies: HTML5,
CSS3, and JavaScript. Apart from that, you should be able to have at least some working
knowledge of some of the other technologies like popular frameworks, APIs, and database
management.
Q18. What are the different types of pop-up boxes available in JavaScript? Explain
them.
Ans. The scope defines the accessibility of the functions and variables in an application.
There are two types of scopes:
Q20. What is the difference between ‘==’ and ‘===’ operators in JavaScript?
Ans. Though both of them belong to the comparison operator category, the ‘==’ operator
checks the value whereas, the ‘===’ operator checks both the value and the type. The ‘===’
operator will test for strict equality and will not perform the type conversion. If the two
values are not of the same type, the ‘===’ operator will return false.
Q21. By which mechanism in JavaScript can you detect the operating system on a
client machine?
Ans. The operating system on a client system can be known by using the JavaScript
property [Link].
Check out the Top Web Development Courses to Start a Career as a Web Developer
Q22. Which one do you use the most, CSS Animations or JavaScript Animations?
Ans. Both. CSS animation and JavaScript animation are the two primary ways of creating
web animations. As per the project requirement and the kind of the desired effect, I have
used both of them.
• When advanced animation effects are expected in the project, like bouncing, stop pause,
etc.
• When a superior level of control is required, JS animation works well.
• Helpful when drawing in HTML canvas.
Q23. Have you used Git for pushing live changes on the website?
Ans. Yes, Git is a great help to streamline live updates on the website. For this, I made use
of a post-receive hook. Through this, I was able to copy updates from the remote server
repo and update them onto the live site.
Ans. There are several web development tools available and being into the role of a web
developer, I have used multiple of them like:
Q25. As a web developer, how do you optimize your site’s loading time?
• Implementing caching
• Minifying CSS, HTML, and JavaScript codes
Ans. HTML and XHTML are both known for writing web pages. But, HTML is extended
from SGML tagging whereas XHTML is an application of Extensible Markup Language
(XML).
HTML has three components – element tag pair (start tag and end tag), attributes of the
element within the tag, and content in the form of both text and graphics. Whereas XHTML
includes only a single root element which includes lower case elements and the value that is
assigned should be closed, nested, and must be surrounded by quotation marks. Looking at
the difference, XHTML is more expressive when compared to HTML.
Here’s the list of 10 Best Software Development Tools and Frameworks to Learn
Q27. Have you gone through our website? Please mention what you didn’t like
about the site?
Ans. Now, this is a tricky question and here the interviewer is checking your skills to
identify what is good as per you and as a developer how in-depth knowledge do you have
about the site’s functionality. So, the first thing is that you must visit their website before
appearing for the interview as this will show your interviewer that you are serious about the
role and at the same time you are well-prepared.
Next, you need to do is observe some good points about the site from a developer’s point of
view and also make a checklist of pitfalls. Note, please mention only genuine points where
your expertise can be of help.
Q28. How do you handle a client who is unhappy with your team’s web delivery?
Ans. For every company, the client is the king and no one wants to lose his or her clients at
any cost. Therefore, when appearing for a web developer interview round, you must be well
prepared as the recruiter can shoot this question.
You can start by narrating any previous incident that is related to client handling. Define
the issues the client was facing, and later narrate the solutions, which you or your team had
performed to help the client. This will let the recruiter know that you have the capability to
handle and nurture clients.
Ans. HTTP/3 is the new third-generation HTTP standard that was recently made available
in late 2019. It is known for its new standards, fast, reliable, and secure connection.
HTTP/3 promises a faster web experience as it uses QUIC. This new internet transport
protocol introduces first-class citizens. Brands like Google and Facebook are now using
QUIC because of its swift ability to speed up the web.
Ans. Many times it happens that some images are not properly displayed on the page and
that severely affects the SEO and if happens multiple times, it hampers the overall rankings.
So, I keep on checking things like missing href and alt tags.
Ans. It is not necessary that you hold experience in developing multilingual sites but you
must know the basics of how it is done. You can tell the recruiter the process that involves
Unicode encoding and usage of the ‘lang’ attribute.
1 University is planning to provide web space for each student, where student can create his/her
own web page, access necessary information, email and other applications. Consider the student's
requirements related to this project, specify web engineering team, requirement specification,
necessary architecture, user interface (please do not specify/write any code).(20 marks)
2(a) What are problems and restrictions in integrated web design?(10 marks)
2(b) What is the role of tester in web application? Specify conventional approach for the same. (10
marks)
3(a) What are the components of generic web application? Explain with example(10 marks)
3(b) How servlets are important in developing web application? Explain with example(10 marks)
4(a) What are the different characteristics of web application? Explain
5(a) What do you mean by user interface organization? Explain(10 marks)
5(b) Write a brief note on Evolution of web engineering(10 marks)
6(a) Explain product related characteristics of web engineering(10 marks)
6(b) How SMIL can be effective in web application development?(10 marks)
7(a) Client side technology(10 marks) 7(b) ActiveX controls(10 marks) 7(c) Multimedia
data architecture(10 marks) 7(d) Middleware technologies (10 marks)