Sunday, 15 September 2013

Mtech 1 Sem Computer Networks

Topic: Mtech 1 Sem



Computer Networks: A systematic Approach by Larry L. Peterson and Bruce S Davie

Download Click Here

----------------------------------------------------------------------------------------------------------------

Advances in DBMS
Author : Raghu Ramakrishnan and Johannes Gehrke 3rd Edition

Download Click Here

----------------------------------------------------------------------------------------------------------------

Thursday, 5 September 2013

Data Structures

Topic : Data Structures

Sem : 3

Syllabus

Subject Code: 10CS35                                                                        I.A. Marks : 25
Hours/Week : 04                                                                                  Exam Hours: 03
Total Hours : 52                                                                                    Exam Marks: 100
                                                                              PART – A
UNIT - 1 8 Hours
BASIC CONCEPTS: Pointers and Dynamic Memory Allocation, Algorithm Specification, Data Abstraction, Performance Analysis, Performance Measurement

UNIT - 2 6 Hours
ARRAYS and STRUCTURES: Arrays, Dynamically Allocated Arrays, Structures and Unions, Polynomials, Sparse Matrices, Representation of Multidimensional Arrays

UNIT - 3 6 Hours
STACKS AND QUEUES: Stacks, Stacks Using Dynamic Arrays, Queues, Circular Queues Using Dynamic Arrays, Evaluation of Expressions, Multiple Stacks and Queues
.
UNIT - 4 6 Hours
LINKED LISTS: Singly Linked lists and Chains, Representing Chains in C, Linked Stacks and Queues, Polynomials, Additional List operations, Sparse Matrices, Doubly Linked Lists

                                                                                PART - B
UNIT - 5 6 Hours
TREES – 1: Introduction, Binary Trees, Binary Tree Traversals, Threaded Binary Trees, Heaps.

UNIT - 6 6 Hours
TREES – 2, GRAPHS: Binary Search Trees, Selection Trees, Forests, Representation of Disjoint Sets, Counting Binary Trees, The Graph Abstract Data Type.

UNIT - 7 6 Hours
PRIORITY QUEUES Single- and Double-Ended Priority Queues, Leftist Trees, Binomial Heaps, Fibonacci Heaps, Pairing Heaps.

UNIT - 8 8 Hours
EFFICIENT BINARY SEARCH TREES: Optimal Binary Search Trees, AVL Trees, Red-Black Trees, Splay Trees.

Text Book:
1. Horowitz, Sahni, Anderson-Freed: Fundamentals of Data Structures in C, 2nd Edition, Universities Press, 2007. (Chapters 1, 2.1 to 2.6, 3, 4, 5.1 to 5.3, 5.5 to 5.11, 6.1, 9.1 to 9.5, 10)

_________________________________________________________

Link to download previous question paper: Click here

Click here download the E-BOOK

Notes and lab Manual will be uploaded soon!


Published by Admin: Sachin adi

Computer Concepts and C Programming

Topic : Programming in C and Data Structures

                                 OR

Computer Concepts and C Programming (CCP)

Sem : 1 & 2

 Text Book 1: Brain W. Kernighan and Dennis M. Richie: Click Here to download

Download all previous year question papers: Click here 1
                                                                     Click Here 2

A brief Notes of UNIT 1: Click Here
(This notes is only for REFERENCE purpose. please read to Text book i.e. Vikas Gupta for Exam)

Other Notes will uploaded soon!

Published by Admin: Sachin Adi

Tuesday, 3 September 2013

JAVA AND J2EE

Topic: JAVA AND J2EE

Sem :7

Syllabus

Subject Code:10CS753                                               IA Marks: 25
Hours/Week: 4                                                             Exam Marks: 100
Total Hours: 52                                                            Exam Hours: 3

                                                              PART - A
UNIT – 1 6 Hours
Introduction to Java: Java and Java applications; Java Development Kit (JDK); Java is interpreted, Byte Code, JVM; Object-oriented programming; Simple Java programs.
Data types and other tokens: Boolean variables, int, long, char, operators, arrays, white spaces, literals, assigning values; Creating and destroying objects; Access specifiers. Operators and Expressions: Arithmetic Operators, Bitwise operators, Relational operators, The Assignment Operator, The ? Operator; Operator
Precedence; Logical expression; Type casting; Strings Control Statements: Selection statements, iteration statements, Jump Statements.

