English - Communication Skills Lab - I: Prakasam Engineering College
English - Communication Skills Lab - I: Prakasam Engineering College
DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: I
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: I
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: I
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: I
NAME OF THE LAB: COMPUTER PROGRAMMING LAB
LIST OF EXPERIMENTS (As per syllabus)
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
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:II YEAR SEMESTER: I
NAME OF THE LAB: DATA STRUCTURES THROUGH C++ LAB
LIST OF EXPERIMENTS (As per syllabus)
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:II YEAR SEMESTER: I
NAME OF THE LAB: PYTHON PROGRAMMING LAB
LIST OF EXPERIMENTS (As per syllabus)
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:
DEPARTMENT: IT DATE:
CLASS:III YEAR SEMESTER: I
NAME OF THE LAB: Advanced JAVA Lab
LIST OF EXPERIMENTS (As per syllabus)
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:III YEAR SEMESTER: I
NAME OF THE LAB: Operating Systems & Linux Programming Laboratory
LIST OF EXPERIMENTS (As per syllabus)
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:III YEAR SEMESTER: I
NAME OF THE LAB: Database Management Systems Lab
LIST OF EXPERIMENTS (As per syllabus)
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:IV YEAR SEMESTER: I
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:IV YEAR SEMESTER: I
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:
DEPARTMENT: IT DATE:
CLASS:IV YEAR SEMESTER: I
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:IV YEAR SEMESTER: I
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: II
Additional Experiments:
PRAKASAM ENGINEERING COLLEGE
Approved by AICTE, New Delhi & Affiliated to JNTU – Kakinada
O.V.Raod, KANDUKUR
Prakasam Dist., A.P. -523105
DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: II
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: II
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:I YEAR SEMESTER: II
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:II YEAR SEMESTER: II
NAME OF THE LAB: UNIFIED MODELING LANGUAGES LAB
LIST OF EXPERIMENTS (As per syllabus)
Additional Experiments:
DEPARTMENT: IT DATE:
CLASS:II YEAR SEMESTER: II
NAME OF THE LAB: JAVA PROGRAMMING LAB
LIST OF EXPERIMENTS (As per syllabus)
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:
DEPARTMENT: IT DATE:
CLASS:III YEAR SEMESTER: II
NAME OF THE LAB: Computer Networks & Network Programming Lab
LIST OF EXPERIMENTS (As per syllabus)
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:
DEPARTMENT: IT DATE:
CLASS:III YEAR SEMESTER: II
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
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:
DEPARTMENT: IT DATE:
CLASS:III YEAR SEMESTER: II
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
Modify your catalogue and cart PHP pages to achieve the above mentioned
functionality using sessions.
Additional Experiments: