[go: up one dir, main page]

0% found this document useful (0 votes)
97 views44 pages

English - Communication Skills Lab - I: Prakasam Engineering College

The document contains the list of experiments for the English Communication Skills Lab, Applied/Engineering Physics Lab, Applied/Engineering Physics Virtual Labs, and Computer Programming Lab for semester 1 of the IT department at Prakasam Engineering College. For the English lab there are 9 speaking and pronunciation experiments. The Physics lab list contains 21 experiments involving properties of semiconductors, optics, sound, and mechanics. The virtual lab list has 13 physics simulation experiments. The Programming lab has 15 programming experiments involving arrays, functions, structures, pointers, dynamic memory allocation, strings, and file handling.

Uploaded by

shiva kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views44 pages

English - Communication Skills Lab - I: Prakasam Engineering College

The document contains the list of experiments for the English Communication Skills Lab, Applied/Engineering Physics Lab, Applied/Engineering Physics Virtual Labs, and Computer Programming Lab for semester 1 of the IT department at Prakasam Engineering College. For the English lab there are 9 speaking and pronunciation experiments. The Physics lab list contains 21 experiments involving properties of semiconductors, optics, sound, and mechanics. The virtual lab list has 13 physics simulation experiments. The Programming lab has 15 programming experiments involving arrays, functions, structures, pointers, dynamic memory allocation, strings, and file handling.

Uploaded by

shiva kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 44

PRAKASAM ENGINEERING COLLEGE

Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada


O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: I

NAME OF THE LAB: ENGLISH - COMMUNICATION SKILLS LAB - I

LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 WHY study Spoken English?
2 Making Inqueries on the phone, thanking and responding to
Thanks
Practice work.
3 Responding to Requests and asking for Directions Practice
work.
4 Asking for Clarifications, Inviting, Expressing Sympathy,
Congratulating
5 Apologising, Advising, Suggesting, Agreeing and Disagreeing
Practice work.
6 Letters and SoundsPractice work.
7 The Sounds of EnglishPractice work.
8 Pronunciation
9 Stress and Intonation Practice work.

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: I

NAME OF THE LAB: APPLIED/ENGINEERING PHYSICS LAB

LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Determination of wavelength of a source-Diffraction
Grating-Normal incidence.
2 Newton’s rings – Radius of Curvature of Plano - Convex
Lens.
3 Determination of thickness of a spacer using wedge film
and parallel interference fringes.
4 Determination of Rigidity modulus of a material- Torsional
Pendulum.
5 Determination of Acceleration due to Gravity and Radius
of Gyration- Compound Pendulum.
6 Melde’s experiment – Transverse and Longitudinal modes.
7 Verification of laws of vibrations in stretched strings –
Sonometer.
8 Determination of velocity of sound – Volume Resonator.
9 L- C- R Series Resonance Circuit.
10 Study of I/V Characteristics of Semiconductor diode.
11 I/V characteristics of Zener diode.
12 Characteristics of Thermistor – Temperature Coefficients.
13 Magnetic field along the axis of a current carrying coil –
Stewart and Gee’s apparatus.
14 Energy Band gap of a Semiconductor p - n junction.
15 Hall Effect in semiconductors.
16 Time constant of CR circuit.
17 Determination of wavelength of laser source using
diffraction grating.
18 Determination of Young’s modulus by method of single
cantilever oscillations.
19 Determination of lattice constant – lattice dimensions kit.
20 Determination of Planck’s constant using photocell.
21 Determination of surface tension of liquid by capillary rise
method.
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: I

NAME OF THE LAB: APPLIED/ENGINEERING PHYSICS - VIRTUAL LABS –


ASSIGNMENTS

LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Hall Effect
2 Crystal Structure
3 Hysteresis
4 Brewster’s angle
5 Magnetic Levitation / SQUID
6 Numerical Aperture of Optical fiber
7 Photoelectric Effect
8 Simple Harmonic Motion
9 Damped Harmonic Motion
10 LASER – Beam Divergence and Spot size
11 B-H curve
12 Michelson’s interferometer
13 Black body radiation

Additional Experiments:

S. No. Name of the Experiment


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: I
NAME OF THE LAB: COMPUTER PROGRAMMING LAB
LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Basics
a) What is an OS Command, Familiarization of Editors - vi,
Emacs
b) Using commands like mkdir, ls, cp, mv, cat, pwd, and man
c) C Program to Perform Adding, Subtraction, Multiplication and
Division of two numbers From Command line
2 Basic Math
a) Write a C Program to Simulate 3 Laws at Motion
b) Write a C Program to convert Celsius to Fahrenheit and vice
versa
3 Control Flow - I
a)Write a C Program to Find Whether the Given Year is a Leap
Year or not.
b)Write a C Program to Add Digits & Multiplication of a number
4 Control Flow - II
a)Write a C Program to Find Whether the Given Number is
i) Prime Number
ii) Armstrong Number
b) Write a C program to print Floyd Triangle
c) Write a C Program to print Pascal Triangle
5 Functions
a) Write a C Program demonstrating of parameter passing in
Functions and returning values.
b) Write a C Program illustrating Fibonacci, Factorial with
Recursion without Recursion
6 Control Flow - III
a) Write a C Program to make a simple Calculator to Add,
Subtract, Multiply or Divide Using
switch…case
b) Write a C Program to convert decimal to binary and hex
(using switch call function the
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

function)
7 Functions - Continued
Write a C Program to compute the values ofsin x and cos x and
e^x values using Series
expansion. (use factorial function)
8 Arrays
Demonstration of arrays
a) Search-Linear.
b) Sorting-Bubble, Selection.
c) Operations on Matrix.
9 Structures
a)Write a C Program to Store Information of a Movie Using
Structure
b)Write a C Program to Store Information Using Structures with
Dynamically Memory
Allocation
c) Write a C Program to Add Two Complex Numbers by Passing
Structure to a Function
10 Arrays and Pointers
a)Write a C Program to Access Elements of an Array Using
Pointer
b) Write a C Program to find the sum of numbers with arrays
and pointers.
11 Dynamic Memory Allocations
a) Write a C program to find sum of n elements entered by
user. To perform this program,
allocate memory dynamically using malloc () function.
b) Write a C program to find sum of n elements entered by
user. To perform this program,allocate memory dynamically
using calloc () function.
Understand the difference between the above two programs
12 Strings
a) Implementation of string manipulation operations with
library function.
i) copy ii) concatenate iii) length iv) compare
b) Implementation of string manipulation operations without
library function.
i) copy ii) concatenate iii) length iv) compare
13 Files
a)Write a C programming code to open a file and to print it contents on screen.
b)Write a C program to copy files
14 Files Continued
a) Write a C program merges two files and stores their
contents in another file.
b)Write a C program to delete a file.
15 a) System Assembling, Disassembling and identification of
Parts / Peripherals.
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

