Programming - in - JavaLabmanual CIC 258
Programming - in - JavaLabmanual CIC 258
PROGRAMMING IN JAVA
CIC-258
2023
MAHARAJA AGRASEN INSTITUTE OF TECHNOLOGY
VISION
To nurture young minds in a learning environment of high academic value and imbibe spiritual and ethical
values with technological and management competence.
MISSION
The Institute shall endeavor to incorporate the following basic missions in the teaching methodology:
Practical exercises in all Engineering and Management disciplines shall be carried out by Hardware
equipment as well as the related software enabling deeper understanding of basic concepts and
encouraging inquisitive nature.
The Institute strives to match technological advancements and encourage students to keep updating their
knowledge for enhancing their skills and inculcating their habit of continuous learning.
The Institute endeavors to enhance technical and management skills of students so that they are intellectually
capable and competent professionals with Industrial Aptitude to face the challenges of globalization.
Diversification
The Engineering, Technology and Management disciplines have diverse fields of studies with different
attributes. The aim is to create a synergy of the above attributes by encouraging analytical thinking.
The Institute provides seamless opportunities for innovative learning in all Engineering and Management
disciplines through digitization of learning processes using analysis, synthesis, simulation, graphics,
tutorials and related tools to create a platform for multi-disciplinary approach.
Entrepreneurship
The Institute strives to develop potential Engineers and Managers by enhancing their skills and research
capabilities so that they become successful entrepreneurs and responsible citizens.
MAHARAJA AGRASEN INSTITUTE OF TECHNOLOGY
COMPUTER SCIENCE & ENGINEERING DEPARTMENT
VISION
“To be centre of excellence in education, research and technology transfer in the
field of computer engineering and promote entrepreneurship and ethical values.”
MISSION
“To foster an open, multidisciplinary and highly collaborative research
environment to produce world-class engineers capable of providing innovative
solutions to real life problems and fulfill societal needs.”
INTRODUCTION TO THE LAB
Lab Objective
The goal of this course is to provide students with the ability to write programs in Java and
apply concepts described in the Object-Oriented Programming course. Java as a class-based
and pure OOP language is used to demonstrate and implement appropriate concepts and
techniques. The students are exposed to the concepts, fundamental syntax, and the thought
processes behind object-oriented programming. By the end of course students will acquire
the basic knowledge and skills necessary to implement object-oriented programming
techniques in software development in Java. Each practical class will culminate in an
assessed exercise.
Course Outcomes
On successful completion of this Course, students should be able to:
LIST OF EXPERIMENTS (As prescribed by GGSIPU)
S.NO. Topics
List of Experiments
Covered
1. Write a Program to accept a
String as a command-line
argument and print a Welcome
Basic concept of message as given below:-
Java programming, “Welcome yourname”.
Compilation and 2. Program to find ASCII code of
LAB 1 Execution Process, a character
Data Types, operators, 3. Write a Program to accept two
Reading user input, integers as inputs and print
Strings their sum.
4. Swapping two numbers using
bitwise operator
Index
S.No Experiment Marks Total Date of Date of Signature
Marks Performance Checking
R1 R2 R3 R4 R5
1
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30