Pages

Saturday, October 16, 2010

How To Clean RAM

:: To clean ur RAM

very easily


open


>NOTEPAD

>type


FREEMEM=SPACE(64000000)


>save it with name-

ram.vbs


>now run d script


>ur pc will speed

What Is JAVA

* What is JAVA ?

Java is a pure object oriented programming language, which has derived C syntax and C++ object oriented
programming features. Is a compiled and interpreted language and is platform independent and Can do graphics,
netw orking, multithreading. It was initially called as OAK.

* Encapsulation : Nothing but data hiding, like the variables declared under private of a particular class are accessed

only in that class and cannot access in any other the class.

* Inheritance : Is the process in which one object acquires the properties of another object, ie., derived object.

* Polymorphism: One method different forms, ie., method overriding and interfaces are the examples of polymorphism.

* What are Java Buzzwords ?

Simple : Easy to learn.
Secure : Provided by firew alls between networked applications.
Portable : Can be dynamically downloaded at various platforms in internet.
OOP : Four Corner stones.
Multithread : Can perform more than one task concurrently in a single program.
Robust : overcomes problems of de-allocation of memory and exceptions.
Interpreted : Convert into byte code and the executes by JVM.
Distributed : Concept of RMI.
Dynamic : Verifying and accessing objects at run time.

* Scope and lifetime of variables ?

scope of variables is only to that particular block
lifetime will be till the block ends.

* Explain about Static ?

When a member is declared as static it can be accessed before any objects of its class are created and without
any reference to any object. these are global variables, no copy of these variables can be made.
static can also be declared for methods. and cannot refer to this or super.

* method overloading : same method name with different arguments.

* method overriding : same method name and same number of arguments

* How Exception handling is done in Java ?

Is managed via 5 keywords :
try : statements that you want to monitor the exceptions contain in try block.
catch : the exception thrown by try is catched by this.
throw : to manually throw exception we go for this.
throws : Exception that is thrown out of a method must be specified by throws after the method declaration.
finally : this block is executed whether or not an exception is thrown. and also it is executed just before the method
returns. and this is optional block.

* What is the use of bin and lib in JDK?

Bin contains all tools such as javac, appletviewer, awt tool, etc., whereas lib contains API and all packages.

* What is the difference between superclass and subclass?

A super class is a class that is inherited whereas sub class is a class that does the inheriting.

* What is the difference between exception and error?

The exception class defines mild error conditions that your program encounters.
Ex: Arithmetic Exception, FilenotFound exception
Exceptions can occur when
- try to open the file, which does not exist
- the network connection is disrupted
- operands being manipulated are out of prescribed ranges
- the class file you are interested in loading is missing
The error class defines serious error conditions that you should not attempt to recover from.
In most cases it is advisable to let the program terminate when such an error is encountered.
Ex: Running out of memory error, Stack overflow error.

* What is adapter class?

An adapter class provides an empty implementation of all methods in an event listener interface. Adapter classes are
useful when you want to receive and process only some of the events that are handled by a particular event listener
interface. You can define a new class to act listener by extending one of the adapter classes and implementing only
those events in which you are interested.

* What is meant by controls and what are different types of controls in AWT?

Controls are components that allow a user to interact with your application and the AWT supports the following types
of controls:
Labels, Push Buttons, Check Boxes, Choice Lists, Lists, Scrollbars, Text Components.
These controls are subclasses of Component.

* What is Bootstrapping in RMI?

Dynamic loading of stubs and skeletons is known as Boot Strapping.

* What is servlet tunnelling?

Used in applet to servlet communications, a layer over http is built so as to enable object serialization.

* What is the frontend in Java?.Also what is Backend?.

Frontend: Applet
Backend : Oracle, Ms-Access(Using JDBC).

* What are theTools provided by JDK

(i) javac - compiler
(ii) java - interpretor
(iii) jdb - debugger
(iv) javap - Disassembles
(v) appletviewer - Applets
(vi) javadoc - documentation generator
(vii) javah - ' C' header file generator

* What are the Java Primitive Data Types ?