b) Operating System Installation-Install Operating Systems like


indows, Linux along with necessary Device Drivers.
16 a) MS-Office / Open Office
i) Word - Formatting, Page Borders, Reviewing, Equations,
symbols. ii) Spread Sheet - organize data, usage of formula,
graphs, charts.
iii) Powerpoint - features of power point, guidelines for
preparing an effective presentation.
b) Network Configuration & Software Installation-Configuring
TCP/IP, Proxy, and firewall settings. Installing application
software, system software & tools.

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:II YEAR SEMESTER: I
NAME OF THE LAB: DATA STRUCTURES THROUGH C++ LAB
LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Implementation of Singly linked list.
2 Implementation of Doubly linked list.
3 Implementation of Multistack in a Single Array.
4 Implementation of Circular Queue
5 Implementation of Binary Search trees.
6 Implementation of Hash table.
7 Implementation of Heaps.
8 Implementation of Breadth First Search Techniques.
9 Implementation of Depth First Search Techniques.
10 Implementation of Prim’s Algorithm.
11 Implementation of Dijkstra’s Algorithm.
12 Implementation of Kruskal’s Algorithm
13 Implementation of MergeSort
14 Implementation of Quick Sort
15 Implementation of Data Searching using divide and conquer
technique

Additional Experiments:

S. No. Name of the Experiment


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:II YEAR SEMESTER: I
NAME OF THE LAB: PYTHON PROGRAMMING LAB
LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Basics
a) Running instructions in Interactive interpreter and a Python
Script
b) Write a program to purposefully raise Indentation Error and
Correct it
2 Operations
a) Write a program to compute distance between two points
taking input from the user (Pythagorean Theorem)
b) Write a program add.py that takes 2 numbers as command
line arguments and prints its sum.
3 Control Flow
a) Write a Program for checking whether the given number is a
even number or not.
b) Using a for loop, write a program that prints out the decimal
equivalents of 1/2, 1/3, 1/4, . . . , 1/10
c) Write a program using a for loop that loops over a sequence.
What is sequence ?
d) Write a program using a while loop that asks the user for a
number, and prints a countdown from that number to zero.
4 Control Flow - Continued
a) Find the sum of all the primes below two million.
Each new term in the Fibonacci sequence is generated by adding the
previous two terms. By starting with 1 and 2, the first 10 terms will
be:
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
b) By considering the terms in the Fibonacci sequence whose values
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

do not exceed four million, find the sum of the even-valued terms.
5 DS
a) Write a program to count the numbers of characters in the
string and store them in a dictionary data structure
b) Write a program to use split and join methods in the string
and trace a birthday with a dictionary data structure.
6 DS - Continued
a) Write a program combine_lists that combines these lists into
a dictionary.
b) Write a program to count frequency of characters in a given
file. Can you use character
frequency to tell whether the given file is a Python program
file, C program file or a text file?
7 Files
a) Write a program to print each line of a file in reverse order.
b) Write a program to compute the number of characters,
words and lines in a file.
8 Functions
a) Write a function ball_collide that takes two balls as
parameters and computes if they are colliding. Your function
should return a Boolean representing whether or not the balls
are colliding.
Hint: Represent a ball on a plane as a tuple of (x, y, r), r being
the radius
If (distance between two balls centers) <= (sum of their radii)
then (they are colliding)
b) Find mean, median, mode for the given set of numbers in a
list.
9 Functions - Continued
a) Write a function nearly_equal to test whether two strings are
nearly equal. Two strings a and b
are nearly equal when a can be generated by a single mutation
on b.
b) Write a function dups to find all duplicates in the list.
c) Write a function unique to find all the unique elements of a
list.
10 Functions - Problem Solving
a) Write a function cumulative_product to compute cumulative
product of a list of numbers.
b) Write a function reverse to reverse a list. Without using the
reverse function.
c) Write function to compute gcd, lcm of two numbers. Each
function shouldn’t exceed one line.
11 Multi-D Lists
a) Write a program that defines a matrix and prints
b) Write a program to perform addition of two square matrices
c) Write a program to perform multiplication of two square matrices
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

12 Modules
a) Install packages requests, flask and explore them. using
(pip)
b) Write a script that imports requests and fetch content from
the page. Eg. (Wiki)
c) Write a simple script that serves a simple HTTPResponse and
a simple HTML Page
13 OOP
a) Class variables and instance variable and illustration of the
self variable
i) Robot
ii) ATM Machine
14 GUI, Graphics
1. Write a GUI for an Expression Calculator using tk
2. Write a program to implement the following figures using
turtle

15 Testing
a) Write a test-case to check the function even_numbers which
return True on passing a list of all even numbers
b) Write a test-case to check the function reverse_string which
returns the reversed string
16 Advanced
a) Build any one classical data structure.
b) Write a program to solve knapsack problem.

Additional Experiments:

