3 4 Computer Programming Lab 3 4 Electrical and Electronics Lab 3 4 English Language Communications Skills Lab 3 4 it work-Shop 3 4 Total 25 15 56




Название3 4 Computer Programming Lab 3 4 Electrical and Electronics Lab 3 4 English Language Communications Skills Lab 3 4 it work-Shop 3 4 Total 25 15 56
страница7/10
Дата05.10.2012
Размер0.65 Mb.
ТипДокументы
1   2   3   4   5   6   7   8   9   10

TEXT BOOKS :

1. Data base Management Systems, Raghurama Krishnan, Johannes Gehrke, TATA McGrawHill 3rd Edition

2. Data base System Concepts, Silberschatz, Korth, McGraw hill, V edition.


REFERENCES :

1. Data base Systems design, Implementation, and Management, Peter Rob & Carlos Coronel 7th Edition.

2. Fundamentals of Database Systems, Elmasri Navrate Pearson Education

3. Introduction to Database Systems, C.J.Date Pearson Education

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY

HYDERABAD

II Year B.Tech. CSE -II Sem T P C

4+1* 0 4

OBJECT ORIENTED PROGRAMMING

UNIT I :

Object oriented thinking :- Need for oop paradigm, A way of viewing world – Agents, responsibility, messages, methods, classes and instances, class hierarchies (Inheritance), method binding, overriding and exceptions, summary of oop concepts, coping with complexity, abstraction mechanisms.


UNIT II :

Java Basics History of Java, Java buzzwords, datatypes, variables, scope and life time of variables, arrays, operators, expressions, control statements, type conversion and costing, simple java program, classes and objects – concepts of classes, objects, constructors, methods, access control, this keyword, garbage collection, overloading methods and constructors, parameter passing, recursion, string handling.


UNIT III :

Inheritance – Hierarchical abstractions, Base class object, subclass, subtype, substitutability, forms of inheritance- specialization, specification, construction, extension, limitation, combination, benefits of inheritance, costs of inheritance. Member access rules, super uses, using final with inheritance, polymorphism- method overriding, abstract classes.


UNIT IV :

Packages and Interfaces : Defining, Creating and Accessing a Package, Understanding CLASSPATH, importing packages, differences between classes and interfaces, defining an interface, implementing interface, applying interfaces, variables in interface and extending interfaces.

Exploring packages – Java.io, java.util.


UNIT V :

Exception handling and multithreading - Concepts of exception handling, benefits of exception handling, Termination or resumptive models, exception hierarchy, usage of try, catch, throw, throws and finally, built in exceptions, creating own exception sub classes. Differences between multi threading and multitasking, thread life cycle, creating threads, synchronizing threads, daemon threads, thread groups.

UNITVI :

Event Handling : Events, Event sources, Event classes, Event Listeners, Delegation event model, handling mouse and keyboard events, Adapter classes, inner classes.The AWT class hierarchy, user interface components- labels, button, canvas, scrollbars, text components, check box, check box groups, choices, lists panels – scrollpane, dialogs, menubar, graphics, layout manager – layout manager types – boarder, grid, flow, card and grib bag.


UNIT VII :

Applets – Concepts of Applets, differences between applets and applications, life cycle of an applet, types of applets, creating applets, passing parameters to applets.

Swing – Introduction, limitations of AWT, MVC architecture, components, containers, exploring swing- JApplet, JFrame and JComponent, Icons and Labels, text fields, buttons – The JButton class, Check boxes, Radio buttons, Combo boxes, Tabbed Panes, Scroll Panes, Trees, and Tables.


UNIT VIII :

Networking – Basics of network programming, addresses, ports, sockets, simple client server program, multiple clients, Java .net package

Packages – java.util,


TEXT BOOKS :


  1. Java; the complete reference, 7th editon, Herbert schildt, TMH.

  2. Understanding OOP with Java, updated edition, T. Budd, pearson eduction.


REFERENCES :


  1. An Introduction to programming and OO design using Java, J.Nino and F.A. Hosch, John wiley & sons.

  2. An Introduction to OOP, second edition, T. Budd, pearson education.

  3. Introduction to Java programming 6th edition, Y. Daniel Liang, pearson education.

  4. An introduction to Java programming and object oriented application development, R.A. Johnson- Thomson.

5. Core Java 2, Vol 1, Fundamentals, Cay.S.Horstmann and Gary

Cornell, seventh Edition, Pearson Education.

6 .Core Java 2, Vol 2, Advanced Features, Cay.S.Horstmann and Gary

Cornell, Seventh Edition, Pearson Education

7. Object Oriented Programming through Java, P. Radha Krishna,

University Press.

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY

HYDERABAD

II Year B.Tech. CSE -II Sem T P C

0 3 2

OBJECT ORIENTED PROGRAMMING LAB

Objectives:

  • To make the student learn a object oriented way of solving problems.

  • To teach the student to write programs in Java to solve the problems


Recommended Systems/Software Requirements:


  • Intel based desktop PC with minimum of 166 MHZ or faster processor with atleast 64 MB RAM and 100 MB free disk space

  • JDK Kit. Recommended


Week1 :

a) Write a Java program that prints all real solutions to the quadratic equation ax2 + bx + c = 0. Read in a, b, c and use the quadratic formula. If the discriminant b2 -4ac is negative, display a message stating that there are no real solutions.

b) The Fibonacci sequence is defined by the following rule:

The fist two values in the sequence are 1 and 1. Every subsequent value is the sum of the two values preceding it. Write a Java program that uses both recursive and non recursive functions to print the nth value in the Fibonacci sequence.


Week 2 :

a) Write a Java program that prompts the user for an integer and then prints out all prime numbers up to that integer.

b) Write a Java program to multiply two given matrices.

c) Write a Java Program that reads a line of integers, and then displays each integer, and the sum of all the integers (Use StringTokenizer class of java.util)


Week 3 :

a) Write a Java program that checks whether a given string is a palindrome or not. Ex: MADAM is a palindrome.

b) Write a Java program for sorting a given list of names in ascending order.

c) Write a Java program to make frequency count of words in a given text.


Week 4 :

a) Write a Java program that reads a file name from the user, then displays information about whether the file exists, whether the file is readable, whether the file is writable, the type of file and the length of the file in bytes.

b) Write a Java program that reads a file and displays the file on the screen, with a line number before each line.

c) Write a Java program that displays the number of characters, lines and words in a text file.


Week 5 :

a) Write a Java program that:

i) Implements stack ADT.

ii) Converts infix expression into Postfix form

iii) Evaluates the postfix expression

Week 6 :

a) Develop an applet that displays a simple message.

b) Develop an applet that receives an integer in one text field, and computes its factorial Value and returns it in another text field, when the button named “Compute” is clicked.


Week 7 :

Write a Java program that works as a simple calculator. Use a grid layout to arrange buttons for the digits and for the +, -,*, % operations. Add a text field to display the result.


Week 8 :

a) Write a Java program for handling mouse events.


Week 9 :

a) Write a Java program that creates three threads. First thread displays “Good Morning” every one second, the second thread displays “Hello” every two seconds and the third thread displays “Welcome” every three seconds.

b) Write a Java program that correctly implements producer consumer problem using the concept of inter thread communication.


Week 10 :

Write a program that creates a user interface to perform integer divisions. The user enters two numbers in the textfields, Num1 and Num2. The division of Num1 and Num2 is displayed in the Result field when the Divide button is clicked. If Num1 or Num2 were not an integer, the program would throw a NumberFormatException. If Num2 were Zero, the program would throw an ArithmeticException Display the exception in a message dialog box.


Week 11 :

Write a Java program that implements a simple client/server application. The client sends data to a server. The server receives the data, uses it to produce a result, and then sends the result back to the client. The client displays the result on the console. For ex: The data sent from the client is the radius of a circle, and the result produced by the server is the area of the circle. (Use java.net)


Week 12 :

