0% found this document useful (0 votes)
40 views12 pages

Programme:: B.Sc. CS/IT/CA

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

Programme:: B.Sc. CS/IT/CA

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

B.

Sc CS /IT/BCA ANDROID PROGRAMMING I

RATHNAVEL SUBRAMANIAM COLLEGE OF ARTS &SCIENCE(AUTONOMOUS)


SULUR, COIMBATORE
SCHOOL OF COMPUTER STUDI/ES – UG
ACADEMIC YEAR 2019-2020
BATCH: 2019
Course Title :ANDROID PROGRAMMING I Course Code :
Semester : V Course Group : DSE-III
Teaching Scheme in Hrs (L:T:P) : 4:0:0 Credits : 4 Credits
Map Code:D (THEORY-PROGRAMMING) Total Contact Hours: 60
CIA: 25 Marks SEE # : 75
Marks
Programme: B.Sc. CS/IT/CA 5 - Semester End Exam

Course Title :ANDROID PROGRAMMING I Course Code :

Semester : V Course Group : DSE-III


Teaching Scheme in Hrs (L:T:P) : 0:0:4 Credits : 2 Credits
Map Code:M (PRACTICAL-PROGRAMMING) Total Contact Hours: 48
CIA: 40 Marks SEE # : 60
Marks
Programme: B.Sc. CS/IT/CA 5 - Semester End Exam

No. Course Outcome POs & PSOs Cl. Ses CL

Explain and illustrate the concepts of Variables ,


CO1 Constants, Control Statements, Exceptions and PO1,PSO4 13L+12P Ap
Classes

Defineand apply Inheritance, Interfaces, and


CO2 PO1,PSO4 13L+12P Ap
Arrays
Define and illustrate user interface widgets and PO1, PSO1 4L+12P Ap
CO3
layouts
Describe the importance of android and PO1,PSO4
CO4 4L+6P Ap
demonstrate android app eclipse
Perform Interface functions in Android PO1,PSO4
CO5 4L+6P Ap

Apply Java code with events for Android App PO1,PSO4 8L+6P Ap
CO6
Demonstrate to test and debug an android app PO1,PSO4
CO7 14L+6P Ap

MINU
TOPICS SUBTOPIC(S) TES / KEYPOINT(S) HOURS /
SUB TOPIC

2017 Batch 1
B. Sc CS /IT/BCA ANDROID PROGRAMMING I

TOPI
CS
UNIT : I (LECTURE HOURS: 13 + PRACTICAL HOURS : 12=25 HOURS)
The eight primitive data Description, Technical Notes
types

How to declare and How to declare and initialize


initialize variables variables in two Statements, How to
declare and initialize variables in
One Statement, Description,
Naming Conventions
How to declare and Description, Naming Conventions
initialize constants
How to code assignment Arithmetic Operators, Examples of
statements and Simple Assignment Statements,
arithmetic expressions Description
Basic skills for How to use the shortcut Assignment Operators, Statement
working with assignment operators 120 that use the same variable on both 2
data sides of the equals sign, Statement
that usethe shortcut operators to get
the same results, Description
How to work with the The order of precedence for
order of precedence arithmetic operations, Example
1:Code that calculates a discounted
price, Example 2:Code that
calculates the current value of
monthly investment, Example
3:Prefixed and postfixed increment
and decrement operator, Description
How to work with How implicit casting works, How to
casting code an explicit cast, How to cast
between char and int types,
Description
How to compare 120 Relational operators, Examples of 2
primitive data types Boolean expressions, Description.

How to compare strings Two methods of the String class,


How to code
Expression that compare two string
Boolean
values, Code that tests whether two
expressions
string refer to the same object,
Description
How to use the logical Logical Operators, Examples,
operators Description
How to code How to code if/else The syntax of the if/else statement,
if/else and statements Example 1: An if statement with
switch else if and else clauses, Example
statements 2:An if statement that contains two
blocks of code, Example 3: Nested
if statements , Description
How to code switch The syntax of the switch statement ,
statements Example 1:A switch statement that
uses an integer, Example 2: A
switch statement that uses a string,
Description Example 3: A Switch
that fails through case labels,
Description
An enhanced version of The console, The Code
the Invoice application

