Quiz 2: Rust for beginner

Quiz 2: Rust for beginner

9th Grade

15 Qs

quiz-placeholder

Similar activities

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

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

9th Grade

10 Qs

แบบทดสอบ 10 ข้อ ใช้อันนี้

แบบทดสอบ 10 ข้อ ใช้อันนี้

9th - 12th Grade

11 Qs

Kidbright

Kidbright

1st - 12th Grade

10 Qs

TechnologyM3

TechnologyM3

1st - 9th Grade

10 Qs

Network Quiz TH

Network Quiz TH

1st - 10th Grade

16 Qs

หน่วยที่ 3 โครงงานคอมพิวเตอร์

หน่วยที่ 3 โครงงานคอมพิวเตอร์

9th Grade

20 Qs

องค์ประกอบและความรู้เบื้องต้นของหุ่นยนต์

องค์ประกอบและความรู้เบื้องต้นของหุ่นยนต์

9th - 12th Grade

20 Qs

ระบบปฏิบัติการแบบ Cloud

ระบบปฏิบัติการแบบ Cloud

KG - University

15 Qs

Quiz 2: Rust for beginner

Quiz 2: Rust for beginner

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Samit Koyom

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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 ได้

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?