Friday, 23 January 2015

Disk Management
Disk Management is a utility built into Windows XP, Vista, Windows 7 and Windows 8 which can be used to create, delete, and format partitions. 

<-- -->
Select an Operating System (OS)
Operating System
Instructions
Windows XPClick Here for Instructions
(instructions will appear below this table)
Windows Vista / Windows 7Click Here for Instructions
(instructions will appear below this table)
Windows 8Click Here for Instructions
(instructions will appear below this table)


For Windows 8:
  1. From the Desktop, bring the mouse to the lower left-hand corner of the screen. This will bring up a small Start menu preview screen.

  2. Image

  3. Right click with the mouse, and a list if options will appear.

  4. Image

  5. From this list, click on Disk Management, which will launch the window on the Dekstop.


  6. Image

NOTE
Note: Disk Management can also be used to view partitions and their formatted file systems on the hard drive.

How To Access Disk Management in Windows 7

Disk Management in Windows 7 - Windows 7 Disk Management -
Disk Management in Windows 7 (via Computer Management). 
Accessing Disk Managementin Windows 7 from the Computer Management utility is very easy.
You won't find a shortcut to Disk Management in your Windows 7 Start Menu because it's not a program in the same sense that most other software on your computer is.
Follow the steps below to access Disk Management from the Computer Management utility in Windows 7:
Note: Not using Windows 7 or want to open Disk Management from the Command Prompt? See the tips at the bottom of the page for help.
Difficulty: Easy
Time Required: It only takes a few minutes to open Windows 7 Disk Management from the Computer Management utility

How To Access Disk Management in Windows 7

  1. Click on the Start button and then choose Control Panel.
     
  2. Click on the System and Security link.

    Note: If you're viewing the Large icons or Small icons view of Control Panel, you won't see this link so just click on the Administrative Tools icon and skip to Step 4.
     
  3. In the System and Security window, click on the Administrative Tools heading located near the bottom of the window.
     
  4. In the Administrative Tools window, double-click on the Computer Management icon.
     
  5. When Computer Management opens, click on Disk Management on the left side of the window, located under Storage.

    After a brief loading period, Disk Management should now appear on the right side of the Computer Management window.

    Note: If you don't see Disk Management listed, you may need to click on the |> icon to the left of the Storage icon.
     
  6. You can now partition a hard driveformat a hard drivechange a drive's letter, or do whatever else you need to do in Windows 7's Disk Management tool.
  1. Disk management
  2. Click Start, click Run, type compmgmt.msc, and then click OK. In the console tree, click Disk Management. The Disk Management window appears. Your disks and volumes appear in a graphical view and list view.
  1. Memory Management
  2.  Memory management is the act of managing computer memory at the system level. The essential requirement of memory management is to provide ways to dynamically allocate portions of memory to programs at their request, and free it for reuse when no longer needed.

Monday, 24 November 2014

Beginning Programming
Code to Execute
To repeat what we discussed in the last section, the program containing source code always has extension .java. The Java compiler always generates bytecode with same name and has an extension .class. The class file processed by the JVM and produces output. It is a rule that the source file name must match with the class name inside the file.
Source file
Class name
Byte code
HelloWorld.java
HelloWorld
HelloWorld.class
AddNumbers.java
AddNumbers
AddNumbers.class
Average.java
Average
Average.class
 In a Java application, execution starts with the main method. We have already used this method and will understand it better later in the course. You must have heard that Java is "platform independent". What does this mean? This means that you can write Java code on some system, say a Windows machine, and compile it. Then you can take the classfile generated and run it on any other system (Linux, Unix, MAC, or another Windows) and the code will run!
Beginning Programming
Creating and Running Java Application
We have been learning the basic concepts of Java and running code fragments from the text area. However, to actually develop and run a Java application, we need do something more. We must install the necessary software
  • JDK or Java Development Kit, which is software that can be used to develop Java based software. The JDK consists of software including Java Runtime Environment (JRE), Java compiler (javac), debugger, additional support software needed to write Java applications.
  • The Java Runtime Environment (JRE) is required to execute Java code. It consists of the Java Virtual Machine (JVM) plus standard classes and libraries needed to execute the code. The emulation capability of the JVM  allows execution of Java code in a platform independent way using the java command.
The typical execution cycle for a Java application, say to print Hello World is pictured below
A Java application must have the extension .java - this is a language rule. Upon compiling, it gets converted to a class file also known as bytecode. The JVM executes the class file using the java command.