2017 Batch 2
B. Sc CS /IT/BCA ANDROID PROGRAMMING I

How to code How to code while and The Syntax of the while loop, The
loops do-while loops syntax of the do-while loop,
Description
How to code for loops The syntax of the for loop, Example
1:A for loop that stores the numbers
0 through 4 in a string with a single
statement, Example 2:A for loop
that adds the numbers 8,6,4 and 2,
Example 3:A for loop that calculates
a future value, Description
The Future Value The console, The Code
application

How to code nested The console,, Nested loops that print


loops a table of future values

How to code How to code break The syntax of the break statement ,
120 2
break and statements Example 1:A break statement that
continue exists the inner loop, The syntax of
statements the labeled break statement, The
structure of the labeled break
statement, Example 2:A labeled
break statement that exits the outer
loop, Description
How to code continue The Syntax of the continue
statements statement, Example 1:A continue
statement that jumps to the
beginning of a loop, The syntax of
the labeled continue statement, The
structure of the labeled continue
statement, Example 2: A labeled
continue statement that jumps to the
beginning of the outer loop,
Description
How to code static Description
methods

How to call static The basic syntax for the coding a


How to code static method, The syntax for calling
and call static methods a static method that’s in the same
60 1
methods class, Description
The Future Value The Code
application with a static
methods

How exceptions work Some of the classes in the Exception


hierarchy, The console after an Input
MismatchException has been
thrown, Four methods that might
throw an exception, Description
How to handle How to catch exceptions The syntax for the try statement,
exceptions 60 The two ways to import the 1
InputMismatchException, Console
output, Description
The Future Value The code for the Future Value
application with application with exception handling
exception handling

How to validate How to prevent 60 Methods of the scanner class you 1

2017 Batch 3
B. Sc CS /IT/BCA ANDROID PROGRAMMING I

exceptions from being can use to validate data, Example


thrown 1:Code that prevents an
InputMismatchException, Example
2:Code that prevents a
NullPointerException, Description
How to validate a single Code that gets a valid double value
data
entry within a specified rang, Description

How to use generic A method that gets a valid numeric


methods to validate an format, A method the checks for a
entry valid numeric range, Code that uses
these methods to return two valid
double values, Description
How classes can be used The architecture of a three- tiered
to structure an application, Description
application
An introduction How encapsulation A class diagram for the product
to classes works class, Description, UML diagraming
notes
The relationship The relationship between a class and
between a class and its its objects, Description
objects
How to code a How to use NetBeans to The Dialog box for creating a new 2
class that create a new class java class, The code that’s generated
defines an for the Product class, Description
object The code for the Product The Product Class
class
How to code instance The syntax for declaring instance
variables variables, Examples, Where you can
declare instance variables,
60 Description
How to code The syntax for coding constructors,
constructors Example 1:A Constructor that
assigns default values, Example 2:A
custom Constructor with three
parameters , Example 3::Another
way to code that constructor
Example 4: A constructor with one
parameter, Description
How to code methods 60 The Syntax for coding a method,
Example 1: A method that doesn’t
accept parameters or return data.
Example 2:A get method that
returns a String, Example 3: A get
method that returns a double value,
Example 4:A custom get method,
Example 5:A set method, Example
6:Another way to code a set method,
description
How to overload Example 1: A method that accepts
methods one argument, Example 2:An
overloaded method that provides a
default value, Example 3: An
overloaded method with two
arguments, Code that calls these
methods, The Console, Description
How to use the this The syntax for using the This
keyword keyword, Example 1: How to refer
to instance variables, Example 2:
How to refer to methods, Example
3:How to call a constructor,

2017 Batch 4
B. Sc CS /IT/BCA ANDROID PROGRAMMING I

Example 4:How to send the current


object t a method, Example 5: How
to send the current object to a static
method, Description
How to use NetBeans to The NetBeans window for the
work with classes Product Application, The dialog
box for generating get and set
methods, Description
How to create How to create an object How to create an object in two
and use an statements, How to create an object
object in one statement, Description
How to call the methods How to call a method, Description
of an object

How primitive types and Example 1:A primitive type that’s


