0% found this document useful (0 votes)
6 views

java

The document outlines the course structure for a B.Sc. in Computer Science focusing on Java Programming, detailing objectives, outcomes, syllabus, and assessments. It covers key topics such as object-oriented programming fundamentals, Java syntax, control statements, applets, and utilities over a total of 60 hours. The course aims to equip students with practical skills in developing applications using Java, culminating in examinations and assignments to assess their understanding.

Uploaded by

sasidharana10sbc
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

java

The document outlines the course structure for a B.Sc. in Computer Science focusing on Java Programming, detailing objectives, outcomes, syllabus, and assessments. It covers key topics such as object-oriented programming fundamentals, Java syntax, control statements, applets, and utilities over a total of 60 hours. The course aims to equip students with practical skills in developing applications using Java, culminating in examinations and assignments to assess their understanding.

Uploaded by

sasidharana10sbc
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Programme Code: B.Sc.

Programme Title: Computer Science


Course Code: 23UACSO07 Course Title: Batch: 2023

Java Programming Semester: IV


Total Hours: 60
(Common for CS,Al&DS,IT,CT,BCA) Credits: 4.0

Course Objective
The course aims
To learn object orient programming fundamentals and the characteristics of Java language.
To learn the syntax, semantics and use of basic Java programming language constructs.
To know the syntax and use of utilities, applets, simple graphics methods and image loader.
To develop stand alone applications and applet programs in Java.
Course Outcomes (C0)
On the successful completion of the course, students will be able to
Knowledge CO
Course Outcome
Level Number

KI CO1 Understand the fundamentals of object-oriented Programming and basic


constructs of Java such as data types, operators and arrays.
Understand the syntax and use of control statements, classes and inheritance
K1, K2, K3 CO2
to write programs.

K2, K1, K3 CO3 Obtain knowledge about concepts, syntax and use of packages, interfaces,
threads and exception handling for writing programs.
K1, K2 CO4 Learn the use, syntax and implementation of Java utilities.
K3, K4, KS COS Gain knowledge to develop applications using applets and simple graphics
methods.
KI Remember; K2-Understanding; K3 - Apply; K4 Analyze; K5 Evaluate

SYLLABUS
No. of
Unit Content
Hours
OBJECT ORIENTED FUNDAMENTALS AND JAVA REVOLUTION: Object
Oriented Programming -Encapsulation - Inheritance - Polymorphism - Java Genesis
Characteristics - Java Programming Techniques ReserveddWords - Jdentifiers 12
Literals - Operators Separators - Variables Types - Arrays Operator
Precedence.
FLOW CONTROL AND CLASSES: If - Else - Break - Switch - Retun
Statements - Looping While- Do While - For - Comma Statements - Continue -
I
Classes - Declaration - Object References Instance Variables New Operator - 12
Method Declaration Method Calling - this Operator Constructors - Methods
Overloading Inheritance - Super Class - Dynamic Method Dispatch - Final Static
Abstract Classes.
PACKAGES AND NTERFACEs: Packages The Package Statement - Import
Statement Interface Statement Implements Statement - Constructors String
Creation - String Concatenation - Character Extraction - Exception Handling 12
Fundamentals - Types - Uncaught Exceptions - Nested try Statement - The Java
thread Model Priorities - Thread API Summary.

33

UTILITTES AND APPLETS: Dictionary Class - Hash Tables - String Tokenizer


V Runtime System Class - Comparison - Input and Output - File Directory 12
Filename Filter - File Streams.
|Applets: HTML Applet Tab - Order of Applet initialization - Sizing Graphics
V Simple Graphics Method - Draw line - Draw Arc - Font Manipulation - Simple 12
Image Loader -Image Observer - Summary
*-Self study>

Text Book:
Partick Naughton (1996), "The Java Hand Book", Tata McGraw Hill Pvt. Ltd.
Reference Books:
1. EBalagurusamy (2015), Programming with Java A Primer", Sth edition, McGraw Hill Publisher
(India).
2. C. Muthu (2008), "Programming with Java", Second edition, Tata McGraw Hill Pvt. Ltd (India).
3. R. Krishnamoorty, S. Prabhu (2006), "Internet and Java programming", New Age International Pvt.
Ltd

E-references:
1. https://www.edureka.co/blogjava-tutorial/
2. https://www.tutorialspoint.com/java/java basic_
syntax.htm
3. https://www.geeksforgeeks.org java-applet-basics/
Mapping with Programme Specific Outcomes
PSO PSO4
PSO1 PSO2 PSO3 PSO5
CO
CO1 H H H
CO2
CO3
H M
M
== S
S
CO4 S M H

COS S H

S- Strong; H- High; M- Medium; L- Low


B2
S.NO: 53 BATCI: 2p03- 2o15 2ol7, 2018 REG. N0.:

