
Thử thách 4-Đường đua lập trình - Tin học 7
Quiz
•
Information Technology (IT)
•
7th Grade
•
Medium
thuy phan
Used 9+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nhập dữ liệu đóng vai trò gì trong hoạt động của một chương trình?
Để chương trình chạy tự động mà không cần tương tác với người dùng
Để cho phép người dùng cung cấp thông tin đầu vào cho chương trình
Để lưu trữ dữ liệu tạm thời trong bộ nhớ máy tính
Để in ra kết quả cuối cùng của chương trình
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào trong Python được sử dụng để đọc dữ liệu mà người dùng nhập vào?
print()
input()
int()
str()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị trả về của hàm input() trong Python có kiểu dữ liệu mặc định là chuỗi. Phát biểu này đúng hay sai?
Đúng
Sai
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của lệnh sau là gì nếu người dùng nhập vào số 7? x = input("Enter a number: ") print(x)
In ra None
In ra chuỗi "7"
In ra số thực 7.0
Lỗi chương trình
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nếu muốn nhập một giá trị kiểu chuỗi và lưu trữ nó trong biến b, bạn cần sử dụng câu lệnh nào sau đây?
b = input()
b = int(input())
b = float(input())
b = bool(input())
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi sử dụng câu lệnh input(), điều gì sẽ xảy ra nếu người dùng nhập vào giá trị là một số?
Giá trị sẽ tự động chuyển thành 0
Chương trình sẽ báo lỗi
Giá trị sẽ được lưu dưới dạng chuỗi
Giá trị sẽ được chuyển thành None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào dưới đây được sử dụng để đọc giá trị số thập phân mà người dùng nhập vào?
Int(input())
str(input())
float(input())
bool(input())
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Ulangan Informatika Sistem Komputer
Quiz
•
7th Grade
20 questions
Chủ đề 1_Những khái niệm cơ bản về công nghệ thông tin
Quiz
•
6th - 8th Grade
20 questions
Kuis Sistem Komputer
Quiz
•
7th Grade
19 questions
BERPIKIR KOMPUTASIONAL
Quiz
•
7th Grade
20 questions
ICT G 7 Chapter 2.1 Input and Output Devices
Quiz
•
7th Grade - University
15 questions
Ekskul Komputer - Pengetahuan Umum Komputer
Quiz
•
6th - 8th Grade
15 questions
Understanding Loops in C Programming
Quiz
•
1st Grade - University
15 questions
Quiz về Kiểu Dữ Liệu List và Set (1)
Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Information Technology (IT)
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
11 questions
y=mx+b
Quiz
•
7th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
7th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
