Skip to main content

Posts

Featured

What types of que asked in viva ???

 1. WHAT IS C LANGUAGE? C language is a structure/procedure oriented, middle level programming language developed at Bell Laboratories in 1972 by Dennis Ritchie. C language was invented for implementing UNIX operating system. In 1978, Dennis Ritchie and Brian Kernighan published the first edition “The C Programming Language”. Also, C language is an ANSI/ISO standard and powerful programming language for developing real time applications 2. WHERE IS C PROGRAMMING LANGUAGE USED OR USES OF C LANGUAGE? C language is used to develop system applications that forms major portion of operating systems such as Windows, UNIX and Linux. Operating systems, C compiler and all UNIX application programs are written in C language. Below are some examples of uses of C language. Database systems Graphics packages Word processors Spread sheets Operating system development Compilers and Assemblers Network drivers Interpreters 3. WHAT IS THE DIFFERENCE BETWEEN C AND C++? Even though C and C++ programming la

Latest posts

two_odd_occuring in a array in java

two_one_occuring problem in java

power_of_two in java

count set bit problem in java

Check Kth bit is set or not in java

BITWISE OPERATOR IN JAVA - RIGHT SHIFT OPERATOR,RIGHT SHIFT OPERATOR WITH NEGETIVE NUMBER,UNSIGNED RIGHT SHIFT OPERATOR

Bitwise Operator in java - NOT ,Left shift operator,Left shift operator with negetive number

Bitwize_operator in java - OR,AND,XOR

Trailing_zeros_in_factorial

30 days of code

Create a base class called shape .Use this class to store two double type values that could be used to compute the area of figures, Derive two specific classes called triangle and rectangle from the base shape .Add to the base class, a member function get_data() to initialise base class data members and another member function display_area() to compute and display the area of figures. Make display_area () as a virtual function and redefine this function in the derived class to suit their requirements. Using these three classes, design a program that will accept dimensions of a triangle or a rectangle interactively and display the area. Area of rectangle = x*y Area of triangle = ½*x*y

An educational institution wishes to maintain a database of its employees. The database is divided into number of classes whose hierarchical relationships are shown in below figure. The figure also shows minimum information required for each class. Specify all the classes and define functions to create the database and retrieve individual information as and when required.