
Lập trình shell 1

Quiz
•
Computers
•
University
•
Easy
Lê Hưng
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Quiz về soạn thảo văn bản

Quiz
•
5th Grade - University
10 questions
Python Basics

Quiz
•
University
10 questions
Bài kiểm tra Tin học

Quiz
•
University
12 questions
ÔN HKII KHỐI 3

Quiz
•
3rd Grade - University
10 questions
QUIZ ÔN TẬP CNTT

Quiz
•
University
11 questions
2.2 Methods of Error Detection Cambridge IGCSE 0478

Quiz
•
10th Grade - University
15 questions
SOM - Comandos LINUX

Quiz
•
9th Grade - University
10 questions
Thư viện Tkinter - Label

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University