Wednesday, February 27, 2013

Barcelona 1-3 Real Madrid (Agg 2-4): Relentless Ronaldo demolishes hosts to book Copa final berth

Los Blancos put together a sterling performance in all areas of the pitch to humble their great rivals in their own back yard, and seal a place in the cup final.

 


Real Madrid stormed into the Copa del Rey final in the most stunning manner possible, with an emphatic 3-1 victory over Barcelona at Camp Nou in the second leg of their last-four clash on Tuesday.
With a 1-1 home draw to overcome from the first leg, Jose Mourinho looked on in jubilation as his team executed their gameplan to perfection, frustrating the Catalans at the back, and through an inspirational Cristiano Ronaldo, giving a counter-attacking clinic up front.

The Portuguese opened the scoring from the penalty spot 12 minutes in, becoming the first player to score in six successive Clasicos away from home, and finished off a surging break shortly before the hour mark to put Madrid in the driving seat.

Raphael Varane put the finishing touches on an unbelievable night for the visitors when he headed home a corner, with Jordi Alba's late goal coming as little consolation for the hosts.

Los Blancos now await either Sevilla or Atletico Madrid in the showpiece event on May 18.

Sergio Busquets, Cesc Fabregas and Xavi returned to start in midfield for the hosts, with Carles Puyol partnering Gerard Pique in defence. For Madrid, Varane, the standout performer from the first leg, started alongside Sergio Ramos at centre-back.
Barca started positively, and with only two minutes on the clock, were nearly ahead. Pedro did brilliantly to turn Fabio Coentrao inside out and square for Lionel Messi, who narrowly missed the target from a tight angle.
But instead, it would be Madrid who would take the lead. Ronaldo was simply too quick for Pique, and was tripped up inside the area, leaving the referee with no choice but to award a penalty, from which the Portuguese forward slotted coolly into the bottom corner.
The Catalans exhibited their customary dominance of the ball, but Mourinho’s men were ready with discipline and numbers at the back, and a pacey threat on the counter whenever they won possession.
Referee Alberto Undiano Mallenco‎, already the villain of the piece in the eyes of the Camp Nou faithful for the decision against Pique, was showered with further vitriol from the stands after correctly denying penalty appeals for Fabregas and Pedro.
And the home fans were left frustrated again moments before half-time, when Messi drilled a free kick agonisingly into the side netting, with half of the stadium already celebrating a goal.
The Blaugrana went close again minutes after the restart when Diego Lopez parried an effort by Busquets, with Alvaro Arbeloa taking the rebound off the toes of Fabregas from point blank range.
But much like the start of the first half, the chance was spurned, and again, Madrid would punish their profligacy on the counter-attack, this time putting the tie virtually out of reach.
Sami Khedira’s sublime first-time pass after winning the ball released Angel Di Maria against Puyol. The Barca captain was left on his backside by the skill of the winger, whose initial shot was parried by Jose Pinto, only for Ronaldo to bury the rebound.
And with 22 minutes left, Madrid were in dreamland again, when Varane rose highest to head home Mesut Ozil’s corner in almost identical fashion to his goal in the first leg.
Flares were set off in the stands as a few home fans lost patience with events on the pitch, but their mood improved ever so slightly just before injury time when Alba ghosted in behind the full-back to slot Andres Iniesta's clipped pass beyond Lopez.
But the damage was long done by the irrepressible visitors, who will now contest the final in three months. The Clasico drama is not quite done, however, as both sides will lock horns at Santiago Bernabeu in la Liga on Saturday.



#By Keeghann Sinanan

 

Attack Attack!


Attack Attack! are a 4 piece band from the suburbs of Columbus, Ohio. Featuring Caleb Shomo (Vocals), Andrew Wetzel (Drums), Andrew Whiting (Guitar), and John Holgado (Bass). Attack Attack! started in early 2007 and has morphed over time into the powerhouse it is today. Headlining consistently and being featured on Vans Warped Tour 2 years in a row, the band is obviously in high demand in many territories. They've been credited with starting their very own genre called "Crabcore". They've attracted attention from all over the world and have been featured on Fox News. Many people have been critical of the band, but it would seem that Attack Attack! are only capable of rising upward in the industry. Attack Attack! have already done a successful Australia/New Zealand tour, and are planning to headline all over Europe in the coming months. With the band pushing it's way into markets across the globe. It's safe to say that this band is just getting warmed up.

Tuesday, February 26, 2013

Struktur Data

Struktur Array



 





Suatu array adalah sebuah struktur data yang terdiri atas banyak variabel dengan tipe data sama, dimana masing-masing elemen variabel mempunyai nilai indeks. Setiap elemen array mampu untuk menyimpan satu jenis data (yaitu: variabel).
Sifat Array
Array merupakan struktur data yang statis, yaitu jumlah elemen yang ada harus ditentukan terlebih dahulu dan tak bisa di ubah saat program berjalan.



