
Ôn tập CK 2
Authored by Giáo Viên Thăng Long
Computers
10th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là sai?
Dùng câu lệnh for ta cũng thể hiện được cấu trúc lặp với số lần không biết trước.
Dùng câu lệnh while ta cũng thể hiện được cấu trúc lặp với số lần biết trước.
Trong Python có 2 dạng lặp: Lặp với số lần biết trước và lặp với số lần không biết trước.
Câu lệnh thể hiện lặp với số lần không biết trước phải sử dụng một biểu thức logic làm điều kiện lặp.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cấu trúc lặp với số lần biết trước là:
for
for
while <Điều kiện>:
for
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
“Các lệnh mô tả hàm” phải viết:
Lùi vào theo quy định của Python.
Thẳng hàng với lệnh def.
Ngay sau dấu hai chấm (:) và không xuống dòng.
Viết thành khối và không được lùi vào.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau: def t(a1,b1): s=a1*b1 a,b=map(int,input().split()) print((a,b)) Lỗi sai trong đoạn chương trình trên là:
Thiếu lệnh return giá trị cần trả về ở cuối thân hàm.
Thiếu tham số hình thức.
Thiếu dấu ‘:’ cuối dòng đầu tiên của định nghĩa hàm.
Thiếu lời gọi hàm.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau: def h(a1,b1): s=a1-b1 return s a,b=map(int,input().split()) t=h(a,b) print(t) Trong đoạn chương trình trên lời gọi hàm với đối số truyền vào là:
h(a,b)
h(a1,b1)
return s
s=a1-b1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6: Cho xâu st=’abc’. S[0]=?
‘a’
‘b’
‘c’
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
s='abcde' print(s[1:4]) Trên màn hình máy tính sẽ xuất hiện xâu:
'bcd'
'bcde'
'abc'
'cde'
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
45 questions
Tin - 12 - ck1
Quiz
•
12th Grade
47 questions
Các loại mạng
Quiz
•
KG - 10th Grade
50 questions
K10 - Giữa HK II
Quiz
•
10th Grade
50 questions
TIN HỌC 8 - ÔN TẬP GK1 2425
Quiz
•
8th Grade - University
50 questions
Ôn tập KTGK2 Tin 11
Quiz
•
9th - 12th Grade
50 questions
TIN HỌC 10 - ÔN TẬP GK1 2425
Quiz
•
10th Grade - University
50 questions
ÔN TẬP GKII TIN 10
Quiz
•
10th Grade
50 questions
Tin 11 -ck2
Quiz
•
11th Grade
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
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade