Monday, 16 September 2013

Compiler Design

Hello All

Syllabus for mid sem

1. Overview of the Translation Process, A Simple Compiler, Difference between
interpreter, assembler and compiler. Overview and use of linker and loader ,
types of Compiler, Analysis of the Source Program, The Phases of a Compiler,
Cousins of the Compiler, The Grouping of Phases, Lexical Analysis, Hard
Coding and Automatic Generation Lexical Analyzers, Front-end and Back-end
of compiler, pass structure

2. Lexical Analyzer
Introduction to Lexical Analyzer, Input Buffering,  Specification of Tokens,
Recognition of Tokens, A Language for Specifying Lexical Analyzers, Finite
Automata From a Regular Expression, Design of a Lexical Analyzer Generator,
Optimization of DFA

3. Parsing Theory      
Top Down and Bottom up Parsing Algorithms, Top-Down Parsing, Bottom-Up
Parsing, Operator-Precedence Parsing, LR Parsers, Automatic Generation of Parsers.
Syntax-Directed Definitions, Construction of Syntax Trees, Bottom-Up
Evaluation of S-Attributed Definitions, L-Attributed Definitions, syntax directed
definitions and translation schemes

4. Intermediate Code Generation  
Different Intermediate Forms, Syntax Directed Translation Mechanisms And
Attributed Mechanisms And Attributed Definition.

5. Error Recovery   (may b)            
Error Detection & Recovery, Ad-Hoc and Systematic Methods

Best of luck.....

Monday, 12 August 2013

ME 3rd CE System Programming



Subject: System Programming(730201)
LAB Hours :- 4 per week.
Practical marks:- 20 Marks
VIVA/Practical:- 80 Marks

Teaching Scheme


Hello All

The practical list of your System Programming Subject is below.
You should have to run all this program during you LAB sessions.
Totally Practically subject.

Module 1:-
Kernel Mode Programming
1. Write a program to print "Hello World" in kernel mode in linux.
2.  Create 5 children processes from a common parent and ensure that the
    parent terminates after cleaning all the terminated children using  waitpid().
    The waitpid()  must  be called after  all the children are created
    and the parent has completed its work real work,if any.
3.Create 5 processes but not from the common parent. Meaning, each child
    creates a new process. clean­up the children using  waitpid().
4.  Create a child process and compile any of programs in the child process.
    Parent process must use waitpid() to collect the termination status of
    the child process and print a message accordingly to the user.

Module 2:-
Network Programming
1. TCP
Creating a simple tcp server to echo response based on set of questions.

a. Build a server that will have a list of questions that it will understand.
   If a client asks a question that it understands then it will give the response that is strored for the question.
   If a question is not present then the server responds with "Unknown question".
b. Build a client that will connect to the server
   Create a console interface that the user can use to ask questions
   The client will take the question and send it to the server
   On receiving the response from the server the client will display the response to the user.

User Question
   +--- Client -----> TCP Server

   +--- Client <----- TCP Server
Server Response

2. UDP
Create a simple command execution echo server

a. Create a UDP client that will send out linux shell commands to the UDP server
   The client will read the commands from the console and send it out to the server
b. The UDP server will accept data from the client, execute the command on the server
   and respond back with the results to the client.
c. The client on receiving the response from the server will display the results to the user.

User Linux Command
   +--- Client -----> UDP Server

   +--- Client <----- UDP Server
Server Command exeution Response

3. IPC
Communication between two processes
 +-- child 1
 +-- child 2

Parent to child communication and child to child communication

Following command to be implemented on the parent:
a. create <child name>
 ex. create child1
b. send <child name> data
 ex. send child1 "data"
