Saturday 13 April 2013

// // Leave a Comment

COMPUTER COMMUNICATION AND NETWORKS-MARCH-2008


FOURTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-MARCH, 2008
COMPUTER COMMUNICATION AND NETWORKS
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.Define full-duplex communication.
2.Define signal.
3.Define unipolar encoding.
4.Define multiplexing.
5.Define flow control.
6.Define hamming code.
7.Write the IEEE standard for Token Bus.
8.List the ISDN channels.
9.What is URL?
10.What is SNMP?
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  Explain different network topologies.(12)
OR
v  (a)Write a note on analog data and digital data.(6)
(b)Write a note on WAN.(6)

Unit-2
v  Write a note on PCM.
         
OR
v  Write a note on NRZ,Manchester and Differential Manchester encoding.(12)
UNIT-3
v  (a)Write a note on the operation of HDLC.(6)
          (b)Write a note on stop-and-wait ARQ.(6)
OR
v  (a)Write a note on bit stuffing.(6)
          (b)Write a note on go-back-n ARQ.(6)
UNIT-4
v  Write a note on IEEE 802.5 standard,token ring.(12)
OR
v  Write a note on frame relay architecture,layers and frame relay format.(12)
UNIT-5
v  Write a note on shortest path routing with an example.(12)
OR
v  (a)Write a note on subnetting.(6)
(b)Write a note on simple network management protocol.(6)
        

Read More
// // Leave a Comment

COMPUTER COMMUNICATION AND NETWORKS-OCTOBER-2008


FOURTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-OCTOBER, 2008
COMPUTER COMMUNICATION AND NETWORKS
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.Define analog data.
2.Define amplitude of a signal.
3.Define multiplexing.
4.Define distortion.
5.Define data transparency.
6.Define modem.
7.Define a cell.
8.Write the IEEE standard for Token Ring.
9.Define gateway.
10.Define hypertext.
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  Explain communication tasks.(12)
         
OR
v  Explain ISO OSI model with the help of a block diagram.(12)

Unit-2
v  Write a note on asynchronous data transmission.(12)         
OR
v  Write a note on optical fibre.
UNIT-3
v  With an example illustrate modulo-2 arithmetic of error detection scheme.(12)
OR
v  (a)Write a note on character oriented protocol.(6)
          (b)Write a note on go-back-in ARQ.(6)
UNIT-4
v  Write a note on ISDN channels.(12)
OR
v  Write a note on open-loop congestion and closed –loop congestion control.(12)
UNIT-5
v  Write a note on data encryption standard.(12)
OR
v  Explain in detail HTTP.(12)
        

Read More
// // Leave a Comment

COMPUTER COMMUNICATION AND NETWORKS-OCTOBER-2011


FOURTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-OCTOBER, 2011
COMPUTER COMMUNICATION AND NETWORKS
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.List any three characteristics of effective data communication.
2.State baud-rate.
3.Define distortion.
4.State inverse multiplexing.
5.Define Y modem.
6.State the use of control frame in BSC.
7.List the channels of ISDN.
8.State the expansion of BECN.
9.Define bridge.
10.Define Telnet.
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  (a)List the categories of data communication standards.(4)
          (b)Explain in detail network topologies.(8)
OR
v  Explain ISo-OSI model with the help of a block diagram.(12)

Unit-2
v  With a neat diagram explain PCM.(12)
         
OR
v  (a)Compare serial and parallel transmission.(6)
          (b)Write a note on FSK.(6)
UNIT-3
v  (a)Write a note on bit stuffing.(6)
          (b)Write a note on data transparency.(6)
OR
v  Explain asynchronous protocols.(12)
UNIT-4
v  (a)Write a note on CSMA/CD.(6)
(b)Write a note on Gigabit Ethernet.(6)
OR
v  Write a note on Congestion avoidance.(12)
UNIT-5
v  Explain Dijkstra algorithm.(12)
OR
v  (a)Write a note on Polyalphabetic encryption.(6)
(b)Write a note on Repeaters.(6)
        