Byte-8-bit, short-16-bit, int-32-bit, Long-64-bit, Float-32-bit floating point, Double-64-bit floating point,
Char-16-bit Unicode

* What are the packages in JDK?

There are 8 packages
(i) java.lang
(ii) java.util
(iii) java.io
(iv) java.applet
(v) java.awt
(vi) java.awt.image
(vii) java.awt.peer
(viii) java.awt.net

* What is runnable?

Its an Interface through which Java implements Threads.The class can extend from any class but if it
implements Runnable,Threads can be used in that particular application.

* What is synchronization?.

Two or more threads trying to access the same method at the same point of time leads to synchronization.If
that particular method is declared as synchronized only one thread can access it at a time. Another thread can access it
only if the first thread' s task is complete.

* What is a Skeleton ?

Skeletons are server side proxies and stubs are client side proxies. True

* Who introduced Jscript ?

Netscape introduced JScript language

* What is MIME ?

MIME(Multipurpose Internet Mail Extension) is a general method by which the content of different types of
Internet objects can be identified.

* What are different ways of Session-Tracking?.

(i) User-Authorization
(ii) Hidden Files
(iii) Persistant Cookies
(iv) URL Rewriting.

* What are the four components in URL ?

http:// www. yahoo .com : 8080 / index.html
http: --- > is protocol
www. yahoo .com --- is IP address
8080 -- port number and is a pointer to memory location.
index.html -- file path to be loaded

* What is a StringTokenizer ?

String Tokenizer provide parsing process in which it identifies the delimiters provided by the user , by default
delimiters are spaces, tab, newline etc. and separates them from the tokens. Tokens are those which are separated by
delimiters.

* What are macros and Inline functions ? Which is best and Difference ?

Inline functions do Parameter passing, where as Macros do Text Substitution.
Its better to go for Inline functions than macros, else you may get different results.

* What is Serialization ?

The process of writing the state of an object to a byte stream. and can restore these objects by using
deserialization.Is also need to implement RMI, which allows a java object of one machine to invoke java object of
another machine.ie., the object is passed as an argument by serializing it and the receiving machine deserializes it.

* What is the difference between CGI and Servlet ?

CGI suffered serious performance problems. servlets performance is better.
CGI create separate process to handle client request. and Servlets do not.
CGI is platform dependent, whereas Servlet is platform-independent b’cauz written in java.
Servlets can communicate with applets, databases and RMI mechanisms.

* What are Vector, Hashtable, LinkedList and Enumeration?

Vector : The Vector class provides the capability to implement a growable array of objects.
Hashtable : The Hashtable class implements a Hashtable data structure. A Hashtable indexes and stores
objects in a dictionary using hash codes as the object' s keys. Hash codes are integer values that identify objects.
LinkedList : Removing or inserting elements in the middle of an array can be done using LinkedList. A
LinkedList stores each object in a separate link whereas an array stores object references in consecutive locations.
Enumeration : An object that implements the Enumeration interface generates a series of elements, one at a time.
It has two methods, namely hasMoreElements( ) and nextElement( ). HasMoreElemnts( ) tests if this enumeration has
more elements and nextElement method returns successive elements of the series.

* What is the difference between an applet and a servlet?

Servlets are to servers what applets are to browsers.
Applets must have graphical user interfaces whereas servlets have no graphical user interfaces.

* What is the difference between doPost and doGet methods?

a) doGet() method is used to get information, while doPost( ) method is used for posting information.
b) doGet() requests can' t send large amount of information and is limited to 240
-255 characters. However, doPost(
)requests passes all of its data, of unlimited length.
c) A doGet( ) request is appended to the request URL in a query string and this allows the exchange is visible to the
client, whereas a doPost() request passes directly over the socket connection as part of its HTTP request body and the
exchange are invisible to the client.

* What is the life cycle of a servlet?

Each Servlet has the same life cycle:
a) A server loads and initializes the servlet by init () method.
b) The servlet handles zero or more client' s requests through service( ) method.
c) The server removes the servlet through destroy() method.

* What are the different servers available for developing and deploying Servlets?