c. forward <child 1> <child 2> data
 ex. forward child2 child1 "data"
  (forward data from parent to child 2 via child 1.

The assignment should use pipe and fork system call for the implementation.

Module 3:-
Design and Implementation of system Tools

Module 4:- 
Study and Configuration of cluster computing model

Module 5:-
Installation and configuration of network Simulator

Module 6:- 
Simulation of various protocols on network simulator

Module 7:-
Study and Configuration of Various Servers

1. Configure an SSH server with access limited to the local network. Create local users named katie and dickens. Limit SSH access on that server only to user katie.
2. Configure a Samba server. Share a directory named /food with user dickens. Share a second directory named /book limited to users tim and stephanie.
3. Set up a vsFTP server with access limited to the and the physical host system.
4. Set up a local NTP server, accessible to the local network.
5. Configure an NFS server to share the /home directory only with the physical host system.
You have to perform this five practical during your LAB sessions of System Programming.

ME 1st CE Advanced Computer Grpahics



Subject: Advance Computer Graphics(710202N)

Theory Hours:- 4 per week.
Practical Hours:- 2 per week.
University Exam:- 70 Marks.
Viva/Practical:- 30 Marks
Mid Sem:- 30 Marks
Practocal:- 20 Marks

Total:- 150 Marks

1>       Write a Program to implement Line Transformation in 2-D.
2>       Write a Program to implement Triangle Transformation in 2-D.
3>       Write a Program to implement Cohen Sutherland Line clipping Algorithm in 2-D.
4>       Write a Program to implement Leian Barsky Line clipping Algorithm in 2-D.
5>       Write a Program to implement Line Transformation in 3-D.
6>       Write a Program to implement triangle Transformation in 3-D.
7>       Write a program to display 3D cube and provide rotation.
8>       Draw a cube and rotate it about X-axis and Y-axis.
9>       WAP to draw Perspective projection of an object
10>     Write a program to draw Hermite curve.
11>     Write a program to draw Bezier curve
12>     Write a program to draw Bezier surface
13>     Write a progam to implement Back face culling
14>     Write a program to implement Z-buffer  algorithm
15>     Write a program with the effect of Ambient, diffuse & specular effect of light source.
16>     Write a program to generate Sphere.
17>     Write a program to generate Ellipsoid

BE 7th CE - Advance Java Technology



Subject: Advance Java Technology(170703)
Hello All

You can get all ppt and data from below link.

All shared data

Hello All

This is practical list of AJT for 7th BE in CE Student.

1. Writer a program which contain AWT components namely-TextField, TextArea,Button and a Label and places theses components onto the Applet window container using the
container’s add () method.

2. Write a program for a moving message using swing.

3. Write a program for addition of two numbers using swing.

4. Write a program to build a simple calculator using swing.

5. Write a program to study about database programming using java.sql package.

6. Write a program for client and server application using TCP Sockets.

7. Write a program for client and server application using RMI (Remote Method Invocation).

8.  Write a program to study about concept of Object Serialization.

9. Write a program which contains the basic HTML form and one Servlet class which contains the action of the form.

10. Write a program to explain the jsp concept with Netbeans.

You should have to run all this program during your LAB session.

Submission Date:- 29/08/2013

1.      What is servlet? List its important features and give its advantages.
2.      Explain the servlet life cycle with life cycle methods.
3.      Compare the servlet and CGI in term of performance.
4.      Explain following object with its important method.
a)  HttpServ letRequest
b)  HttpServletResponse
c)   RequestDispatcher
5.      What do you mean by a session? What are different session tracking mechanisms?
6.      What are cookies? Write a servlet that reads and prints all the previous cookies
      and add a cookie with your name.
7.      List the servlet session level events and show that how servlet destroy event is handled?
8.      What is filter? What is its use? List the different filter interfaces with their important methods.
9.      Develop any Servlet application which demonstrates use of session management.
10.  Write a servlet which counts the number of digits into an integer received as parameter. Give the necessary web.xml file to deploy the servlet.


1.      Explain life cycle of JSP and difference between JSP and Servlet.
2.      Explain the JSP implicit objects with their use.
3.      Explain the various types of JSP tags with example.
4.      Explain the various types of JSP tag library with examples.
5.      Explain the features of core tag library for JSP.
6.      Explain the following with respect to JSP Unified EL.
      i. Value expressions
ii. Method expressions
7.      Write a JSP page that prints your resume in well formatted form.


  1. Give the Hibernate Architecture diagram and explain each part in brief.
  2. Explain the O/R mapping in Hibernate.