reference types are passed to a method, Example 2:An
60 object that type’s passed to a 1
passed to a method
method, Description
A ProductDB class that The ProductDB class
creates a Product object

A ProductApp class that The Console, The ProductApp Class


uses a Product object

How to code How to code static fields How to declare static fields,
and use static and methods Example 1:A Class that contains a
fields and static constant and a static method,
methods Example 2: The Product class with a
Static variable and a static method,
Description
How to call static fields The syntax for calling a static field
and methods or method, How to call static fields,
How to call static methods, A
60 statement that calls a static field and 1
a static method, Description
How to code a static Description
initialization block

When to use static fields The syntax for coding a static


and methods initialization block, A class that uses
a static initialization block,
Description
Test the Invoice Aim , Algorithm and Code
application 60

Modify the Test Score Aim , Algorithm and Cod


Application 60
12
Create a new Aim , Algorithm and Code
Practical Application 60

Test the Future value Aim , Algorithm and Code


Application 60

Enhance the Invoice Aim , Algorithm and Code


Application 60

2017 Batch 5
B. Sc CS /IT/BCA ANDROID PROGRAMMING I

Enhance the Test Score Aim , Algorithm and Code


Application 60

Add validation to the Aim , Algorithm and Code


Invoice Application 120

Add validation to the Aim , Algorithm and Code


Test Score Application 120

Enhance the Future Aim , Algorithm and Code


Value Applicatin 120

UNIT : II (LECTURE HOURS: 13+ PRACTICAL HOURS: 12=25 HOURS)

An introduction How inheritance works How inheritance works, Description


to inheritance
How the Java API uses The inheritance hierarchy for swing
inheritance forms and controls, Description
How the Object class 120 The Object class, Methods of the 2
works Object Class, Description
How to use inheritance Business classes for a Product
in your applications Maintenance application,
Description
Basic skills for How to create a Access Modifiers, An annotation for
working with superclass overriding a method, The code for
inheritance the Product superclass, Description
How to create a subclass The syntax for creating subclasses,
120 the code for a Book subclass, 2
Description
How polymorphism Three versions of the to String
works method, Code that uses the
overridden methods, Description
An introduction A simple interface Example 1: A printable interface
to interfaces that defines a print method, Example
2: A Product class that implements
the Printable interface, Example
3:Code that uses the print method of
the Product class, Description
Interfaces compared to An abstract class compared to an
abstract classes interface, Example 1:APrintable
120 2
interface, Example 2: A Printable
abstract class, Advantages of an
abstract class, Advantages of an
interface
Some interfaces of the Some interfaces in the java.lang
Java API package, Some interfaces in the
java.util and java.awt.event
packages, Description
How to work How to code an interface 120 The syntax for declaring an 4
with interfaces interface, Example 1:An interface
that defines one method, Example
2:An interface that defines three
methods, Example 3:An interface
that defines constants, Example 4:A
tagging interface with no members,
Description
How to implement an The syntax for implementing an
interface interface, A class that implements
two interfaces, Description

2017 Batch 6
B. Sc CS /IT/BCA ANDROID PROGRAMMING I

How to inherit a class The syntax for inheriting a class and


and implement an implementing an interface, A book
interface class that inherits Product and
implements Printable, Description.
How to use an interface Example 1:A method that accepts a
as a parameter Printable object, Example 2:Code
that passes a product object to the
method, Example 3:Code that passes
a Printable object to the method,
Description
How to use inheritance The syntax for declaring an interface
with interfaces that inherits other interfaces,
Example 1:A ProductReader
120 interface, Example 2: A
ProductWriter interface, Example
3:A PrductConstants interface,
Exampe 4: A ProductDAO interface
that inherits these three interfaces,
Description
How to use NetBeans to A class that implements the
work with interfaces ProductDAO interface, The code
that’s generated by NetBeans,
Description
Basic skills for How to create an array The syntax for declaring and
working with instantiating an array, Examples of
arrays array declarations, other Examples,
Description
How to assign values to The syntax for referring to an
the elements of an array element of an array, Examples that
60
assign values by accessing each
element, The syntax for creating an
array and assigning values in one
statement, Examples that create an
array and assign values in one
statement, Description.
How to use for loops The syntax for getting the length of
with arrays an array, Example 1: Code that puts
the numbers 0 through 9 in an array,
Example 2: Code that prints an array
of prices to the console, Example
3:Code that computes the average of 3
the array of prices, Example
120
4:Another way to compute the
average in a for loop, Description
How to use enhanced for The syntax of the enhanced for loop,
loops with arrays Example 1:Code that prints an array
of prices to the console, Example
2:Code that computes the average of
the array of prices, Description
Look at a class that Aim , Algorithm and Code
120
inherits the JFrame class
Create and work with Aim , Algorithm and Code
120
interfaces
Use one dimension array 120 Aim , Algorithm and Code
Practical 12
Use a rectangular array 120 Aim , Algorithm and Code
Sort an array of user– Aim , Algorithm and Code
120
defined objects
Work with a deck of Aim , Algorithm and Code
120
cards
UNIT : III (LECTURE HOURS: 12 + PRACTICAL HOURS:12=24 HOURS)

