Coms Final
Coms Final
Coms Final
Course Overview:
This course covers the fundamental concepts of computer system organization, programming fundamental along
with its theoretical analysis, data structure, computer networks, the value of technology in societies, e-commerce,
python programming, database management system, and artificial intelligence for the students from science
background only.
Course Objective:
Total Contact Hours: 200 (Theory & Practical: 180 ; Remedial & Home Assignment:20)
SEMESTER – I
Course Code: COMS (Theory)
Operators 3 Hours
Arithmetic, Relational, Logical, Assignment, Increment and Decrement,
Conditional, comma; operator precedence and associatively; arithmetic
expression-evaluation and type conversion. Character I/O, Escape
sequence and formatted I/O.
Pointers 15 Hours
Declaration and initialization, operators, pointer arithmetic’s, accessing
variables, pointer & arrays, strings, functions.
SEMESTER – II
Stack
Stack operations (push and pop), implementation using array and list, 6 Hours
application of Stack.
Queue
Queue operation implementation using array and list, circular queue, 6 Hours
de-queue, priority queue.
Recursion
Definition. 4 Hours
Advantages and limitations of recursion.
Understanding what goes behind recursion (internal stack
implementation), tail recursion.
Network Protocols -HTTP, FTP, PPP, SMTP, TCP/IP, POP3, TELNET, HTTPS, 2 Hours
VolP.
Referential Model- OSI Model (Basic Concept, use of devices and protocols at 1 Hour
different layers).
Cyber safety: Safely browsing the web, identity protection, confidentiality. 2 Hours
Total Contact Hours: 200 (Theory & Practical: 180; Remedial & Home Assignment:20)
SEMESTER – III
Operators 2 Hours
Arithmetic operators, relational operators, logical operators,
assignment operators, augmented assignment operators, identity
operators (is, is not), membership operators (in not in).
Flow of Control
Introduction, use of indentation, sequential flow, conditional and 4 Hours
iterative flow.
Strings
Introduction, string operations (concatenation, repetition, 10 Hours
membership and slicing), traversing a string using loops, built-in
functions/methods–len(), capitalize(), title(), lower(), upper(),
count(), find(), index(), endswith(), startswith(), isalnum(), isalpha(),
isdigit(), islower(), isupper(), isspace(),lstrip(), rstrip(), strip(),
replace(), join(), partition(), split().
Lists
Introduction, indexing, list operations (concatenation, repetition,
membership and slicing), traversing a list using loops, built-in 10 Hours
functions/methods–len(), list(), append(), extend(), insert(), count(),
index(), remove(), pop(), reverse(), sort(), sorted(), min(), max(),
sum(); nested lists, suggested programs: finding the maximum,
minimum, mean of numeric values stored in a list; linear search on
list of numbers and counting the frequency of elements in a list.
Tuples
Introduction, indexing, tuple operations (concatenation, repetition,
membership and slicing); built-in functions/methods – len(), tuple(), 5 Hours
count(), index(), sorted(), min(), max(), sum(); tuple assignment,
nested tuple.
Dictionary
Introduction, accessing items in a dictionary using keys, mutability of
a dictionary (adding a new term, modifying an existing item), 5 Hours
traversing a dictionary, built-in functions/methods – len(), dict(),
keys(), values(), items(), get(), update(), del(), del, clear(), fromkeys(),
copy(), pop(), popitem(), setdefault(), max(), min(), sorted().
Functions
Types of function (built-in functions, functions defined in module,
user defined functions), creating user defined function, arguments
and parameters, default parameters, positional parameters, function 7 Hours
returning value(s), flow of execution, scope of a variable (global
scope, local scope).
Exception Handling
Introduction, handling exceptions using try-except-finally blocks. 7 Hours
Internet Marketing
The PROS and CONS of online shopping, The cons of online shopping, 4 Hours
Justify an Internet business, Internet marketing techniques, The E-
cycle of Internet marketing, Personalization e-commerce.
SEMESTER – IV
Course Code: COMS (Theory)
Full Marks: 35 Contact Hours: 80
Unit – 1 Database Management System 20 Marks Total 50 Hours
Introduction 3 Hours
Drawbacks of Legacy System, Advantages of DBMS, Layered
Architecture of Database, Data Independence, Data Models, Schemas
and Instances, Database Languages, Database Users, DBA, Data
Dictionary.
SQL
Introduction, Data Definition Language and Data Manipulation 25 Hours
Language, Data type (char(n), varchar(n), int, float, date), constraints
(not null, unique, primary key), create database, use database, show
databases, drop database, show tables, create table, describe table,
alter table (add and remove an attribute, add and remove primary
key), drop table, insert, delete, select, operators (mathematical,
relational and logical), aliasing, distinct clause, where clause, in,
between, order by, meaning of null, is null, is not null, like, update
command, delete command, aggregate functions (max, min, avg, sum,
count), group by, having clause, joins: cartesian product on two tables,
equi-join and natural join .
Applications of AI
AI in finance: Fraud detection, algorithmic trading, and risk 3 Hours
assessment.
AI in customer service and chatbots.
AI in education: Personalized learning and intelligent tutoring systems.
Full Marks: 30
1. Experiments with basic Linux Commands 5 Marks
Use of Simple commands-ls, cd, cp, cat, mv, mkdir, rmdir, who, use of wildcard etc.
2. C programming 17 Marks
Flowchart 3 marks
Program coding 10 marks
Output 4 marks
4. Viva 5 Marks
Full Marks : 30
1. MYSQL 10 Marks
Table creation 3 Marks
Data insertion in table 2 Marks
2 Queries 5 Marks
2. Python Program 12 Marks
Coding 9 Marks
Output 3 Marks
3. Lab Book 3 Marks
4. Viva 5 Marks
● Write a program to input the value of x and n and print the sum of the following series:
● Count and display the number of vowels, consonants, uppercase, lowercase characters in string.
● Input a string and determine whether it is a palindrome or not; convert the case of characters in a string.
● Find the largest/smallest number in a list/tuple
● Input a list of numbers and swap elements at the even location with the elements at the odd location.
● Input a list/tuple of elements, search for a given element in the list/tuple.
● Create a dictionary with the roll number, name and marks of n students in a class and display the names of
students who have marks above 75.
● Write a random number generator that generates random numbers between 1 and 6 (simulates a dice).
● Create a student table and insert data. Implement the following SQL commands on the student table:
o ALTER table to add new attributes / modify data type / drop attribute
o UPDATE table to modify data
o ORDER By to display data in ascending / descending order
o DELETE to remove tuple(s)
o GROUP BY and find the min, max, sum, count and average.
o LIKE, DISTINCT, NOT IN, IN, JOIN, CARTISIAN PRODUCT SET DIFFERENCE, UNION, INTERSECTION etc.