Perintah berikut digunakan untuk mencetak Hello World
Codean Java - Conditional

Quiz
•
Information Technology (IT)
•
University
•
Hard
Kapten Nemo
Used 1+ times
FREE Resource
48 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
System.out.println(Hello World);
System.out.println("Hello World");
system.out.println("Hello World");
system.out.println(Hello World);
System.Out.Println("Hello World");
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perintah berikut digunakan untuk mendeklarasikan variabel it bertipe byte
Byte it;
it byte;
byte it;
byte: it;
it: byte;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pernyataan berikut yang salah
int merupakan tipe untuk bilangan bulat
double merupakan tipe untuk bilangan pecahan
String merupakan tipe yang sudah berupa struktur/kelas
boolean merupakan tipe untuk nilai logika benar-salah
char merupakan tipe untuk kumpulan karakter
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perintah berikut digunakan untuk mengisi nilai abc ke xyz
xyz = abc;
abc -> xyz;
abc = xyz;
abc == xyz;
xyz == abc;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perintah berikut digunakan untuk membaca nilai integer
Scanner sc = new Scanner(System.in);
Scanner sc = new System(Scanner);
x = sc.nextInt();
import java.util.Scanner;
int x = Scanner.nextInt();
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scanner input = new Scanner(); Perintah tersebut menghasilkan error karena
Perintah membaca belum disimpan ke dalam variabel
Input merupakan reserved word (tercetak tebal), tidak bisa digunakan sebagai variabel
Seharusnya tidak menggunakan perintah new
Belum menggunakan fungsi nextInt()
Konstruktor Scanner() perlu diberi parameter
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perintah manakah yang mengeluarkan pesan kesalahan
boolean b = c > d;
double i = 6 % 3;
int a = 2 - 3 * 4;
int j = 100 / 7;
String e = 'f' + "gh";
Create a free account and access millions of resources
Similar Resources on Quizizz
50 questions
Uji Kompetensi Programmer

Quiz
•
University
50 questions
Mengenal Algoritma Pemrograman Scratch

Quiz
•
10th Grade - University
50 questions
Основы Java программирования

Quiz
•
University
50 questions
Quiz Pengetahuan Umum

Quiz
•
10th Grade - University
49 questions
Algorithmization and Programming

Quiz
•
University
50 questions
Java қазақша 51 - 100

Quiz
•
University
45 questions
Ujian Pemrograman Dasar

Quiz
•
University
50 questions
тест

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade