2022-04-27 16 - 26 - 33 - Syl1350
2022-04-27 16 - 26 - 33 - Syl1350
2022-04-27 16 - 26 - 33 - Syl1350
4180/GA - IV - J1/2012/CU
UNIVERSITY OF CALICUT
Abstract
General & Academic - CBCSS UG 2019 - Scheme and Syllabus of Data Science as Complementary Course under
Computer Science and Application (UG) Board -w.e.f 2020 Admission - Implemented, subject to ratification by Academic
Council -Orders Issued.
G & A - IV - J
U.O.No. 4137/2021/Admn Dated, Calicut University.P.O, 03.04.2021
Read:-1. Minutes of the online meeting of the members of the subcommittee of syndicate and
chairpersons of all UG Board of Studies held on 17.12.2020.
2. Letter No: 204929/GA-IV-J2/2020/Admn, Dated 12.01.2021.
3. Item No.1 in the minutes of the online meeting of Board of Studies in Computer
Science and Application (UG) held on 25.01.2021
4. Remarks from Dean, Faculty of Science dated 15.02.2021.
5. Orders of the Vice Chancellor in the file even No. dated 17.02.2021.
ORDER
1. Vide paper read (1) above, the meeting of the members of the sub-committee of the Syndicate
and Chairpersons of all UG Boards of Studies, discussed the commencement of the newly
sanctioned programmes in affiliated colleges in the academic year 2020-21 and entrusted
the Boards of Studies concerned, to prepare the syllabus of the programme under their area of
study.
2. Vide paper read (2) above, Boards of Studies in Computer science and Application, UG, was
requested to prepare the syllabus of Complementary Course, "Data Science" w.e.f 2020
admissions.
3. Vide paper read (3) above, the meeting of Board of Studies in Computer Science and
Application (UG) held on 25.01.2021, resolved to approve the scheme and syllabus of
complementary course, "Data Science" prepared by the Board of Studies in Computer Science
and Application (UG).
4. The Dean, Faculty of Science, has approved the decisions of the meeting of the Board of
Studies in Computer Science and Application (UG), vide paper read (4) above.
5. Considering the urgency, the Vice Chancellor has accorded sanction to implement the scheme
and syllabus of "Data Science", as Complementary Course, under the board of studies
in Computer Science and Application (UG) which is endorsed by the Dean Faculty of Science,
subject to ratification by the Academic Council.
6. Sanction is therefore accorded for implementing the scheme and syllabus of "Data Science"
as Complementary Course under the Board of studies in Computer Science and Application
(UG) w.e.f 2020 admissions, subject to ratification by the Academic Council.
7. Orders are issued accordingly. (Syllabus appended)
Arsad M
Assistant Registrar
To
The Principals of all Affiliated Colleges
Copy to: PS to VC/PA to PVC/ PA to Registrar/PA to CE/CDC/DoA/JCE I/JCE IV/SF/DF/FC
Forwarded / By Order
Section Officer
Page 1 of 25
UNIVERSITY OF CALICUT
THENHIPALAM, CALICUT UNIVERSITY P.O
SYLLABUS
FOR
FACULTY OF SCIENCE
FOR THE STUDENTS ADMITTED FROM THE ACADEMIC
YEAR 2020– 21 ONWARDS
1|Page
Page 2 of 25
REGULATIONS
FOR
COURSE EVALUATION:
Total marks for each complementary theory course is 75 marks and lab course shall be 100 marks.
The evaluation scheme for each course shall contain two parts (1) Internal evaluation (2) external
evaluation. 15 marks shall be given to the internal evaluation of theory course. The remaining 60
marks shall be for the external evaluation.
INTERNAL EVALUATION
The internal assessment shall be based on a predetermined transparent system involving written test,
assignments, seminars and attendance in respect of theory courses and on test/record/viva/ attendance
in respect of lab courses. 15 marks in each theory course, 20 for lab, are for internal examinations.
Components with percentage of marks of Internal Evaluation of Theory Courses are:
Theory Practical
85% -100% 6 10
65% -85% 5 8
55% - 65% 4 6
45% - 55% 3 5
35%- 45% 2 4
Less than 35% 1 2
Theory Practical
85 % and above 3 4
75% ≤CRP <85% 2 2
(If a fraction appears in the final internal marks awarded, nearest whole number is to be taken)
To ensure transparency of the evaluation process, the internal assessment marks awarded to the
students in each course in a semester shall be notified on the notice board at least one week before the
commencement of external examination. There shall not be any chance for improvement for internal
marks. The course teacher(s) shall maintain the academic record of each student registered for the
course, which shall be forwarded to the University by the college Principal after obtaining the
signature of both course teacher and HOD. The marks secured for internal examination only need be
sent to university, by the colleges concerned.
EXTERNAL EVALUATION:
There shall be University examinations for each theory course at the end of each semester. Practical
examinations shall be conducted by the University at the end of fourth semester. External evaluation
carries 60 Marks for each theory course, 80 Marks for lab course. External evaluation of even (2 and
4) semesters will be conducted in centralized valuation camps immediately after the examination.
Answer scripts of odd semester (1 and 3) examination will be evaluated by home
Section A: Short answer type carries 2 marks each - 12 questions (Ceiling - 20)
Section B: Paragraph/ Problem type carries 5 marks each - 7 questions (Ceiling - 30)
Section C: Essay type carries 10 marks (1 out of 2) - (Ceiling - 10)
The external examination in theory courses is to be conducted with question papers set by external
experts. The evaluation of the answer scripts shall be done by examiners based on a well-defined
scheme of valuation and answer keys shall be provided by the University. The external examination
in practical courses shall be conducted by two examiners, one internal and an external, appointed by
the University.
The model of the question paper for external examination (lab courses) of 3 Hrs. duration shall be:
1. Section A: One marked question of 30 Marks from Programming Lab Part A (Python
Programming) is to be attempted (Design - Algorithm/Flowchart/Interface: 10 Marks, Code:
10 Marks, Result: 10 Marks. Total 30 Marks)
2. Section B: One marked question of 30 Marks from Programming Lab Part B (MongoDB or
Tableau) is to be attempted (Design - Algorithm/Flowchart/Interface: 10 Marks, Code: 10
Marks, Result: 10 Marks. Total 30 Marks)
3. Section C: Lab viva voce (Total 10 Marks)
4. Section D: Lab Record (Total 10 Marks)
Number of students in one batch for practical Examination must be limited to 14.
REVALUATION:
In the new system of grading, revaluation is permissible. The prevailing rules for revaluation are
applicable. Students can apply for photocopies of answer scripts of external examinations.
Applications for photocopies/scrutiny/revaluation should be submitted within 10 days of publication
of results. The fee for this shall be as decided by the university.
IMPROVEMENT COURSE
A maximum of two courses (Common, Core, Complementary or Open) can be improved in each
semester. Improvement of a particular semester can be done only once. The student shall avail the
improvement chance in the succeeding year after the successful completion of the semester
concerned. The internal marks already obtained will be carried forward to determine the
Credits
Code Hours
External
Internal
Theory
Total
Total
Lab
1 1 BCSDS 1C 01 Python Programming 15 60 75 2 2 4 2
Introduction to Data
II 2 BCSDS 2C 02 Science 15 60 75 2 2 4 2
III 3 BCSDS 3C 03 Database Management 15 60 75 3 2 5 2
System
IV 4 BCSDS 4C 04 Data Visualization 15 60 75 3 2 5 2
Item Description
L Lab Hours
T Theory Hours
Course Outline
UNIT I [7T+6L]
Problem solving strategies – Problem analysis – formal definition of problem – Solution – Top- down
design – breaking a problem into sub problems- overview of the solution to the sub problems by writing
step by step procedure (algorithm) - representation of procedure by flowchart - Implementation of
algorithms – use of procedures to achieve modularity. Examples for algorithms and flow charts - At
least ten problems Starting with non-numerical examples, and numeric problems like factorial, largest
among three numbers, largest among N, Fibonacci
7|Page
Page 8 of 25
UNIT II [6T+7L]
Introduction to Python – Variables, Data types, Expressions and Statements, Evaluation of Expressions,
Operators and Operands, Order of precedence, String Operations, Control statements, Boolean.
Expressions and logical operators, conditional and alternative executions, Nested Conditionals,
Recursion. Iteration - Multiple Assignment, While Statement, Tables, Two Dimensional Tables.
Encapsulation and generalization, Local Variables.
UNIT III [6T+7L]
Introduction to NumPy: The Basics of NumPy Arrays, Computation on NumPy Arrays: Universal
Functions, Aggregations: Min, Max, and Everything in Between, Computation on Arrays:
Broadcasting, Comparisons, Masks, and Boolean Logic, Fancy Indexing, Sorting Arrays, Structured
Data: NumPy’s Structured Arrays
UNIT IV [7T+6L]
Functions, Calling functions, Type conversion and coercion, composition of functions, Mathematical
functions, User-defined Functions, Parameters and Arguments. Strings and Lists – string traversal and
comparison with List operations with Examples, Tuples and dictionaries – Operations and Examples.
UNIT V [6T+6L]
Files and exceptions - Text files, Directories, Python – Modules, Python – JSON, Python- PIP,
Lambda. Classes/Objects-Create class, Create Object, The __init__() Function, Python Object
Oriented Principles, Object Methods, Self-Parameter, Python Exception Handling, Python MySQL,
Python MongoDBA
References
Downey, A. et al., How to think like a Computer Scientist: Learning with Python, John Wiley, 2015
. Lambert K. A., Fundamentals of Python - First Programs, Cengage Learning India, 2015
8|Page
Page 9 of 25
BCSDS 2C 02 – Introduction to Data Science
Semester: 2
Course Number: 2
Contact Hours: 2T+2L
Number of Credits: 2
Number of Contact Hours: 64
Course Evaluation: Internal – 15 Marks + External – 60 Marks
Prerequisites:
Background of the basic Statistics and Programming skills
Course Outcome
Students will demonstrate proficiency with statistical analysis of data
Students will apply data science concepts and methods to solve problems in real-world contexts
Course Outline
UNIT I [7T+6L]
Introduction: What is Data Science, Big Data and Data Science hype and getting past the hype Why
now. Datafication, Current landscape of perspectives, Skill sets needed, Statistical Inference,
Populations and samples, Statistical modeling, probability distributions, Introduction to R.
UNIT II [6T+7L]
Exploratory Data Analysis and the Data Science Process, Basic tools (plots, graphs and summary
statistics) of EDA, Philosophy of EDA, The Data Science Process Case Study: RealDirect (online real
9 | P a g e Board of Studies UG | Computer Science& Applications | University of Calicut
Page 10 of 25
estate _rm), Three Basic Machine Learning Algorithms, Linear Regression, k-Nearest Neighbors (k-
NN), k-means
UNIT IV [7T+6L]
Recommendation Systems: Building a User-Facing Data Product, Algorithmic ingredients of a
Recommendation Engine, Dimensionality Reduction, Singular Value Decomposition, Principal
Component Analysis, Exercise: build your own recommendation system, Mining Social-Network
Graphs, Social networks as graphs, Clustering of graphs, Direct discovery of communities in graphs,
Partitioning of graphs, Neighborhood properties in graphs.
UNIT V [6T+6L]
Data Visualization, Basic principles, ideas and tools for data visualization, Examples of inspiring
(industry) projects. Exercise: create your own visualization of a complex dataset, Data Science and
Ethical Issues, Discussions on privacy, security, ethics. A look back at Data Science, Next-generation
data scientists.
References
1. Cathy O'Neil and Rachel Schutt. Doing Data Science, Straight Talk From The Frontline. O'Reilly.
2014.
2. Jure Leskovek, Anand Rajaraman and Je_rey Ullman. Mining of Massive Datasets. v2.1, Cambridge
University Press. 2014. (free online)
3. Kevin P. Murphy. Machine Learning: A Probabilistic Perspective. ISBN 0262018020. 2013.
4. Foster Provost and Tom Fawcett. Data Science for Business: What You Need to Know about Data
Mining and Data-analytic Thinking. ISBN 1449361323. 2013.
5. Trevor Hastie, Robert Tibshirani and Jerome Friedman, Elements of Statistical Learning, Second
Edition. ISBN 0387952845. 2009. (free online)
6. Avrim Blum, John Hopcroft and Ravindran Kannan. Foundations of Data Science.
7. Mohammed J. Zaki andWagner Miera Jr. Data Mining and Analysis: Fundamental Concepts and
Algorithms. Cambridge University Press. 2014.
8. Jiawei Han, Micheline Kamber and Jian Pei. Data Mining: Concepts and Techniques, Third Edition.
ISBN 0123814790. 2011
1. Apply the database concepts and design database for given information system.
2. Create database and develop database programming skills in SQL and PL/SQL.
3. Apply the concepts of Normalization and design database which possess no anomalies
4. Explain the issues of transaction like concurrency control, recovery and security.
Course Outline
UNIT I [10T+6L]
Database System concepts and applications, Introduction to databases, File Systems vs. DBMS, Advantages and
Disadvantages of using DBMS Approach, Database administrators and user, Data Models, Schemas, and
Instances, Types of Data Models, Three Schema Architecture and Data Independence, Database Languages and
Interfaces.
UNIT II [10T+6L]
Page 11 of 24
Page 12 of 25
Entity-Relationship Model - Conceptual Data Models for Database Design, Entity Relationship Models, Concept
of Entity, Entity Sets, Relationship Sets, Attributes, Domains, Constraints, Keys, Strong and Weak Entities,
Concepts of EER. Relational Data Model Relations, Domains and Attributes, Tuples, Keys. Integrity Rules,
Relational Algebra and Operations, Relational Calculus and Domain Calculus, Relational Database Design using
ER to Relational Mapping.
Relational Database Design - Relational database design Anomalies in a Database, Normalization Theory,
Functional Dependencies, First, Second and Third Normal Forms, Relations with more than one Candidate Key,
Good and Bad Decompositions, Boyce Codd Normal Form, Multivalued Dependencies and Fourth Normal Form,
Join Dependencies and Fifth Normal Form.
UNIT IV [8T+8L]
SQL Concepts: Basics of SQL, DDL, DML, DCL, Tables – Create, Modify and Delete table structures, Rename and
Drop tables, Defining constraints – Primary key, foreign key, unique, not null, check, IN operator Select
Command, Logical Operators, Functions - aggregate functions, Built-in functions –numeric, date, string
functions, set operations, sub-queries, correlated sub-queries, Use of group by, having, order by, join and its
types, Exist, Any, All. View - Creation, Renaming the column of a view, destroys view.
UNIT V [8T+8L]
Transaction Management and Concurrency Control - Transaction Properties (ACID), states, Commit, Rollback;
Concurrency Control Lost update problems, Locks, two phase locking. Introduction to MongoDB and its
Features, Database, Collection and Documents, Various Data Types in MongoDB, Introduction to mongo shell.
References
1. Abraham Silberschatz, Henry F Korth, S.Sudharshan, Database System Concepts, 6th Edition
2. W. Gilmore, Beginning PHP and PostgreSQL 8: From Novice to Professional, Goels Computer Hut (2007),
ISBN: 9788181286000
i http://mdslab.unime.it/sites/default/files/mongodb_tutorial.pdf
Ii https://pdfs.semanticscholar.org/presentation/066b/ 600837053e0172ea3e514efaaa3bd8485e46.pd
Page 12 of 24
Page 13 of 25
BCSDS 4C 04 – Data Visualization
Semester: 4
CourseNumber: 4
ContactHoursperWeek: 5(3T+2L)
Number of Credits:2
UNIT I [10T+6L]
Computational Statistics and Data Visualization, Data Visualization and Theory, Presentation and Exploratory
Graphics, Graphics and Computing, Statistical Historiography Good Graphics –Introduction, Content, Context
and Construction, Presentation Graphics and Exploratory Graphics, Presentation (What to Whom, How and
Why), Choice of Graphical Form, Graphical Display Options, Higher-dimensional Displays and Special
Structures, Scatterplot Matrices (Sploms), Parallel Coordinates, Mosaic Plots, Small Multiples and Trellis
Displays, Time Series and Maps.
UNIT II [10T+6L]
Complete Plots, Sensible Defaults, Customization-Setting Parameters, Arranging Plots, Annotation,
Extensibility-Building Blocks, Combining Graphical Elements, 3-D Plots, Speed, Output Formats, Data Handling
Data and Graphs, Graph Layout Techniques- Force-directed Techniques, Multidimensional Scaling, The Pulling
Under Constraints Model, Bipartite Graphs Graph Drawing, Hierarchical Trees, Spanning Trees, Networks,
Directed Graphs, Treemaps.
13| P a g e Board of Studies UG | Computer Science& Applications | University of Calicut
Page 14 of 25
UNIT III [10T+6L]
High-dimensional Data Visualization Introduction, Mosaic Plots, Associations in High-dimensional Data,
Response Models, Models, Trellis Displays, Definition, Trellis Display vs. Mosaic Plots, Visualization of
Models, Parallel Coordinate Plots, Geometrical Aspects vs. Data Analysis Aspects, Limits Multidimensional
Scaling Proximity Data, Metric MDS, Non-metric MDS, Example: Shakespeare Keywords, Procrustes Analysis,
Unidimensional Scaling, INDSCAL, Correspondence Analysis and Reciprocal Averaging, Large Data Sets and
Other Numerical Approaches
UNIT IV [8T+8L]
Tableau. Introduction- Environmental setup, Design Flow, File Types, Data Types. Data Sources, Custom Data
View, Extracting Data, Field operations, Metadata, Data Joining and Blending, Worksheets - Adding, renaming,
reordering Worksheet Pages, Workbook Calculations- Operators, functions, Calculations, LOD Expressions. 2 9
UNIT V [8T+8L]
Sort and Filters- Sorting, Quick filtering, Context filtering, Condition filtering, Filter operations, Charts,
Advanced tableau, Tableau ─ Bar Chart, Line Chart, Multiple Measure Line Chart, Pie Chart, Crosstab, Scatter
Plot, Bubble Chart, Bullet Graph, Box Plot. Dashboard, Forecasting
Text Books
References
Course Outline
LAB PROGRAM CYCLE
Python Programming
1. Program to demonstrate basic data types in python
2. Program to demonstrate operators in python.
3. A cashier has currency notes of denominations 10, 50, and 100. If the amount to be withdrawn is input through
the keyboard using input () function in hundreds, find the total number of currency notes of each denomination
the cashier will have to give to the withdrawer.
4. Program to demonstrate list and tuple in python.
5. A library charges a fine for every book returned late. For first 5 days the fine is 50 paisa, for 6-10 days fine is one
rupee and above 10 days fine is 5 rupees. If you return the book after 30 days your membership will be
cancelled. Write a program to accept the number of days the member is late to return the book and display the
fine or the appropriate message
Page 15 of 24
Page 16 of 25
6. Write a program to calculate overtime pay of 10 employees. Overtime is paid at the rate of Rs.12.00 per hour
for every hour worked above 40 hours. Assume that employee do not work for fractional part of an hour.
7. Two numbers are entered through the keyboard. Write a program to find the value of one number raised to
the power of another.
8. Write a function that receives marks received by a student in 3 subjects and returns the average and percentage
of these marks. Call this function from main () and print the result in main.
9. Write a program to read a file and display its contents.
10. Write a program to demonstrate database connectivity in python.
11. Write a program to compute distance between two points taking input from the user (Pythagorean Theorem).
12. Write a program add.py that takes two numbers as command line arguments and prints its sum.
13. Write a Program for checking whether the given number is an even number or not.
14. Using a for loop, write a program that prints out the decimal equivalents of 1/2, 1/3, ¼.
15. Write a program using a while loop that asks the user for a number, and prints a countdown from that number
to zero
16. Write a Python program to print Fibonacci series.
17. Write a program to count the numbers of characters in the string and store them in a dictionary data structure.
18. Write a program to use split and join methods in the string and trace a birthday with a dictionary data structure.
19. Write a program that combines the lists into a dictionary.
20. Write a program to count frequency of characters in a given file. Can you use character frequency to tell whether
the given file is a Python program file, C program file or a text file.
21. Write a program to print each line of a file in reverse order.
22. Write a program to compute the number of characters, words and lines in a file.
23. Write a function that takes two balls as parameters and computes if they are colliding. Your function should
return a Boolean representing whether or not the balls are colliding.
Hint: Represent a ball on a plane as a tuple of (x, y, r), r being the radius
If (distance between two balls centers) <= (sum of their radii) then (they are colliding)
Find mean, median, mode for the given set of numbers in a list.
24. Write a function nearly equal to test whether two strings are nearly equal. Two strings a and b are nearly equal
when a can be generated by a single mutation on b.
26. Write a function unique to find all the unique elements of a list.
27. Write a function cumulative product to compute cumulative product of a list of numbers.
29. Write a function reverse to reverse a list without using the reverse function.
DBMS-MongoDB
1. Create the following tables with the specified constraints:
Department:
Department name - Not NULL unique
Department number - Primary Key
ManagerId - Refers to employee-id of employee table.
Manager
date of joining - Not NULL.
Employee:
First name - Not NULL
Middle initials
Last name - Not NULL
Employee id - Primary Key
Date of Birth - Not NULL
Address
Gender - M or F
Salary - Range of 5000 to 25000
Date of Joining
Department number - Refers to Department Number of Department table.
Department location:
Department number - Refers to Department number of department table.
Department location - Not NULL.
Department number & Department location are combined Primary Key
Project:
Project name-Not NULL.
Project number-Primary Key.
Project location-Not NULL.
Department number-Refers to department number of Department table.
Works-on:
Employee-id - Not NULL refers to employee-id of employee table.
Project number- Not NULL refers to Project number of Project table.
Hours - Not NULL.
Employee-id & Project number are combined primary key.
Dependent:
Employee-id - Refer to employee table employee id field
Dependent name - Gender - M or F
Date of Birth - Not NULL
Relationship - Not NULL
Now enter a few sets of meaningful data and answer the following queries.
1. List the department wise details of all the employees.
Page 17 of 24
Page 18 of 25
2. Find out all those departments that are located in more than one location.
3. Find the list of projects.
4. Find out the list of employees working on a project.
5. List the dependents of the employee whose employee id is 001
3. Create appropriate forms, reports, graphs, views and data filtering, etc. to answer the following queries.
1. Get the list of ISBN-Number, Book name, available copies of the books of which available copies are greater
than zero.
2. Get the list of ISBN-Number, Book name, Total copies, available copies of the book of which available copies
are greater than zero. List should be displayed in alphabetical order of book name.
3. Get the list of ISBN number, Book name, Author, total copies, cost (cost is price total copies). List should be
displayed in descending order of cost.
4. Get the list of books issued to each member.
5. Write query to know the maximum and average price of the books.
6. Get the list of all existing members and the number of days for which a member is allowed to keep the book.
Also find out the members who have got the maximum number of books issued.
7. Get the list of member codes of those members who have more than two books issued.
8. Find the details of the books presently issued to a member.
9. Create the history of issue of a book having a typical accession number.
10. To set the width of the book name as 35.
5. Create a view to know member name and name of the book issued to them. Use any inbuilt function and
operators like IN, ANY, ALL, EXISTS.
a. List the records of members who have not been issued any book using EXISTS operator.
b. List the members who have got issued at least one book (use IN/ANY operator).
c. List the books which have maximum Price using ALL operator.
d. Display Book Name, Member Name, Issue date of Book. Create a view of this query of the currently issued
books.
Page 19 of 24
Page 20 of 25
6. Create a table of Employee (emp-number, name, dept, salary) and Department (dept number, dept name).
Insert some records in the tables through appropriate forms having integrity checks. Add some records in
employee table where department value is not present in department table. Now answer the following query:
a. Display all records from employee table where department is not found in department table.
b. Display records from employee table in a report format with proper headings. This report must also contain
those records where department number does not match with any value of department table.
c. Display those employee records who have salary less than the salary of person whose empcode= A100.
d. Create another table: SalesData (RegionCode, City, Salesperson-Code, SalesQty).
e. Display records where salesperson has achieved sales more than average sales of all sales persons of all the
regions.
7. Create the following tables:
Order party: Order_number, Order_date, customer_code
Order: Order_number, Item_code, Quantity
The key to the second table is Order_number + Item_code
Create a form for data entry to both the tables.
12. Generate a Hospital information system that can generate the following reports:
• Patients who belongs to in-patient category
Page 20 of 24
Page 21 of 25
• Patients who belongs to out-patient category
For this purpose, create a table named HOSPITAL having the following structure.
Field Name Type Width
patientid character 10
name character 20
age numeric 3
doctor character 20
patienttype character 15
consultcharge numeric 6
bloodtestcharge numeric 6
xraycharge numeric 6
othercharges numeric 6
totalamount numeric 6
Enter the records of at least 10 patients. Write a SQL program to display the report in the ascending order of
patient name.
13. Create the tables EMP and DEPT using the following Information.
a. DEPT:
COLUMN NAME DATA TYPE(SIZE)
DEPTNO NUMBER (2)
DNAME VARCHAR2 (14)
LOC VARCHAR2 (14)
b. EMP:
COLUMN NAME DATATYPE(SIZE)
EMPNO NUMBER (4)
ENAME VARCHAR2 (10)
JOB VARCHAR2 (9)
MGR NUMBER (4)
HIREDATE DATE
SAL NUMBER (7, 2)
COMM NUMBER (7, 2)
DEPTNO NUMBER (2)
a) Check the Default Size of a Number, Char and Date Data types.
b) Describe the Structure of the Table and EMP Table.
14. Design a Hotel Bill calculating system that generates hotel bills for the customers.
15. Design a Hostel Accounting system that generates the Hostel Due Report.
16. Design an Electricity Bill Report generating system that generates electricity bills details of customers for a
month.
17. Generate a Library Information System that generates report of the books available in the library.
18. Programs involving multiple tables.
19. Consider the schema for College Database:
STUDENT (USN, SName, Address, Phone, Gender)
Page 21 of 24
Page 22 of 25
SEMSEC (SSID, Sem, Sec)
CLASS (USN, SSID)
SUBJECT (Subcode, Title, Sem, Credits)
IAMARKS (USN, Subcode, SSID, Test1, Test2, Test3, FinalIA)
Write SQL queries to
1. List all the student details studying in fourth semester ‘C’ section.
2. Compute the total number of male and female students in each semester and in each section.
3. Create a view of Test1 marks of student USN ‘1BI15CS101’ in all subjects.
4. Calculate the FinalIA (average of best two test marks) and update the corresponding table for all students.
5. Categorize students based on the following criterion:
If FinalIA = 17 to 20 then CAT = ‘Outstanding’
If FinalIA = 12 to 16 then CAT = ‘Average’
If FinalIA< 12 then CAT = ‘Weak’
Give these details only for 8th semester A, B, and C section students.
Page 22 of 24
Page 23 of 25
12. Implement Interactive Filter,
13. Implement Quick Filter.
14. Implement context filtering.
15. To plot a graph to show the Data in histogram.
16. To plot a bullet graph.
17. To plot a dual axis graph.
18. To plot an area graph with dual axis.
19. To show Data in TreeMap.
20. To build a Box plots.
21. To build a Gantt Bar Charts.
22. To build a Paretos.
23. To build a Sparklines.
24. Implement Grouping using Data Window and Visual Grouping,
25. Implement using all Functions (Number, String, Date, Logical, Aggregate).
26. Create quick table calculations. 27. Implement LOD calculations; types of LOD calculations. 28. Implement
Ad-hoc calculations.
29. Implement mapping using Pan & Zoom.
30. Implement mapping using Filtering.
31. Implement mapping using Map layering.
32. Implement mapping using Custom territories.
33. Implement mapping using Lasso & Radial selection.
34. To modify locations within Tableau.
35. To import and manage custom geocoding.
36. Create a custom territory, building a polygon map.
37. To use a background image map
38. To use Geographic search.
39. Implement analytics using Reference Lines and Reference Bands.
40. Implement analytics using Trend Lines and Trend Model.
41. Implement analytics using Forecasting using precise range.
42. Implement analytics using Drag & Drop Analytics and Box Plot.
43. Create a dashboard for publishing & sharing options.
44. Implement an interactive dashboard using actions (Filter, Highlight, UR
Page 23 of 24
Page 24 of 25
FIRST SEMESTER B.Sc. DEGREE EXAMINATION NOVEMBER 2020
(CBCSS-UG)
COMPLEMENTARY COURSE – COMPUTER SCIENCE=DATA SCIENCE
BCSDS 1C 01 – Python Programming
2 hrs 60 marks
BCSDS 1C 01 – Python Programming
Section A – Short Answer type questions
(Answer all questions, each correct answer carries a maximum of 2 Marks. Ceiling 20 marks)
1. What you meant by operator precedence?
2. What is the difference between list and tuples in Python?
3. What is an identifier? Give examples
4. What is Python? What are the benefits of using Python?
5. Write a short note on global keyword in Python.
6. What is Random Number Generator in Python?
7. Write a Python program to calculate the length of a string?
8. What is a set in Python?
9. What is default parameter in Python?
10. How do you write comments in Python?
11. What is eval( ) in python? What is its syntax?
12. Write a Python program to check given number is Prime or not.
Section B – Short Essay type questions
(Answer all questions, each correct answer carries a maximum of 5 marks. Ceiling 30 marks)
13. What are the different data types available in Python?
14. Write a Python program to remove an item from a set if it is present in the set.
15. Explain the use of functions in Python in detail.
16. What is a tuple? Explain different tuple operations in Python.
17. Write a short note on Python IDLE.
18. Write a Python program to sum all the items in a list.
19. Explain recursion in Python with suitable examples?