Monday, August 10, 2015

Queue using Java

import java.io.*;
import java.util.Scanner;
class queue
{
   
        int front,rear;
        int item[]=new int[10];
}

Stack using Java

import java.io.*;
import java.util.Scanner;
class stack
{
   
        int top;
        int item[]=new int[10];
}

Tuesday, May 26, 2015

Subnet & subnet calculation


By creating smaller IP networks (instead of having one large network), we can obtain better security, smaller collision and broadcast domains, and greater administrative control of each network. Think of a network like streets in a city. Each house on this network is known by the street and by the address. Think of the addresses on the houses as the hardware addresses of a host. For IP to communicate with a host, the IP address must be known, and the router connected to the network on which this host is located must also know the hardware address of the house.

Thursday, May 07, 2015

MCQs on Microprocessors

 1. A memory system has a total of 8 memory chips, each with 12 address lines and 4 data lines. The total size of the memory system is

a) 16 Kbytes     b) 48 Kbytes     c) 32 Kbytes     d) 64 Kbytes

Ans:
 Option a)
Each chip has 212
 = 4096 x 4 bits
Capacity of 8 chips = 4096 x 4 x 8 = 16 Kbytes

Friday, May 01, 2015

Dependency Preserving Decomposition in DBMS

Decomposition - This means replacing a relation with a collection of smaller relations. 

Abstract data type


               An abstract data type (ADT) is a specification of a set of data and the set of operations that can be performed on the data.

Knapsack problem


              Greedy method is best suited to solve more complex problems such as a knapsack problem. 

GREEDY METHOD


           Greedy method is a method of choosing a subset of the data set as the solution set that results in some profit.

Thursday, April 30, 2015

IP Address

IP Version 4 addresses consist of 32 bits(0 through 31) partitioned into four groups of eight bits each. Each of this group is called an octet. It will be very difficult to understand and decipher the IP addresses if they were represented in the binary form and so they are reprsented in decimal form. Four decimal numbers separated by a dot, each standing for one octet. So, for example an IP address would look like this, 206.172.180.100.

CAPABILITY MATURITY MODEL

CMM stands for Capability Maturity Model. This was developed by Software Engineering Institute(SEI).

FUNDAMENTALS OF OPERATIONS ON FUZZY SETS


1. How to denote a fuzzy set?
IF X is the universe of discourse and x is a particular element of X, then a fuzzy set A defined on X may be written as a collection of ordered pairs:
A={(x,µA(A))}, x belongs to X
The pair (x, µA(A)) is called a singleton.
In crisp sets, a singleton is simply the element x by itself.
In fuzzy sets, a singleton is composed of two terms: x and µA(x).
A singleton is also written as µA(x)/x. That is by putting the membership function first followed by the ‘/’ symbol and is used to separate the function from x.
Singletons whose membership to a fuzzy set is 0 may be omitted.

PROPERTIES OF BINARY TREES


There are some basic properties of binary trees. It is better to know all of them and how to apply.For easier understanding I am giving it in a tabular form.

TYPES OF GRAMMAR

A grammar G is 4-tuple or quadruple G=(V,T,P,S) where 

V is set of variables or non-terminals.
T is set of terminals.
P is set of productions.
S is the start symbol.
Each production is of the form α -> β where α is a non empty string of terminals and/or non-terminals and β is string of terminals and/or non-terminals including the null string. This grammar is also called as phase-structure grammar.

Normalization

A table is in 1NF if there and no duplicate rows in the table. Each cell is single-valued.
A table is in 2NF if it is in 1NF and if all non-key attributes are dependent on all of the key. A table is in 2NF if it is in 1NF and if it has no partial dependencies

Friday, April 24, 2015

Marge Two Dimension character array (with structure) in C langauge

#include<stdio.h>
#include<string.h>
struct name
{
char fname[10][10],lname[10][10],con[10][10];

};

Implement Two Dimentional array with dynamic memory allocation in C Language

#include<stdio.h>
#include<conio.h>
#include<alloc.h>
void main()
{
int r=3,c=3;//r=row,c=column
int *arr=(int*)malloc(r*c*sizeof(int));

Wednesday, April 22, 2015

Tuesday, April 21, 2015

Friday, April 10, 2015

National University of Educational Planning and Administration (NUEPA)



The National University of Educational Planning and Administration (NUEPA), established by the Ministry of Human Resource Development, Government of India , is a premier organization dealing with capacity building and research in planning and management of education not only in India but also in South Asia.