
1.2.6 Menterjemah algoritma ke bahasa pengaturcaraan
Quiz
•
Information Technology (IT)
•
11th Grade
•
Medium
Rupasree Suntharesan
Used 1+ times
FREE Resource
Enhance your content
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apakah fungsi Scanner dalam Java?
A. Untuk mencetak output ke skrin
B. Untuk mengambil input daripada pengguna
C. Untuk membuat pengiraan matematik
D. Untuk menutup program
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Apakah kata kunci yang digunakan untuk mencipta objek Scanner dalam Java?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apakah jenis data yang digunakan untuk menyimpan nama pengguna dalam program ini?
String nama = input.nextLine();
A. int
B. double
C. char
D. String
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kod berikut akan menghasilkan ralat kerana nextLine() tidak digunakan dengan betul.
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("Masukkan nama anda: ");
String nama = input.next();
System.out.println("Hello " + nama);
}
}
A. Betul
B. Salah
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apakah kata kunci yang digunakan dalam Java untuk mencetak teks ke skrin?
A. printText()
B. console.log()
C. System.out.println()
D. displayText()
Similar Resources on Wayground
10 questions
Informatika2
Quiz
•
11th Grade
10 questions
Logical Reasoning & Learning to Code
Quiz
•
11th Grade
10 questions
tiết 2-bài 16 tin 10
Quiz
•
11th Grade
10 questions
Informatika 2
Quiz
•
7th Grade - University
10 questions
PRETEST KODING DAN KA
Quiz
•
5th Grade - University
10 questions
Uji Pemahaman Excel dan Spreadsheet
Quiz
•
11th Grade
10 questions
Embedded Sys - kelas 11
Quiz
•
11th Grade - University
10 questions
FUNGSI REFERENCE
Quiz
•
8th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
17 questions
Afro Latinos: Una Historia Breve Examen
Quiz
•
9th - 12th Grade
17 questions
Hispanic Heritage Month Trivia
Quiz
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade