Friday, March 25, 2011

ney ha..kalau nak taw apa yang kami blajar lam ISA...
yang ney...
one of the example laa...
tyme tgah2 check folder..
..terjumpa laa folder yang ade "benda" yang pernah buat aku sangat tension hari tu ney..
try dis..using netbean@blueJ...

this is one of the assignment that we've gtten ;)

1. Number Puzzle : Users task is to guess 4 digits generated by your program. Those digits should be unique. Your program will be given hint to users based on their guess.

Number of Green – Right digit at the right place

Number of Red – Right digit but at the wrong place

For example :

Number generated is 4589

User guess is 4810

Hint: 1 Green 1 Red

Use Netbeans for the assignment

and..this is my answer..hahha. . .
(tak taw laa betul ke tak ape yg aku coding merepek2 tu)
but at least,,I've completed the assignmnent!
bila daa siap tu..fuh..
what a relief..!


* 1100028

import java.util.InputMismatchException;
import java.util.Random;
import java.util.Scanner;
public class GuessFourDigits

public static void main(String[] args){
Random gen= new Random();
int digits= 0;
while(hasDupes(digits =(int) (Math.random()*9000) + 1000));
String digitsStr = digits +"";
boolean guessed = false;
Scanner input = new Scanner(;
int guesses = 0;
int GREEN = 0;
int RED = 0;
System.out.print("Lets Play Guessing Numbers with Us..!");
System.out.print("Guess 4-input number >>from 1000-9999<<>
int guess;
guess = input.nextInt();
if(hasDupes(guess) || guess <>
}catch(InputMismatchException e){
String guessStr = guess + "";
for(int i= 0;i <>
if(guessStr.charAt(i) == digitsStr.charAt(i)){
}else if(digitsStr.contains(guessStr.charAt(i)+"")){
if(GREEN == 4){
guessed = true;
System.out.println(RED+" RED and "+GREEN+" GREEN.");
System.out.println("Excellent..! You guess is CORRECT after "+guesses+" guesses!");
public static boolean hasDupes(int num){
boolean[] digs = new boolean[10];
while(num > 0){
if(digs[num%10]) return true;
digs[num%10] = true;
num/= 10;
return false;

..tapi jgan laa sebab coding yang pelik ney...
..korang jady tak minat ngan ISA... kos ney oke..

till we meet again!

("The Making of. . .");

..allaaaa...homework budak tadika mana yg tersesat masuk KK1 neyh??!..
.. ney dye master mind kitaorg..! (sape tu..??!) hehehe..

okeyh guys..
i just wanna share some simple little thing 'bout what we have done la
st night....till morning actually!
ni antara aktiviti2 yg group aku buat semalam..!
wow..! 0,o
..tyme ni..daa 12am..tak reti tdo ke diorg ney??..

First thing first,
we had an assignment that need us to make an English video!
our group members are;


..ish. . .takleyh berenggang ngan c belang dye tu..!..

actually this post is only about the progressing of MY group..
not for the entire ISA's. . .
..c belang pon nak amek port??! pdahal tak wat keje pon!..

(group len wa ta amek peduli k..hehhe)

saje2 nak show off kat group len je ney..haha
6t klo diorang pn upload jgak sal movie diorg...
penuh laa blog ney ngan vdeo ISA!!

..aii..budak2 ney..kalo bab 1..!..

So..this is it! We hope that we will succeed in our video's assignment..!
..please pray for us too ok..! ;)..

**its taking too long to upload the I've skipped it..maybe we'll upload it later**

Saturday, March 19, 2011

"Opera has released a new beta version of its web browser with various enhancements to the user interface, features and performance. Codenamed Barracuda, Opera 11.10 has an improved Speed Dial implementation with clearer previews, and the ability to see live content from sites. The beta also allows you to have unlimited dials instead of the 5x5 matrix cap imposed on previous builds, there are new Speed Dial layouts, and the zoom function has been improved.

Barracuda sees the addition of Opera's Presto 2.8 rendering engine which brings compatibility for Google's WebP image format as well as CSS3 gradients for background and background-image properties. Among the less obvious changes, Opera says plug-ins are
easier to install and use. As an example, the company noted that Adobe Flash Player installs "seamlessly and automatically." Opera also cites interface tweaks that make it easier to discover the browser's features"


so my friend..what do
you think after reading above text?
wanna try OPERA?

as I can see,most of us (USIM student, especially) are using chrome,FF,etc..
(mostly chrome).. so,what if you try this browser?
I, the Opera 11.10's user,quite satisfied with it.
It is fast and any security vulnerabilities are quickly patched!


berbelit lidah nak cakap bhasa orang PUTIH ney..^,^ ckap bhasa ibunda laa plak.. lagy senang..!
anyway kawan2..skrg kalo nak try opera latest ney..boleh laa..sesekali nak tukar angin..mane la taw daa buuusan ngan chrome..(tapi cam impossible je kawan2 aku ney busan ngan chrome...sebab mostly,klo aku usha..mesty gne chrome
sometimes guna IE..tu pon klo nak browse sesawang USIM..alahai.. =,='

okey laa friends..smpai cni dlu tuk Opera..
laen kali mybe kte leh cte sal Sydney Opera House plak ^,^ tapi kena tggu aku p sana dulu r..bwu best nak cte pjang lebar..heehe
ok la..'ve a great day guys..!

:::nukilan chayer,SA*:::

sebab aku daa naek stress tgok blog ney cam daa nak reput ditelan anai2..
(bukan stakat berhabuk!)
meh laa aku nak share cket bnda ngan korunk sume...(aku ade terpk jugak...bzy sgat ke dak2 ISA ney..smpy tak sempat nak jenguk blog ney...)
~aku pon termasuk skali laa...! aish...! okey laa..okey laa...
ni nak cter sal virus cket ney...nak cter satu per satu...tade r pro sgat smpy tahu sume an...

let's us read bout this article;
(about KAMA SUTRA)

"The Kama Sutra Computer malware, which affected millions of computers in 2006, is back again. Internet security site Sophos alerts the hackers are spreading a nasty computer virus with a file offering a PowerPoint presentation of sexual positions from the Kama Sutra.

The malware comes as a file called Real kamasutra. pps. exe, the old double-extension trick. When you click on the file you do get to see a real PowerPoint presentation, but in the background a backdoor Trojan called Troj/Bckdr-RFM is installed which allows hackers to gain remote access to your computer.

Once they have broken into your computer, they can use it to relay spam around the world, grab your identity, spy on your activities, install revenue-generating adware or launch denial of service attacks."

-credits to Jose Tinto
(thanks for this article!) a precaution step..kita jgan r maen click je kat mane2 link yang kita
rasa nak click okey..kena consider la jgak efek dye tu... ;)
ha...lagy satu..jgan lupa update anti-virus korunk yer..! jangan smpy computer@laptop korunk demam dulu,bwu korunk nak bawak gy klinik...
"mencegah lebih baik daripada mengubati.."
tak gtu my friends? heehe
ok guys,for more information,you can go to;

(yang ini boleh laa kalau nak clik pon)

:::nukilan chayer,SA*:::