Search Header Logo

Câu hỏi ôn tập Python

Authored by 08 HẬU

Education

University

Câu hỏi ôn tập Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để nhập dữ liệu từ bàn phím vào chương trình Python, ta dùng lệnh nào trong các lệnh dưới đây?

input

print

type

import

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là kiểu dữ liệu số nguyên trong các kiểu dữ liệu dưới đây?

int

float

print

type

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là kiểu dữ liệu số thực trong các kiểu dữ liệu dưới đây?

print

import

float

int

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào dưới đây dùng để nhập dữ liệu từ bàn phím?

print("Số nguyên bạn vừa nhập là: ", a)

import os

sum = a + b

a = input("Nhập một số: ")

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

       Chọn chương trình dưới đây:

a = 5

b = 6

print(a+b)

Chạy chương trình trên sẽ cho ra kết quả gì?

Lỗi

11

56

-1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phép toán nào sau đây là phép toán chia lấy dư?

a/b

a//b

a%b

a*b

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phép toán nào sau đây là chia lấy nguyên?

a*b

a/b

a%b

a//b

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Education