Read More
// // Leave a Comment

COMPUTER COMMUNICATION AND NETWORKS-OCTOBER-2010


FOURTH  SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-OCTOBER, 2010
COMPUTER COMMUNICATION AND NETWORKS
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.Define bandwidth of a signal.
2.What are protocols and standards?
3.What is multiplexing?
4.Name two different light sources used in fiber optic system.
5.What are U frames?
6.Define single bit error.
7.List the benefits of ATM.
8.Write the characteristics of LAN.
9.What is POP?
10.What are NVT?
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  Explain briefly different topologies.(12)
OR
v  Distinguish between analog and digital data transmission.(12)

Unit-2
v  (a)Explain Manchester encoding and NRZ.(6)
(b)Describe Nyquist bandwidth.(6)
         
OR
v  (a)Explain cable modem.(6)
          (b)Describe time division multiplexing.(6)
UNIT-3
v  (a)Explain asynchronous protocols.(8)
          (b)Write any four general features of HDLC.(4)
OR
v  Explain error control in detail.(12)
UNIT-4
v  (a)Explain packet switching.(6)
v  (b)Write advantages of ATM.(6)
OR
v  (a)Explain frame relay.(6)
          (b)Compare datagram and virtual circuit.(6)
UNIT-5
v  Explain Dijikstra algorithm.(12)
OR
v  Explain data compression.(12)     

Read More
// // Leave a Comment

COMPUTER COMMUNICATION AND NETWORKS-MARCH-2009


FOURTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-MARCH, 2009
COMPUTER COMMUNICATION AND NETWORKS
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.Define spectrum.
2.Define digital data.
3.Define baud rate.
4.Define attenuation.
5.Define hamming distance.
6.Define parity check.
7.Write the IEEE standard for Ethernet.
8.List the layers on which frame relay operates.
9.Define a repeater.
10.Define client server model.
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  (a)Write a note on analog signals and digital signals with suitable diagrams.(6)
          (b)Write a note on point-to-point configuration and multi-point configuration.(6)
OR
v  (a)Write a note on transmission modes with examples.(6)
(b).Write a note on guided and unguided transmission media with examples.(6)

Unit-2
v  Write a note on optical fibre.(12)
OR
v  Write a note on synchronous time division multiplexing.
UNIT-3
v  (a)Write a note on selective-reject ARQ.(6)
          (b)Write a note on bit stuffing.(6)
OR
v  (a)Write a note on stop-and-wait ARQ.(6)
          (b)Write a note on character oriented protocol.(6)
UNIT-4
v  (a)Write a note on IEEE 802.3 standard,Ethernet.(6)
(b)List the features of frame relay network.(6)
OR
v  (a)Write a note on IEEE 802.4  standard,token bus.(6)
          (b)Write a note on LLC.(6)
UNIT-5
v  (a)List the properties that are desirable in a routing algorithm.(6)
          (b)Compare TCP/IP and OSI.(6)
OR
v  Write a note on repeaters,routers and gateways.(12)
        

Read More
// // Leave a Comment

COMPUTER COMMUNICATION AND NETWORKS-OCTOBER-2009


FOURTH  SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-OCTOBER, 2009
COMPUTER COMMUNICATION AND NETWORKS
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.Define a protocol.
2.Define data rate.
3.Define modem.
4.Define signal element.
5.Define burst error.
6.Define bit stuffing.
7.What is CSMA/CD?
8.Define baseband transmission.
9.Define cipher.
10.Define client process.
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  (a)Define a data communication model.(6)
          (b)Write a note on LANs.(6)
OR
v  Explain ISO-OSI model with the help of a block diagram and state the functions of each layer.(12)

Unit-2
v  With neat diagrams write a note on different shift keying techniques.(12)
         