S. No. Name of the Experiment


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:III YEAR SEMESTER: I
NAME OF THE LAB: Advanced JAVA Lab
LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Write a program to prompt the user for a hostname and then looks up the IP
address for the hostname and displays the results.
2 Write a program to read the webpage from a website and display the contents
of the webpage.
3 Write programs for TCP server and Client interaction as per given below.
i. A program to create TCP server to send a message to client.
ii. A program to create TCP client to receive the message sent by the server.
4 Write programs for Datagram server and Client interaction as per given below.
i. A program to create Datagram server to send a message to client.
ii. A program to create Datagram client to receive the message sent by the
server.
5 Write a program by using JDBC to execute a SQL query for a database and
display the results.
6 Write a program by using JDBC to execute an update query without using
PreparedStatement and display the results.
7 Write a program by using JDBC to execute an update query by using
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

PreparedStatement and display the results.


8 Write a program to execute a stored procedure in the database by using
CallableStatement and display the results.
9 Write a program to display a greeting message in the browser by using
HttpServlet.
10 Write a program to receive two numbers from a HTML form and display their
sum in the browser by using HttpServlet.
11 Write a program to display a list of five websites in a HTML form and visit to
the selected website by using Response redirection.
12 Write a program to store the user information into Cookies. Write another
program to display the above stored information by retrieving from Cookies.
13 Write a program in Java Beans to add a Button to the Bean and display the
number of times the button has been clicked.
14 Write a program for Java Bean with Simple property by using SimpleBeanInfo
class.
15 Write a program for Java Bean with Indexed Property by using
SimpleBeanInfo class.
16 Write a program to develop a Enterprise Java Bean of "Session Bean" type.
17 Write a program to develop a Enterprise Java Bean of "Entity Session Bean"
type.
18 Write a program to develop a Enterprise Java Bean of "Message Driven Bean"
type

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:III YEAR SEMESTER: I
NAME OF THE LAB: Operating Systems & Linux Programming Laboratory
LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


OS LAB
1 1. Simulate the following CPU scheduling algorithms
a) Round Robin b) SJF c) FCFS d) Priority
2 2. Multiprogramming-Memory management- Implementation of fork (), wait(),
exec() and exit (), System calls
3 3. Simulate the following Multiprogramming with a fixed number of tasks
(MFT) Multiprogramming with a variable number of tasks (MVT)
4 4. Simulate Bankers Algorithm for Dead Lock Avoidance
5 5. Simulate Bankers Algorithm for Dead Lock Prevention.
6 6. Simulate the following page replacement algorithms.
a) FIFO b) LRU c) LFU
7 7. Simulate the following File allocation strategies
a) Sequenced b) Indexed c) Linked
LINUX LAB
8 1. a) Study of Unix/Linux general purpose utility command list man,who,cat,
cd, cp, ps, ls, mv, rm, mkdir, rmdir, echo, more, date, time, kill, history, chmod,
chown, finger, pwd, cal, logout, shutdown.
b) Study of vi editor.
c) Study of Bash shell, Bourne shell and C shell in Unix/Linux operating
system.
d) Study of Unix/Linux file system (tree structure).
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

e) Study of .bashrc, /etc/bashrc and Environment variables.


9 2. Write a C program that makes a copy of a file using standard I/O, and system
calls.
10 3. Write a C program to emulate the UNIX ls –l command
11 4. Write a C program that illustrates how to execute two commands
concurrently with a command pipe. Ex: - ls –l | sort
12 5. Write a C program that illustrates two processes communicating using shared
memory
13 6. Write a C program to simulate producer and consumer problem using
semaphores
14 7. Write C program to create a thread using pthreads library and let it run its
function.
15 8. Write a C program to illustrate concurrent execution of threads using
pthreads library

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:III YEAR SEMESTER: I
NAME OF THE LAB: Database Management Systems Lab
LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


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.
3 Queries using Aggregate functions (COUNT, SUM, AVG, MAX and MIN),
GROUP BY, HAVING and Creation and dropping of Views
4 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)
5 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.
6 Develop a program that includes the features NESTED IF, CASE and CASE
expression. The program can be extended using the NULLIF and COALESCE
functions.
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

7 Program development using WHILE LOOPS, numeric FOR LOOPS, nested


loops using ERROR Handling, BUILT –IN Exceptions, USE defined
Exceptions, RAISE- APPLICATION ERROR.
8 Programs development using creation of procedures, passing parameters IN
and OUT of PROCEDURES.
9 Program development using creation of stored functions, invoke functions in
SQL Statements and write complex functions.
10 Program development using creation of package specification, package bodies,
private objects, package variables and cursors and calling stored packages.
11 Develop programs using features parameters in a CURSOR, FOR UPDATE
CURSOR, WHERE CURRENT of clause and CURSOR variables.
12 Develop Programs using BEFORE and AFTER Triggers, Row and Statement
Triggers and INSTEAD OF Triggers

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:IV YEAR SEMESTER: I

NAME OF THE LAB: UML and Design Patterns Lab


LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Familiarization with Rational Rose or Umbrello
2 For each case study:
a) Identify and analyze events
3 b) Identify Use cases
4 c) Develop event table
5 d) Identify & analyze domain classes
6 e) Represent use cases and a domain class diagram using Rational Rose
7 f) Develop CRUD matrix to represent relationships between use cases and problem
domain classes
8 For each case study:
a) Develop Use case diagrams
9 b) Develop elaborate Use case descriptions & scenarios
10 c) Develop prototypes (without functional)
11 d) Develop system sequence diagrams
12 For each case study:
a) Develop high-level sequence diagrams for each use case
13 b) Identify MVC classes / objects for each use case
14 c) Develop Detailed Sequence Diagrams / Communication diagrams for each use case
showing interactions among all the three-layer objects
15 d) Develop detailed design class model (use GRASP patterns for responsibility
assignment)
16 e) Develop three-layer package diagrams for each case study
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

17 For each case study:


