Accounting and Financial Management (3) Analog and Digital Communication (2) Artificial Intelligence (2) BE(Civil) (2) BE(CSE) (83) BE(ECE) (11) BE(Mech) (10) Business Processes (3) C# and .NET Framework (2) Communication Skills (1) Compiler Design (1) COMPONENT BASED TECHNOLOGY (1) COMPUTER ARCHITECTURE (1) COMPUTER GRAPHICS and MULTIMEDIA SYSTEMS (6) COMPUTER INTEGRATED MANUFACTURING (1) Computer Networks (9) Computer Organization (2) Computer Programming (1) Consumer Behaviour (1) Control Systems (1) Cryptography and Network Security (3) Datastructures and Algorithms (10) Datawarehousing and Mining (1) DBMS (5) DESIGN AND ANALYSIS OF ALGORITHMS (9) DESIGN OF MACHINE ELEMENTS (1) DIGITAL PRINCIPLES AND SYSTEMS DESIGN (3) Discrete Mathematics (1) DISTRIBUTED COMPUTING (2) DSP (8) DYNAMICS OF MACHINERY (2) Economic Foundations (1) ELECTRICAL ENGINEERING (1) ELECTRICAL ENGINEERING AND CONTROL SYSTEMS (1) Electromagnetic Fields (3) ELECTRONIC CIRCUITS (1) ELECTRONIC COMMERCE (4) ELECTRONIC DEVICES AND CIRCUITS (1) EMBEDDED SYSTEMS (1) FUNDAMENTALS OF COMPUTING (2) Graphics and Multimedia (3) HEAT AND MASS TRANSFER (1) HUMAN RESOURCE MANAGEMENT (1) Internet Programming (9) INTRODUCTION TO FINITE ELEMENT ANALYSIS (1) Legal Aspects of Business (1) MANAGEMENT INFORMATION SYSTEMS (1) Marketing Management (1) MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE (4) MATHEMATICS - I (1) MBA (9) MCA (83) MCA QUESTION BANK (2) MECHATRONICS (1) MicroProcessor and Controllers (4) MICROPROCESSORS AND APPLICATIONS (5) MIDDLE WARE TECHNOLOGIES (3) MOBILE COMPUTING (5) NETWORK PROGRAMMING (1) NUMERICAL METHODS (1) OBJECT ORIENTED ANALYSIS AND DESIGN (5) Object Oriented Programming (18) Operating System (2) OPERATING SYSTEMS (9) Organizational Behaviour (2) POWER ELECTRONICS (1) Principles of Management (8) PROBABILITY AND QUEUEING THEORY (2) Probability and Statistics (1) PROBLEM SOLVING AND PROGRAMMING (2) PROCESS PLANNING AND COST ESTIMATION (1) PROFESSIONAL ETHICS AND HUMAN VALUES (1) RANDOM PROCESSES (1) RESOURCE MANAGEMENT TECHNIQUES (2) ROBOTICS (1) Security analysis (1) Service Marketing (1) SIGNALS AND SYSTEMS (1) Software Engineering (8) SOFTWARE PROJECT MANAGEMENT (4) SOFTWARE QUALITY MANAGEMENT (2) System Software (2) TCP/IP PROTOCOL SUITE (3) Theory of Computation (4) Total Quality Management (2) UNIX AND NETWORK PROGRAMMING (4) Visual Programming (2) WEB GRAPHICS (2) WEB TECHNOLOGY (2) XML AND WEB SERVICES (4)

Friday, July 4, 2008


1. Define the terms (a) data abstraction (b) inheritance.
2. What are the types of variables in C++ that can have floating point values? Write the range of each type of variable.
3. What are wild pointers?
4. What are inline functions? What are their advantages?
5. Is the following statement correct? Give reasons.
Destructors can be overloaded.
6. How are interfaces different from classes?
7. What is a thread? Compare a thread with a process.
8. List any 4 methods of class applet.
9. What are the different forms of comment statements in Java?
10. What is an I/O stream?
11. Explain the elements of object oriented programming. Describe how these elements are implemented in C++ and Java.
12. (a) Write a C++ program to read the elements of a 2D matrix and display them. Arrays should not be used. Dynamically allocate space for the elements of the matrix. Provide function for release of memory. Write a program to test the functions.
(b) Model a complex number as a class. Provide constructors to initialize either with (0, 0) or with values given. Overload and <<>
13. (a) What are the different forms of inheritance supported in C++? Discuss on the visibility of the base class members in privately and publicly inherited classes.
(b) What are virtual function? What are the rules associated with them? What are abstract classes? Give an example (with the program) to illustrate the use of abstract classes.
14. (a) Explain the life cycle of a thread. List any 4 methods of class thread in Java. With examples, illustrate ways of creating threads in a Java program.
(b) Define an interface to declare methods to increment time and to display time. Define another interface that declares methods to set time. Define class digital clock that represents time in the format hr/min/sec. and another class minute clock to represent time in format hr/min. Have these two classes to implement methods defined in both interface. Write a test program.
15. (a) Write the syntax of applet tag in HTML. How are parameters passed to an applet? Write an applet to display the age of the user passed as the parameter to it.
(b) Define an inheritance hierarchy to represent quadrilateral, trapezoid, rectangle and square. ( , ) co-ordinates of four end points of the shape should be taken as points in the super class. Write methods to display the co-ordinates and areas of shapes. Write a test program to create a set of shapes and display their area. Explain the object oriented features used.

No comments:

Post a Comment