
Sains Komputer T4 : 1.6.4
Authored by noor ishak
Computers
10th - 11th Grade
Used 19+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Di bawah menunjukkan pengisytiharan parameter dalam aturcara.
static void Untung( int jualan) { }
Berikan nama parameter
jualan
int jualan
Untung
static void
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Fungsi utiliti merupakan fungsi built in dalam Java, iaitu sedia ada dalam bahasa pengaturcaraan Java.
Pilih fungsi utiliti dalam Java yang telah anda pelajari.
Math.sqrt (double n)
Math.round (double n)
Math.floor (double n)
Math.max (double m, double n)
Math.min (double m, double n)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Persamaan di antara Function dan Procedure ialah
mempunyai sintaks return
mengembalikan kawalan
memulangkan data
tidak memulangkan data
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
contoh definisi :
static void hasilTambah (int a, int b) {
int hasil = a + b;
System.out.print ( hasil );
}
Di atas menunjukkan definisi bagi ________________.
prosedure
function
parameter
fungsi utiliti
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
static int jumlahBola (int x, int y ) {
int jumlah;
jumlah = x + y;
return jumlah ;
}
Subaturcara diatas adalah definisi bagi ______________
procedure
function
subatur cara
fungsi utiliti
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?