a) Develop Use case Packages
18 b) Develop component diagrams
19 c) Identify relationships between use cases and represent them
20 d) Refine domain class model by showing all the associations among classes
21 For each case study:
a) Develop sample diagrams for other UML diagrams - state chart diagrams, activity
diagrams and deployment diagrams

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:IV YEAR SEMESTER: I

NAME OF THE LAB: Mobile Application Development Lab


LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Write a J2ME program to show how to change the font size and colour
2 Write a J2ME program which creates the following kind of menu.
* cut
* copy
* past
* delete
* select all
* unselect all
3 Create a J2ME menu which has the following options (Event Handling):
 cut - can be on/off
 copy - can be on/off
 paste - can be on/off
 delete - can be on/off
 select all - put all 4 options on
 unselect all - put all
4 Create a MIDP application, which draws a bar graph to the display. Data values
can be given at int[] array. You can enter four data (integer) values to the input
text field.
5 Create an MIDP application which examine, that a phone number, which a user
has entered is in the given format (Input checking):
* Area code should be one of the following: 040, 041, 050, 0400, 044
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

* There should 6-8 numbers in telephone number (+ area code)


6 Write a sample program to show how to make a SOCKET Connection from
J2ME phone. This J2ME sample program shows how to how to make a
SOCKET Connection from a J2ME Phone. Many a times
there is a need to connect backend HTTP server from the J2ME application.
Show how to make a SOCKET connection from the phone to port 80.
7 Login to HTTP Server from a J2ME Program. This J2ME sample program
shows how to display a simple LOGIN SCREEN on the J2ME phone and how
to authenticate to a HTTP server. Many J2ME applications for security reasons
require the authentication of the user. This free J2ME sample program, shows
how a J2ME application can do authentication to the backend server. Note: Use
Apache Tomcat Server as Web Server and MySQL as Database Server.

8 The following should be carried out with respect to the given set of application
domains: (Assume that the Server is connected to the well-maintained database
of the given domain. Mobile Client is to be connected to the Server and fetch
the required data value/information)
• Students Marks Enquiry
• Town/City Movie Enquiry
• Railway/Road/Air (For example PNR) Enquiry/Status
• Sports (say, Cricket) Update
• Town/City Weather Update
• Public Exams (say Intermediate or SSC)/ Entrance (Say EAMCET) Results
Enquiry
Divide Student into Batches and suggest them to design database according to
their domains and render information according the requests.
9 Write an Android application program that displays Hello World using
Terminal
10 Write an Android application program that displays Hello World using Eclipse.
11 Write an Android application program that accepts a name from the user and
displays the hello name to the user in response as output using Eclipse.
12 Write an Android application program that demonstrates the following:
(i) LinearLayout
(ii) RelativeLayout
(iii) TableLayout
(iv) GridView layout
13 Write an Android application program that converts the temperature in Celsius
to Fahrenheit.
14 Write an Android application program that demonstrates intent in mobile
application development.

Additional Experiments:

S. No. Name of the Experiment


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:IV YEAR SEMESTER: I

NAME OF THE LAB: Software Engineering Lab


LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Take any real time problem and do the following experiments
Do the Requirement Analysis and Prepare SRS
2 Using COCOMO model estimate effort.
3 Calculate effort using FP oriented estimation model.
4 Analyze the Risk related to the project and prepare RMMM plan.
5 Develop Time-line chart and project table using PERT or CPM project
scheduling methods.
6 Draw E-R diagrams, DFD, CFD and structured charts for the project.
7 Design of Test cases based on requirements and design.
8 Prepare FTR
9 Prepare Version control and change control for software configuration items

Additional Experiments:

S. No. Name of the Experiment


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:IV YEAR SEMESTER: I

NAME OF THE LAB: Hadoop & BigData Lab


LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Implement the following Data structures in Java
a)Linked Lists b) Stacks c) Queues d) Set e) Map
2 (i)Perform setting up and Installing Hadoop in its three
operating modes:
Standalone,
Pseudo distributed,
Fully distributed
(ii)Use web based tools to monitor your Hadoop setup.
3 Implement the following file management tasks in Hadoop:
 Adding files and directories
 Retrieving files
 Deleting files
Hint: A typical Hadoop workflow creates data files (such as log files)
elsewhere and copies them into HDFS using one of the above command line
utilities.
4 Run a basic Word Count Map Reduce program to understand
Map Reduce Paradigm
5 Write a Map Reduce program that mines weather data.
Weather sensors collecting data every hour at many locations across the globe
gather a large volume of log data, which is a good candidate for analysis with
MapReduce, since it is semi structured and record-oriented.
6 Implement Matrix Multiplication with Hadoop Map Reduce
7 Install and Run Pig then write Pig Latin scripts to sort, group,
join, project, and filter your data.
8 Install and Run Hive then use Hive to create, alter, and drop
databases, tables, views, functions, and indexes

Additional Experiments:

S. No. Name of the Experiment


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: II

NAME OF THE LAB: APPLIED / ENGINEERING CHEMISTRY


LABORATORY

LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Introduction to Chemistry laboratory – Molarity, Normality,
Primary, secondary standard solutions, Volumetric titrations,
Quantitative analysis, Qualitative analysis, etc.
2 Trial experiment - Determination of HCl using standard Na2CO3
solution.
3 Determination of alkalinity of a sample containing Na2CO3 and
NaOH.
4 Determination of KMnO4 using standard Oxalic acid solution.
5 Determination of Ferrous iron using standard K2Cr2O7 solution.
6 Determination of Copper using standard K2Cr2O7 solution.
7 Determination of temporary and permanent hardness of water
using standard EDTA solution.
8 Determination of Copper using standard EDTA solution.
9 Determination of Iron by a Colorimetric method using
thiocynate as reagent.
10 Determination of pH of the given sample solution using pH
meter.
11 Conductometric titration between strong acid and strong base.
12 Conductometric titration between strong acid and weak base.
13 Potentiometric titration between strong acid and strong base.
14 Potentiometric titration between strong acid and weak base.
15 Determination of Zinc using standard EDTA solution.
16 Determination of Vitamin – C.

