Quiz 2: Rust for beginner

Quiz 2: Rust for beginner

9th Grade

15 Qs

quiz-placeholder

Similar activities

coding

coding

KG - Professional Development

10 Qs

Techno PDPA

Techno PDPA

9th - 12th Grade

20 Qs

Pre-Post Unit1

Pre-Post Unit1

KG - 12th Grade

10 Qs

คุณธรรม จริยธรรม ในการใช้เทคโนโลยีสารสนเทศ

คุณธรรม จริยธรรม ในการใช้เทคโนโลยีสารสนเทศ

9th Grade

15 Qs

ตำแหน่งม.4

ตำแหน่งม.4

9th Grade

10 Qs

แบบทดสอบหลังเรียนบทที่ 2 สร้างสรรค์ผลงานด้วยภาษาไพทอน

แบบทดสอบหลังเรียนบทที่ 2 สร้างสรรค์ผลงานด้วยภาษาไพทอน

9th Grade

10 Qs

บทที่ 3 ผลกระทบของเทคโนโลยี

บทที่ 3 ผลกระทบของเทคโนโลยี

1st Grade - Professional Development

10 Qs

วิทยาการคำนวณ ม.3 หน่วยที่ 1

วิทยาการคำนวณ ม.3 หน่วยที่ 1

9th Grade

10 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?