STRUKTUR ARRAY   
ARRAY SATU DIMENSI 
Pendefinisian array secara umum adalah sebagai berikut: jika kita ingin membuat beberapa array dengan tipe/jenis yang sama, kita lebih baik jika mendeklarasikan dengan type selanjutnya dengan deklarasi var. 

Deklarasi Arrai Satu Dimensi 
tipe_data nama_var_array[ukuran];  

tipe_data  : menyatakan jenis tipe data elemen larik (int, char, float, dll) 
nama_var_array  : menyatakan nama variabel yang dipakai. 
ukuran   : menunjukkan jumlah maksimal elemen larik.

contoh:
char huruf[9]    : berarti akan memesan tempat di memori komputer sebanyak 9 tempat dengan indeks dari 0-8, dimana semua elemennya bertipe data karakter semuanya.  Kalau satu karakter berukuran 1 byte, berarti membutuhkan memori sebesar 9 byte. 
int umur[10]      : berarti akan memesan tempat di memori komputer sebanyak 10 tempat dengan indeks dari 0-9, dimana semua elemennya bertipe data integer semuanya.  Kalau satu integer berukuran 4 bytes, berarti membutuhkan memori sebesar 4 x 10 = 20 bytes. 
int kondisi[2]      : berarti akan memesan tempat di memori komputer sebanyak 2 tempat dengan indeks 0-1, dimana semua elemennya bertipe data integer semuanya.  Dan pada contoh di atas isi elemen-elemennya yang sebanyak 2 buah diisi sekaligus (diinisialisasi) yaitu pada elemen kondisi[0] bernilai 0, dan elemen kondisi[1] bernilai 1. 
int arr_dinamis[]    :berarti mendeklarasikan array dengan ukuran maksimum array tidak diketahui, namun ukuran tersebut diketahui berdasarkan inisialisasi yaitu sebanyak 3 elemen, yang isinya 1,2, dan 3.  Kita tidak dapat mendeklarasikan array dinamis tanpa inisialisasi.   
 

Penjelasan Array Satu Dimensi
- Tanda [] disebut juga “elemen yang ke- „. Misalnya kondisi[0] berarti elemen yang ke nol. 
- Array yang sudah dipesan, misalnya 10 tempat tidak harus diisi semuanya, bisa saja hanya diisi 5 elemen saja, baik secara berurutan maupun tidak.  Namun pada kondisi yang tidak sepenuhnya terisi tersebut, tempat pemesanan di memori tetap sebanyak 10 tempat, jadi tempat yang tidak terisi tetap akan terpesan dan dibiarkan kosong. 

ARRAY DUA DIMENSI
Merupakan sebuah variabel yang menyimpan sekumpulan data yang memiliki tipe sama dan elemen yang akan diakses melalui 2 indeks atau subskrip yaitu indeks baris dan indeks kolom.






 Deklarasi Umum Array Dua Dimensi
tipe_data nama_var_array[batas_baris][batas_kolom]; 
Contoh:  
int matriks[3][4]; 
int matriks2[3][4] = { {5,20,1,11}, {4,7,67,-9}, {9,0,45,3} };

ARRAY MULTIDIMENSI
Dalam array multidimensi terdiri atas baris (row) dan kolom (column). Index pertama adalah baris dan yang kedua adalah kolom.
Array adalah sekumpulan memori untuk suatu nama yang memiliki elemenelemen
data yang sejenis. Sifat-sifat array adalah sebagai berikut :
  1. 1.Mengacu sekumpulan elemen melalui indeks.
  2. 2.Elemen bertipe sama.
  3. 3.Disimpan secara berurutan di memori.
  4. 4.Ukuran tetap, harus dipesan terlebih dahulu.


CARA PENGAKSESAN ELEMEN ARRAY 

- Elemen-elemen array dapat diakses oleh program menggunakan suatu indeks tertentu 
- Pengaksesan elemen array dapat dilakukan berurutan atau random berdasarkan indeks tertentu secara langsung. 
- Pengisian dan pengambilan nilai pada indeks tertentu dapat dilakukan dengan mengeset nilai atau menampilkan nilai pada indeks yang dimaksud. 
- Dalam C, tidak terdapat error handling terhadap batasan nilai indeks, apakah indeks tersebut berada di dalam indeks array yang sudah didefinisikan atau belum.  Hal ini merupakan tanggung jawab programmer.  Sehingga jika programmer mengakses indeks yang salah, maka nilai yang dihasilkan akan berbeda atau rusak karena mengakses alamat memori yang tidak sesuai.  




Followers

Total Pageviews

Flag Counter