Additional Experiments:
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: II

NAME OF THE LAB: APPLIED / ENGINEERING CHEMISTRY


LABORATORY

LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Introduction to Chemistry laboratory – Molarity, Normality,
Primary, secondary standard solutions, Volumetric titrations,
Quantitative analysis, Qualitative analysis, etc.
2 Trial experiment - Determination of HCl using standard Na2CO3
solution.
3 Determination of alkalinity of a sample containing Na2CO3 and
NaOH.
4 Determination of KMnO4 using standard Oxalic acid solution.
5 Determination of Ferrous iron using standard K2Cr2O7 solution.
6 Determination of Copper using standard K2Cr2O7 solution.
7 Determination of temporary and permanent hardness of water
using standard EDTA solution.
8 8. Determination of Copper using standard EDTA solution.
9 9. Determination of Iron by a Colorimetric method using
thiocynate as reagent.
10 10. Determination of pH of the given sample solution using pH
meter.
11 11. Conductometric titration between strong acid and strong
base.
12 12. Conductometric titration between strong acid and weak
base.
13 13. Potentiometric titration between strong acid and strong
base.
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

14 14. Potentiometric titration between strong acid and weak


base.
15 15. Determination of Zinc using standard EDTA solution.
16 16. Determination of Vitamin – C.Presentation Skills

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: II

NAME OF THE LAB: OBJECT-ORIENTED PROGRAMMING LAB

LIST OF EXPERIMENTS (As per syllabus)

S. Name of the Experiment


No.
1 Basics
Write a Simple Program on printing “Hello World” and “Hello Name”
where name is the input from the user
a) Convert any two programs that are written in C into C++
b) Write a description of using g++ (150 Words)
2 Expressions Control Flow
a) Write a Program that computes the simple interest and compound
interest payable on principal amount (in Rs.) of loan borrowed by the
customer from a bank for a giver period of time (in years) at specific
rate of interest. Further determine whether the bank will benefit by
charging simple interest or compound interest.
b) Write a Program to calculate the fare for the passengers travelling
in a bus. When a Passenger enters the bus, the conductor asks “What
distance will you travel?” On knowing distance from passenger (as an
approximate integer), the conductor mentions the fare to the
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

passenger according to following criteria.


3 Variables, Scope, Allocation
a) Write a program to implement call by value and call by reference
using reference variable.
b) Write a program to illustrate scope resolution, new and delete
Operators.

Dynamic Memory Allocation


c) Write a program to illustrate Storage classes
d) Write a program to illustrate Enumerations
4 Functions
Write a program illustrating Inline Functions
a) Write a program illustrate function overloading. Write 2 overloading
functions for power.
b) Write a program illustrate the use of default arguments for simple
interest function.
5 Functions –Exercise Continued
a) Write a program to illustrate function overloading. Write 2
overloading functions for adding two numbers
b) Write a program illustrate function template for power of a number.
c) Write a program to illustrate function template for swapping of two
numbers.
6 Classes Objects
Create a Distance class with:
 feet and inches as data members
 member function to input distance
 member function to output distance
 member function to add two distance objects
a). Write a main function to create objects of DISTANCE class. Input
two distances and output the sum.
b). Write a C++ Program to illustrate the use of Constructors and
Destructors (use the above program.)
c) Write a program for illustrating function overloading in adding the
distance between objects
(use the above problem)
d). Write a C++ program demonstrating a BankAccount with
necessary methods and variables
7 Access
Write a program for illustratingAccess Specifiers public, private,
protected
a) Write a program implementing Friend Function
b) Write a program to illustrate this pointer
c) Write a Program to illustrate pointer to a class
8 Operator Overloading
a). Write a program to Overload Unary, and Binary Operators as
Member Function, and Non Member Function.
i. Unary operator as member function
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

ii. Binary operator as nonmember function


b). Write a c ++ program to implement the overloading assignment =
operator
c).Write a case study on Overloading Operators and Overloading
Functions (150 Words)
9 Inheritance
a) Write C++ Programs and incorporating various forms of Inheritance
i) Single Inheritance
ii) Hierarchical Inheritance
iii) Multiple Inheritances
iv) Multi-level inheritance
v) Hybrid inheritance
b) Write a program to show Virtual Base Class
c) Write a case study on using virtual classes (150 Words)
10 Inheritance –Continued
a) Write a Program in C++ to illustrate the order of execution of
constructors and destructors in inheritance
b) Write a Program to show how constructors are invoked in derived
class
11 Polymorphism
a) Write a program to illustrate runtime polymorphism
b) Write a program to illustrate this pointer
c) Write a program illustrates pure virtual function and calculate the
area of different shapes by using abstract class.
d) Write a case study on virtual functions (150 Words)
12 Templates
a) Write a C++ Program to illustrate template class
b) Write a Program to illustrate class templates with multiple
parameters
c) Write a Program to illustrate member function templates
13 Exception Handling
a).Write a Program for Exception Handling Divide by zero
b). Write a Program to rethrow an Exception
14 STL
a) Write a Program to implement List and List Operations
b) Write a Program to implementVector andVector Operations
15 STLContinued
a) Write a Program to implement Deque and Deque Operations
b) Write a Program to implement Map and Map Operations

Additional Experiments:

S. No. Name of the Experiment


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: II

NAME OF THE LAB: ENGLISH - COMMUNICATION SKILLS LAB- II

LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Debating
Practice work
2 Group Discussions
Practice work
3 Presentation Skills
Practice work
4 Interview Skills
Practice work
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

5 Email, Curriculum Vitae


Practice work
6 Idiomatic Expressions, Common Errors in English
Practice work

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:II YEAR SEMESTER: II
NAME OF THE LAB: UNIFIED MODELING LANGUAGES LAB
LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Familiarization with Rational Rose or Umbrello
2 For each case study:
a) Identify and analyze events
3 b) Identify Use cases
4 c) Develop event table
5 d) Identify & analyze domain classes
6 e) Represent use cases and a domain class diagram using Rational Rose
7 f) Develop CRUD matrix to represent relationships between use cases and problem
domain classes
8 For each case study:
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

