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
20 questions
แบบทดสอบก่อนเรียน (Pre-Test) เทคโนโลยีวิทยาการคำนวณ ม.3
Quiz
•
9th Grade
15 questions
การจัดการข้อมูลและสารสนเทศ (Data and Information Management)
Quiz
•
6th - 10th Grade
12 questions
แอปพลิเคชั่น
Quiz
•
9th - 12th Grade
10 questions
คอร์สที่ 3 เคล็ดลับสอนให้ปัง ดังเข้าไปในใจศิษย์
Quiz
•
KG - Professional Dev...
20 questions
หลักการทำงานของระบบคอมพิวเตอร์ ระดับชั้น ม. 2
Quiz
•
8th - 12th Grade
10 questions
แบบทดสอบม.2 1/68
Quiz
•
8th Grade - University
10 questions
ทดสอบบทที่ 1 วิทยาการคำนวณ ม.3
Quiz
•
9th Grade
11 questions
แนวคิดเชิงคำนวณกับการแก้ปัญหา
Quiz
•
5th Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