2017 Batch 7
B. Sc CS /IT/BCA ANDROID PROGRAMMING I

Types of devices Readers , cameras, Home


automation systems ,Home
appliances, vehicle systems, game
consloles
Types of Apps Category , functionality
A brief history Open Handset Alliance , Android
open Source Project(AOSP)
Android
Versions Android versions and descriptions
overview 120 2
System Architecture Android stack ,Dalvik virtual
machine(DVM) , Java virtual
machine(JVM)
How Apps are compiled Android system architecture ,
and run Integrated Development
Environment(IDE) , Android
Virtual Device(AVD),Android
Debug Bridge(ADB)
The user interface The tip calculator app with the Soft
keyboard displayed

A simple The XML for the user The activity_tip_calculator.xml file


Android app interface 120 2
The XML for the display The activity_tip_calculator.xml file
text
The java source code The activity_tip_calculator.java file
The Android Manifest The Androidmanifest.xml file
The tip calculator APP The use interface for the Tip
Calculator

How to work with a The default layout for an activity in


layout a new project
120
How to add widgets to a A layout after some widgets have
layout been added to it

How to set the display A layout after the text has been set
text for the widgets
How to How to work with the The strings.xml file for the Tip
develop the 4
strings.xml file Calculator app
user interface
How to set properties A layout after some properties of
the widgets have been set

Common properties Common properties for layouts ,


120
Common properties for widgets,
predefined values for setting height
and width , common units of
measurement

The XML for the user The XML for the user interface
Interface
How to write How to work with an The default java code for an 4
the Java code Activity activity
60
How to get references to An activity that gets references to
widgets the widgets

How to get and set text for 120 getText method , setText method

2017 Batch 8
B. Sc CS /IT/BCA ANDROID PROGRAMMING I

widgets
How to handle the click Import the interface for the
Event listener,Implement the interface for
the listener, Implement the
interface for the listener
The life cycle of an Resumed , paused , stopped ,
activity created state , started state
How to save and restore How to import the
values SharedPreferences class and editor
class , How to set up the instance
variable, how to use onPause
method to save values , how to use
onResume method to restore
values
How to use the use the documentation for the
documentation for the Activity class
60
android API
The java code for the APP Java code
Create the invoice Total XML Code and Java Code
360
App
Practical 12
Use the documentation for XML Code and Java Code
360
the Android API
UNIT : IV (LECTURE HOURS: 14 + PRACTICAL HOURS: 12=26)
Typical test phases The Tip calculator with logical error

How to check the layout Graphical Layout Editor for the


Basic skills Android 2.2 platform
for testing and
The three types of errors 60 Syntax errors , runtime errors , 1
debugging
exceptions , logic errors

How to handle run time The error that’s displayed when an app
errors crashes

How to use LogCat Eclipse with the LogCat view


logging displayed, A few methods of the Log
class, How to use the Log Class,
How to trace Description
Code 60 1
How to use toasts A toast displayed in an emulator, Two
execution
methods of the toast class, Two
constant of the toast class, How to
display a toast

How to set and remove The Java perspective with a breakpoint,


breakpoints The Confirm perspective Switch dialog
box, Description

How to step through code Step Into button, Resume button


How to use How to inspect variables Variable named this
120 2
debugger
How to inspect stack trace The Debug perspective, Description

