0% found this document useful (0 votes)
13 views11 pages

Start

Uploaded by

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

Start

Uploaded by

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

Laboratory Assignment File

For
(Department Elective DE-I)
Advanced Programming Concepts Using Java
Laboratory (CSPE-351)
B.TECH (CSE) 5th Semester
Prepared during By
Name: Paras Garg
Roll No: 22103116

Department of Computer Science and Engineering


DR. B.R. AMBEDKAR NATIONAL INSTITUTE OF
TECHNOLOGY JALANDHAR, PUNJAB-144008
DR. B.R. AMBEDKAR NATIONAL INSTITUTE OF TECHNOLOGY JALANDHAR
CSPE-351 Advanced Programming Concepts Using Java Laboratory
B.TECH (CSE) 5th Semester

Vision of the Department


To be recognized globally for imparting computer science education and research of high
distinction, both of value and relevance to society

Mission of the Department


M1: To impart contemporary knowledge and skill relevant to the field of Computer Science and
Engineering to maximize employability and potential.
M2: To strengthen multifaceted competence in the different core and allied areas of Computer
Science in order to nurture creativity, innovations and out-of-the-box thinking.
M3: To promote research and expertise in Computer Science and Engineering in order to serve
the needs of Industry, Government and Society and motivate the students for lifelong learning.
M4: To inculcate professional ethics and social values through co-curricular and extra–curricular
activities for holistic nation building.

Program Educational Objectives (PEOs)


● To create and sustain a community of learning in which students acquire knowledge and apply
in their concerned fields with due consideration for ethical, ecological, and economic issues.
● To provide knowledge based services so as to meet the ever-changing needs of industry and
society at large.
● To make the students understand, design and implement the concepts in multiple arenas.
● To foster holistic growth of students that would provide ample E2 opportunities.

Program Outcomes (POs)


i) Engineering Knowledge: Apply the knowledge of mathematics, science, engineering
fundamentals, and an engineering specialization to the solution of complex engineering
problems.
ii) Problem Analysis: Identify, formulate, review research literature, and analyse complex
engineering problems reaching substantiated conclusions using first principles of
mathematics, natural sciences and engineering sciences.
iii) Design/Development of Solutions: Design solutions for complex engineering problems
and design system components or processes that meet the specified needs with appropriate
consideration for the public health and safety, and the cultural, societal, and environmental
considerations.
iv) Conduct Investigations of Complex Problems: Use research-based knowledge and research
methods including design of experiments, analysis and interpretation of data, and synthesis
of the information to provide valid conclusions for complex problems.
v) Modern Tool Usage: Create, select, and apply appropriate techniques, resources, and
modern engineering and IT tools including prediction and modelling to complex
engineering activities with an understanding of the limitations.
vi) The Engineer and Society: Apply reasoning informed by the contextual knowledge to
assess societal, health, safety, legal and cultural issues and the consequent responsibilities
relevant to the professional engineering practice.
vii) Environment and Sustainability: Understand the impact of the professional engineering
solutions in societal and environmental contexts, and demonstrate the knowledge of, and
need for sustainable development.
viii) Ethics: Apply ethical principles and commit to professional ethics and responsibilities and
norms of the engineering practice.
ix) Individual and Team Work: Function effectively as an individual, and as a member or
leader in diverse teams, and in multidisciplinary settings.
x) Communication: Communicate effectively on complex engineering activities with the
engineering community and with society at large, such as, being able to comprehend and
write effective reports and design documentation, make effective presentations, and give
and receive clear instructions.
xi) Project Management and Finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one’s own work, as a member
and leader in a team, to manage projects and in multidisciplinary environments.
xii) Life-long Learning: Recognize the need for, and have the preparation and ability to engage
in independent and lifelong learning in the broadest context of technological change.

Program Specific Outcomes (PSOs)


PSO1: Analyze, design, develop, evaluate and apply mathematical basics, data structures and
algorithms for modelling computer hardware/software to solve real-world and interdisciplinary
research problems.

PSO2: Demonstrate contemporary technologies, data analysis and computing skills for effective
interpretation and decision-making in the sustainable development of the society.
DR. B.R. AMBEDKAR NATIONAL INSTITUTE OF TECHNOLOGY JALANDHAR
CSPE-351 Advanced Programming Concepts Using Java Laboratory
B.TECH (CSE) 5th Semester

Syllabus with COs-POs/PSOs Mapping

DEPARTMENT: COMPUTER SCIENCE AND ENGINEERING


