// buat array dua dimensi dengan inputan :
a. jumlah data ?
b. nama ?
c. nilai1 ?
d. nilai2 ?
dengan outputan sbb :
(auto) (auto) (auto)
No Nama Nilai1 Nilai2 Total Rata2
=====================================================
1 alex 80 70 150 75
2 buyung 65 70 135 67,5
3 candra 50 50 100 50
4 jakram 80 90 170 85
5 nia 65 80 145 72,5
silahkan dikerjakan.....
jawab :
import javax.swing.JOptionPane;
import java.*;
public class ContohArray2
{
public static void main(String [] args)
{
String juml="";
int jumlah;
juml=JOptionPane.showInputDialog("Jumlah Data : ");
jumlah=Integer.parseInt(juml);
int no[][]=new int [jumlah][6];
String namaS[][]=new String [jumlah][6];
String nilai1S[][]=new String [jumlah][6];
String nilai2S[][]=new String [jumlah][6];
double nilai1[][]=new double [jumlah][6];
double nilai2[][]=new double [jumlah][6];
double total[][]=new double [jumlah][6];
double rata[][]=new double [jumlah][6];
for(int i=0;i<jumlah;i++)
{
no[i][0]=(i+1);
namaS[i][1]=JOptionPane.showInputDialog("Nama Siswa ke -"+(i+1)+" : ");
nilai1S[i][2]=JOptionPane.showInputDialog("Nilai 1 Siswa ke -"+(i+1)+" : ");
nilai2S[i][3]=JOptionPane.showInputDialog("Nilai 2 Siswa ke -"+(i+1)+" : ");
nilai1[i][2]=Double.parseDouble(nilai1S[i][2]);
nilai2[i][3]=Double.parseDouble(nilai2S[i][3]);
total[i][4]=(nilai1[i][2])+(nilai2[i][3]);
rata[i][5]=(total[i][4])/2;
}
System.out.println("No\tNama\tNilai1\tNilai2\tTotal\tRata2");
System.out.println("======================================");
for(int i=0;i<jumlah;i++)
{
System.out.print(i+1);
System.out.print("\t");
System.out.print(namaS[i][1]);
System.out.print("\t");
System.out.print(nilai1[i][2]);
System.out.print("\t");
System.out.print(nilai2[i][3]);
System.out.print("\t");
System.out.print(total[i][4]);
System.out.print("\t");
System.out.print(rata[i][5]);
System.out.println("");
}
}
}
http://mahmudtajinan.blogspot.com
Tampilkan postingan dengan label IT. Tampilkan semua postingan
Tampilkan postingan dengan label IT. Tampilkan semua postingan
Selasa, 29 Mei 2012
Jumat, 24 Februari 2012
Firefox tidak bisa new tab
firefox tidak bisa di new tab?
pasti kesel kan ketika kita mau browsing lain laman tau-tau firefox kita gak bisa di new tab hrhrhrhrhr.
mudah saja mengatasinya tinggal uninstal saja add-ons ASK
caranya:
1. buka mozila firefox
2. klik Tools
3. klik add-ons
4. klik ask, lalu pilih uninstal
5. restart firefox
beres deh. Selamat mencoba :D
pasti kesel kan ketika kita mau browsing lain laman tau-tau firefox kita gak bisa di new tab hrhrhrhrhr.
mudah saja mengatasinya tinggal uninstal saja add-ons ASK
caranya:
1. buka mozila firefox
2. klik Tools
3. klik add-ons
4. klik ask, lalu pilih uninstal
5. restart firefox
beres deh. Selamat mencoba :D
Rabu, 09 November 2011
10 best touchscreen laptops in the world Buying Guide: Find the best touchscreen laptop for you
The touchscreen has truly arrived, and you only need to take one look the success of the iPad and the army of Android tablets bursting onto the market, such as the Samsung Galaxy Tab, to see that.
However, if you'd rather have a keyboard for writing emails, and then a touchscreen for a natural way to surf the web and browse your photos, then a laptop could be a much more sensible purchase.
There are plenty of great touchscreen laptops on the market, and there's a model to suit every need. From swivel screens on tiny netbooks, to full size laptops with touch capability, we take you through the best touchscreen laptop options.
1. Samsung NB30 – £268

