Quiz 2: Rust for beginner

Quiz 2: Rust for beginner

9th Grade

15 Qs

quiz-placeholder

Similar activities

ตอบปัญหาคอมพิวเตอร์มัธยมศึกษาตอนต้น

ตอบปัญหาคอมพิวเตอร์มัธยมศึกษาตอนต้น

6th - 9th Grade

20 Qs

แบบทดสอบ เรื่อง ความฉลาดของ AI

แบบทดสอบ เรื่อง ความฉลาดของ AI

5th Grade - University

10 Qs

Photoshop Post-test

Photoshop Post-test

7th - 10th Grade

15 Qs

ติวข้อสอบกลางภาค

ติวข้อสอบกลางภาค

7th - 9th Grade

20 Qs

ฮาร์ดแวร์และยูทิลิตี้

ฮาร์ดแวร์และยูทิลิตี้

9th Grade

20 Qs

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

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

8th - 12th Grade

10 Qs

แบบทดสอบก่อนเรียนหน่วยที่ 1 เรื่องเทคโนโลยีเปลี่ยนโลก

แบบทดสอบก่อนเรียนหน่วยที่ 1 เรื่องเทคโนโลยีเปลี่ยนโลก

9th Grade

15 Qs

Software

Software

KG - 12th Grade

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