a) Write a java program that simulates a traffic light. The program lets the user select one of three lights: red, yellow, or green. When a radio button is selected, the light is turned on, and only one light can be on at a time No light is on when the program starts.

b) Write a Java program that allows the user to draw lines, rectangles and ovals.


Week 13 :

a) Write a java program to create an abstract class named Shape that contains an empty method named numberOfSides ( ).Provide three classes named Trapezoid, Triangle and Hexagon such that each one of the classes extends the class Shape. Each one of the classes contains only the method numberOfSides ( ) that shows the number of sides in the given geometrical figures.

b) Suppose that a table named Table.txt is stored in a text file. The first line in the file is the header, and the remaining lines correspond to rows in the table. The elements are eparated by commas. Write a java program to display the table using Jtable component.


TEXT BOOKS :

  1. Java How to Program, Sixth Edition, H.M.Dietel and P.J.Dietel, Pearson

Education/PHI

  1. Introduction to Java programming, Sixth edition, Y.Daniel Liang, Pearson Education

  2. Big Java, 2nd edition, Cay Horstmann, Wiley Student Edition, Wiley India Private Limited.


JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY

HYDERABAD

II Year B.Tech. CSE -II Sem T P C

0 3 2

DATA BASE MANAGEMENT SYSTEMS LAB

Objectives:

  • To teach the student database design and query and PL/SQL.


Recommended Systems/Software Requirements:


  • Intel based desktop PC

  • Mysql /Oracle latest version Recommended




  1. Creation, altering and droping of tables and inserting rows into a table (use constraints while creating tables) examples using SELECT command.

  2. Queries (along with sub Queries) using ANY, ALL, IN, EXISTS, NOTEXISTS, UNION, INTERSET, Constraints.

Example:- Select the roll number and name of the student who secured fourth rank in the class.

  1. Queries using Aggregate functions (COUNT, SUM, AVG, MAX and MIN), GROUP BY, HAVING and Creation and dropping of Views.

  2. Queries using Conversion functions (to_char, to_number and to_date), string functions (Concatenation, lpad, rpad, ltrim, rtrim, lower, upper, initcap, length, substr and instr), date functions (Sysdate, next_day, add_months, last_day, months_between, least, greatest, trunc, round, to_char, to_date)

  3. i)Creation of simple PL/SQL program which includes declaration section, executable section and exception –Handling section (Ex. Student marks can be selected from the table and printed for those who secured first class and an exception can be raised if no records were found)

ii)Insert data into student table and use COMMIT, ROLLBACK and SAVEPOINT in PL/SQL block.


  1. Develop a program that includes the features NESTED IF, CASE and CASE expression. The program can be extended using the NULLIF and COALESCE functions.

  2. Program development using WHILE LOOPS, numeric FOR LOOPS, nested loops using ERROR Handling, BUILT –IN Exceptions, USE defined Exceptions, RAISE- APPLICATION ERROR.

  3. Programs development using creation of procedures, passing parameters IN and OUT of PROCEDURES.

  4. Program development using creation of stored functions, invoke functions in SQL Statements and write complex functions.

  5. Program development using creation of package specification, package bodies, private objects, package variables and cursors and calling stored packages.

  6. Develop programs using features parameters in a CURSOR, FOR UPDATE CURSOR, WHERE CURRENT of clause and CURSOR variables.

  7. Develop Programs using BEFORE and AFTER Triggers, Row and Statement Triggers and INSTEAD OF Triggers


TEXT BOOKS :


1)ORACLE PL/SQL by example. Benjamin Rosenzweig, Elena Silvestrova, Pearson

Education 3rd Edition

2)ORACLE DATA BASE LOG PL/SQL Programming SCOTT URMAN, Tata Mc-

Graw Hill.

3)SQL & PL/SQL for Oracle 10g, Black Book, Dr.P.S. Deshpande.

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY

HYDERABAD

III Year B.Tech. CSE -I Sem T P C

4+1* 0 4

FORMAL LANGUAGES AND AUTOMATA THEORY