a) Develop Use case diagrams


9 b) Develop elaborate Use case descriptions & scenarios
10 c) Develop prototypes (without functional)
11 d) Develop system sequence diagrams
12 For each case study:
a) Develop high-level sequence diagrams for each use case
13 b) Identify MVC classes / objects for each use case
14 c) Develop Detailed Sequence Diagrams / Communication diagrams for each use case
showing interactions among all the three-layer objects
15 d) Develop detailed design class model (use GRASP patterns for responsibility
assignment)
16 e) Develop three-layer package diagrams for each case study
17 For each case study:
a) Develop Use case Packages
18 b) Develop component diagrams
19 c) Identify relationships between use cases and represent them
20 d) Refine domain class model by showing all the associations among classes
21 For each case study:
a) Develop sample diagrams for other UML diagrams - state chart diagrams, activity
diagrams and deployment diagrams

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:II YEAR SEMESTER: II
NAME OF THE LAB: JAVA PROGRAMMING LAB
LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Exercise - 1 (Basics)
a). Write a JAVA program to display default value of all primitive
data type of JAVA
b). Write a java program that display the roots of a quadratic
equation ax2+bx=0. Calculate thediscriminate D and basing
on value of D, describe the nature of root.
c). Five Bikers Compete in a race such that they drive at a
constant speed which may or may not be the same as the
other. To qualify the race, the speed of a racer must be more
than the average speed of all 5 racers. Take as input the speed
of each racer and print back the speed
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

of qualifying racers.
d) Write a case study on public static void main(250
words)
2 (Operations, Expressions, Control-flow, Strings)
a). Write a JAVA program to search for an element in a given
list of elements using binary search mechanism.
b). Write a JAVA program to sort for an element in a given list of
elements using bubble sort
(c). Write a JAVA program to sort for an element in a given list
of elements using merge sort.
(d) Write a JAVA program using StringBuffer to delete, remove
character.
3 (Class, Objects)
a). Write a JAVA program to implement class mechanism. –
Create a class, methods and invoke them inside main method.
b). Write a JAVA program to implement constructor.
4 (Methods)
a). Write a JAVA program to implement constructor overloading.
b). Write a JAVA program implement method overloading.
5 (Inheritance)
a). Write a JAVA program to implement Single Inheritance
b). Write a JAVA program to implement multi level Inheritance
c). Write a java program for abstract class to find areas of
different shapes
6 (Inheritance - Continued)
a). Write a JAVA program give example for “super” keyword.
b). Write a JAVA program to implement Interface. What kind of
Inheritance can be achieved?
7 (Exception)
a).Write a JAVA program that describes exception handling
mechanism
b).Write a JAVA program Illustrating Multiple catch clauses
8 (Runtime Polymorphism)
a). Write a JAVA program that implements Runtime
polymorphism
b). Write a Case study on run time polymorphism, inheritance
that implements in above problem
9 (User defined Exception)
a). Write a JAVA program for creation of Illustrating throw
b). Write a JAVA program for creation of Illustrating finally
c). Write a JAVA program for creation of Java Built-in Exceptions
d).Write a JAVA program for creation of User Defined Exception
10 (Threads)
a). Write a JAVA program that creates threads by extending
Thread class .First thread display “Good Morning “every 1 sec,
the second thread displays “Hello “every 2 seconds and the
third display “Welcome” every 3 seconds ,(Repeat the same by
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

implementing Runnable)
b). Write a program illustrating isAlive and join ()
c). Write a Program illustrating Daemon Threads.
11 (Threads continuity)
a).Write a JAVA program Producer Consumer Problem
b).Write a case study on thread Synchronization after solving
the above producer consumer problem
12 (Packages)
a). Write a JAVA program illustrate class path
b). Write a case study on including in class path in your os
environment of your package.
c). Write a JAVA program that import and use the defined your
package in the previous Problem
13 (Applet)
a).Write a JAVA program to paint like paint brush in applet.
b) Write a JAVA program to display analog clock using Applet.
c). Write a JAVA program to create different shapes and fill
colors using Applet.
14 (Event Handling)
a).Write a JAVA program that display the x and y position of the
cursor movement using Mouse.
b).Write a JAVA program that identifies key-up key-down event
user entering text in a Applet.
15 (Swings)
a).Write a JAVA programto build a Calculator in Swings
b). Write a JAVA program to display the digital watch in swing
tutorial.
16 (Swings - Continued)
a). Write a JAVA program that to create a single ball bouncing
inside a JPanel.
b). Write a JAVA program JTree as displaying a real tree upside down.

Additional Experiments:

S. No. Name of the Experiment


PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:III YEAR SEMESTER: II
NAME OF THE LAB: Computer Networks & Network Programming Lab
LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


PART – A
1 1. Implement the data link layer framing methods such as character stuffing and bit stuffing.
2 2. Implement on a data set of characters the three CRC polynomials – CRC 12, CRC 16 and
CRC CCIP.
3 3. Implement Dijkstra‘s algorithm to compute the Shortest path thru a graph.
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

4 4. Take an example subnet graph with weights indicating delay between nodes. Now obtain
Routing table art each node using distance vector routing algorithm
5 5. Take an example subnet of hosts. Obtain broadcast tree for it.
PART – B
6 1. Implement the following forms of IPC. a)Pipes b)FIFO
7 2. Implement file transfer using Message Queue form of IPC
8 3. Write a programme to create an integer variable using shared memory concept and increment the
variable
9 4. simultaneously by two processes. Use senphores to avoid race conditions
10 5. Design TCP iterative Client and server application to reverse the given input sentence
11 6. Design TCP iterative Client and server application to reverse the given input sentence
12 7. Design TCP client and server application to transfer file
13 8. Design a TCP concurrent server to convert a given text into upper case using multiplexing system call
“select”
14 9. Design a TCP concurrent server to echo given set of sentences using poll functions
15 10. Design UDP Client and server application to reverse the given input sentence
16 11. Design UDP Client server to transfer a file
17 12. Design using poll client server application to multiplex TCP and UDP requests for converting a given
text into upper case.
18 3. Write a programme to create an integer variable using shared memory concept and increment the
variable

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:III YEAR SEMESTER: II

