Installing NetBeans IDE in Linux

  Go to the link – https://netbeans.org/downloads/ Select Platform as Linux(x86/x64). Download the installer for NetBeans. From the terminal, navigate to the directory that contains the installer (netbeans-8.1-linux.sh) Run the following command to change the permissions – $ chmod +x netbeans-8.1-linux.sh Start the installer using the command – $ ./netbeans-8.1-linux.sh Follow the steps and NetBeans […]

Continue reading →

AngularJS

  AngularJS is a Javascript framework maintained by Google which simplifies the development and testing of web applications for developers and testers. Core features – 1. MVC Framework – Model is data. It can be static data or dynamically fetched from a data source using JSON. View – This is UI (User Interface) or whatever […]

Continue reading →

Installing Oracle Database XE in Linux

To install Oracle Database XE: 1. Log on to your computer with root permissions. 2. Go to the following Web site: http://www.oracle.com/technetwork/database/express-edition/downloads/index.html 3. Accept License Agreement and download the Linux version of Oracle Database XE. 4. Run the Oracle Database XE executable oracle-xe-11.2.0-1.0.x86_64.rpm to install Oracle Database XE using the command – # rpm -ivh […]

Continue reading →

Using Database Link in Oracle

Suppose data from a table X in database D is to be copied into table Y in the same database, then the problem can be solved easily by executing the query – Assumption – X(C(1),C(2),C(3)….C(N)) == Y(C(1),C(2),C(3)….C(N)) where C(1),C(2),etc. denote the columns of the table. INSERT INTO Y SELECT * FROM X; COMMIT; Problem – […]

Continue reading →

A Simple Server

The task is to construct a simple server which just passes a string to the client. Client/server describes the relationship between two computer programs in which one program, the client, makes a service request from another program, the server, which fulfills the request. Although the client/server idea can be used by programs within a single […]

Continue reading →

Subset Sum Problem

Given a set of positive integers and a value sum,the task is to find if there is a subset with sum equal to the given value. Example- Given set of numbers- {3,34,4,12,5,2} Sum=9. The output will be ‘True’ because 4+5=9. Algorithm- The problem can be divided into two sub-problems- 1.By including the last element. 2.By […]

Continue reading →

Linked Lists

Linked list is one of the fundamental,simplest and most common data structures in C programming language.A linked list is a data structure consisting of a group of nodes which together represent a sequence.Each node comprises of data and a link to the next node in the sequence. Advantages of Linked List over an array- 1.Linked […]

Continue reading →