OR
v  Write a note on FDM with suitable diagrams.(12)
UNIT-3
v Explain flag fields,address fields,control field and information field of  an HDLC frame.(12)
OR
v  (a)Write a note on go-back-in ARQ.(6)
          (b)Write a note on bit oriented protocols.(6)
UNIT-4
v  (a)Write a note on Fast Ethernet.(6)
(b)Write a note CSMA/CD system.(6)
OR
v  (a)Write a note on Gigabit Ethernet.(6)
          (b)Write a note on IEEE 802.4 standard,Token Bus.(6)
UNIT-5
v  Write a note on distance vector routing.(12)
OR
v  Write a note on POP and IMAP.(12)
        

Read More
// // Leave a Comment

COMPUTER COMMUNICATION AND NETWORKS-MARCH-2010


FOURTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-MARCH, 2010
COMPUTER COMMUNICATION AND NETWORKS
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.Define spectrum of a signal.
2.Define Wan.
3.What is mean by EIA 232?
4.Define bit rate and baud rate.
5.What are S frame?
6.Define flow control.
7.Define token ring.
8.List the benefits of ATM.
9.State two responsibilities of session layer.
10.What is cryptography?
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  (a)Distinguish between analog and digital data transmission.(6)
          (b)Name different toplogies.(6)
OR
v  Explain briefly the ISo-OSI model with the help of a block diagram.(12)

Unit-2
v  Describe guided and unguided media.(12)
         
OR
v  (a)Write notes on terrestrial microwave communication and satellite communication.(6)
          (b)Explain frequency division multiplexing.(6)
UNIT-3
v  (a)Explain ARQ techniques for dealing errors.(6)
          (b)Write short note on asynchronous protocols.(6)
OR
v  Explain HDLC.(12)
UNIT-4
v  Explain ISDN.(12)
OR
v  (a)Explain Leaky bucket algorithm.(6)
          (b)Explain Time-division switches.(6)
UNIT-5
v  Explain different types of bridges.(12)
OR
v  Explain DNS.(12)
        

Read More
// // Leave a Comment

OBJECT ORIENTED PROGRAMMING(C++ AND JAVA)-OCTOBER-2008


THIRD SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-OCTOBER, 2008
OBJECT ORIENTED PROGRAMMING(C++ AND JAVA)
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.What is a dynamic binding?
2.What is reference variable?
3.What is operator overloading?
4.What is derived class?
5.Compare pointers to base classes and pointers to derived classes.
6.What are input and output streams?
7.What is final variable?
8.What is an interface?
9.Define applet.
10.What is servlet?
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  (a)List any six types of operators in C++ with one example for each.(6)
          (b)Write the method of creating objects and accessing class members in C++  with an example.(6)
OR
v  (a)What is a constructor?Explain overloaded constructors with examples.(6)
(b)Write the method of passing objects as arguments(i)to a member function and(ii)to a non-member function.Also explain how the objects can be used within the passed function.(6)

Unit-2
v  (a)Distinguish between hierarchial inheritance and hybrid inheritance .Write an example for implementing hierarchial inheritance in C++.(6)
(b)A time class contains the member variables hour,minute and second.Write a C++ program to increment the time by overloading the ++ operator.(6)
         
OR
v  (a)Distinguish between public and protected across specifiers.(6)
          (b)Explain with example unary operator overloading using(i)member function and(ii)friend function.(6)
UNIT-3
v  (a)List any six modes of opening a file in C++and write their meaning.(6)
          (b)Distinguish between get()and read()functions in C++/Write and explain example for using get() and read().(6)
OR
v  (a)Write the syntax and examples for opening a file for(i)input only and(ii)output only.(6)
          (b)A student class contains member variables register number,name and mark;and member functions getdata() and putdata() to read and write the variables respectively.A file “student.dat”contains a set of such student objects.Write a C++ program to read this file and display the data.(6)
