Comp Iv
Comp Iv
N - 20-SCHEME
(Implemented from the Academic year 2021-2022 onwards)
CURRICULUM OUTLINE
FOURTH SEMESTER (FULL TIME)
N - 20-SCHEME
(Implemented from the Academic year 2021-2022 onwards)
Marks
Subject Hours / Hours /
Internal End Duration
Week Semester Total
Assessment Semester
Examinations
Computer
5 80 25 100* 100 3 Hrs
Architecture
* Examinations will be conducted for 100 marks and it will be reduced to 75 marks.
RATIONALE
Computer Architecture is concerned with the structure and behavior of the various
functional modules of the computer and their interaction. This course provides the
necessary understanding of the hardware operation of digital computers.
OBJECTIVES
On completion of the following units of syllabus contents, the students must be able to
DETAILED SYLLABUS
Contents: Theory
Unit Name of the Topics Hours
I REGISTER TRANSFER LOGIC AND CPU
Register transfer 3
Register Transfer Language – Inter Register transfer – Control
function-Bus transfer-Memory transfer.
Micro operations and ALU 7
Arithmetic micro operations-Binary adder, subtractor, incrementer,
4bit arithmetic circuit, Logic micro operations- one stage of logic
circuit-applications, shift micro operations- 4 bit combinational circuit
shifter-one stage of ALU.
Central processing unit 4
Components of CPU- General register organization, bus system-
register set with common ALU-memory stack - stack limits- Processor
Organization - Instruction format(3,2,1,0 address instructions) –
Addressing modes, Various addressing modes – RISC and CISC
Architecture, Characteristics.
Control unit 3
Reference Books
1. “Computer System Architecture”, [Link] Mano, Prentice –Hall of India Pvt
Limited,Revised Third Edition.
2. “Computer Organization And Architecture Designing For Performance”, William
Stallings, Pearson Publications, Eighth Edition.
3. “Computer Organization and Design: The Hardware/Software Interface”, David A.
Patterson and John [Link], Morgan Kauffman / Elsevier, Fifth Edition, 2014.
4. “Computer Architecture and Organization”, John P. Hayes, Tata Mc Graw Hill,
ThirdEdition
N - 20-SCHEME
(Implemented from the Academic year 2021-2022 onwards)
Marks
Subject Hours / Hours /
Internal End Duration
Week Semester Total
Assessment Semester
Examinations
* Examinations will be conducted for 100 marks and it will be reduced to 75 marks.
OBJECTIVES: On successful completion of the course, the students will be able to.
To impart knowledge on Internet and basics of networking concepts.
To impart basic knowledge on web development.
Develop simple components in web pages using CSS.
To impart knowledge for validations and event handlers using JavaScript.
To provide the basic knowledge about PHP and web services.
To impart PHP scripting ideas and importance in web development.
Write PHP Programs with MySQL database.
DETAILED SYLLABUS
Contents : Theory
Unit Name of the Topics Hours
I INTERNET, HTML AND ADVANCED HTML
Internet 5
History of the Internet - Basics of Networking Concepts – WAN,
LAN,TCP/IP, UDP, FTP, Telnet, SMTP, Ports - World Wide Web –
HTTP,SMTP, POP3, MIME, Understanding roles of Web Browsers
–Concepts of Web Servers.
HTML 5
Introduction - Basic Tags of HTML - HTML Tag - TITLE Tag –
BODY Tag - Formatting of Text: Headers - Formatting Tags: BOLD,
ITALICS,UNDERLINE, PARAGRAPH, TT, STRIKETHROUGH, EM,
BR and HR tags - PRE Tag - FONT Tag – Special Characters -
Working withImages - META Tag.
Advanced HTML 5
Difference between HTML & HTML5 - New elements in HTML5 -
Links - Anchor tag – Lists - Unordered Lists - Ordered Lists –
Definition Lists; Tables - TABLE, TR and TD Tags - Colspan and
Rowspan
II FRAMES, FORMS AND CSS
Frames Frameset – FRAME Tag – Frame inside other frames – 2
NOFRAMESTag.
Forms
FORM and INPUT Tag – Textbox - Radio Button – Checkbox – 3
SELECT Tag and Pull Down Lists: Hidden - Submit and Reset; Some
Special Tags: COLGROUP - TBODY, TFOOT - _blank, _self,
_parent, _top – IFRAME – LABEL - Attribute for <SELECT> -
TEXTAREA..
CSS
Introduction – Features – Style Sheet basics - Working with CSS 4
files – Syntax - Types of Style Sheets - Inline Styles - Embedded
Styles - External or Linked Styles - What is CSS3? Animation –
Borders – Backgrounds – Fonts –Multiple columns – Text effects.
Formatting Text and Fonts 5
Font Families Font Size Kerning, Leading and Indenting - Formatting
Colors and Backgrounds: The Color Attribute - The Background
Attribute - Background Colors and Images. Exploring CSS Class and
ID Attributes: Defining the CSS Class Attribute – Defining the CSS
ID Attribute - Dynamic effects with CSS - Lists- Tables – Forms –
Simple Examples using above properties.
III JAVASCRIPT
3.1 JavaScript Basics 5
Need of scripting languages – Variables and Data Types:
Declaring Variables – Life span of variables - Data Types -
Operators: Assignment, comparison, computational and logical
operators - Control Structures: Conditional Statements – Loop
Statements: for, while, for in, break and continue statements.
IV PHP
Introduction 4
A Brief Introduction to Apache, MySQL, PHP and Open Source -
Server-Side Web Scripting.
PHP
PHP Structure and Syntax - Integrating HTML with PHP - Syntax and 5
Variables - Constants and Variables - Passing Variables between
Pages – if Statements - if and else – switch case - for loop – for
eachloop.
Includes 6
Includes and Functions for Efficient Code - Strings – Arrays and Array
Functions - Sessions and Cookies – Sample Programs - Alternates to
Incrementing/Decrementing Values.
Reference Books
1. “Douglas E. Comer” “The Internet Book”, Prentice Hall.
2. “Terry Felke-Morris” “Web Development and Design Foundations with HTML5”,
Pearson.
3. “Thomas A. Powell, Fritz Schneider” “HTML & CSS: The Complete Reference”, Tata
McGras-Hill.
4. “Thomas Powell, Fritz Schneider” “Java Script: The Complete Reference”, Tata
McGras-Hill.
5. “Timothy Boronczyk, Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy
Stolz, Michael K. Glass” “Beginning PHP6, Apache, MySQL, Web Development”, Wrox
Publications.
TAMILNADU GOVERNMENT POLYTECHNIC COLLEGE, (AUTONOMOUS), MADURAI- 11
DIPLOMA IN COMPUTER ENGINEERING
N - 20-SCHEME
(Implemented from the Academic year 2021-2022 onwards)
Marks
Subject Hours / Hours /
Internal End Duration
Week Semester Total
Assessment Semester
Examinations
Object Oriented
Programming 5 80 25 100* 100 3 Hrs.
with Java
* Examinations will be conducted for 100 marks and it will be reduced to 75 marks.
References:
1. “E. Balagurusamy “, “Programming with Java”, Tata Mc-Graw Hill, New Delhi.
2. “Herbert schildt “, “Java - The complete reference”, Tata Mc graw Hill,
New Delhi.
3. “Java 2,J2SE1.4 Complete”, BPB Publications.
TAMILNADU GOVERNMENT POLYTECHNIC COLLEGE, (AUTONOMOUS), MADURAI- 11
DIPLOMA IN COMPUTER ENGINEERING
N - 20-SCHEME
(Implemented from the Academic year 2021-2022 onwards)
The major objectives of this subject are to provide a strong formal foundation in Database
Concepts, technology and practice to the students to enhance them into well informed
application developers. After learning this subject, the students will be able to understand the
designing of RDBMS and can use any RDBMS package as a backend for database
applications.
OBJECTIVES:
Reference Books
N - 20-SCHEME
(Implemented from the Academic year 2021-2022 onwards)
Marks
Subject Hours / Hours /
Internal End Duration
Week Semester Total
Assessment Semester
Examinations
RATIONALE:
The main objective of the of this practical subject is to introduce the students to build a
complete site, with the writing of a single web page in Web Design & Programming Practical
using HTML, CSS, Java Script, PHP and MYSQL. The subject will impart knowledge to
design web pages, dynamic and interactive web sites with client-side and server-side
scripting. After completion the students will be able to independently design and develop web
sites and web applications.
OBJECTIVES:
By introducing the Web design and Programming Practical, it is intended to:
Develop to build a complete website using HTML.
Create web pages using Advanced HTML and CSS.
Practice to include JavaScript for form validations.
Develop and run sample programs using PHP script.
Develop a simple web application using server side PHP script and MySQL.
DETAILED SYLLABUS
Contents: Practical
PART – A
1. Design a HTML page describing your profile in one paragraph. Design in such a way
that it has a heading, a horizontal rule, three links and your photo. Also, write three
HTML documents for the links. Include facilities for forward, backward and HOME.
2. Design a HTML page about computer languages. List the language. Each Language’s
name is a link. Prepare separate HTML documents for each language and call them in
the appropriate link.
3. Design a single page website for your polytechnic containing a description of the
courses offered. It should also contain some general information about the college
such as its history, the campus, and its unique features and so on. The site should be
colored and each section should have a different color.
4. Develop a web page using CSS to create a time table for the class using different
border style.
5. Write a Java script code that converts the entered text to uppercase.
6. Write a Java script code to validate the username and password. The username and
password are stored in variables.
7. Write a Java Script code using frames and Events (When a cursor moves over
anobject it should display the specification of the object in another frame).
8. Create a site containing banner advertisement at the top of the page. The ads
arechanged every 10 or 15 seconds.
9. Write jQuery Program for Count the number of milliseconds between the two click
events on a paragraph.
10. Write jQuery Program for Disable/enable the form submit button & Blink the text.
PART – B
11. Write a PHP program to implement at least 05 string functions with description
12. Create a PHP script which display the capital and country name from the given
[Link] the list by the name of the country.
13. Write a PHP program to implement Date and Time Functions.
14. Write a PHP script to display table with implementing Form Processing Controls of
Insert and Delete data from data base.
15. Create a simple shopping - cart script using PHP and MySQL.
AUTONOMOUS EXAMINATION
NOTE:
Students should write one program from PART A and one program from PART B.
LIST OF EQUIPMENTS
Hardware Requirement
1. Desktop Computers – 30 Nos.
2. Laser Printer – 1 No.
Software Requirement
1. Notepad / Notepad++ / Dreamweaver
2. Apache XAMPP
3. Any Browser
TAMILNADU GOVERNMENT POLYTECHNIC COLLEGE, (AUTONOMOUS), MADURAI- 11
DIPLOMA IN COMPUTER ENGINEERING
N - 20-SCHEME
(Implemented from the Academic year 2021-2022 onwards)
Marks
Subject Hours / Hours /
Internal End Duration
Week Semester Total
Assessment Semester
Examinations
Java Programming
4 64 25 100* 100 3 Hrs.
Practical
* Examinations will be conducted for 100 marks and it will be reduced to 75 marks.
RATIONALE:
To understand various concepts of JAVA and to familiarize Java
environmentto create, debug and run Java programs.
OBJECTIVES:
Develop programs using different operators and expressions.
Develop programs using Iterative statements.
Develop programs using arrays
Develop applications using Vectors.
Create classes and objects with constructors
Solve problems using inheritance
Handle exception arising in programs.
Use multithreading in programs
Develop programs using File/ Create Applet programs
Develop programs using Graphics & Color classes
Use GUI components to develop GUI applications
..
DETAILED SYLLABUS
Contents: Practical
PART - A
1. Write a program to read the temperature in Celsius and convert into Fahrenheit.
2. Write a program to read 2 integers and find the largest number using
conditional operator.
3. Write a program to read an integer and find the factorial of a number.
4. Write a program to implement Vector class and its methods.
5. Write a program to read a string and check whether it is palindrome or not.
6. Write a program to create a class with following data members
1. register number 2. Name
3. Marks in 3 subjects and member functions
1. parameterised constructor – to assign values to members
2. method to find total mark
3. method to display register number, name, total mark Create 3
objects from the above class and use the members
7. Write a program that accepts radius of a circle from command line and
display its area.
PART - B
8. Write a program to implement multilevel inheritance.
9. Write a program to create a own exception subclass that throws exception if the
given number is not in a range of numbers.
10. Write a program that creates three threads. First thread displays “Good Morning”
everyone second, the second thread displays “Hello” every two seconds and the
third thread displays “Welcome” every three seconds.
11. Write a program to create a file using Byte stream or Character stream
[Link] a program to demonstrate Mouse events.
13. Write a program to display basic shapes using Graphics class and fill them using
Color class
14. Write a program to create a simple calculator to perform addition, subtraction,
multiplication and division using button, label and text field.
AUTONOMOUS EXAMINATION
NOTE:
Students should write one program from PART A and one program from PART B.
LIST OF EQUIPMENTS
HARDWARE
1. Desktop Computers – 30 Nos
2. Laser Printer – 1 No
SOFTWARE
N - 20-SCHEME
(Implemented from the Academic year 2021-2022 onwards)
Relational
Database
4 64 25 100* 100 3 Hrs.
Management
Systems Practical
* Examinations will be conducted for 100 marks and it will be reduced to 75 marks.
RATIONALE:
The main objective of this practical subject is to provide basic and advanced concepts of
MySQL. MySQL is a relational database management system based on the Structured
Query Language, which is the popular language for accessing and managing records in the
database. MySQL is open-source and free software under the GNU license. This practical
includes all topics of MySQL database that provide for how to manage database and
manipulate data with the help of various SQL queries.
OBJECTIVES:
On Completion of the following exercise, the students must be able to
How to install, configure and connect to MySQL server and MySQL workbench
inWindows.
Understand basic concepts of how a database stores information via tables.
Understand SQL syntax used with MySQL.
Learn how to retrieve and manipulate data from on or more tables.
Learn how to filter data based upon multiple conditions.
Understand the advantages of stored functions and procedures.
Learn way of connecting to MySQL through PHP, and how to create tables, enter
data, select data, change data, and delete data. Connect to SQL server and other
data sources.
DETAILED SYLLABUS
Contents: Practical
PART – A
1. Install, configure and connect to MySQL server and MySQL workbench in
[Link] a database, backup and restore the database.
2. To study Basic MySQL commands (create database, create table, use, drop,
insert)and execute the following queries using these commands:
Create a database named ‘employee’.
Use the database ‘employee’ and create a table ‘emp’ with attributes ‘ename’,
‘ecity’, ‘salary’, ‘enumber’, ‘eaddress’, ‘deptname’.
Create another table ‘Company’ with attributes ‘cname’, ‘ccity’,
‘empnumber’in the database ‘employee’.
3. To study the viewing commands (select, update) and execute the following queries
using these commands:
Find the names of all employees who live in Chennai.
Increase the salary of all employees by Rs.5,000.
Change the company city to Chennai where the company name is ‘TCS’.
4. To study the commands that involve compound conditions (and, or, in, not in,
between, not between, like, not like) and execute the following queries using
thesecommands:
Find the names of all employees who live in ‘Chennai’ and whose salary
isbetween Rs.20,000 to Rs.30,000.
Find the names of all employees whose names begin with either letter ‘A’ or
‘B’.
Find the company names where the company city is ‘Chennai’ and
thenumber of employees is not between 5000 and 10,000.
Find the names of all companies that do not end with letter ‘A’
5. a) Create a database ‘polytechnic_collee’. Create 2 users namely ‘staff’ and
‘student’.
Grant all privileges to the user ‘staff’ and grant only ‘create’ privilege
to‘student’ user and verify the same.
Revoke all privileges to the 2 users and verify the same.
b) Implement the following transactions control statements.
i) Commit ii) Rollback iii) Save point
6. Create table ‘author’ with the following structure
author_id
author_name
address
mobile
book_title
pages
published_on
i) Insert 4 books published by 3 authors each. (12 records)
ii) Fetch all the rows and observe how the data duplicated.
iii) Apply 1st and 2nd normal forms to fix it.
7. To study the commands for views and execute the following queries using
thesecommands:
Create a view having ename and ecity
In the above view change the ecity to ‘Chennai’ where ename is ‘John’.
Create a view having attributes from both the tables.
Update the above view and increase the salary of all employees of
ITdepartment by Rs.1000.
8. Create a library table with proper fields. Create another table called library1 and
insert rows from library table.
Hint:
CREATE TABLE new_table LIKE original_table;
INSERT INTO new_table SELECT * FROM original_table;
PART – B
9. Create a table to store the details of a customer in a Bank. Do some transactions
likewithdrawal, deposit. Find the Balance amount(Credit Limit). Based on customer’s
credit limit, write a program using IF or CASE flow control statements to find the
customer levels namely SILVER, GOLD or PLATINUM.
If the Credit limit is
greater than 50K, then the customer level is PLATINUM
less than 50K and greater than 10K, then the customer level is GOLD
less than 10K, then the customer level is SILVER
10. Create two tables with the following structure.
a) users - table name
user_id - UNSIGNED, INT, AUTO INCREMENT, PRIMARY KEY
username - VARCHAR (60)
password - VARCHAR (128)
email - VARCHAR (255)
b) users_profiles
user_id - FOREIGN KEY refers to user_id field of user table
first_name - VARCHAR(60)
last_name - VARCHAR(60)
mobile - VARCHAR(15)
i) SELECT all the users along with their profile details. (Hint: Use INNER JOIN)
ii) SELECT the users who do not have profiles (Hint: USE LEFT JOIN
andexclude the rows generated with NULL values from joining table)
11. Create an employee database and create a stored procedure that accepts
employee_Id as input and returns complete details of employee as output.
12. Create two tables with the following structure
Authors
author_id - INT
name VARCHAR (60)
titles_count INT -- holds the total number numbers of titles authored.
Titles
author_id - INT
name VARCHAR (512) -- name of the title
a. Create a trigger to update the titles count field of respective row in authors
tableeach time a title gets inserted into titles table.
b. Create log table with the following structure
author_id – INT
name VARCHAR (512) -- name of the title
status VARCHAR(25) --- ADDITION,DELETION,UPDATION
and insert an entry in that table each time the tile is added, deleted or
[Link] a trigger to accomplish this.
13. Create a table containing phone number, user name, address of the phone
[Link] a function to search the address using phone number.
14. Create a table to store the salary details of the employees in a company. Declare
the cursor id to contain employee number, employee name and net salary. Use
cursor toupdate the employee.
15. Write a program to connect PHP with MySQL and create a database using PHP
MySQL.
AUTONOMOUS EXAMINATION
NOTE:
Students should write one program from PART A and one program from PART B.
LIST OF EQUIPMENTS
HARDWARE
1. Desktop Computers – 30 Nos
2. Printer – 1 Nos
SOFTWARE
1. mysql 5.5.20