UNIT – 2 6 Hours
Classes, Inheritance, Exceptions, Applets : Classes: Classes in Java; Declaring a class; Class name; Super classes; Constructors; Creating instances of class; Inner classes. Inheritance: Simple, multiple, and multilevel inheritance; Overriding, overloading.
Exception handling: Exception handling in Java. The Applet Class: Two types of Applets; Applet basics; Applet Architecture; An Applet skeleton; Simple Applet display methods; Requesting repainting;
Using the Status Window; The HTML APPLET tag; Passing parameters to Applets; getDocumentbase() and getCodebase(); ApletContext and showDocument(); The AudioClip Interface; The AppletStub Interface; Output to the Console.

UNIT – 3 7 Hours
Multi Threaded Programming, Event Handling: Multi Threaded Programming: What are threads? How to make the classes threadable; Extending threads; Implementing runnable; Synchronization; Changing state of the thread; Bounded buffer problems, read-write problem, producerconsumer problems. Event Handling: Two event handling mechanisms; The delegation event model; Event classes; Sources of events; Event listener interfaces; Using the delegation event model; Adapter classes; Inner classes.

UNIT – 4 7 Hours
Swings: Swings: The origins of Swing; Two key Swing features; Components and Containers; The Swing Packages; A simple Swing Application; Create a Swing Applet; Jlabel and ImageIcon; JTextField;The Swing Buttons; JTabbedpane; JScrollPane; JList; JComboBox; JTable.

                                                                      PART – B

UNIT – 5 6 Hours
Java 2 Enterprise Edition Overview, Database Access: Overview of J2EE
and J2SE
The Concept of JDBC; JDBC Driver Types; JDBC Packages; A Brief Overview of the JDBC process; Database Connection; Associating the JDBC/ODBC Bridge with the Database; Statement Objects; ResultSet; Transaction Processing; Metadata, Data types; Exceptions.

UNIT – 6 7 Hours
Servlets: Background; The Life Cycle of a Servlet; Using Tomcat for Servlet Development; A simple Servlet; The Servlet API; The Javax.servlet Package; Reading Servlet Parameter; The Javax.servlet.http package; Handling HTTP Requests and Responses; Using Cookies; Session Tracking.

UNIT – 7 6 Hours
JSP, RMI: Java Server Pages (JSP): JSP, JSP Tags, Tomcat, Request String,
User Sessions, Cookies, Session Objects. Java Remote Method Invocation: Remote Method Invocation concept; Server side, Client side.

UNIT – 8 7 Hours
Enterprise Java Beans: Enterprise java Beans; Deployment Descriptors;
Session Java Bean, Entity Java Bean; Message-Driven Bean; The JAR File.

Text Books:
1. Herbert Schildt: Java The Complete Reference, 7th Edition, Tata McGraw Hill, 2007. (Chapters 1, 2, 3, 4, 5, 6, 8, 10, 11, 21, 22, 29, 30, 31)

2. Jim Keogh: J2EE - The Complete Reference, Tata McGraw Hill,
2007. (Chapters 5, 6, 11, 12, 15)

_____________________________________________________


Link to Ebook(Herbert Schildt: Java Complete reference)
Link: Click here

Question papers: Click here
-----------------------------------------------------------------------------------------------------------

I am providing you a reference book to understand What Exactly Java is and why we use it.
Java For Dummies: The beginners' Guide: Click to download.

For actual syllabus Notes contact the Admin!

Question Papers:

Published By Admin: Sachin Adi

System Software

Topic: System Software

Sem : 5

Subject Code: 10CS52                                                                   I.A. Marks : 25
Hours/Week : 04                                                                          Exam Hours: 03
Total Hours : 52                                                                              Exam Marks: 100
                                                                  PART – A
