Fragmentation

F No Comments »

Fragmentation Fractal fractal a shape that contains an infinite amount of fine detail. That is, no matter how much a fractal is enlarged, there is still more detail to be revealed by enlarging it further. Fractals are common in nature; they are the shapes of clouds, coastlines, broken rocks, the edges of torn pieces of [...]

Read the rest of this entry »

Force Quit

F No Comments »

Force Quit int t=0; for (int i=1; i<=100; i++) { t=t+i; } System.out.println(t); Although the statements within the loop can examine the value of the loop variable, they should not attempt to change it, since the result of doing so is unpredictable. In C, C++, Java, and C#, the for statement is more general; it [...]

Read the rest of this entry »

Flush

F No Comments »

Flush The flowchart in Figure 108 shows how to calculate the cube root of a number a using Newton’s method, where x is the guess for the cube root of a, and δ indicates how accurate the result must be. The procedure will follow around the loop until |x3 – a| < δ. “Start” and [...]

Read the rest of this entry »

Eyeglasses, Computer

E No Comments »

Eyeglasses, Computer eyeglasses, computer eyeglasses for viewing a computer screen two or three feet away. Most eyeglasses are designed for vision at a great dis- tance or for reading at about 18 inches (46 cm). Neither of these is suit- able for looking at a computer screen. Moreover, the screen cannot be seen properly through [...]

Read the rest of this entry »

Computer Architecture

C No Comments »

Computer Architecture   FIGURE 64. CPU communicates with memory and other devices via bus The CPU contains REGISTERs to hold data that is being worked on. For example, in order to add two numbers, the CPU will typically retrieve the two numbers from memory into registers, perform the addition, place the result in another register, and [...]

Read the rest of this entry »

Color Channel

C No Comments »

Color Channel  In general, if the red, green, and blue values are equal, the result will be a shade of gray. Colors on paper are usually specified as CMYK (cyan, magenta, yel- low, and black) or HSB (hue, saturation, and brightness). Because the pig- ments being mixed are completely different from the phosphor dots on the screen, printed colors [...]

Read the rest of this entry »

OS kernels Structure

Operating Systems No Comments »

Micro kernels This method structures the operating system by removing all non-essential components from the kernel and implementing as system and user level programs. The result is a smaller kernel. Micro kernels typically provide minimum process and memory management in addition to a communication facility. The main function of the micro kernel is to provide [...]

Read the rest of this entry »

C++ Bit Manipulation

Introduction to Programming No Comments »

We have so far been dealing with bytes using different data types. In this lecture, we will see what a bit is? Bit is the basic unit of memory. Eight bits form a byte. As you know that data is stored in computers in 0’s and 1’s form. An integer uses four bytes and the [...]

Read the rest of this entry »

C++ Searching

Introduction to Programming No Comments »

The same applies to the search algorithms. For finding out a particular number in an array, we can use technique of linear search. In this technique, there may be as many comparisons as numbers in the array. We make comparison of the number to be found with each number in the array and find it [...]

Read the rest of this entry »

Declaration and Definition of a Function

Introduction to Programming No Comments »

Declaration and definition are two different things. Declaration is the prototype of the function, that includes the return type, name and argument list to the function and definition is the actual function code. Declaration of a function is also known as signature of a function. As we declare a variable like int x; before using [...]

Read the rest of this entry »
©CkBooks Online – Free Online Books Third-party trademarks, trade names, product names and logos contained in this website may be the trademarks or registered trademarks of their respective owners. Use of this site or any of our affiliates sites is at your own risk. Our site is in no way responsible for any damages to you financially or otherwise that may arise from your use of our site or any of our linked sites.
Entries RSS Comments RSS Log in