How to configure step The step filtering preferences, Common


filters packages to add to step filtering,
Description

2017 Batch 9
B. Sc CS /IT/BCA ANDROID PROGRAMMING I

How to add an emulator The device definition for a phone with a


for an old phone hard keyboard and DPad, How to create
a new device definition, Description,
An emulator that supports a hard
How to
keyboard and DPad, How to create an
configure
120 emulator, Description 2
your
emulators How to work with an The soft keyboard on an emulator for an
emulator for an old phone old phone, description

How to add an emulator An emulator for a tablet, description


for a tablet
A summary of layouts RelativeLayout , LinearLayout , Table
Layout , FrameLayout ,
An AbsoluteLayout , GridLayout
introduction
to layouts and A summary of widgets 120 TextView , EditText , 2
widgets Button ,CheckBox

The view hierarchy viewGroup , TextView , ProgressBar ,


ImageView

How to use a linear layout A linear layout with vertical orientation


and two buttons

How to use a table layout A table layout with two rows and four
columns
120 2
How to work How to use frame layout A frame layout that displays an image
with layouts behind some text

How to nest layout Nested linear layouts

How to provide a The location of the xml files ,the xml


landscape layout for landscape orientation

How to use editable text The soft keyboard for an editable text
views view for an email address

How to use check boxes A common xml attribute for check


boxes , two common java methods for
check boxes

How to use radio buttons 120 Three radio buttons in a radio group
with vertical orientation , Three radio
buttons in a radio group with horizontal
orientation
How to work
4
with widgets How to use spinners The xml code,the array in the
strings.xml file

How to use seek bars


Two common XML attributes for seek
bars , two common java methods for
seek bars
120

How to display images


Two attributes of an ImageView
widget, Four qualifiers for the drawable

2017 Batch 10
B. Sc CS /IT/BCA ANDROID PROGRAMMING I

folder

How to show and hide


Description
widgets

How to add scroll bar Description


Test and Debug the Tip
360 XML Code and Java Code
Calculator app
Practical 12
Modify the Layout for the
360 XML Code and Java Code
Tip Calculator App
UNIT : V (LECTURE HOURS: 8+ PRACTICAL HOURS: 12=20 HOURS)
Use the current class as the listener
High –Level Events
Import the interface for the Listener ,
A Summary of
60 Use the current class as the listener , 1
listeners
Low Level Events Use a separate named class as the
listener

How to use the use an anonymous class as the listener


current class as the
listener

How to use a named 60 use an inner anonymous class as the


class as the listener listener

Four techniques How to use an Description 2


for handing anonymous class as
events the listener
How to use an inner
anonymous class as Description
the listener 60
When to use each
Description
technique
How to handle events A check box, An event handler for
for check boxes and check box, Another event handler for
radio buttons check box, A method of the View
class, Description
60
How to handle events Three radio buttons in a group, An
for radio groups event handler for a radio button,
Another event handler for radio 2
How to handle button, description
high-level events
How to handle events A spinner, An event handler for a
for spinners spinner, description
60
How to handle events A seek bar and a label, , An event
for seek bars handler for a seek bar, description

How to handle key An event handler for the key event,


events some constants from the KeyEvent
120 class, description
How to handle
How to handle Touch An event handler for a Touch event, 2
low-level events
events some constants of the MotionEvent
class, some methods of the
MotionEvent class, description

The Tip The User Interface 60 Description 1

2017 Batch 11
B. Sc CS /IT/BCA ANDROID PROGRAMMING I

The Java Code for the


Calculator App Description
activity
Use anonymous
classes for the event 360 XML Code and Java Code
Practical listeners 12
Improve the Listeners
300 XML Code and Java Code
for the key Events

TEXT BOOK:

T1. Training and Reference Murach’s Java programming by Joel Murach , Mike
Murach&Associates ,Inc. 2013

REFERENCE BOOKS:

R1. Beginning Android Application Development by Wei-Meng Lee and Wiley Publishing, Inc.
2011

R2. Android Programming Tutorials by Mark L. Murphy and CommonsWare, LLC., 2011

R3. Android Apps for Absolute Beginners Edition:2 APress Wallace Jackson(2013)

2017 Batch 12

You might also like