Quiz 2: Rust for beginner

Quiz 2: Rust for beginner

9th Grade

15 Qs

quiz-placeholder

Similar activities

พลเมืองดิจิทัล

พลเมืองดิจิทัล

9th - 12th Grade

20 Qs

Pre-Post Unit 2

Pre-Post Unit 2

KG - University

10 Qs

ออกแบบเทคโนโลยี ม1 ชุดที่ 1

ออกแบบเทคโนโลยี ม1 ชุดที่ 1

9th Grade

10 Qs

แบบทดสอบ : การสืบค้นข้อมูล

แบบทดสอบ : การสืบค้นข้อมูล

9th Grade

20 Qs

บทที่6การใช้เทคโนโลยีสารสนเทศอย่างรู้เท่าทัน

บทที่6การใช้เทคโนโลยีสารสนเทศอย่างรู้เท่าทัน

9th Grade

12 Qs

อินเตอร์เน็ต

อินเตอร์เน็ต

9th - 12th Grade

12 Qs

การพัฒนาแอปพลิเคชัน

การพัฒนาแอปพลิเคชัน

9th Grade

15 Qs

Infographic

Infographic

9th - 12th Grade

20 Qs

Quiz 2: Rust for beginner

Quiz 2: Rust for beginner

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Samit Koyom

Used 3+ times

FREE Resource

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

null หรือ undefined

Immutable

Mutable

false

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

ข้อใดแสดง ผลลัพธ์จากการรันโค้ดด้านล่างนี้

  1. fn main() {

  2. let latte = "Latte";

  3. let cappuccino = "Cappuccino";

  4. println!("I like {1} and {2}", latte, cappuccino);

  5. }

"I like Latte and Cappuccino"

"I like Cappuccino and Latte"

"I like latte and cappuccino"

โค้ดไม่สามารถ compile ได้

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?