
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
PF Unit 10
Quiz
•
9th Grade - University
10 questions
Bài tập biểu mẫu
Quiz
•
University
13 questions
Artificial Intelligence
Quiz
•
3rd Grade - University
15 questions
Thử tài giải đố
Quiz
•
University
10 questions
Khám phá máy tính lớp 5
Quiz
•
10th Grade - Professi...
11 questions
Linux Commands
Quiz
•
University
10 questions
Kiểm tra thường xuyên
Quiz
•
University
10 questions
TIN HỌC 9: BÀI 8 THỰC HÀNH: SỬ DỤNG CÔNG CỤ TRỰC QUAN TRÌNH BÀY
Quiz
•
9th Grade - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University