NAME OF THE LAB: Software Testing Lab


LIST OF EXPERIMENTS (As per syllabus)

S. No. Name of the Experiment


1 Consider an automated banking application. The user can dial the bank from a
personal computer, provide a six-digit password, and follow with a series of keyword
commands that activate the banking function. The software for the
application accepts data in the following form:
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

Area Code Blank or three-digit number


Prefix Three-digit number, not beginning with 0 or 1
Suffix Four-digit number
Password Six-character alphanumeric
Commands "Check status", "Deposit", "Withdrawal"

Design adhoc test cases to test the system


2 Consider an automated banking application. The user can dial the bank from a
personal computer, provide a six-digit password, and follow with a series of keyword
commands that activate the banking function. The software for the
application accepts data in the following form:

Area Code Blank or three-digit number


Prefix Three-digit number, not beginning with 0 or 1
Suffix Four-digit number
Password Six-character alphanumeric
Commands "Check status", "Deposit", "Withdrawal"

Design the test cases to test the system using following Black Box testing technique:
BVA, Worst BVA, Robust BVA, Robust Worst BVA
Equivalence class testing (Input/Output domain)
3 Consider an application that is required to validate a number according to the following simple
rules:
1. A number can start with an optional sign.
2. The optional sign can be followed by any number of digits.
3. The digits can be optionally followed by a decimal point, represented by a period.
4. If there is a decimal point, then there should be two digits after the decimal.
5. Any number-whether or not it has a decimal point, should be terminated a blank.
6. A number can start with an optional sign.
7. The optional sign can be followed by any number of digits.
8. The digits can be optionally followed by a decimal point, represented by a period.
9. If there is a decimal point, then there should be two digits after the decimal.
10. Any number-whether or not it has a decimal point, should be terminated a blank. Generate
test cases to test valid
and invalid numbers.
(HINT) Use Decision table and cause-effect graph to generate test cases.
4 Taxable Income. The standard deduction is higher for tax payers who are 65 or older
or blind. Use the method given below to calculate tax.
1. The first factor that determines the standard deduction is the filing status. The basic
standard deduction for the various filing status are:
Single $4,750
Married, filing a joint return $9,500
Married, filing a separate return $7,000
2. If a married couple is filing separate returns and one spouse is not taking standard
Deduction, the other spouse also is not eligible for standard deduction.
3. An additional $1,000 is allowed as standard deduction, if either the filer is 65 yrs or
the spouse is 65 yrs or older
(the latter case applicable when the filing status is “Married” and filing “joint”).
4. An additional $1,000 is allowed as standard deduction, if either the filer is blind or
the spouse is blind (the latter case applicable when the filing status is
“married” and filing “joint”).
(HINT):
From the above description, it is clear that the calculation of standard deduction
depends on the following 3 factors:
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

1. Status of filing of the filer


2. Age of the filer
3. Whether the filer is blind or not
In addition, in certain cases, the following additional factors also come into play in
calculating the standard deduction.
1. Whether spouse has claimed standard deduction
2. Whether spouse is blind
3. Whether the spouse is more than 65 years old
5 Consider the following program segment:
1. int max (int i, int j, int k)
2. {
3. int max;
4. if (i>j) then
5. if (i>k) then max=i;
6. else max=k;
7. else if (j > k) max=j
8. else max=k
9. return (max);
10. }
a) Draw the control flow graph for this program segment
b) Determine the cyclomatic complexity for this program
c) Determine the independent paths
6 Source code of simple insertion sort implementation using array in ascending order in
c programming
language
#include<stdio.h>
int main(){
int i,j,s,temp,a[20];
Printf ("Enter total elements: "); Scanf ("%d",&s);
printf("Enter %d elements: ",s); for(i=0;i<s;i++) scanf("%d",&a[i]); for(i=1;i<s;i++){
temp=a[i]; j=i-1; while((temp<a[j])&&(j>=0)){ a[j+1]=a[j];
j=j-1;
}
a[j+1]=temp;
}
printf("After sorting: ");
for(i=0;i<s;i++)
printf(" %d",a[i]);
return 0;
}
HINT: for loop is represented as while loop
a) Draw the program graph for given program segment b) Determine the DD path
graph
c) Determine the independent paths
d) Generate the test cases for each independent path
7 Consider a system having an FSM for a stack having the following states and
transitions:
States
Initial: Before creation
Empty: Number of elements = 0
Holding: Number of elements > 0, but less than the maximum capacity
Full: Number elements = maximum
Final: After destruction
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

Initial to Empty: Create


Empty to Holding, Empty to Full, Holding to Holding, Holding to Full: Add
Empty to Final, Full to Final, Holding to Final: Destroy
Holding to Empty, Full to Holding, Full to Empty: Delete
Design test cases for this FSM using state table-based testing.
8 Given the following fragment of code, how many tests are required for 100% decision
coverage? Give the test cases.
if width > length
then biggest_dimension = width if height > width
then biggest dimension = height end_if
else if biggest dimension = length then if height > length
then biggest_dimension = height end_if
end_if end_if
Hint 04 test cases
9 Given the following code, how much minimum number of test cases is required for
full statement and branch
coverage?
read p read q
if p+q> 100
then print "Large" endif
if p > 50
then print "p Large" endif
Hint 1 test for statement coverage, 2 for branch coverage
10 Consider a program to input two numbers and print them in ascending order given
below. Find all du paths and
identify those du-paths that are not feasible. Also find all dc paths and generate the test
cases for all paths (dc paths
and non dc paths).
#include<stdio.h>
#include<conio.h>
1. void main ()
2. {
3 int a, b, t;
4. Clrscr ();
5. Printf (“Enter first number”);
6. scanf (“%d”,&a);
7. printf(“Enter second number”);
8. scanf(“%d”,&b);
9. if (a<b){
10. t=a;
11a=b;
12 b=t;
13}
14. printf (“%d %d”, a, b);
15 getch ();
}
11 Consider the above program and generate possible program slices for all variables.
Design at least one test case from every slice.
12 Consider the code to arrange the nos. in ascending order. Generate the test cases for
relational coverage, loop coverage
and path testing. Check the adequacy of the test cases through mutation testing and
also compute the mutation score
for each.
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

