TRẮC NGHIỆM PYTHON

TRẮC NGHIỆM PYTHON

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

BAI 9 LOP 5

BAI 9 LOP 5

12th Grade

8 Qs

MẠNG MÁY TÍNH

MẠNG MÁY TÍNH

10th Grade

9 Qs

Numpy-1

Numpy-1

9th - 12th Grade

10 Qs

Hệ Điều Hành

Hệ Điều Hành

10th Grade

12 Qs

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

LENGUAJE C

LENGUAJE C

11th Grade

13 Qs

TRẮC NGHIỆM PYTHON

TRẮC NGHIỆM PYTHON

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Nguyen B2111314

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?