
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
Enhance your content in a minute
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
PostTest Sistem Komputer Kelas 7
Quiz
•
7th Grade - University
10 questions
Parts of a Computer: Operating System Functions
Quiz
•
9th Grade - University
10 questions
QUIZ TIK Kelas X SMK
Quiz
•
10th Grade
10 questions
Berpikir Komputasional (BK)
Quiz
•
8th Grade - University
10 questions
ASESMEN DIAGNOSTIK INFORMATIKA X DPB 2
Quiz
•
10th Grade - University
10 questions
算法設計01:課堂問答
Quiz
•
10th Grade
10 questions
Quiz 2 (Estrutura e Características de um Algoritmo)
Quiz
•
9th - 12th Grade
10 questions
DPK 1
Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