Samsung's netbook range has always impressed us, and the NB30, boasting tactile touchscreen technology is no exception. It's easy to carry, and the touchscreen gives it a near tablet feel, although the screen doesn't twist around to give the true form factor.
The 10.1-inch screen has a 1,024 x 600-pixel resolution, and it's sharp and bright, and there's no shiny Super-TFT screen coating causing irritating reflections in bright light. What's more, this is the cheapest touchscreen PC you're likely to find.
Buy the Samsung NB30 touchscreen netbook
2. Vye V-91015 Touch Screen Netbook – £379

There are a number of twistable tablet-style netbooks on the market featuring multi-touch screens but, at under £400, the Vye V-91015 is one of the cheapest around. The 10-inch screen rotates from the standard laptop form, to enable it to be carried like a tablet, which is where the multi-touch display comes into its own.
It compromises on specs a little, and there's only 1GB of RAM and a 160GB hard drive at your disposal, but you do get a decent touchscreen netbook that weighs only 1.3kg.
3. Asus EeePC Netbook T101MT – £442

If you're looking for a true tablet feel, but with the convenience of a laptop, then the Eee PC T101MT is a fantastic choice. The 10.1-inch touchscreen is tactile, and Asus's built in software helps you get the most from your touchscreen netbook.
ASUS Eee PCs are a pedigree of netbook, with fantastic build quality backed up with supreme portability. The Intel Atom N450 is adequate for most basic web surfing and YouTube video watching, and the 320 GB hard drive is one of the biggest you'll find on any netbook.
4. Asus T91MT – £459

If you've been bitten by the tablet bug, but don't want to do without a keyboard and mouse, then Asus' smaller netbook offering, complete with multi-touch screen will be right up your street.
The T91MT has a petite 8.9-inch screen, which is no bigger than most of the Android tablets that are swamping the market this Christmas. However, instead of Android, you get Windows 7 and a full keyboard. The multi-touch is fantastic, enabling you to fold the screen back and use a range of gestures, as well as using the supplied stylus.
5. Packard Bell Butterfly Touch LX.BL502.011 – £529.95

Continuing the run of touchscreen laptops to arrive on the scene in the first half of this year, Packard Bell has released the Butterfly Touch, which offers full touchscreen usability and up to a claimed eight hours of battery life in a convertible-tablet, clamshell design.
Weighing 1.6kg and featuring an 11.6-inch WXGA screen, it promises to provide ample mobility for frequent travel use. Operating as a standard clamshell laptop when opened, the screen can then be turned 180 degrees and folded down over the keyboard for full tablet use.
6. Toshiba Satellite U500-1EX – £584.97

Toshiba's Satellite U500 Series is aimed at mobile professionals and previous models have impressed us with their blend of style, comfort and quality. The Satellite U500-1EX comes with an impressive range of features and only a couple of flaws that hold it back.
The U500's impressive touchscreen usability and strong range of features lifts it above other laptops of a similar calibre, with the touch-sensitive screen and media bar offering a great means of control. Touch control is responsive and great for simply viewing documents or playing basic games.
Read our full Toshiba Satellite U500-1EX review
7. Acer Aspire 5738PG-644G32Mn – £644.93

The Acer Aspire 5738PG-644G32Mn boasts a 15.6-inch screen that features touch functionality and is designed to make using the laptop as intuitive as possible.
Acer has succeeded admirably in implementing this with the Windows 7 operating system and, while it's obviously early days for the technology on laptops – rather than tablet PCs – this machine is certainly a step in the right direction.
We like the Acer Aspire 5738PG-644G32Mn a lot and while, realistically, you'll be using the keyboard and touchpad as much as you did before, the touchscreen technology is well implemented and very intuitive to use.
Read our full Acer Aspire 5738PG-644G32Mn review
8. Acer 1825PT – £679

The new 1825PT is an 11.6-inch netbook with a swivel-style screen that enables you to convert it into a tablet-style device in a jiffy. The Aspire's swivel-screen multitouch panel features up to 1,366 x 768 resolution, and the machine packs in up to 8GB of RAM, a 1.3GHz Intel Core 2 Duo SU7300 processor, and a 250GB or 320GB hard drive.
The 1825PT also has a 6-cell battery to give you eight hours of work and play time, so you can spend more time getting touchy feely with your laptop.
Buy the Acer 1825PT
9. HP Touchsmart TM2-1010ea – £863.53

The HP TouchSmart tm2-1010ea is another laptop with a swiveling screen that converts into a tablet PC, much like many in our round up.
The touchscreen is well supported by a host of software. Artists can create finger-painted masterpieces with Corel Paint It! Touch, while Magic Desktop provides children with a cartoon-based interface and access to various games and child-friendly applications.
With a strong range of touch software installed as standard, the HP TouchSmart tm2-1010ea has a sharp and well-supported touchscreen display. Its solid build, incredible portability and impressive features round off this strong contender.
Read our full HP Touchsmart TM2-1010ea review
10. Fujitsu Lifebook T4410 – £1115.99

Like the HP TouchSmart tm2-1010ea, this laptop features a screen which twists 180 degrees to convert into a tablet PC. In this form you can hold the machine in one hand while manipulating the touchscreen with your other.
The sharp 12.1-inch screen is quite small in comparison to some other touchscreen laptops, but to counter this, Fujitsu has included a stylus that tucks neatly into the chassis for storage. This can be used instead of your fingers for more accurate interaction, while a pair of configurable buttons on the side can be set up to simulate mouse-button clicks.
The display is extremely sensitive and registers the stylus tip hovering over an inch from the screen, although this does show where you're about to press and helps to minimise mistakes.
By James Stables
However, if you'd rather have a keyboard for writing emails, and then a touchscreen for a natural way to surf the web and browse your photos, then a laptop could be a much more sensible purchase.
There are plenty of great touchscreen laptops on the market, and there's a model to suit every need. From swivel screens on tiny netbooks, to full size laptops with touch capability, we take you through the best touchscreen laptop options.
1. Samsung NB30 – £268
Samsung's netbook range has always impressed us, and the NB30, boasting tactile touchscreen technology is no exception. It's easy to carry, and the touchscreen gives it a near tablet feel, although the screen doesn't twist around to give the true form factor.
The 10.1-inch screen has a 1,024 x 600-pixel resolution, and it's sharp and bright, and there's no shiny Super-TFT screen coating causing irritating reflections in bright light. What's more, this is the cheapest touchscreen PC you're likely to find.
Buy the Samsung NB30 touchscreen netbook
2. Vye V-91015 Touch Screen Netbook – £379
There are a number of twistable tablet-style netbooks on the market featuring multi-touch screens but, at under £400, the Vye V-91015 is one of the cheapest around. The 10-inch screen rotates from the standard laptop form, to enable it to be carried like a tablet, which is where the multi-touch display comes into its own.
It compromises on specs a little, and there's only 1GB of RAM and a 160GB hard drive at your disposal, but you do get a decent touchscreen netbook that weighs only 1.3kg.
3. Asus EeePC Netbook T101MT – £442
If you're looking for a true tablet feel, but with the convenience of a laptop, then the Eee PC T101MT is a fantastic choice. The 10.1-inch touchscreen is tactile, and Asus's built in software helps you get the most from your touchscreen netbook.
ASUS Eee PCs are a pedigree of netbook, with fantastic build quality backed up with supreme portability. The Intel Atom N450 is adequate for most basic web surfing and YouTube video watching, and the 320 GB hard drive is one of the biggest you'll find on any netbook.
4. Asus T91MT – £459
If you've been bitten by the tablet bug, but don't want to do without a keyboard and mouse, then Asus' smaller netbook offering, complete with multi-touch screen will be right up your street.
The T91MT has a petite 8.9-inch screen, which is no bigger than most of the Android tablets that are swamping the market this Christmas. However, instead of Android, you get Windows 7 and a full keyboard. The multi-touch is fantastic, enabling you to fold the screen back and use a range of gestures, as well as using the supplied stylus.
5. Packard Bell Butterfly Touch LX.BL502.011 – £529.95
Continuing the run of touchscreen laptops to arrive on the scene in the first half of this year, Packard Bell has released the Butterfly Touch, which offers full touchscreen usability and up to a claimed eight hours of battery life in a convertible-tablet, clamshell design.
Weighing 1.6kg and featuring an 11.6-inch WXGA screen, it promises to provide ample mobility for frequent travel use. Operating as a standard clamshell laptop when opened, the screen can then be turned 180 degrees and folded down over the keyboard for full tablet use.
6. Toshiba Satellite U500-1EX – £584.97
Toshiba's Satellite U500 Series is aimed at mobile professionals and previous models have impressed us with their blend of style, comfort and quality. The Satellite U500-1EX comes with an impressive range of features and only a couple of flaws that hold it back.
The U500's impressive touchscreen usability and strong range of features lifts it above other laptops of a similar calibre, with the touch-sensitive screen and media bar offering a great means of control. Touch control is responsive and great for simply viewing documents or playing basic games.
Read our full Toshiba Satellite U500-1EX review
7. Acer Aspire 5738PG-644G32Mn – £644.93
The Acer Aspire 5738PG-644G32Mn boasts a 15.6-inch screen that features touch functionality and is designed to make using the laptop as intuitive as possible.
Acer has succeeded admirably in implementing this with the Windows 7 operating system and, while it's obviously early days for the technology on laptops – rather than tablet PCs – this machine is certainly a step in the right direction.
We like the Acer Aspire 5738PG-644G32Mn a lot and while, realistically, you'll be using the keyboard and touchpad as much as you did before, the touchscreen technology is well implemented and very intuitive to use.
Read our full Acer Aspire 5738PG-644G32Mn review
8. Acer 1825PT – £679
The new 1825PT is an 11.6-inch netbook with a swivel-style screen that enables you to convert it into a tablet-style device in a jiffy. The Aspire's swivel-screen multitouch panel features up to 1,366 x 768 resolution, and the machine packs in up to 8GB of RAM, a 1.3GHz Intel Core 2 Duo SU7300 processor, and a 250GB or 320GB hard drive.
The 1825PT also has a 6-cell battery to give you eight hours of work and play time, so you can spend more time getting touchy feely with your laptop.
Buy the Acer 1825PT
9. HP Touchsmart TM2-1010ea – £863.53
The HP TouchSmart tm2-1010ea is another laptop with a swiveling screen that converts into a tablet PC, much like many in our round up.
The touchscreen is well supported by a host of software. Artists can create finger-painted masterpieces with Corel Paint It! Touch, while Magic Desktop provides children with a cartoon-based interface and access to various games and child-friendly applications.
With a strong range of touch software installed as standard, the HP TouchSmart tm2-1010ea has a sharp and well-supported touchscreen display. Its solid build, incredible portability and impressive features round off this strong contender.
Read our full HP Touchsmart TM2-1010ea review
10. Fujitsu Lifebook T4410 – £1115.99
Like the HP TouchSmart tm2-1010ea, this laptop features a screen which twists 180 degrees to convert into a tablet PC. In this form you can hold the machine in one hand while manipulating the touchscreen with your other.
The sharp 12.1-inch screen is quite small in comparison to some other touchscreen laptops, but to counter this, Fujitsu has included a stylus that tucks neatly into the chassis for storage. This can be used instead of your fingers for more accurate interaction, while a pair of configurable buttons on the side can be set up to simulate mouse-button clicks.
The display is extremely sensitive and registers the stylus tip hovering over an inch from the screen, although this does show where you're about to press and helps to minimise mistakes.
By James Stables
Sabtu, 06 Agustus 2011
Mengatasi dumping memory pada laptop
| Dumping Memory |
Beberapa notebook / laptop / komputer terkadang muncul bluescreen (Dumping memory). Sebenarnya banyak sekali kemungkinan yang muncul, pada dasarnya bluescreen muncul karena terjadi kesalahan data pada alamat tertentu baik itu data rusak (corrupt), data hilang (missing).
Penyebab Laptop dan Komputer Blue Screen / Dump memory / Layar Biru :
1. Memory / RAM
2. Socket Memory / RAM
3. Harddisk bermasalah
4. Socket Harddisk
5. Virus
6. Data corrupt terhapus tidak sengaja
7. Uninstall program sehingga library windows terhapus
8. dll
Bluescreen akibat memory / RAM rusak atau kotor
Bluescreen yang diakibatkan oleh memory dapat kita ketahui dengan mencoba check memory melalui menu BIOS notebook yang bersangkutan.
Apabila kita sudah memastikan kerusakan di area memory baik RAM itu sendiri maupun socket, maka langkah pertama yang dapat dilakukan. Kita lepas memory yang bersangkutan dan kita bersihkan atau sikat dengan penghapus pensil bagian kaki socket RAM sehingga kerak menjadi bersih, apabila masalah tetap muncul, kita dapat mengganti dengan RAM yang baru.
Apabila cara diatas masih belum efektif , ada kemungkinan socket / dudukan RAM kita bermasalah.
Bluescreen akibat Harddisk yang bermasalah
Harddisk yang bermasalah dapat juga menyebabkan bluescreen, antara lain dikarenakan oleh bad sector, data yang hilang karena virus, instalasi program yang tidak sempurna , ataupun dikarenakan un-install program yang menghapus library (.dll) file yang digunakan oleh system atau program yang akan kita jalankan.
Untuk masalah bad sector dapat kita atasi dengan chkdsk/f , dimana windows akan memberikan tanda agar bagian yang bad tidak digunakan. Btw, apabila yang terkena sector awal atau untuk operating system maka cara ini tidak effektif, cara terbaik adalah mengganti harddisk dengan yang baru.
Apabila error karena virus kita dapat menggunakan antivirus untuk cure (mengobati) file yang corrupt, dan tidak semua file corrupt dapat diobati oleh anti virus, alternatif lain adalah install ulang operating system.
Namun ada juga alternatif lain mengatasi masalah ini, khususnya untuk Laptop ACER Aspire, yaitu :
1. Tekan tombol F2 pada keybord saat laptop dinyalakan untuk masuk ke setting BIOS.
2. Setelah keluar tampilan setting bios, masuk ke menu utama lalu pilih SATA MODE tekan Enter.
3. Muncul dua pilihan sata mode yaitu AHCI Mode untuk Windows Vista dan IDE Mode untuk Windows XP. Pilih IDE mode untuk Windows XP.
4. Tekan F10 (Save and Exit)
5. Jalankan computer melalui Save Mode
6. Remove program-program yang dianggap menjadi masalah, misalkan saja remove salah satu program anti virus yang lebih dari dua jenis.
7. Restart ulang setelah program di remove dan masuk ke Windows XP dan kali ini berjalan normal tanpa masalah lagi.
Source : Kang Eko
Selasa, 02 Agustus 2011
10 Tips Menggunakan Laptop dengan Benar
Bagi Anda yang menggunakan laptop sehari-hari untuk bekerja maupun bermain-main, Anda wajib untuk melakukan hal-hal dimana agar laptop Anda dapat berjalan lebih cepat dan mempunyai umur lebih panjang. Berikut 10 tips yang bisa Anda jalankan untuk perawatan rutin laptop Anda :
- Membersihkan Registry : salah satu hal terpenting di OS Windows adalah registry. Terkadang laptop Anda mengalami kejadian Fatal Error dimana terkadang disebabkan oleh bug yang Anda di registry pada saat Anda menginstall suatu program. Salah satu program yang bisa Anda gunakan untuk membersihkan registry adalah Mr.Fix
- Defrag Laptop Anda secara teratur minimal sekali dalam seminggu. Dengan mendefrag hardisk laptop Anda, Anda dapat mengakses data di hardisk laptop Anda lebih cepat. Anda bisa menggunakan JK Defrag.
- Gunakan Anti Virus : Anda bisa menjadualkan menjalankan antivirus / anti spyware paling tidak seminggu sekali atau lebih bagus sehari sekali untuk menghindari virus/spyware yang dapat merusak aplikasi-aplikasi yang terdapat di laptop Anda. Saya menggunakan Avira dan AVG.
- Bersihkan Recycle Bin secara teratur : sepertinya hal sepele, tapi dengan membersihkan recycle bin secara teratur Anda dapat menghemat ruang hardisk Anda
- Menghapus File Temporary Internet : setiap kali Anda melakukan browsing di beberapa situs internet, browser Anda akan menyimpan secara otomatis beberapa file situs internet tersebut. Anda harus menghapusnya untuk mempercepat kinerja laptop Anda.
- Usahakan dalam suhu yang dingin : jangan menggunakan laptop diatas tempat tidur maupun sofa karena akan menghambat sirkulasi udara di laptop Anda. Dimana jika sirkulasi terganggu akan mengakibatkan suhu laptop menjadi panas dan akan merusaha komponen laptop Anda
- Uninstall program yang tidak terpakai : pastikan Anda hanya menginstal program-program yang memang Anda butuhkan. Banyaknya program juga akan mempengaruhi kinerja laptop Anda.
- Hapus program Startup yang tidak perlu : setiap kali Anda menyalakan laptop Anda, banyak sekali program-program yang otomatis diaktifkan oleh laptop Anda. Untuk mengurangi beban kinerja startup laptop Anda, disini Anda tidak menghapus program-program dari laptop, tetapi hanya menonaktifkan program tersebut pada saat proses startup
- Hapus program-program seperti permainan, foto, atau musik yang memang tidak Anda perlukan.
- Tambahkan Memory jika perlu
Langganan:
Postingan (Atom)
