Skip to content

Natural Language Processing

CSE · Quiz · Fall 26

Section I · Batch 65 · shared by Abdullah Tawsif (CSE-232)

This browser can’t show the PDF here

Open it in a new tab or download it instead.

Read the questions as text

Read off the PDF by AI, so it may have mistakes. The PDF is the original.

Daffodil International University\nFaculty Of Science & Information Technology\nDepartment Of Computer Science & Engineering\nCourse Code: CSE 432\nCourse Title: NLP\nQUIZ 1, Fall 2026\nTime: 40 min\n\n1. [7]\nDoc | Text | Class\nD1 | "python code algorithm data" | Technology\nD2 | "neural network deep learning model" | Technology\nD3 | "cricket bat ball wicket match" | Sports\nD4 | "football goal player stadium win" | Sports\nD5 | "rice curry spice cook delicious" | Food\nD6 | "cake sugar butter bake oven" | Food\n\nTest Document: "python data butter cook"\n\n(a) Calculate the Prior Probabilities.\n(b) Calculate the Likelihood of each word in the test document for a classes using Laplace Smoothing.\n(c) Which class does the classifier assign to the test document?\n\n2. [3]\nDoc | Text\nD1 | the cat sat on the mat\nD2 | the dog sat on the log\nD3 | the cat chased the dog\nD4 | birds fly in the sky\n\n(a) Compute the IDF of the terms "the", "cat", and "sky".\n(b) Which of these three terms is the most informative for distinguishing documents, and why?