CS8651 IP 2marks 16marks, INTERNET PROGRAMMING Question Bank, IP Short Answers 6th Sem


CS8651 IP 2marks

Anna University Regulation 2017 CSC CS8651 IP 2marks & 16marks for all 5 units are provided below. CS8651 IP Short answers, Question Bank for INTERNET PROGRAMMING Engineering are listed down for students to make perfect utilization and score maximum marks with our study materials.


Part – A
1 Define Java.
Java is a programming language expressly designed for use in the distributed environment of the Internet. It was designed to have the “look and feel” of the C++ language, but it is simpler to use than C++ and enforces an object oriented programming model.
2. What is a Class?
Class is a template for a set of objects that share a common structure and a common behaviour.
3. What is an Object?
Object is an instance of a class. It has state, behaviour and identity. It is also called as an instance of a class.
4. What is an Instance?
An instance has state, behaviour and identity. The structure and behaviour of similar classes are defined in their common class. An instance is also called as an object.
5. What are different types of access modifiers (Access specifiers)?
Access specifiers are keywords that determine the type of access to the member of a class. These keywords are for allowing privileges to parts of a program such as functions and variables. These are: public: Anything declared as public can be accessed from anywhere.
private: Anything declared as private can’t be seen outside of its class.
protected: Anything declared as protected can be accessed by classes in the same package and sub classes in the there packages.
default modifier : Can be accessed only to classes in the same package.
6. What is method overloading and method overriding?
Method overloading: When a method in a class having the same method name with different arguments is said to be method overloading.
Method overriding: When a method in a class having the same method name with same arguments is said to be method overriding.

7. List the access specifier used in JAVA?
Java provides a number of access modifiers to set access levels for classes, variables, methods and constructors.
The four access levels are:
• Visible to the package. the default. No modifiers are needed.
• Visible to the class only (private).
• Visible to the world (public).
• Visible to the package and all subclasses (protected).
8. What is the difference between Array and vector?
Array is a set of related data type and static whereas vector is a growable array of objects and dynamic
9. What is a package?
A package is a collection of classes and interfaces that provides a high-level layer of access protection and name space management.
10. What is meant by Inheritance?
Inheritance is a relationship among classes, wherein one class shares the structure or behaviour defined in another class. This is called Single Inheritance. If a class shares the structure or behaviour from multiple classes, then it is called Multiple Inheritance. Inheritance defines “is-a” hierarchy among classes in which one subclass inherits from one or more generalised superclasses.
11. What is an Abstract Class?
Abstract class is a class that has no instances. An abstract class is written with the expectation that its concrete subclasses will add to its structure and behaviour, typically by implementing its abstract operations.
12. What is the difference between abstract class and interface?
a) All the methods declared inside an interface are abstract whereas abstract class must have at least one abstract method and others may be concrete or abstract.
b) In abstract class, key word abstract must be used for the methods whereas interface we need not use that keyword for the methods.
c) Abstract class must have sub  classes whereas interface can’t have sub classes.
13. What is an exception?
An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program’s instructions.
14. What is meant by JAVA package?
Package represents a collection of classes, methods and interface. The name of the package must be written as the first statement in the java source program. The syntax of specifying the package in the java program is: package name_of_package
15. What are the types of Exceptions in Java?
There are two types of exceptions in Java, unchecked exceptions and checked exceptions. Checked exceptions: A checked exception is some subclass of Exception (or Exception itself), excluding class Run time Exception and its sub classes. Each method must either handle all checked exceptions by supplying a catch clause or list each unhandled checked exception as a thrown exception.
Unchecked exceptions: All Exceptions that extend the Run time Exception class are unchecked exceptions. Class Error and its sub classes also are unchecked.

CS8651 IP Unit 1 2marks & 16marks – Download Here

CS8651 IP Unit 2 2marks & 16marks – Download Here

CS8651 IP Unit 3 2marks & 16marks – Download Here

CS8651 IP Unit 4 2marks & 16marks – Download Here

CS8651 IP All Units 2marks & 16marks – Download Here

If you require any other notes/study materials, you can comment in the below section.

Related Links

For CS8651 IP Previous Year Question Papers – Click here

For CS8651 IP Important Questions/Answer Key – Click here

For CS8651 IP Lecture Handwritten Notes – Click here

Search Terms

CS8651 IP 2marks

Anna University 6th Sem CSC IP 2marks 16 marks

CS8651 INTERNET PROGRAMMING Engineering question bank free download

Anna University CSC IP short answers Regulation 2017

CS8651 2marks, IP Unit wise short answers – CSC 6th Semester


Comments are closed.