KT 15p lớp 10_b22,23

Quiz
•
Education
•
9th - 12th Grade
•
Easy
Nguyễn Ngọc Tuấn
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Phương thức nào sau đây dùng để thêm phần tử vào cuối list trong python?
abs()
link()
append()
add()
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Danh sách A sẽ như thế nào sau các lệnh sau?
A = [2, 3, 5, 6]
A. append(4)
del (A[2])
print(A)
[2, 3, 6, 4]
[2, 3, 5, 4]
[3, 6, 4]
[2, 3, 6, 5, 4]
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Kết quả của chương trình sau là gì?
A = [2, 3, 5, "python", 6]
A.append(4)
A.append(2)
A.append("x")
del(A[2])
print(len(A))
5
6
7
8
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Cho arr = [‘xuan’, ‘hạ’, 1. 4, ‘đông’, ‘3’, 4.5, 7]. Đâu là giá trị của arr[3]?
1.4
'đông'
'3'
4.5
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Lệnh nào để duyệt từng phần tử của danh sách?
for
while - for
for kết hợp với lệnh range()
while kết hợp với lệnh range()
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Lệnh xoá một phần tử của một danh sách A có chỉ số i là:
list.del(i)
A. del(i)
del A[i]
A. del[i]
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Chương trình sau thực hiện công việc gì?
S = 0
for i in range(len(A)):
if A[i] > 0: S = S + A[i]
print(S)
Duyệt từng phần tử trong A
Tính tổng các phần tử trong A
Tính tổng các phần tử không âm trong A
Tính tổng các phần tử dương trong A
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python

Quiz
•
1st Grade - Professio...
12 questions
python list

Quiz
•
9th Grade
20 questions
G10 - Ôn tập HK1 môn ICT

Quiz
•
10th Grade
10 questions
Ουρές Python

Quiz
•
12th Grade
10 questions
Fingerprint Classification

Quiz
•
9th - 12th Grade
20 questions
Test nguyen tu, cau hinh e, bang TH - co nang cao (L)

Quiz
•
10th Grade
15 questions
Python_if-else

Quiz
•
9th - 10th Grade
20 questions
TIN HỌC 11 - TX2-HK2-2425

Quiz
•
11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Education
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade