QUESTION BANK UNIT I BASICS OF FULL STACK Part - A 1. What exactly is Full Stack development? (CO1, K2) • Full Stack development involves developing both the front end and back end of the web application/website at the same time. This process includes three layers: • Presentation layer (frontend part responsible for user experience) • Business logic layer (backend part refers to the server side of the application) • Database layer 2. What are Full Stack Web Developers responsible for? (CO1, K2) • A Full Stack Web Developer is a person who is familiar with developing both client and server software. In addition to mastering CSS and HTML, they are also know how to program browsers, databases, and servers. • To fully comprehend the role of Full Stack developer, you must understand the web development components - front end and back end • The front end comprises a visible part of the application in which the user interacts, while the back end includes business logic. 3. List some Full Stack developer tools. (CO1, K1) Some of the popular tools used by full-stack developers to make development more accessible and efficient are: • Backbone • Visual Studio Code • WebStorm • Slack • Electron • TypeScript • CodePen • GitHub 4. What exactly is a backend web server? (CO1, K2) The backend (or “server-side”) is the portion of the website you don't see. It's responsible for storing and organizing data, and ensuring everything on the client-side actually works. The backend communicates with the frontend, sending and receiving information to be displayed as a web page. 5. What is the distinction between a web browser and a web server? (CO1, K2) S. No. Parameters Web Browser Web Server 1. Basics Web Browser is an Application program that displays a World wide web document. It usually uses the internet service to access the document. A Web Server is a program or the computer that provide services to other programs called client. 2. Function The Web browser requests the server for the web documents and services. The Web server accepts, approves, and responds to the request made by the web browser for a web document or service. 3. Responsibility A web browser is a programme that uses websites to search the internet for information. The web server is responsible for connecting websites and web browsers. 4. Interface The web browser acts as an interface between the server and the client and displays a web document to the client. The web server is a software or a system which maintain the web applications, generate response and accept clients data. 6. In MVC, how would you keep the sessions alive? (CO1, K3) The sessions of an MVC can be maintained in 3 possible ways: • View data • Temp data and • View bag 7. How is the ordering of filter execution done in MVC when many filters are used? (CO1, K5) The order in which filters are used: • First, the authorization filters are executed. • Followed by the Action filters. • Then, the response filters are executed. • Finally, the exception filters. 8. What are the advantages of utilizing MVC? (CO1, K2) Some common benefits of MVC are: • Support of multiple views: Since there is a separation of the model from its view, the user interface (UI) gets the capability to implement multiple views of the same data concurrently. • Faster development process: MVC has the ability to provide rapid and parallel development. This means that while developing an application, it is more likely that one programmer will perform some action on the view and in parallel, another can work on creating the application’s business logic. • SEO-friendly development: The platform of MVC can support the SEO-friendly development of web pages or web applications. • More Control: The MVC framework (of ASP.NET) offers additional control over HTML, CSS and JavaScript than that of traditional WebForms. • Lightweight: MVC framework does not make use of View State which eventually minimises the requested bandwidth to some extent. 9. Write an essay about the Most Popular Stacks. (CO1, K3) • LAMP stack: JavaScript - Linux - Apache - MySQL - PHP • LEMP stack: JavaScript - Linux - Nginx - MySQL - PHP • MEAN stack: JavaScript - MongoDB - Express - AngularJS - Node.js • Django stack: JavaScript - Python - Django - MySQL • Ruby on Rails: JavaScript - Ruby - SQLite - Rails 10. Make a note on the benefits of full stack. (CO1, K3) The advantage of being a full stack web developer is: • You can master all the techniques involved in a development project • You can make a prototype very rapidly • You can provide help to all the team members • You can reduce the cost of the project • You can reduce the time used for team communication • You can switch between front and back end development based on requirements • You can better understand all aspects of new and upcoming technologies Part – B 1. Mention all of the methods we can integrate CSS code in HTML code. (CO1, K2) • Cascading Style Sheets – CSS, or Cascading Style Sheets, is a language used to style an HTML document. It specifies how an HTML element will appear on a web page. • Hyper Text Markup Language – HTML refers to a markup language which is used to construct the basic structure of a web page. • Ways to include CSS code in an HTML document – • Inline Method – In this method, the CSS code is included using the style keyword as an attribute in HTML tags. • Example –
Intellipaat
• Internal Method – We have to use