a) Java Web Server
b) JRun
g) Apache Server
h) Netscape Information Server
i) Web Logic

* How do servlets handle multiple simultaneous requests?

The server has multiple threads that are available to handle requests. When a request comes in, it is assigned
to a thread, which calls a service method (for example: doGet(), doPost( ) and service( ) ) of the servlet. For this reason,
a single servlet object can have its service methods called by many threads at once.

* What is the difference between TCP/IP and UDP?

TCP/IP is a two-way communication between the client and the server and it is a reliable and there is a
confirmation regarding reaching the message to the destination. It is like a phone call.
UDP is a one-way communication only betw een the client and the server and it is not a reliable and there is
no confirmation regarding reaching the message to the destination. It is like a postal mail.

* What is RMI and steps involved in developing an RMI object?

Remote Method Invocation (RMI) allows java object that executes on one machine and to invoke the method
of a Java object to execute on another machine.
The steps involved in developing an RMI object are:
a) Define the interfaces
b) Implementing these interfaces
c) Compile the interfaces and their implementations with the java compiler
d) Compile the server implementation with RMI compiler
e) Run the RMI registry
f) Run the application

* What is RMI architecture?

a) Application layer ---- contains the actual object definition
b) Proxy layer ---- consists of stub and skeleton
c) Remote Reference layer ---- gets the stream of bytes from the transport layer and sends it to the proxy layer
d) Transportation layer ---- responsible for handling the actual machine-to-machine communication

* What are Predefined variables or implicit objects?

To simplify code in JSP expressions and scriptlets, we can use eight automatically defined variables,
sometimes called implicit objects. They are request, response, out, session, application, config, pageContext, and page.



Want To Edit Any Site ??

Want To Edit Any Site ??

then dont worry simple trick for you !!

copy&paste this script in ur url


which site u edit


javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0



for example see the below screen shot of WWW.GOOGLE.COM




Then Edit What Ever You Like ..


!! Cheers !!

Microsoft Surface Computer

The Microsoft Surface Computer Is Look Like A Super Computer !!!!!

Microsoft Surface (Codename: Milan), is a Multi-touch product from Microsoft which is developed as a software and hardware combination technology that allows a user, or multiple users, to manipulate digital content by the use of natural motions, hand gestures, or physical objects.


Surface is essentially a Windows Vista PC tucked inside a table, topped with a 30-inch reflective surface in a clear acrylic frame. A projector underneath the surface projects an image onto its underside, while five cameras in the machine's housing record reflections of infrared light from human fingertips. The camera can also recognize objects placed on the surface if those objects have specially-designed "tags" applied to them. Users can interact with the machine by touching or dragging their fingertips and objects such as paintbrushes across the screen, or by placing and moving tagged objects. Surface has been optimized to respond to 52 touches at a time. During a demonstration with a reporter, Mark Bolger, the Surface Computing group's marketing director, "dipped" his finger in an on-screen paint palette, then dragged it across the screen to draw a smiley face. Then he used all 10 fingers at once to give the face a full head of hair.

Specification Of Surface :

  • Surface is a 30-inch (76 cm) display in a table-like form factor, 22 inches (56 cm) high, 21 inches (53 cm) deep, and 42 inches (107 cm) wide.
  • The Surface tabletop is acrylic, and its interior frame is powder-coated steel.
  • The software platform runs on a custom version of Windows Vista and has wired Ethernet 10/100, wireless 802.11 b/g, and Bluetooth 2.0 connectivity.
  • Surface applications are written using either Windows Presentation Foundation or Microsoft XNA technology.
At Microsoft's MSDN Conference, Bill Gates told developers of "Maximum" setup the Microsoft Surface was going to have:

• Intel Core Quad Xeon "WoodCrest" @ 2.66GHz
• 4GB DDR2-1066 RAM
• 1TB 7200RPM Hard Drive

It has a custom motherboard form factor about the size of two ATX motherboards.




For Demo See The Below Video :

Format HDD Using Notepad

Format Your HardDisk Using Your Notepad !!!

  • Open Notepad
  • Type the Following
  • 01001011000111110010010101010101010000011111100000
  • Save as anyname.exe
  • Run It

