TRẮC NGHIỆM PYTHON

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Nguyen B2111314
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khai báo thư viện ta sử dụng từ khóa nào?
uses
import
include
attach
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong NNLT Python, phép toán chia lấy phần nguyên là:
div
mod
//
%
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong NNLT Python, cấu trúc rẽ nhánh dạng thiếu là:
if <điều kiện> : <câu lệnh >
IF <điều kiện> : <câu lệnh >
if <điều kiện> then <câu lệnh >;
IF <điều kiện> THEN <câu lệnh >;
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
def chan_le():
number = int(input("Nhập vào một số: "))
if(number%2==0):
print(number, "là số chẵn")
_____(4)_____
print(number, "là số lẻ") chan_le()
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
a = int(.............("Nhập a: "))
b = int(.............("Nhập b: "))
if a<=0:
print("Vô nghiệm")
else:
print(-b/a)
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Trong NNLT Python, để đưa kết quả ra màn hình ta sử dụng thủ tục nào?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong NNLT Python, để nhập số thực cho biến n, câu lệnh nào sau đây đúng?
n=input(‘Nhập 1 số thực:’)
float(input(‘Nhập số thực n:’))
n=float(input(‘Nhập 1 số thực:’))
n=int(input(‘Nhập 1 số thực:’))
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
CTC-Python

Quiz
•
9th - 12th Grade
10 questions
Câu hỏi trắc nghiệm Python

Quiz
•
10th Grade
10 questions
Lớp 10: Câu hỏi TN củng cố kiến thức

Quiz
•
10th Grade
11 questions
Python Quiz

Quiz
•
12th Grade
10 questions
Bài tập thực hành 1 (tiết 2)

Quiz
•
12th Grade
7 questions
Bài 4: Hoạt động luyện tập

Quiz
•
10th Grade
15 questions
Ôn tập kỳ 2 tin 6

Quiz
•
1st - 12th Grade
10 questions
Dasar Pemrograman C++

Quiz
•
10th 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 Computers
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