ENDD OF SEMESTEREXAMINATIONS, DECEMBER -2020


JAVA PROGRAMMING;
SUBJECT CODE: 17UACTIL/mUAITI)2/
MAJOR: B.Se (Computer Technology)/ ITlcseS|170eH" SEMESTER :V
MAX. MARKS: 75
TIME :3 110URS

SECTION-A(5 X2= 10)


Answer AIl the questions:
1. What is meant by Array?
2. Give the syntax of do - wvhile statemcnt.
3. Define Thread Priority.
4. What is rolc ofl lash table?
5. Write usage Applet.
SECTION- B(5X4= 20)
Answer Al the questions:
6. a) Discuss on various charactcristics ofr Java.
(OR)
b) Explain the any two Operators with suitable example.
7. a) Write detail about Constructor with an cxamplc.
(OR)
b) Explain the Method Overloading.
8. a) Discuss on Synclronization and Dead lock.
(OR)
b) Explain the Thread APl Sumnmary.
9. a) Discuss on String Tokenizer and Runtimc.
(OR)
b) Write about File Dircctory and Filenane Filter.
10. a) Draw a ncat diagram and explain Applet life cycle.
(OR)
b) Explain any two of drawing methods in Applet with syntax.
SECTION -C(3 X15= 45)
Answer any Thrce qucstions:
Preccdence.
11. Explain the Encapsulation, Inheritance, Polymorphism and Operator
12. Illustrate about various Control statcments witlh an example.
in detail.
13. Explain the functions ofinporting packages and Exception Handling its types
14. Explain the ile, Input and Output Strcams. draw set of ncsted rcctangles.
15. (i) Write a program in Java using Applet to
(i) How to add Applet to HTML ile? Explain.
Reg.No.
S.No. 59 BATCH: 2003-2016,2019

END OF SEMESTER EXAMINATIONs, NOVEMBER - 2021


JAVA PROGRAMMING
SUBJECT CODE: 19UACS11 / 19UACA14/ 19UAIT14

MAJOR: B.SC. (CS) /BCA/ IT) SEMESTER V


TIME: 3 HOURS MAX.MARKS: 70

SECTION-A(15 x1= 15)


Answer ALLthe Questions:
Choose the Correct Answer:

-- is the basics unit of storage in a Java program.


a) Identifier b) Literals c) Variables d) Keywords
2 interprets the intermediate Java byte code and generated the desired output.
a) Java Virtual Machine b) Java Developer Kit
c) Java Debugger d) Java Runtime Environment

3. Which of the following is not a Java keyword?


a) Double b) Switch c) Then d) Instance of
4. The statement tests the value of a given variable against a list of case values.
a) If b) Switch c) While d) For
5 -have the same name as the class itself
a) Methods b) Data members c) Constructors d) None of the above

6 Creating more than one method with the same name, but different parameter lists called.
a) Method Overloading b) Method Overriding
c) Inheritance d) Interface

7. Which of these access specifiers can be used for an interface?


a) Protected b) Private c) Public d) Any of the above
8. Which of the following compares the characters inside of a String?
a) == b) = c) Equal d) Equals
9. The ---method causes the runtime to context Switch from the curent thread to the next available
runnable thread.
a) Yield b) Resume c) Start d) Run

10. InputStream is an class


a) Abstract b) Object c) Static d) None of the above
11. To extract the encoded information from a regularly formatted input string is used.
a) Tokens b) StringTokenizer c) Tokenizer d) Extract
12. Which of the following method clears the buffers?
a) Destroy( ) b) Flush( ) c) Clear( ) d) Delete)
13. The applet tag is executed by --
a) Javac b) Javaexe c) Appletexe d) Appletviewer
14. Which of the graphics method takes two arguments as an a
a DrawLine
a)
15. ImageObserver is an
a) Class
b) DrawRect

b) Method
arrosn
c) DrawPol

c) Package
d) DrawArc

d) Abstract interface
.. 2 ....

SECTION-B6X5= 25)
Answer ALL the Questions:
16. a) Explain about the literals.
(OR)
b) Brief note on arrays.
17. a) Write a program to find the biggest of three numbers using if-else statement.
(OR)
b) Discuss about Inheritance.

18. a) Explain about the package and import statement.


(OR)
b) Illustrate the purpose of Instance methods in threads.
19. a) Write short notes on Dictionary.
(OR)
b) Describe the purpose of Filename Filter.

20. a) State the order of Applet initialization.


(OR)
b) Discuss about Font Metrics.

SECTION-C(3X 10 =30)
Answer any THREE Questions:

21. Discuss the fundamental features of Object Oriented Programming.


22. Illustrate the classes and method declaration with an example.
23. Describe about Interface statement.
24. Elucidate the functions of File Streams.
25. Explain about Image Observer:

You might also like