UNIT-4
v  (a)Explain any three control statements in Java.(6)
(b)Explain access specifiers in java.(6)
OR
v  (a)Explain how objects are destroyed in java.(6)
          (b)Explain with example the use of this keyword in Java.(6)
UNIT-5
v  (a)Explain with example the necessity of multiple catch block and finally block in java.(6)
          (b)Write java code to create an applet that reads a name from the keyboard and display the message ‘good morning’followed by the name read.(6)
OR
v  (a)Which are the two ways to implement threading in java program?Write examples.6)
(b)Write a java program to read a line of text from the keyboard and display the count of vowels.(6)
        

Read More
// // Leave a Comment

OBJECT ORIENTED PROGRAMMING(C++ AND JAVA)-MARCH-2009


THIRD SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-MARCH, 2009
OBJECT ORIENTED PROGRAMMING(C++ AND JAVA)
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.List any three applications of OOP.
2.What is a token?Give two examples.
3.Write any three operators that cannot be overloaded.
4.What is inheritance?
5.What is a stream?
6.What is the difference between iso:ate and iso::app?
7.Write any two demerits of java.
8.What is Unicode?
9.Write the syntax of applet tag in HTML.
10.List any three features of applets.
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  (a)Distinguish between constructor and destructor.Explain with example dynamic constructor.(6)
          (b)What is friend function?How friend functions are declared?Write any three characteristics of friend function.(6)
OR
v  (a)Write the general form of a class declaration.Write examples for class declaration and object creation.(6)
(b)Explain the use of scope resolution operator in C++ with examples.(6)

Unit-2
v  (a)What is function overloading?Write overloaded function to find the sum of two integers and sum of two complex numbers.(6)
(b)Write an example for classes within class and explain how the class members are accessed.(6)
         
OR
v  (a)A complex number class contain the member variables real_part and imaginary_part.Write a C++program to add two complex number objects by overloading the ‘+’operator.(6)
          (b)Write the syntax for defining derived classes and explain it.(6)
UNIT-3
v  (a)What is the use of the function seekg()Explain the parameters of seekg()function..(6)
          (b)Write a C++program to create a text file to store the names of a set of students by reading the names from the keyboard.(6)
OR
v  (a)Distinguish between put()and write()functions in C++.Write and explain examples for using put()and write().(6)
          (b)Write a C++ program.
(i)to define a student class with member variables register number,name and mark;and member functions getdata()and putdata()to read and write the member variables respectively.
(ii)to create a file to store a set of student objects.(6)
UNIT-4
v  (a)What is the syntax for creating classes in java?Write an example.(6)
(b)Explain different ways of passing variables to methods.(6)
OR
v  (a)Explain with example the super keyword.(6)
          (b)Write a java program to display the multiplication table of a number which is given as command line argument.(6)
UNIT-5
v  (a)Explain the life cycle of a thread.(6)
          (b)Write a java program to read a set of numbers from the keyboard,store them into an array and then print them in reverse order.(6)
OR
v  (a)Explain the three primary methods in the thread class used to control a thread.(6)
(b)Write a java program to check whether a given string is palindrome or not and display corresponding message.(6)
        

Read More
// // Leave a Comment

OBJECT ORIENTED PROGRAMMING(C++ AND JAVA)-MARCH-2010


THIRD SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-MARCH, 2010
OBJECT ORIENTED PROGRAMMING(C++ AND JAVA)
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.Define object.
2.Define virtual base class.
3.What is the difference b/w ios::in and ios::out?
4.What is an abstract class?
5.What is the use of new operator?
6.What is manipulators?
7.Define thread.
8.What is an exception?
9.List any three features of Java.
10.What is JVM?
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  (a)Explain default constructor,parameterized constructor and overload constructor with examples.(6)
          (b)Define class.Write five features of class.(6)
OR
v  (a)What is meant by object as function arguments?Explain with an example.(6)
(b)Explain default arguments with example.(6)