UNIT – 1 6 Hours
Machine Architecture: Introduction, System Software and Machine Architecture, Simplified Instructional Computer (SIC) - SIC Machine Architecture, SIC/XE Machine Architecture, SIC Programming Examples.
UNIT – 2 6 Hours
Assemblers -1: Basic Assembler Function - A Simple SIC Assembler, Assembler Algorithm and Data Structures, Machine Dependent Assembler Features - Instruction Formats & Addressing Modes, Program Relocation.
UNIT – 3 6 Hours
Assemblers -2: Machine Independent Assembler Features – Literals, Symbol-Definition Statements, Expression, Program Blocks, Control Sections and Programming Linking, Assembler Design Operations - One- Pass Assembler, Multi-Pass Assembler, Implementation Examples - MASM Assembler.
UNIT – 4 8 Hours
Loaders and Linkers: Basic Loader Functions - Design of an Absolute Loader, A Simple Bootstrap Loader, Machine-Dependent Loader Features – Relocation, Program Linking, Algorithm and Data Structures for a Linking Loader; Machine-Independent Loader Features - Automatic Library Search, Loader Options, Loader Design Options - Linkage Editor, Dynamic Linkage, Bootstrap Loaders, Implementation Examples - MS-DOS Linker.

                                                              PART – B
UNIT – 5 6 Hours
Editors and Debugging Systems: Text Editors - Overview of Editing Process, User Interface, Editor Structure, Interactive Debugging Systems - Debugging Functions and Capabilities, Relationship With Other Parts Of The System, User-Interface Criteria
UNIT – 6 8 Hours
Macro Processor: Basic Macro Processor Functions - Macro Definitions and Expansion, Macro Processor Algorithm and Data Structures, Machine- Independent Macro Processor Features - Concatenation of Macro Parameters, Generation of Unique Labels, Conditional Macro Expansion, Keyword Macro Parameters, Macro Processor Design Options - Recursive Macro Expansion, General-Purpose Macro Processors, Macro Processing Within Language Translators, Implementation Examples - MASM Macro Processor, ANSI C Macro Processor.
UNIT – 7 6 Hours
Lex and Yacc – 1: Lex and Yacc - The Simplest Lex Program, Recognizing
Words With LEX, Symbol Tables, Grammars, Parser-Lexer Communication,
The Parts of Speech Lexer, A YACC Parser, The Rules Section, Running
LEX and YACC, LEX and Hand- Written Lexers, Using LEX - Regular
Expression, Examples of Regular Expressions, A Word Counting Program,
Parsing a Command Line.
UNIT – 8 6 Hours
Lex and Yacc - 2 Using YACC – Grammars, Recursive Rules, Shift/Reduce Parsing, What
YACC Cannot Parse, A YACC Parser - The Definition Section, The Rules Section, Symbol Values and Actions, The LEXER, Compiling and Running a Simple Parser, Arithmetic Expressions and Ambiguity, Variables and Typed Tokens.
-----------------------------------------------------------------------------------

Question papers : Click here

Notes : Click here

Ebook : Click here!

published by Admin: Sachin Adi

C# Programming with .NET

Topic: C# Programming with .NET

Sem: 7

Link to EBOOK(Andrew Trolsen) : click here

Only chapter 1 from textbook: click here

Question Papers : Click to download

 For Notes: Please contact the ADMIN !!


Published By Admin : Sachin Adi

Monday, 2 September 2013

Topic : Database Management Systems

Sem: 5

Link to textbook Raghu Ramakrishnan and Johannes Gehrke: Database Management Systems, 3rd Edition, McGraw-Hill, 2003.


The other textbook, and Notes will be uploaded soon!

Published By Admin: Sachin Adi

Topic : Software Enginnering

Sem :5


Link to download textbook Ian Somerville 8th Edition: https://drive.google.com/file/d/0ByYLraYXu0PHOFBqcmN4bFdmVms/edit?usp=sharing

Question Papers download : Click here


Soon Notes will be uploaded!

Published By Admin: Sachin Adi

Topic: Computer Networks I


Sem: 5


Link to download Ebook: https://docs.google.com/file/d/0ByYLraYXu0PHbUlVWDRyX0hfOXc/edit?usp=sharing


Question Papers: https://docs.google.com/file/d/0ByYLraYXu0PHMDB3dlJEdU03TlE/edit?usp=sharing

Notes: Click here


Notes and Question papers uploaded soon!

Published by Admin: Sachin Adi

Topic: OBJECT ORIENTED PROGRAMMING WITH C++


Sem: 3


The post contains link to download textbook(EBOOK) :Herbert Schildt: The Complete Reference C++, 4th Edition, Tata McGraw Hill, 2003.


