Quiz 2: Rust for beginner
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Samit Koyom
Used 3+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Keyword ใดใช้สำหรับการประกาศตัวแปรในภาษา Rust
var
declare
const
let
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ตัวแปรจะมีคุณสมบัติเป็นอะไรด้วยค่า default
Immutable
Mutable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
เครื่องหมายใดใช้สำหรับการทำ interpolate string
<>
{}
:?
""
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ภาษา Rust เริ่มนับตำแหน่ง (index) จากตำหน่งที่ ?
-1
0
1
2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ใช้ keyword ใดในการ ทำให้ตัวแปรเป็น mutable
mute
mut
mutable
const
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ใช้เครื่องหมายใดในการประกาศตัวแปรเพื่อบอก Compiler ว่าให้ข้ามการตรวจสอบการใช้งาน (unused) ตัวแปรไป
#
!
?
_
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดแสดง ผลลัพธ์จากการรันโค้ดด้านล่างนี้
fn main() {
let latte = "Latte";
let cappuccino = "Cappuccino";
println!("I like {1} and {2}", latte, cappuccino);
}
"I like Latte and Cappuccino"
"I like Cappuccino and Latte"
"I like latte and cappuccino"
โค้ดไม่สามารถ compile ได้
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?
Similar Resources on Wayground
10 questions
แบบทดสอบก่อนเรียน บทที่ 1
Quiz
•
1st - 12th Grade
16 questions
แบบทดสอบ เทคโนโลยีเพิ่มมูลค่า
Quiz
•
9th Grade
12 questions
แบบทดสอบความรู้ทั่วไปเกี่ยวกับคอมพิวเตอร์และเทคโนโลยีสารสนเทศ
Quiz
•
9th - 12th Grade
10 questions
บทที่ 2 การเปลี่ยนแปลงของเทคโนโลยี
Quiz
•
KG - Professional Dev...
10 questions
การนำเสนอ
Quiz
•
9th Grade
15 questions
Hardware & Software
Quiz
•
8th - 12th Grade
10 questions
สัญลักษณ์ผังงาน
Quiz
•
7th - 9th Grade
20 questions
โปรแกรมMICRO SOFT POWERPOINT
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