Unit-2
v  (a)Explain matrix addition using operator overloading.(6)
(b)Write a CPP program to find the area of square and triangle using function overloading.(6)
         
OR
v  (a)Explain single inheritance,multilevel inheritance,multiple inheritance.(6)
          (b)A class ‘student ‘stores the roll number,class’teststores the marks obtained in two subjects class ‘result’contains the total marks obtained in the test.The class’result’can inherit the details of the marks obtained in the test and the roll number of students.Write a CPP program to implement the above inheritance.(6)
UNIT-3
v  (a)Explain if stream,of stream and f stream.(6)
          (b)Write a CPP program to read data from a file and display it.(6)
OR
v  (a)Write a program to read four number and store in a file using read()and write()function.(6)
          (b)Write a program to exchange two numbers using pointer.(6)
UNIT-4
v  (a)Java is an ‘Interpreter as well as compiler’-justify the statement.(6)
(b)Explain in detail:”Public static void main(String arys[])”(6)
OR
v  (a)What is Byte code?Explain the portability of Java.(6)
          (b)Illustrate classes and methods in Java with example.(6)
UNIT-5
v  (a)Explain any two methods used to define a thread with example.(6)
          (b)Explain about built –in exceptions in Java and give examples.(6)
OR
v  Compare application programs,applet and servlets with suitable example.(12)
        

Read More
// // Leave a Comment

OBJECT ORIENTED PROGRAMMING(C++ AND JAVA)-MARCH-2008


THIRD SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-MARCH, 2008
OBJECT ORIENTED PROGRAMMING(C++ AND JAVA)
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.Define object.
2.What is meant by dynamic initialization of variable?Write one example.
3.What is function overloading?
4.What is an abstract class?
5.What is this pointer?
6.What is the use of delete operator?
7.List any three escape sequences in Java.
8.What is byte code?
9.Define thread.
10.List three services provided by servlets.
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  (a)What is data abstraction and encapsulation?Write examples in C++.(6)
          (b)Write two examples with purpose for each of the following:
(i)member dereferencing operators.
(ii)memory management operators.
(iii)bitwise operators.(6)
OR
v  (a)What is OOP?List any three features of OOP.Write two benefits of OOP.(6)
(b)Explain with example the declaration and accessing of array of objects.(6)

Unit-2
v  (a)What is inheritance?Explain with example multilevel inheritance.(6)
(b)Write overloaded function to find the area of a circle,rectangle and triangle.(6)
         
OR
v  (a)Compare public,protected and private inheritance.(6)
          (b)Explain with example binary operator overloading using:
                 (i)member function         (ii)friend function.(6)
UNIT-3
v  (a)What is the use of the function open()?Explain the parameters of open().(6)
          (b)Write the syntax of defining pointers to objects.Which are the methods of accessing member functions using pointers to objects?Write examples.(6)
OR
v  (a)Explain the use of tellg()and seek g()functions in C++.Write the method to find the size of a file using these functions.(6)
          (b)Write a C++ program to read a text file and display it.(6)
UNIT-4
v  (a)Write any six types of operators in java with examples for each type.(6)
(b)Explain inner classes with example.(6)
OR
v  (a)Explain how arrays are declared and used in Java.(6)
          (b)Explain constructors in Java with example.(6)
UNIT-5
v  (a)Explain the way of handling a division by zero exception in Java.(6)
          (b)Explain multithreading in Java with an example.(6)
OR
v  (a)Explain the use of throw statement in Java with an example.(6)
(b) Write a Java program to read a stream of bytes from the keyboard and write them into a file.(6)
        

Read More
// // Leave a Comment

OBJECT ORIENTED PROGRAMMING (C++ AND JAVA)-OCTOBER-2010


