Trắc nghiệm Python lớp 8

Trắc nghiệm Python lớp 8

8th Grade

20 Qs

quiz-placeholder

Similar activities

Programming in Python, Lists - 9RH

Programming in Python, Lists - 9RH

8th - 10th Grade

17 Qs

ASD - Fondamenti e ordinamenti

ASD - Fondamenti e ordinamenti

1st - 10th Grade

15 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Assesmen Akhir Bab.2 "Teknologi Informasi dan Komunikasi"

Assesmen Akhir Bab.2 "Teknologi Informasi dan Komunikasi"

8th Grade

20 Qs

CS Terms and Vocab Practice Quiz 3

CS Terms and Vocab Practice Quiz 3

7th - 12th Grade

20 Qs

Arduino ม.2 และ ม.3 ฉบับที่ 2

Arduino ม.2 และ ม.3 ฉบับที่ 2

KG - Professional Development

20 Qs

6-Info III-sherek Cambrige

6-Info III-sherek Cambrige

6th - 8th Grade

15 Qs

LÀM VIỆC VỚI DÃY SÔ

LÀM VIỆC VỚI DÃY SÔ

8th Grade

20 Qs

Trắc nghiệm Python lớp 8

Trắc nghiệm Python lớp 8

Assessment

Quiz

Computers

8th Grade

Practice Problem

Medium

Created by

Mạnh Đức

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chương trình Python là một tệp văn bản có đuôi mặc định là:

.pas

.py

.exe

.doc

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để đưa dữ liệu ra màn hình, Python cung cấp hàm chuẩn:

print()

cout()

write()

<<()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, để nhập vào số nguyên n từ bàn phím, ta dùng lệnh sau:

n = int(input(ˈchuỗi thông báo: ˈ))

n = (input(ˈchuỗi thông báoˈ))

n = (ˈchuỗi thông báoˈ)

int(input(ˈchuỗi thông báo: ˈ))

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, để nhập vào số thực n từ bàn phím, ta dùng lệnh sau:

n = int(input(ˈchuỗi thông báo: ˈ))

n = (input(ˈchuỗi thông báo: ˈ))

n = (ˈchuỗi thông báo: ˈ)

n=float(input(ˈchuỗi thông báo: ˈ))

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để máy tính in ra màn hình dòng chữ 'xin chao'. Sử dụng ngôn ngữ lập trình Python, ta viết câu lệnh

print (xin chao)

print ("xin chao")

print xin chao

print ([xin chao])

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hình vuông có cạnh là a. Ta có thể dùng Python để viết chương trình tính diện tích hình vuông là

print("Dien tich hinh vuong la: a*a")

print("Dien tich hinh vuong la:",a*a)

print(Dien tich hinh vuong la: a*a)

print("Dien tich hinh vuong la: a*a")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khi viết t=5+6 thì t thuộc kiểu:

Số nguyên

Số thực

Kiểu logic

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 Computers