
Lập trình shell 1
Authored by Lê Hưng
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo mới 1 file có tên là tep.sh ta chọn đáp án nào?
Cat tep.sh
Cat >tep.sh
Vi tep.sh
VIM tep.sh
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi tạo tệp xong bằng lệnh cat >tep.sh chúng ta tiến hành nhập dữ liệu muốn lưu lại và thoát khỏi file ta chọn đáp án nào?
Ctrl+D
Alt+D
Ctrl+S
Shift+S
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong danh sách tên biến sau tên biến nào bị sai?
tenbien$
tenbien123
ten_bien
_tenbien
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu sau đúng hay sai? "1 file shell script chỉ có quyền thực hiện mới chạy được file"
Đúng
Sai
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bạn Nam viết chương trình nhập 2 số a, b từ bàn phím rồi thực hiện tính tổng 2 số đó, bạn ấy phải thực hiện phép gán biểu thức nào cho đúng?
tong=$((a+b))
tong=a+b
tong= (( a+b ))
tong = $ (a+b)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi chạy 1 chương trình shell script mà bị lỗi chúng ta tiến hành sửa lỗi bằng cách nào?
vi <tên tệp>
vitentep
VIM # <tên tệp>
VIMtentep
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chọn câu lệnh phù hợp cho việc nhập dữ liệu từ bàn phím 1 số có tên a?
read $a
echo "Nhập số a: $a"
echo "Nhập vào a:"
read -p "Nhập a:" a
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Excel
Quiz
•
12th Grade - University
10 questions
Soạn thảo văn bản Microsoft Word
Quiz
•
1st Grade - University
10 questions
Bài 15: Bài toán tin học
Quiz
•
9th Grade - University
15 questions
Bill Gates
Quiz
•
University
10 questions
Bài 10 - Cấu trúc rẽ nhánh
Quiz
•
5th Grade - University
15 questions
Ôn tập học kì 1 Tin học 4
Quiz
•
4th Grade - University
15 questions
Ôn tập giữa kỳ I Tin Học 9 [01]
Quiz
•
5th Grade - University
13 questions
Bài 16 Định dạng khung
Quiz
•
12th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University