
Quizizz - SS02 - TSU PLUS - Java Fundamental

Quiz
•
Information Technology (IT)
•
University
•
Hard
academy rikkei
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để nhập một chuỗi có chứa dấu cách, nên dùng phương thức nào?
A. next()
B. nextChar()
C. nextLine()
D. readLine()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử người dùng nhập "Hello 123", đoạn mã sau sẽ in gì?
A. Hello
B. 123
C. Hello 123
D. Không in gì
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là lệnh đúng để nhập số thực kiểu float?
A. float x = sc.nextInt();
B. float x = sc.nextFloat();
C. float x = sc.nextDouble();
D. float x = sc.next();
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nếu người dùng nhập 10, lệnh System.out.printf("x = %d", 10); sẽ in:
A. x = d
B. x = 10
C. %d
D. Lỗi
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào dưới đây có tác dụng in kết quả mà không xuống dòng?
A. System.out.println("Kết quả");
B. System.out.print("Kết quả");
C. System.out.newLine("Kết quả");
D. System.println("Kết quả");
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi nào nên dùng System.out.printf() thay vì println()?
A. Khi in biến kiểu chuỗi
B. Khi cần định dạng đầu ra rõ ràng
C. Khi nhập dữ liệu
D. Khi lặp nhiều lần
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh System.out.printf("KQ: %.1f", 3.1415); sẽ in:
A. KQ: 3.1
B. KQ: 3.14
C. KQ: 3.1415
D. Lỗi
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Scratch session 13

Quiz
•
University
15 questions
Trắc nghiệm tin CĐR-3 (c33 đến c47)

Quiz
•
University
15 questions
Quiz về Kiểu Dữ Liệu List và Set (1)

Quiz
•
7th Grade - University
15 questions
Bài 26

Quiz
•
10th Grade - University
15 questions
Bài 25

Quiz
•
10th Grade - University
15 questions
Session 12 + 13 + 14: Searching and Sorting Algorithms

Quiz
•
University
14 questions
SQA_Nhom9

Quiz
•
University
15 questions
Session 04: Branching statements

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University