Final COURSEPACK BTech (JAVA)
Final COURSEPACK BTech (JAVA)
SCHEME
The scheme is an overview of work-integrated learning opportunities and gets students out into the real
world. This will give what a course entails.
Java & JavaScript Comprehensive
Course Title Course Type
B.Tech(CSE), CNCS
Course Code E2UC304C Class
III Sem
Weekly
Activity Credits Total Number of Assessment in
Hours
Weightage
Lecture 2 2 Classes per Semester
Tutorial 0 0
Instruction
Self-study
Practical 1 2
Practical
Tutorial
Theory
delivery Self-
SEE
1 8
CIE
study
Total 4 12 30 0 30 120 50% 50%
Course Course Dr. Sonia Saini
Dr. Avinash Dwivedi Ms. Mitali
Lead Coordinator
Bhatt
Theory Practical
Dr. Sonia Saini Dr. Sonia Saini
Mitali Bhatt Mitali Bhatt
Dhrub Kumar Dhrub Kumar
Santosh Kumar (31841) Santosh Kumar (31841)
Avinash Dwivedi Avinash Dwivedi
Names Course Dhirendra Kumar Shukla Dhirendra Kumar Shukla
Instructors Ajay Shankar (1683) Ajay Shankar (1683)
R Nagendran R Nagendran
Prem Kant Prem Kant
Indrakumari Indrakumari
P. Rajakumar P. Rajakumar
Sumit Kumar Mishra (32559) Sumit Kumar Mishra (32559)
Ravi Sharma (31893) Ravi Sharma (31893)
V. Janakiraman V. Janakiraman
Harshit Jain Harshit Jain
Vipin Rai Vipin Rai
Neha Bagwari Neha Bagwari
Subash Harizan Subash Harizan
Vinod Kumar (32409) Vinod Kumar (32409)
Basu Dev Shivahare Basu Dev Shivahare
Sumit Kumar(32568) Sumit Kumar(32568)
Rakesh Bharati Rakesh Bharati
Aditi Chowdhary Aditi Chowdhary
Akhilesh Kumar Singh(32402) Akhilesh Kumar Singh(32402)
COURSEPACK |
COURSE OVERVIEW
The course is designed to provide students with a comprehensive introduction to the Java programming
language and Java Script.
The goal of Object-Oriented Programming will be achieved by implementing inheritance, polymorphism,
abstraction, encapsulation and exception handling, multithreading, I/O Operations and Collection Concepts.
JDBC database connectivity will facilitate front-end and back-end integration. Socket programming will
help to develop client- server application. JavaScript facilitates in the development of web applications.
PREREQUISITE COURSE
COURSE OBJECTIVE
To teach Object-Oriented Programming for solving versatile computational problems.
Guide the students to build applications using Java and JavaScript.
COURSE OUTCOMES(COs)
Course Upon successful completion of this course, the student will be able to:
Outcomes
Apply object-oriented programming principles to develop Java programs, with a
E2UC304C.1. focus on exception handling and addressing relevant security considerations.
COURSEPACK |
BLOOM’S LEVEL OF THE COURSE OUTCOMES
Bloom's taxonomy is a set of hierarchical models used for the classification of educational learning
objectives into levels of complexity and specificity. The learning domains are cognitive, affective, and
psychomotor.
COMPREHENSIVE
E2UC304C.1 √ √
E2UC304C.2 √
E2UC304C.3 √
E2UC304C.4 √
COURSEPACK |
Program Specific Outcomes (PSOs):
Have the ability to work with emerging technologies in computing requisite to Industry
PSO1
4.0.
Demonstrate Engineering Practice learned through industry internship and research project
PSO2
to solve live problems in various domains.
COURSE ARTICULATIONMATRIX
The Course articulation matrix indicates the correlation between Course Outcomes and Program Outcomes and their expected
strength of mapping in three levels (low, medium, and high).
COURSE ASSESSMENT
The course assessment patterns are the assessment tools used both in formative and summative examinations.
CIE
Type of Total Marks Grand Weightage
Course Total (CIE-SEE)
LAB Course-based
(C) MTE CIE SEE Marks
(Daily Project*
work/
Record)
PPP (Preliminary Project Plan): The preliminary project plan (PPP) provides an initial, overview of the
project and all of its known parameters. It outlines the project's objectives, relevance to the program, merit,
and conformity to current industry/government policy, proposed methodology, and expected outcomes. It
should also include any known constraints related to the time frame (Gantt Chart), budget, and, etc.
COURSEPACK |
COURSE CONTENT
THEORY+ PRACTICAL
THEORY:
BASICS OF JAVA
Introduction to object oriented programming - Features of Java – JDK-JVM- Keywords- Variables
- Data types – Operators-Expression- Control structures - - Type Casting -Classes and Objects
-Methods -Access specifiers & modifiers- Constructors - Method Overloading- this Keyword
- Static – Arrays- String - String Buffer-String handling mechanism-Command line arguments.
Wrapper Classes.
JAVASCRIPT
PRACTICAL: Java Data Type, Expression, and Operators; Conditional Statements; Control statements;
Strings and StringBuffer Class. Array, Implementation of OOPS properties, Constructor overloading,
Abstract class and interface. Wrapper class and Linked Structure of Java. Multithreading, Exception
handling, Collection, CRUD operation and database connectivity, Networking with java. Inclusion of
JavaScript is designing application. Form generation, validation and use of different objects.
COURSEPACK |
LESSON PLAN FOR INTEGRATED COURSES of 3 CREDITS
FOR THEORY 15 weeks * 2 Hours = 30 Classes) (1credit = 1Lecture Hour)
FOR PRACTICAL 15 weeks * 2Hours = 30 Hours lab sessions (1 credit = 2 lab hours)
PRACTICE PROBLEMS
S. No Program
1 Write a program to find factorial of a number with
recursion and iteration
2 Java IO program to take input through keyboard at
runtime.
3 Write a program to reverse a number
4 Write a Java program to Print Sum of Series 1+x+x2+x3+......+xn in java
5
Write a program to display the following pattern:
12
123
1234
12345
6
7
Write a java program to create patterns
*
**
***
****
8 Write a program to display the following pattern:
*********
*******
*****
***
*
9 Write a Java Program to Make a Simple Calculator Using
switch...case and Scanner class.
10 Write a program to Search an Element in an Array in java.
COURSEPACK |
11 Write a program to add two matrices of order 3X3
12 Create a class Student (name, roll_no, marks) with one method show() and initialize instance variables using all the
ways: reference, method and constructor.
13 WAP showing importance of this keyword
14 WAP implementing Constructor overloading and use this key word in overloading.
15 WAP to access static block, static variable and static method.
16 WAP in java to convert primitive data type to object and vice versa using Wrapper classes both the ways: implicitly
and explicitly.
WAP to show that String is immutable
17 WAP to make String mutable using StringBuffer class
18 Program to Illustrate the use of Methods of String
Class
Write a java program with menu to solve following
queries
1. Count Vowels and Consonants in a String
2. Count the Number of Duplicate Words in a String
3. Count Number of Words in Given String
4. Count the Number of Occurrences of Substring in a
String
5. Count the Occurrences of Each Character in String
6. Java Program to Remove Duplicate Words from
String
19 Using String Tokenizer separate any string in token using space delimiter
20 Create 2 packages P1 & P2 and create classes Student and BTech in P1 and P2 respectively. Check the
accessibility using all the access modifiers.
21 WAP to implement 3 interfaces and extend one class.
22 Implement multiple inheritance in java using interface.
23 WAP to show the use of Final keyword also initialize a final instance variable which is declared but not
initialized.
24 Write a Java program to create an abstract class named Shape that contains two integers
and an empty method named print Area ().
25 Provide three classes named Rectangle,
Triangle, and Circle such that each one of the classes extends the class Shape. Each one
of the classes contains only the method print Area () that prints the area of the given
shape.
26 Write a Java program that reads a list of integers from the user and throws an exception if any
numbers are duplicates.
27 WAP to access method of inner class in java.
28 WAP to stop access any method of inner class in java.
29 Write an user defined exception “low amount” and it should be raised when amount goes below
10000.
30 Write a Java program to iterate through all elements in a linked list starting at the specified
position.
31 Write a Java program to insert the specified element at the specified position in the linked list
(Without using collection).
32 Program to delete duplicate object from an arraylist
33 Write a Java program that implements a multi-thread application that has three threads.
First thread generates random integer every 1 second and if the value is even, second
thread computes the square of the number and prints. If the value is odd, the third thread will print the
value of cube of the number.
COURSEPACK |
34 Install a database (Mysql or Oracle). Create a table which should contain at least the following fields: name,
password, email-id, phone number Write a java program to connect to that database and extract data from the tables
and display them. Insert the details of the users who registers with the UI, whenever a new user clicks the submit
button in the registration page.
35 Write a Java Program to
a. Develop an applet in Java that displays a simple message.
b. Develop an applet in Java that receives an integer in one text field, and
computes its factorial Value and returns it in another text field, when the button
named “Compute” is clicked.
36 Write a Java program that creates a user interface to perform integer divisions. The user enters two
numbers in the text fields, Num1 and Num2. The division of Num1 and Num 2 is displayed in the Result
field when the Divide button is clicked. If Num1 or Num2 were not an integer, the program would throw a
Number Format Exception. If Num2 were Zero, the program would throw an Arithmetic Exception.
Display the exception in a message dialog box.
37 Create an user interface using Swing and apply insert, delete, update operations. Also show the students
details
38 Write a Java program that simulates a traffic light. The program lets the user select one of three lights: red,
yellow, or green with radio buttons. On selecting a button, an appropriate message with “Stop” or “Ready”
or “Go” should appear above the buttons in selected color. Initially, there is no message shown
39 Write a Java IO program to read File.
40 Write a Java IO program to write in a File.
45 Program to create sockets and establishment connection between client and server with read and write in both the
way (Chat application).
46 Create a registration form and put validation also checks on values entered by the users using java scripts.
Program to stop user submitting blank form
47 Write an HTML program to design an entry form of student details and print the values filled in the form using java
script.
48 Develop a Web Page to display browsers information and print the information of the page.
49 Write a java script program which shows history and other DOM objects
50 Create a form using form elements and stop user to submit empty field.
To validate an email id
COURSEPACK |
BIBLIOGRAPHY
Text Book:
1. Herbert Schildt, “Java the Complete Reference”, Ninth edition, Tata Mc-Graw Hill ,2014.
2. Professional JavaScript for Web Developers 3rd Edition, Nicholas C. Zakas.Wrox Publication.
3. Kathy Sierra, and Bates Bert. Head First Java: A Brainc-Friendly Guide. " O'Reilly Media, Inc.",
Second Edition, 2009
Reference Books:
1. H.M. Deitel and P.J. Deitel,” Java How to Program”, Pearson Prentice Hall Seventh Edition.
2. Kathy Sierra, and Bates Bert. Sun Certified Programmer for Java. McGraw Hill Publications, 2008.
3. Keyur Shah, Gateway to Java Programmer Sun Certification, Tata McGraw Hill, 2002.
4. Joshua Bloch, ―Effective Java: A Programming Language Guide, Second Edition, Pearson, 2008.
5. Bruce Eckel – “Thinking in Java” Pearson Prentice Hall Third Edition-2006
6. Kogent Learning Solutions Inc,”JAVA 7 Programming Black Book”, DreamTech Press, 2010.
SWAYAM/NPTEL/MOOCs Certification:
1. https://onlinecourses.swayam2.ac.in/cec22_cs20/preview
2. https://onlinecourses.nptel.ac.in/noc22_cs32/preview
3. https://onlinecourses.nptel.ac.in/noc19_cs42/preview
COURSEPACK |
STUDENT-CENTEREDLEARNING (SELF-LEARNING TOWARDS LIFE-LONG-LEARNING)
Self-Learning (it’s a typical course-based project to be carried out by a whole class in groups of four students
each; they should exhibit higher level KLs)
The students, in a group, are expected to conceive an idea based on the content (objectives/outcomes) and apply
the suitable knowledge to demonstrate their learning.
A list of project statements can be offered to the students to choose or students can conceive their own ideas (teamwork),
design and develop the product/process/service and implement the same.
S.
No. Project Name Description
Student Develop a console-based application for managing student records, including features for
Management adding, updating, and displaying student information.
System
1
2 Employee Payroll System Develop an application for calculating and managing employee payroll, including salary
calculations, tax deductions, and paystub generation.
3 Inventory Tracking Create an inventory management system for tracking products, restocking items, and
System generating reports on inventory levels.
4 Contact Build a Java program for managing contacts and organizing them into categories. Include
Management features for adding, editing, and searching for contacts.
Application
5 Music Player Create a simple music player that can load and play audio files. Implement features like
playlist creation, playback controls, and audio visualization.
6 Text-Based Design a text-based adventure game where players make choices to navigate through a story,
Adventure Game solve puzzles, and complete quests
7 Hotel Reservation Design a program that allows users to make hotel room reservations, view availability, and
System manage bookings.
8 Personal Finance Design a personal finance tracker that allows users to log and categorize their income and
Tracker expenses. Provide insights into spending patterns
9 File Explorer Create a simple file explorer application that allows users to navigate through directories,
view files, and perform file operations such as copying and deleting
10 Student Gradebook Build a program for teachers to manage student grades, calculate averages, and
generate report cards.
COURSEPACK |
11 Online Quiz Build an interactive quiz application where users can take quizzes on various topics.
Application The program should keep track of scores and provide feedback on quiz performance
12 Employee Develop an application for managing employee records, including features like adding new
Management employees, updating details, and generating reports.
System
13 Online Voting Create a console-based application that simulates an online voting system for conducting
System polls and elections. Users can vote for candidates, and the system tallies the results.
14 Banking System Create a banking system simulation where users can open accounts, make transactions, and
Simulation view their account balances. Implement features like interest calculation and account types.
15 Mini Social Media Build a simplified social media platform that allows users to create profiles, post messages,
Platform and connect with others. You can implement features like timelines and user interactions.
COURSEPACK |