Search Header Logo

Quiz 1: Rust for Beginner

Authored by Samit Koyom

Computers

7th Grade

Used 3+ times

Quiz 1: Rust for Beginner
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่ง command-line สำหรับคอมไพเลอร์ของ Rust คืออะไร?

rustup

cargo

rustco

rustc

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ไฟล์ของ Rust มีนามสกุลไฟล์อะไร?

.ru

.rt

.rs

.rust

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เราเขียนซอร์สโค้ดของ Rust ไว้ที่ไหน?

ภายในไฟล์ Cargo.toml

ภายในโฟลเดอร์ target

ภายในโฟลเดอร์ src

ภายในโฟลเดอร์ source

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่ง cargo build ทำหน้าที่อะไร?

ทำการจัดรูปแบบ code ให้อ่านง่าย

ทำการ build และสร้างไฟล์สำหรับ executable จากซอสโค้ด

ทำการ build และสร้างไฟล์สำหรับ executable จากซอสโค้ด และรันไฟล์นี้ขึ้นมา

cargo build ไม่สามารถทำงานได้ถูกต้อง

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ทุกโปรแกรมของ Rust จะต้องมีฟังก์ชันที่ชื่อว่าอะไร?

primary

main

launch

start

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่งอะไรที่ใช้ลบไฟล์ executable ที่คอมไพล์แล้วทั้งหมดออกจากโปรเจกต์ปัจจุบัน?

cargo delete

cargo build

cargo clean

cargo run

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

โหมดพื้นฐาน (default) ที่ cargo ใช้ในการ build โปรเจกต์คือโหมดอะไร?

debug

default

release

test

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?