
Kiểm tra kiến thức lập trình

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
Cường Đỗ
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
x = 4
y = x / 2
print(type(y))
A. <class 'int'>
B. <class 'float'>
C. <class 'str'>
Lỗi
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau thực hiện điều gì?
x = input("Nhập số: ")
In ra giá trị Nhập số.
Lấy giá trị người dùng nhập vào và lưu dưới dạng số.
Lấy giá trị người dùng nhập vào và lưu dưới dạng chuỗi.
Lấy giá trị người dùng nhập vào và chuyển đổi thành số thực.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau trả về giá trị gì nếu người dùng nhập 42?
x = input("Nhập một số: ")
print(type(x))
A. <class 'int'>
B. <class 'float'>
C. <class 'str'>
Lỗi runtime
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để lấy một số nguyên từ bàn phím, cú pháp nào là đúng?
x = input("Nhập số: ")
x = int(input("Nhập số: "))
x = float(input("Nhập số: "))
x = str(input("Nhập số: "))
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì, nếu người dùng nhập là 3.14?
x = int(input("Nhập số: "))
print(x)
3
3.14
Lỗi runtime
Không in gì cả
Similar Resources on Wayground
10 questions
TRẮC NGHIỆM BÀI 1 - TIN HỌC 10 CÁNH DIỀU

Quiz
•
10th Grade
10 questions
Quiz Pengetahuan Umum Komputer

Quiz
•
3rd Grade - University
10 questions
Ulangan Harian Informatika

Quiz
•
9th - 12th Grade
10 questions
Post Test Perangkat Keras (Hardware)

Quiz
•
10th Grade
10 questions
Pengenalan Algoritma

Quiz
•
10th Grade
7 questions
Lekcja 1.3

Quiz
•
4th Grade - University
10 questions
ICT BEL 4

Quiz
•
4th Grade - University
10 questions
Berpikir komputasional

Quiz
•
10th Grade
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 Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
7 questions
EAHS PBIS Lesson- Bathroom

Lesson
•
9th - 12th Grade
57 questions
How well do YOU know Neuwirth?

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
4 questions
Study Skills

Lesson
•
5th - 12th Grade