
B22.3-Tin10
Quiz
•
Instructional Technology
•
12th Grade
•
Practice Problem
•
Hard
TRUC Ng
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong python, để khai báo một danh sách và khởi tạo sẵn một số phần tử ta dùng cú pháp nào?
< tên danh sách > = [< danh sách phần tử, phân cách bởi dấu phẩy >].
< tên danh sách > = [].
[< danh sách phần tử, phân cách bởi dấu phẩy >].
< tên danh sách > = [0].
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đối tượng dưới đây thuộc kiểu dữ liệu nào? A = [1, 2, '3']
list.
int.
float.
string.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho khai báo mảng sau: A = list("3456789") Để in giá trị phần tử thứ 2 của mảng một chiều A ra màn hình ta viết:
print(A[2]).
print(A[1]).
print(A[3]).
print(A[0]).
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là kiểu dữ liệu danh sách?
list.
bool.
str.
int.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để gọi đến phần tử đầu tiên trong danh sách a ta dùng lệnh gì?
a.[1].
a[0].
a.0.
a[].
6.
MULTIPLE CHOICE QUESTION
30 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.
hạ.
3.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử có một list: i = [2, 3, 4]. Nếu muốn in list này theo thứ tự ngược lại ta nên sử dụng phương pháp nào sau đây?
print(list(reversed(i))).
print(list(reverse(i))).
print(reversed(i)).
print(reversed(i)).
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
JavasCript
Quiz
•
1st Grade - University
10 questions
MÁY THU THANH
Quiz
•
9th - 12th Grade
15 questions
Python Functions and Method
Quiz
•
10th - 12th Grade
12 questions
Pseudocódigos
Quiz
•
9th - 12th Grade
9 questions
Neural Networks Strcutures
Quiz
•
12th Grade
15 questions
Quiz de Programação Front End
Quiz
•
12th Grade - University
15 questions
Adobe Illustrator - Colors
Quiz
•
12th Grade
10 questions
Vex VR Session 4
Quiz
•
5th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