COURSE CODE: CSPE-351
COURSE TITLE: ADVANCED PROGRAMMING CONCEPTS USING JAVA LABORATORY
COURSE DESIGNATION: ELECTIVE
PRE-REQUISITES: NONE
CONTACT HOURS/CREDIT SCHEME: (L-T-P-C: 0-0-2-1)
COURSE ASSESSMENT METHODS: Assignments for each topic to be evaluated in the lab, and final
evaluation at the end which includes Viva Voce, Conduct of experiment.

COURSE OUTCOMES
After the course completion, the student will be able to
1. Make use of members of classes using java API.
2. Demonstrate the ability to employ various types of selection constructs in a Java program.
3. Be able to employ a hierarchy of Java classes to provide a solution to a given set of
requirements.

Program Outcomes and Program Specific Outcomes

PSO1

PSO2
PO10

PO11

PO12
PO1

PO2

PO3

PO4

PO5

PO6

PO7

PO8

PO9

CSPE-351
CO 1. H L H H H L
CO 2. H H M L
CO 3. H L M M H L M
LIST OF PRACTICALS

WEEK:1

1. 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.

2. The Fibonacci sequence is defined by the following rule. The first two values in the sequence
are 1 and 1. Every subsequent values 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.

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

4. Write a Java program that prints the following pattern


a. ******
b. *****
c. ****
d. ***
e. **
f. *
5. Write a Java program that calculate mathematical constant ‘e’ using the formula
e=1+1/2!+1/3!+........ up to 5 .

WEEK:2

1. Write a java program to calculate gross salary & net salary taking the following data.
Input: empno, empname, basic
Process: DA=50%of
basic HRA=25%of
basic CCA=Rs240/-
PF=10%of basic
PT=Rs100/-
2. Write a Java program to sort the elements using bubble sort.
3. Write a Java program to search an element using binary search.
4. Write a Java program multiplication of two 3X3 matrices.

WEEK:3

1. Write a Java program that displays area of different Figures (Rectangle, Square, Triangle)
using the method overloading.
2. Write a Java program that displays that displays the time in different formats in the form of
HH,MM,SS using constructor Overloading. .
3. Write a Java program that counts the number of objects created by using static variable.

WEEK: 4

1. Write a Java program that reverses a given String.


2. Write a Java program that checks whether a given string is a palindrome or not.
3. Write a Java program to count the frequency of words, characters in the given line of text.
4. Write a Java program for sorting a given list of names in ascending order.
5. Write a Java program that reads a line of integers separated by commas and then displays
each integer and fund the sum of the integers (using String Tokenizer)

WEEK:5

1. Write a Java program that reads a file name from the user then displays information
about whether that file exists, file is writable, the type of file and length of the file in
bytes.
2. Write a Java program that reads a file and displays the file on the screen with
a line number before each line.
3. Write a Java program that reads a file and displays the no of lines and words in that file.
4. Write a Java program that reads to copy source seat. File and display on the console

WEEK:6

1.Write a java program that implements educational hierarchy using inheritance.

Office
empno:
empname:
salary:
getvalue()

Teaching Non-Teaching
Designition: Designition:
setvalue() setvalu
2. Write a program to identify the accessibility of a vabiable by means of different access
specifiers with in and outside package.
3. Write a java program to find the details of the students eligible to enroll for the examination (
Students, Department combinedly give the eligibility criteria for the enrollement class) using
interfaces.

WEEK:7

1. Write a java program that implements Array Index out of bound Exception using
built-in-Exception.
2. Write a java program that implements bank trancations using user deined exception .
3. Write a java program to identify the significance of finally block in handling exceptions.
4. Write a java program to generate multiple threads of creating clock pulses.(using runnable
interface)
5. Write a java program to identify the use of synchronized blocks to synchronized methods.

WEEK:8

1. Write an applet to display a simple message on a colored background.


2. Write an applet to display a moving banner showing the status of it.
3. Write an applet to draw a simple and beautiful landscape.

WEEK:9

1. Write a java program to demonstrate key events by using Delegation event model.
2. Write a java program to implement mouse events like mouse pressed, mouse released and
mouse moved by means of adapter classes.
3. Write a java program to demonstrate window events on frame.

WEEK:10

1. Write an applet that computes the payment of a loan based on the amount of the loan,
interest rate and the number of months.
2. Write an applet to perform the 4 basic arithmetic operations as buttons in a form
accepting two integers in textboxes and display their result.
3. Write a java program to design a registration form for creating a new eMail account.

WEEK:11

1. Write a java program to design the page authenticating user name and password by using
SWING.
2. Write a java program to design a calculator by using Grid Layout.

WEEK:12

1. Write a java program that implements a simple client server application. The client sends
data to server. The server receives the data uses it to produce a result and then sends the result
back to the client then the client displays the result on the console.
Index
S Problem Statement Date Faculty
No. Sign.

You might also like