The purpose of this course is to acquaint the student with an overview of the theoretical foundations of computer science from the perspective of formal languages.

• Classify machines by their power to recognize languages.

• Employ finite state machines to solve problems in computing.

• Explain deterministic and non-deterministic machines.

• Comprehend the hierarchy of problems arising in the computer sciences.


UNIT I :

Fundamentals : Strings, Alphabet, Language, Operations, Finite state machine, definitions, finite automaton model, acceptance of strings, and languages, deterministic finite automaton and non deterministic finite

automaton, transition diagrams and Language recognizers.


UNIT II :

Finite Automata : NFA with Î transitions - Significance, acceptance of languages. Conversions and Equivalence : Equivalence between NFA with and without Î transitions, NFA to DFA conversion, minimisation of FSM, equivalence between two FSM’s, Finite Automata with output- Moore and Melay machines.


UNIT III :

Regular Languages : Regular sets, regular expressions, identity rules, Constructing finite Automata for a given regular expressions, Conversion of Finite Automata to Regular expressions. Pumping lemma of regular sets, closure properties of regular sets (proofs not required).

1   2   3   4   5   6   7   8   9   10

Похожие:

3 4 Computer Programming Lab 3 4 Electrical and Electronics Lab 3 4 English Language Communications Skills Lab 3 4 it work-Shop 3 4 Total 25 15 56 iconThis lab is designed for the A&S 500 Neurophysiology lab. Starting Spring 2013, Dept of Biology, Univ of Ky., Usa

3 4 Computer Programming Lab 3 4 Electrical and Electronics Lab 3 4 English Language Communications Skills Lab 3 4 it work-Shop 3 4 Total 25 15 56 iconLab Topic Martini pcc lab

3 4 Computer Programming Lab 3 4 Electrical and Electronics Lab 3 4 English Language Communications Skills Lab 3 4 it work-Shop 3 4 Total 25 15 56 icon5. Scanning Tunneling Microscopy Lab Suzanne Amador Kane 3/13/06 (parts of this manual were adapted from the Burleigh Instruments istm manual, and the Physics 407 Lab manual from University of Wisconsin) Introduction

3 4 Computer Programming Lab 3 4 Electrical and Electronics Lab 3 4 English Language Communications Skills Lab 3 4 it work-Shop 3 4 Total 25 15 56 iconLab #10 Sheet Rolling

3 4 Computer Programming Lab 3 4 Electrical and Electronics Lab 3 4 English Language Communications Skills Lab 3 4 it work-Shop 3 4 Total 25 15 56 icon1 Long course title Microbiology Lab

3 4 Computer Programming Lab 3 4 Electrical and Electronics Lab 3 4 English Language Communications Skills Lab 3 4 it work-Shop 3 4 Total 25 15 56 iconBaird spring 03 Lecture M& w 9: 00- 9: 50 a m. Lab R 12-2

3 4 Computer Programming Lab 3 4 Electrical and Electronics Lab 3 4 English Language Communications Skills Lab 3 4 it work-Shop 3 4 Total 25 15 56 iconStephen (Steve) Brandt, M. D. Lab

3 4 Computer Programming Lab 3 4 Electrical and Electronics Lab 3 4 English Language Communications Skills Lab 3 4 it work-Shop 3 4 Total 25 15 56 iconMeets w 11 am-1: 55 pm in lab room C208

3 4 Computer Programming Lab 3 4 Electrical and Electronics Lab 3 4 English Language Communications Skills Lab 3 4 it work-Shop 3 4 Total 25 15 56 iconLab: Science Building #033 telephone

3 4 Computer Programming Lab 3 4 Electrical and Electronics Lab 3 4 English Language Communications Skills Lab 3 4 it work-Shop 3 4 Total 25 15 56 iconThe Managerial mba: Classroom Lab Experience

Разместите кнопку на своём сайте:
Библиотека


База данных защищена авторским правом ©lib.znate.ru 2014
обратиться к администрации
Библиотека
Главная страница