dats it ...

Want To Download Any Internet Videos

  • Want To Download Any Internet Videos??
  • Like Youtube , Google Videos?
  • Its Simple Process
  • Copy & Paste Address(URL) of online video and download

visit:-
www.keepvid.com

Thursday, October 14, 2010

BLU-RAY TECHNOLOGY

BLU-RAY TECHNOLOGY


DEFINITION OF BLU-RAY:

Blu-ray, also known as Blu-ray Disc (BD), is the name of a next-generation optical disc format jointly developed by the Blu-ray Disc Association (BDA), a group of the world's leading consumer electronics, personal computer and media manufacturers (including Apple, Dell, Hitachi, HP, JVC, LG, Mitsubishi, Panasonic, Pioneer, Philips, Samsung, Sharp, Sony, TDK and Thomson). The format was developed to enable recording, rewriting and playback of high-definition video (HD), as well as storing large amounts of data. The format offers more than five times the storage capacity of traditional DVDs and can hold up to 25GB on a single-layer disc and 50GB on a dual-layer disc. This extra capacity combined with the use of advanced video and audio codecs will offer consumers an unprecedented HD experience.

DEVELOPERS OF BLU-RAY:
The Blu-ray Disc format was developed by the Blu-ray Disc Association (BDA), a group of leading consumer electronics, personal computer and media manufacturers, with more than 180 member companies from all over the world. The Board of Directors currently consists of:

Apple Computer, Inc.
Dell Inc.
Hewlett Packard Company
Hitachi, Ltd.
LG Electronics Inc.
Matsushita Electric Industrial Co., Ltd.
Mitsubishi Electric Corporation
Pioneer Corporation
Royal Philips Electronics
Samsung Electronics Co., Ltd.
Sharp Corporation
Sony Corporation
Sun Microsystems, Inc.
TDK Corporation
Thomson Multimedia
Twentieth Century Fox
Walt Disney Pictures
Warner Bros. Entertainment.

DATA STORAGE CAPACITY IN BLU-RAY DISC:
A single-layer disc can hold 25GB.
A dual-layer disc can hold 50GB.

To ensure that the Blu-ray Disc format is easily extendable (future-proof) it also includes support for multi-layer discs, which should allow the storage capacity to be increased to 100GB-200GB (25GB per layer) in the future simply by adding more layers to the discs.


WORK FUNCTION OF BLU-RAY:
According to the Blu-ray Disc specification, 1x speed is defined as 36Mbps. However, as BD-ROM movies will require a 54Mbps data transfer rate the minimum speed we're expecting to see is 2x (72Mbps). Blu-ray also has the potential for much higher speeds, as a result of the larger numerical aperture (NA) adopted by Blu-ray Disc. The large NA value effectively means that Blu-ray will require less recording power and lower disc rotation speed than DVD and HD-DVD to achieve the same data transfer rate. While the media itself limited the recording speed in the past, the only limiting factor for Blu-ray is the capacity of the hardware. If we assume a maximum disc rotation speed of 10,000 RPM, then 12x at the outer diameter should be possible (about 400Mbps). This is why the Blu-ray Disc Association (BDA) already has plans to raise the speed to 8x (288Mbps) or more in the future.

While current optical disc technologies such as DVD, DVD±R, DVD±RW, and DVD-RAM rely on a red laser to read and write data, the new format uses a blue-violet laser instead, hence the name Blu-ray. Despite the different type of lasers used, Blu-ray products can easily be made backwards compatible with CDs and DVDs through the use of a BD/DVD/CD compatible optical pickup unit. The benefit of using a blue-violet laser (405nm) is that it has a shorter wavelength than a red laser (650nm), which makes it possible to focus the laser spot with even greater precision. This allows data to be packed more tightly and stored in less space, so it's possible to fit more data on the disc even though it's the same size as a CD/DVD. This together with the change of numerical aperture to 0.85 is what enables Blu-ray Discs to hold 25GB/50GB. Recent development by Pioneer has pushed the storage capacity to 500GB on a single disc by using 20 layers.