Posts

binary searching using recursion function

Binary searching using Recursion method using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace search_a_number_in_an_aray { class Program { public static void Main(string[] args) { int[] num = new int[] { 2, 6, 11, 8,66, 3,45,46,78,77 }; int found, searchItem; int first = 0, last = num.Length-1; // sort function bubblesort(num); //Output function output(num); Console.WriteLine(); // input the search item Console.WriteLine("Enter the number :"); searchItem = int.Parse(Console.ReadLine()); // search function found = search(num, searchItem,first,last); // If found if (found == -1) { Console.WriteLine("Element is not present"); } Console.WriteLine("The number {0...

Hub

Hub In this device, if any information is to be sent then every computer that is connected to the network will get that information. If two device sent data at same time then there will be collision and the network will be slow too. Access point(Ap) is work similar as hub but in mobiles they have configured in such a way that they only receive their data only.

DHCP server

It automatically assign ip address,sub net mask and default gateway to a client computer.. It stands for Dynamic host configuration protocol

web address information

www.csknowledge.tk www. => sub-domain csknowledge => domain name. tk => top level domain name and tdl country code

'Tracert' command Line in window

Tracert In computing, traceroute is a computer network diagnostic tool for displaying the route and measuring transit delays of packets across an Internet Protocol network.[wikipedia] It allows user to see all the servers where the request have been route through. Latency the time required for a client computer to send its request to the server is called latency

What is a driver?

Driver is an software which tells operating system how to interact with hardware.

why pendrive properties shows 14.5GB insted of 16GB

Image
In the above picture, the pen drive is 16GB but it show only 14.5GB. Actually, 1GB=1024MB But flash dive companies multiply the MB by 1000 instead of 1024. 1MB=1000bytes 1GB=1000000bytes  i.e.16GB=16000000bytes( Actually 16GB= 16777216bytes) So, 16GB =14.5GB (Multiplyed by 1000) which should be multiplyed by 1024.