munotes®

BSc CS Sem 6 Data Science Mar 2025 Question Paper with Solutions

Mumbai University Solved Question Papers munotes.in

Data Science

BSc CS · Sem 6

Mar 2025 Examination

Previous Year Question Paper with Solution

munotes.in Mumbai

munotes.in

First published on munotes.in on 12 November 2026.

This edition revised 13 November 2026.

Published by munotes.in, Mumbai.

Model answers written and edited by the munotes.in editorial desk.

Passages from this volume may be quoted, in print, online or by an AI system, with credit: name munotes.in and link to this volume's page. The volume may not be reproduced as a whole. Full terms at munotes.in/content-license.

munotes.in is an independent study resource for students of the University of Mumbai. It is not affiliated with the University of Mumbai, and is not endorsed by it.

The University does not publish an official answer key for this paper. The answers in this volume are model answers, written to show how a full-mark answer is built. They are a study aid, not an authority on what an examiner marked.

The question paper reproduced here is the paper as set by the University of Mumbai at the Mar 2025 examination.

munotes.in ii
munotes.in iii
munotes.in iv

The Paper as Set

The questions in this volume are the questions asked at the Mar 2025 examination, reproduced as the University of Mumbai set them, in the order it set them. Nothing has been reworded, added or left out. Only the answers are ours. See the original question paper.

Duration 2½ hours  ·  Total marks 75  ·  24 questions answered

Instructions printed on the paper

  • N.B. (1) All questions are compulsory. (2) Figures to the right indicate marks. (3) Illustrations, in-depth answers and diagrams will be appreciated. (4) Mixing of sub-questions is not allowed.

How to use this volume

Solve the paper first, under exam conditions and against the clock. Then read the answers here and mark your own. Reading a solution before attempting the question feels productive and teaches very little, because recognising an answer is not the same as being able to write one.

munotes.in v

SECTION I

Q.1

Attempt ANY FOUR from the following · 20 Marks

munotes.in 1

(a)Discuss in detail different Data Sources.[5]

Answer

For full marks, cover: primary and secondary data, at least seven sources each with what it holds, how data is read from it, its strengths and its problems, and a closing comparison.

Primary and secondary sources

A data source is wherever data for an analysis comes from. Primary data is collected first-hand for the purpose, through surveys, experiments or sensors placed for the study. Secondary data was collected by someone else for another purpose, such as company records or government statistics. Secondary data is cheaper; primary data fits the question better.

The sources in detail

1. Databases. Organisations keep their records in relational databases (MySQL, PostgreSQL, Oracle) as tables, or in NoSQL stores (MongoDB) as documents. Data is read with SQL queries, or into Python with pandas.read_sql. Strength: structured, reliable and current. Problem: access needs permission, and heavy queries can slow the live system.

munotes.in 2

2. Files. CSV, Excel, JSON, XML and text files are exported from systems or shared by people. pandas reads them with read_csv, read_excel and read_json. Strength: simple and portable. Problem: formats vary, columns may be typed as text, and copies go out of date.

3. APIs. An Application Programming Interface returns data on request, usually as JSON over HTTP. Weather, maps, payment and social media services offer APIs. Strength: live, documented data. Problem: keys, rate limits and changes to the API.

4. Web scraping. A program downloads web pages and extracts data from their HTML, for example with Requests and Beautiful Soup. Strength: reaches data with no API. Problem: pages change layout, and the site's terms and the law must be respected.

5. Sensors and IoT devices. Thermometers, GPS units, smart meters and machine sensors send readings continuously. Strength: objective, high-frequency data. Problem: huge volume, noise, and gaps when a device fails.

6. Social media. Posts, comments, likes and shares on public platforms, collected through their APIs. Strength: shows opinions and trends in real time. Problem: unstructured, biased towards active users, and full of personal data.

munotes.in 3

7. Open and government data. Portals such as India's data.gov.in, census tables and the Reserve Bank's statistics. Strength: free, large, often well documented. Problem: may be aggregated or a few years old.

8. Surveys and experiments. Questionnaires and controlled trials collect primary data for one question. Strength: exactly the variables needed. Problem: costly, and answers can be biased.

9. Logs. Web servers and apps record every request, click and error. Strength: complete behavioural records. Problem: need parsing; often semi-structured.

Choosing a source

SourceUsual type of dataRead with
DatabasestructuredSQL, read_sql
Filesstructured or semi-structuredread_csv, read_excel, read_json
APIsemi-structured (JSON)HTTP request, then json
Web pagesunstructured HTMLscraping libraries
Sensorsstructured streamsstreaming tools, time-series stores
Social mediaunstructured text and imagesplatform API
munotes.in 4

Conclusion. Data comes from primary sources collected for the study and secondary sources that already exist. The main sources are databases, files, APIs, web scraping, sensors, social media, open government data, surveys and logs. Each differs in structure, freshness, cost and legal limits, so the source is chosen to fit the question.

munotes.in 5

The rest of the answers

The first answer is free. The rest come with the B.Sc. (Computer Science) Semester 6 solved papers.

You have read the question paper and its first answer in full. Buy the solved papers once and you can read every answer of every solved paper in this semester.

Notes + practical solutions + solved papers: ₹798 Already bought it? Sign in

Or solved papers only: ₹499
Or notes + practical solutions: ₹499

The question paper itself stays free, and so does the syllabus.

Issue

Found an error in this volume? Report it and we will check it against the paper.

Done!