Chương 2

Chương 2

University

20 Qs

quiz-placeholder

Similar activities

Trắc nghiệm luật phá sản

Trắc nghiệm luật phá sản

University

20 Qs

Soal Extra - Quiz Webinar Harling 2022 KIDECO

Soal Extra - Quiz Webinar Harling 2022 KIDECO

University - Professional Development

15 Qs

La Dialéctica

La Dialéctica

University

15 Qs

Rabelais Gargantua chapitres XLI- L

Rabelais Gargantua chapitres XLI- L

10th Grade - University

20 Qs

UAS AKUNTANSI MANAJEMEN

UAS AKUNTANSI MANAJEMEN

University

15 Qs

Chancado y molienda

Chancado y molienda

University

17 Qs

LIQUID LIQUID EXTRACTION

LIQUID LIQUID EXTRACTION

University - Professional Development

15 Qs

TRIVIA DE QUEMADURAS

TRIVIA DE QUEMADURAS

University

20 Qs

Chương 2

Chương 2

Assessment

Quiz

Other

University

Practice Problem

Easy

Created by

Chung Quan

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Câu 1:
Lệnh sudo shutdown có chức năng gì trên BeagleBone Black?

  • A. Tắt board ngay lập tức

B. Thoát khỏi phiên làm việc hiện tại

  • C. Khởi động lại board ngay lập tức

  • D. Hiển thị thông tin về phiên bản hệ điều hành

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Câu 2:
Tên mặc định (Username) khi đăng nhập vào BeagleBone Black là gì?

  • A. admin

B. debian

  • D. root

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Câu 3:
Để cài đặt GCC trên hệ điều hành Ubuntu, lệnh nào dưới đây được sử dụng?

  • A. sudo install gcc

  • B. sudo apt-get install gcc

  • C. gcc install

  • D. install gcc

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Câu 4:
Lệnh nào dùng để biên dịch một file C có tên là "program.c" bằng GCC?

  • A. compile program.c

B. gcc program.c -o program

  • C. gcc program.c -run

  • D. gcc run program.c

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Câu 5:
Khi sử dụng lệnh gcc program.c -o output, "output" trong câu lệnh này là gì?

  • A. Tên của file đầu ra sau khi biên dịch

  • B. Thông báo lỗi của chương trình

  • C. Tên của chương trình biên dịch

  • D. Tên của thư mục chứa chương trình

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Câu 6:
Để biên dịch một file C thành file thực thi mặc định a.out, bạn sử dụng lệnh nào?

A. gcc program.c -output

  • B. gcc program.c

  • C. gcc -run program.c

  • D. gcc -exec program.c

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Câu 7:
Cho tệp hello.c chứa mã nguồn chương trình C:

#include <stdio.h>

int main() {

    printf("Hello world!");

    return 0;

}

Để biên dịch tệp này thành một tệp thực thi có tên a.out trong Linux, bạn cần chạy lệnh nào sau đây?

  • A. gcc hello

  • B. gcc -compile hello.c -o hello

  • C. gcc hello.c -o hello

  • D. gcc hello.c

Create a free account and access millions of resources

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?