i = 0;
n=4; //N-Number of nodes present in the graph
While (i<n-1) do j = i + 1;
While (j<n) do
if A[i]<A[j] then swap (A[i], A[j]); end do;
i=i+1;
end do

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

LAB EXPERIMENTS LIST 6.4.3/ 2017-18/DDD/TL/LP/LEX

DEPARTMENT: IT DATE:
CLASS:III YEAR SEMESTER: II

NAME OF THE LAB: Web Technologies Lab


LIST OF EXPERIMENTS (As per syllabus)

S. Name of the Experiment


No.
1 Design the following static web pages required for an online book store web site.
1) HOME PAGE:
The static home page must contain three frames.
Top frame : Logo and the college name and links to Home page, Login page,
Registration page, Catalogue
page and Cart page (the description of these pages will be given below).
Left frame : At least four links for navigation, which will display the catalogue of
respective links.
For e.g.: When you click the link “MCA” the catalogue for MCA Books should be
displayed in the Right
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

frame.
Right frame: The pages to the links in the left frame must be loaded
here. Initially this page contains
description of the web site.

3 3) CATOLOGUE PAGE:
The catalogue page should contain the details of all the books available in the web site
in a table.
The details should contain the following:
1. Snap shot of Cover Page.
2. Author Name.
3. Publisher.
4. Price.
5. Add to cart button.
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

4 4. REGISTRATION PAGE:
Create a “registration form “with the following fields
1) Name (Text field)
2) Password (password field)
3) E-mail id (text field)
4) Phone number (text field)
5) Sex (radio button)
6) Date of birth (3 select boxes)
7) Languages known (check boxes – English, Telugu, Hindi, Tamil)
8) Address (text area)
5 Design a web page using CSS (Cascading Style Sheets) which includes the
following:
1) Use different font, styles:
In the style definition you define how each selector should work (font, color etc.). Then,
in the body of your pages, you refer to these selectors to activate the styles
6 Write an XML file which will display the Book information which includes the
following:
1) Title of the book
2) Author Name
3) ISBN number
4) Publisher name
5) Edition
6) Price
Write a Document Type Definition (DTD) to validate the above XML file.
7 7. Write Ruby program reads a number and calculates the factorial value of it and prints
the same.
8 8. Write a Ruby program which counts number of lines in a text file using its regular
expressions facility.
9 9. Write a Ruby program that uses iterator to find out the length of a string.
10 10. Write simple Ruby programs that uses arrays in Ruby.
11 11. Write programs which uses associative arrays concept of Ruby.
12 12. Write Ruby program which uses Math module to find area of a triangle.
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

13 13. Write Ruby program which uses tk module to display a window


14 14. Define complex class in Ruby and do write methods to carry operations on complex
objects.
15 15. Write a program which illustrates the use of associative arrays in perl.
16 16. Write perl program takes a set names along the command line and prints whether
they are regular files or special files
17 17. Write a perl program to implement UNIX `passwd' program
18 18. An example perl program to connect to a MySQl database table and executing
simple commands.
19 19. Example PHP program for cotactus page.
20 20. User Authentication :
Assume four users user1,user2,user3 and user4 having the passwords pwd1,pwd2,pwd3
and pwd4 respectively. Write a PHP for doing the following.
1. Create a Cookie and add these four user id’s and passwords to this Cookie.
2. Read the user id and passwords entered in the Login form (week1) and authenticate
with the values (user id and passwords ) available in the cookies.
If he is a valid user(i.e., user-name and password match) you should welcome him by
name(user-name) else
you should display “ You are not an authenticated user ’’.
Use init-parameters to do this.
21 Example PHP program for registering users of a website and login.
22 Install a database(Mysql or Oracle).
Create a table which should contain at least the following fields: name, password,
email-id, phone number(these should hold the data from the registration form).
Write a PHP program to connect to that database and extract data from the tables and
display them.
Experiment with various SQL queries.
Insert the details of the users who register with the web site, whenever a new user clicks
the submit button in the registration page (week2).
23 Write a PHP which does the following job:
Insert the details of the 3 or 4 users who register with the web site (week9) by using
registration form.
Authenticate the user when he submits the login form using the user name and
password from the database ( similar to week8 instead of cookies).
24 Create tables in the database which contain the details of items (books in our case like
Book name , Price, Quantity, Amount ) of each category. Modify your catalogue page
(week 2)in such a way that you should connect to the database and extract data from the
tables and display them in the catalogue page using PHP
25 HTTP is a stateless protocol. Session is required to maintain the state.
The user may add some items to cart from the catalog page. He can check the cart page
for the selected items. He may visit the catalogue again and select some more items.
Here our interest is the selected items should be added to the old cart rather than a new
cart. Multiple users can do the same thing at a time(i.e., from different systems in the
LAN using the ip-address instead of localhost). This can be achieved through the use of
sessions. Every user will have his own session which will be created after his successful
login to
the website. When the user logs out his session should get invalidated (by using the
method session.invalidate() ).
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105

Modify your catalogue and cart PHP pages to achieve the above mentioned
functionality using sessions.

Additional Experiments:

S. No. Name of the Experiment

FACULTY IN-CHARGE HEAD OF THE DEPARTMENT

You might also like