Thursday, 7 April 2016

bca4020 smu bca winter 2015 (april/may 2016 exam) IVth sem assignment

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject only.
if urgent then call us on 08791490301, 08273413412

PROGRAM BCA(REVISED FALL 2012)
SEMESTER 4
SUBJECT CODE &
NAME
BCA 4020 - JAVA PROGRAMMING
Q1. Why is security required in Java? What is the use of Digital Signature?
[6+4]
Answer:
Java's security model is one of the key architectural features that makes it an appropriate technology for networked environments. Security is important because networks represent a potential avenue of attack to any computer hooked to them. This concern becomes especially strong in an environment in which software is downloaded across the network and executed locally, as is done, for example, with Java applets and Jini service objects. Because the class files for an applet are automatically downloaded when a user goes to the containing web page in a browser, it is likely that a user will encounter applets from untrusted sources. Similarly, the class files for a Jini service object are downloaded from a code base specified by the service provider when it registers its service with the Jini lookup service. Because Jini enables


Q2. Write short notes on;
a) Single dimensional Arrays
b) Multi-Dimensional Arrays
Answer:
One-dimensional arrays
A one-dimensional array (or single dimension array) is a type of linear array. Accessing its elements involves a single subscript which can either represent a row or column index.
As an example consider the C declaration int anArrayName[10];
Syntax : datatype anArrayname[sizeofArray];
In the given example the

Q3. Differentiate between packages and Interfaces.(5+5)
Answer.
Packages and Interfaces
Packages
Java provides a mechanism for partitioning the class name space into more manageable chunks. This mechanism is the package. The package is both a naming and a visibility control mechanism. You can define classes inside a package that are not

Q4. What are Applets? What are the restrictions of Applets? Describe about applet class.(2+3+5)
Answer.
Applets
An applet is a Java program that can be embedded in a web page. Java applications are run by using a Java interpreter. Applets are run on any browser that supports Java. Applets can also be tested using the appletviewer tool included in the Java Development Kit. In order to run an applet it must be included in a web page, using HTML tags. When a user


Q5. Compare JDBC and ODBC (5*2)
Answer.
JDBC and ODBC
Java Data Base Connectivity (JDBC)

The JDBC API (Java Data Base Connectivity Application Program Interface) can access any kind of tabular data, especially data stored in a Relational Database. It works on top of ODBC (Open Data Base Connectivity) which was the driver for database connectivity since age old days but since ODBC was implemented in C so people from the VB background had

Q6. Describe about Java Beans and BeanBox. (5+5)
Answer.
Java Beans and BeanBox
Java Beans
JavaBeans is the software component architecture for Java. It allows constructing applications efficiently by configuring and connecting components called Beans. The Beans need to be written and tested with a rich set of mechanisms for interaction

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject only.
if urgent then call us on 08791490301, 08273413412


No comments:

Post a Comment