Link: https://docs.google.com/file/d/0ByYLraYXu0PHYVJHcEFtcFFCNVE/edit?usp=sharing

Question papers: Click here


Notes and previous year question papers will be uploaded soon. Keep visiting!

Published by Admin: Sachin Adi

Topic: FORMAL LANGUAGES AND AUTOMATA THEORY(FAFL)

Sem : 5

This post contains E BOOK(i.e. prescribed textbook) , OLD question papers and some notes.


NOTE: The NOTES posted here must be used only for the reference purpose. For your examinations please refer the textbook.

Link to textbook ( Rajeev Motwani and Ullman) : click here
--------------------------------------------------------------------------------------------------------------
Unit 1- Click here
Unit 2- Click here
unit 3- Click here
unit 4- Click here
unit 5- Click here
unit 6- Click here
unit 7- Click here
unit 8-Click here
--------------------------------------------------------------------------------------------------------------

Link to Question papers: click here

Notes:  Click here



New notes will be updated periodically.

Published by Admin: Sachin Adi

Friday, 30 August 2013

Topic : Operating System Notes and Textbook(ebook)

Sem : 5


Note: The E Notes publish here must be used only for REFERENCE Purpose

Link below contains text book (Abraham Silberschatz, Peter Baer Galvin, Greg Gagne: Operating
System Principles, 7th edition, Wiley India, 2009.)


Question Papers: https://docs.google.com/file/d/0ByYLraYXu0PHRW1YYTFLYV9yVGc/edit?usp=sharing

Link below contains text book (Abraham Silberschatz, Peter Baer Galvin, Greg Gagne: Operating
System Principles, 8th edition, Wiley India, 2009.)

Link: Click here to download

----------------------------------------------------------------------------------------------------------
UNIT 1 Notes: Click here

For notes: click here 
Other units Notes will be updated soon!

Published By Admin: Sachin Adi

Topic : Computer Concepts and programing lab Manual of 2010 Scheme(VTU,BELGAUM)


Dear 1st year students your lab will be for 50 marks where you have to execute 2 programs, 1 from each part.

Part B programs will carry more marks than Part A.

In the link below you can download the Manual:


Soon I will be updating with some of the VIVA questions.

So keep visiting, Thank YOU.



Published By Admin: Sachin Adi

Topic : Stacks

 

You Can find some notes for reference by clicking this link: https://docs.google.com/file/d/0ByYLraYXu0PHT2Q2aENrNjJ1OVE/edit?usp=sharing




Published By Admin: Sachin Adi

Explaination of Infix to Postfix Expression with Example and programs(in c)

Infix Expression : Any expression in the standard form like "2*3-4/5" is an Infix(Inorder) expression.

Postfix Expression :
The Postfix(Postorder) form of the above expression is "23*45/-".

Infix to Postfix Conversion :


In normal algebra we use the infix notation like a+b*c. The corresponding postfix notation is abc*+. The algorithm for the conversion is as follows :

  • Scan the Infix string from left to right.
  • Initialise an empty stack.
  • If the scannned character is an operand, add it to the Postfix string. If the scanned character is an operator and if the stack is empty Push the character to stack.
    • If the scanned character is an Operand and the stack is not empty, compare the precedence of the character with the element on top of the stack (topStack). If topStack has higher precedence over the scanned character Pop the stack else Push the scanned character to stack. Repeat this step as long as stack is not empty and topStack has precedence over the character.
    Repeat this step till all the characters are scanned.
  • (After all characters are scanned, we have to add any character that the stack may have to the Postfix string.) If stack is not empty add topStack to Postfix string and Pop the stack. Repeat this step as long as stack is not empty.
  • Return the Postfix string.
Example :

Let us see how the above algorithm will be imlemented using an example.

Infix String : a+b*c-d

Initially the Stack is empty and our Postfix string has no characters. Now, the first character scanned is 'a'. 'a' is added to the Postfix string. The next character scanned is '+'. It being an operator, it is pushed to the stack.


Stack

Postfix String

Next character scanned is 'b' which will be placed in the Postfix string. Next character is '*' which is an operator. Now, the top element of the stack is '+' which has lower precedence than '*', so '*' will be pushed to the stack.


Stack

