Quiz 2: Rust for beginner

Quiz 2: Rust for beginner

9th Grade

15 Qs

quiz-placeholder

Similar activities

Infographic

Infographic

9th - 12th Grade

20 Qs

การจัดการข้อมูลและสารสนเทศ (Data and Information Management)

การจัดการข้อมูลและสารสนเทศ (Data and Information Management)

6th - 10th Grade

15 Qs

การเปลี่ยนแปลงทางเทคโนโลยี

การเปลี่ยนแปลงทางเทคโนโลยี

8th - 10th Grade

10 Qs

แบบทดสอบคอมพิวเตอร์กราฟิก

แบบทดสอบคอมพิวเตอร์กราฟิก

7th - 9th Grade

20 Qs

แบบทดสอบหลังเรียนบทที่2วิทยาการคำนวณ

แบบทดสอบหลังเรียนบทที่2วิทยาการคำนวณ

9th - 12th Grade

20 Qs

ล อน ม.2

ล อน ม.2

9th Grade

10 Qs

Pre-Post Unit 2

Pre-Post Unit 2

KG - University

10 Qs

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

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

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 2+ 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?