THIRD SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-OCTOBER, 2010
OBJECT ORIENTED PROGRAMMING (C++  AND JAVA)
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.Define polymorphism
2.What is meant by reference variable?Give syntax.
3.Define base class and derived class.
4.Differentiate new and delete.
5.Define I/P stream and O/P stream.
6.Which are the three kinds of commands in Java?
7.list three merits of Java.
8.Define socket.
9.Define thread.
10.Write any three types of operator in Java with example.
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  (a)What is a constructor?Explain six special characteristics of constructor.(8)
          (b)Explain copy constructor with an example.(4)
OR
v  (a)Explain the basic concepts of OOPs.(6)
(b)Explain the benefits of OOP.(6)

Unit-2
v  (a)What is operator overloading?Explain unary operator overloading with an example(6)
(b)What is single inheritance?Explain with an example.(6)
         
OR
v  (a)Explain binary operator overloading with an example.(6)
          (b)Explain multiple inheritance with an example.(6)
UNIT-3
v  (a)Define pointers.Explain the advantages of pointers.(6)
          (b)Explain the use of this pointer with an example.(6)
OR
v  Explain the following file functions with examples:
v  (i)write() (ii)getline()    (iii)get()     (iv)put()         (12)
UNIT-4
v  (a)Discuss about diff jumb statements java with example(6)
(b)Explain inner classes with examples.(6)
OR
v  What is abstract class?How can implement an abstract class,explain with example?(12)
UNIT-5
v  (a) Explain three exception handling statements in Java.(6)
          (b)Explain multithreading in Java with example.(6)
OR
v  Write a Java program to read a stream of bytes from a file,and copy them into another file and display it on the monitor.(12)
        

Read More
// // Leave a Comment

OBJECT ORIENTED PROGRAMMING (C++ AND JAVA)-OCTOBER-2011


THIRD  SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/TECHNOLOGY-OCTOBER, 2011
OBJECT ORIENTED PROGRAMMING (C++  AND JAVA)
PART-A
(Maximum marks:15)
v  Answer the following questions in one or two sentences:
1.What is an object?
2.What is a’default constructor’?
3.Define function overloading.
4.What is hierarchial inheritance?
5.What is the use of indirection operator’8’in C++?
6.Define stream.
7.What is Unicode?
8.What is a’package’in Java?
9.What is multi threading?
10.Name the base class for character streams for input operation in Java.
PART-B
(Maximum marks:60)
(Answer one full question from each unit)
Unit-1
v  (a)Explain about private,public and protected access specifiers.(6)
          (b)What is a friend function?What are its special characteristics?.(6)
OR
v  (a)Write a short note on:
(i)Inline function (ii)Polymorphism.(6)
(b)Describe passing objects to a function.(6)

Unit-2
v  (a)Write a C++ program to overload the binary operator’+’to add two matrices of order’m*n’(6)
(b)Explain hybrid inheritance with an example(6)
         
OR
v  (a)List the rules for overloading operators.(6)
          (b)Explain how multiple inheritance is implemented in C++(6)
UNIT-3
v  (a)Explain the use of’new’and ‘delete’operators with an example.(6)
          (b)Write a C++ program to accept the names of 10 students from the keyboard and write those names to a file.After creating the file,read the contents of the file and display it.(6)
OR
v  (a)What are the different ‘modes’of opening a file in C++?Explain.(6)
          (b)Write a short note on:
(i)Dynamic memory allocation
(ii)’this’pointer.(6)
UNIT-4
v  (a)Java is compiled and interpreted.Explain.(6)
(b)Write a Java program to sort a set of’N’integer numbers in ascending order.(6)
OR
v  (a)What are command line arguments?Explian how they are used in Java.(6)
          (b)Write a short note on:
(i)’extends’keyword
(ii)abstract class.(6)
UNIT-5
v  (a)Explain about the exception handling mechanism in Java.(6)
          (b)Define an applet.Compare application programs and applets.(6)
OR
v  (a)Distinguish between Byte streams and character streams in java.(6)
(b)Write a short note on:
(i)Runnable interface
(ii)Servlet.(6)
        

Read More