
Pemboleh ubah, Pemalar, Jenis Data T4 SK
Authored by CHONG Moe
Computers
12th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
Isytiharkan pemboleh ubah bernama "Nama" dengan nilai John
(a)
2.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
Isytihar pemboleh ubah Markah dengan nilai 80
(a)
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Apakah jenis data yang sesuai bagi harga barang RM 29.90
Float
Integer
String
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lengkapkan atur cara hasil tambah 2 + 10 menggunakan pembolehubah x dan y
..........................
int y = 10;
System.out.println (x+y);
int x = 2;
float x = 2;
String x = 2;
int x = 10;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lengkapkan atur cara berikut.
int x = 5;
int y = 10;
_____ = x + y;
System.out.println (z);
int y
z
int z
String z
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Paparkan output bagi atur cara hasil darab berikut.
int x = 2;
float y = 1.2;
float Harga = x * y;
System.out.println (Harga);
36
24
3.6
2.4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lengkapkan kod segmen bagi memaparkan hasil darab berikut:
int x = 8;
float y = 1.5;
float Harga = x * y;
.................................................
System.in.println (Harga);
System.out.println (Harga);
Sistem.out.println (Harga);
System.out.println (harga);
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?