
Quiz 2: Rust for beginner
Authored by Samit Koyom
Computers
9th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
11 questions
แนวคิดเชิงคำนวณกับการแก้ปัญหา
Quiz
•
5th Grade - Professio...
20 questions
แบบทดสอบก่อนเรียน (Pre-Test) เทคโนโลยีวิทยาการคำนวณ ม.3
Quiz
•
9th Grade
10 questions
สอบปลายภาคเรียน2/64 วิทยาการคำนวณ
Quiz
•
9th Grade
20 questions
คอมพิวเตอร์(word)
Quiz
•
2nd - 9th Grade
20 questions
ข้อสอบกลางภาค วิชา การออกแบบและเทคโนโลยี ม.3
Quiz
•
9th Grade
20 questions
บทที่ 6 การออกแบบเชิงวิศวกรรม
Quiz
•
9th Grade
10 questions
คอร์สที่ 3 เคล็ดลับสอนให้ปัง ดังเข้าไปในใจศิษย์
Quiz
•
KG - Professional Dev...
10 questions
ทดสอบบทที่ 1 วิทยาการคำนวณ ม.3
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade
60 questions
MOS Word Home, Insert, Reference Ribbon Basics
Quiz
•
9th Grade