Postfix String

The next character is 'c' which is placed in the Postfix string. Next character scanned is '-'. The topmost character in the stack is '*' which has a higher precedence than '-'. Thus '*' will be popped out from the stack and added to the Postfix string. Even now the stack is not empty. Now the topmost element of the stack is '+' which has equal priority to '-'. So pop the '+' from the stack and add it to the Postfix string. The '-' will be pushed to the stack.


Stack

Postfix String

Next character is 'd' which is added to Postfix string. Now all characters have been scanned so we must pop the remaining elements from the stack and add it to the Postfix string. At this stage we have only a '-' in the stack. It is popped out and added to the Postfix string. So, after all characters are scanned, this is how the stack and Postfix string will be :


Stack

Postfix String

End result :

  • Infix String : a+b*c-d
  • Postfix String : abc*+d-





Infix to Postfix Conversion Algorithm :


The algorithm transforms the infix expression A into equivalent postfix B. The algorithm uses stack to temporirly hold opertors and left parenthesis. The postfix expression B will be constructed left to right using operands from A and operators which are removed from STACK. We begin by pushing left parenthesis onto STACK and adding a right parenthesis at the end of A. The algorithm is finished when STACK is empty.

Step 1. Push Left Parenthesis “(“ onto stack and add right parenthesis “)” to end of the A

Step 2. Scan A from left to right and repeat steps 3 to 6 for each element of A until the stack is empty

Step 3. If an operand is encountered, add it to B

Step 4. If a left parenthesis is encountered push it onto the stack

Step 5. If an operator is encountered then

a. Repeatedly pop from the STACK and add to B each operator (on the top of the stack) which has the same precedence as or higher precedence than operator

b. Add operator to STACK

Step 6. If a right parenthesis is encountered, then

a. Repeatedly pop from the STACK and add to B each operator (on the top of STACK) until a left parenthesis is encountered

b. Remove the left parenthesis. (Do not add left parenthesis to B)

Step 7. Exit




Infix to Postfix Conversion Program :


#include<stdio.h>
#include<conio.h>
#define MAX 50

char post[MAX],in[MAX],stack[MAX];
int top=-1,toper=-1;

void insertpostfix(char x);

void insertstack(char x);

void popstack(char x);

int checkprec(char x);

void pop_all();

void main()
{
 int i,j,chk,chk2;
 clrscr();
 printf("\nInsert an infix notation :: ");
 gets(in);
 stack[++toper]='(';
 in[strlen(in)]=')';
 printf("\nCharacter\tStack\tPostfix\n");
 for(i=0;i<strlen(in);i++)
 {
  if(in[i]>='a' && in[i]<='z' || in[i]>='A' && in[i]<='Z' || in[i]>='0' && in[i]<='9')
  {
   insertpostfix(in[i]);
  }
  else if(in[i]=='(')
  {
   insertstack(in[i]);
  }
  else if(in[i]=='+' || in[i]=='-' || in[i]=='/' || in[i]=='*' || in[i]=='^')
  {
   chk=checkprec(in[i]);
   chk2=checkprec(stack[toper]);
   if(chk>chk2)
   {
    insertstack(in[i]);
   }
   else
   {
    popstack(in[i]);
   }
  }
  else if(in[i]==')')
  {
   pop_all();
  }
  printf("\n%c\t\t",in[i]);
  printf("%s",stack);
  printf("\t%s",post);
 }
 printf("\n\nFinal Postfix Notation :: %s",post);
 getch();
}

void insertpostfix(char x)
{
 top++;
 post[top]=x;
}
 
void insertstack(char x)
{
 toper++;
 stack[toper]=x;
}

void popstack(char x)
{
 top++;
 post[top]=stack[toper];
 stack[toper]=x;
}

void pop_all()
{
 while(stack[toper]!='(')
 {
  top++;
  post[top]=stack[toper];
  stack[toper]='\0';
  toper--;
 }

 stack[toper]='\0';
 toper--;
}

int checkprec(char x)
{
 switch(x)
 {
  case '+':
  case '-':
   return 1;
  case '*':
  case '/':
   return 2;
  case '^':
   return 3;
  case '(':
   return 0;
  default:
   return 0;
 }
} 
 
 
 
Published By Admin: Sachin Adi