Back End Technologies-Chandigarh University -2023โ€“2024 End Semester Examination Paper

๐Ÿ“˜ Chandigarh University โ€“ MCA/BCA/B.Tech

These Mid-Semester papers are part of the official examinations of Chandigarh University,
designed to test knowledge and practical understanding of core MCA, Computer Applications, and B.Tech subjects.

๐Ÿ’ก Each paper encourages students to think critically, apply concepts, and showcase problem-solving skills โ€” helping them prepare for real-world IT challenges.

Usage Condition:

  • ๐Ÿ“– Papers are for reference and study purposes only.
  • ๐Ÿง‘โ€๐ŸŽ“ Students should use them responsibly and not for any malpractice.
  • ๐Ÿ“… Availability depends on the course and year.

Back End Technologies

Subject Code:22CAH-706
Semester: 3 | Time: 3 Hours | Max Marks: 60

Section A

  • 1. Compare and contrast the differences between JWT and traditional session-based authentication methods in terms of security and scalability.
    CO5

  • 2. Does MongoDB need a lot of RAM? Support your answer with proper facts.
    CO2

  • 3. Write in brief about Node.js and its uses.
    CO1.

  • 4. Compare and contrast Basic Authentication and Token-based Authentication in terms of security and implementation complexity.
    CO3

  • 5. Describe the potential security risks of sending credentials using Basic Authentication without encryption.
    CO3

Section B

  1. 6. Describe the difference between static methods and instance methods in Mongoose.
    CO3

  2. 7. Describe the potential security concerns related to using cookies in web applications and how they can be mitigated.
    CO5

  3. 8. Demonstrate use of async/await in Node.js with example.
    CO3
  4. 9. Create a step-by-step guide on how to integrate Passport.js with an Express.js application for local authentication using a username and password.
    CO5

 

Section C-(3*10)

10. Describe how to avoid Callback Hell in Node.js with example.
CO5

11. Explain Aggregation Framework in MongoDB.
CO2

12. In a Node.js and Express application, how would you configure and initialize Express Session to manage user sessions? Create a code snippet to demonstrate how to set a session variable named “user_id” to store the logged-in user’s ID.
CO5

 

๐Ÿ“„ Download PDF

If you want to download the PDF then click the link below

โฌ‡ Download Now

 

Leave a Comment

icoteky.com