TRẮC NGHIỆM PYTHON

TRẮC NGHIỆM PYTHON

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Bài tập trắc nghiệm C++(tiếp)

Bài tập trắc nghiệm C++(tiếp)

3rd Grade - University

10 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

TIN 9 BÀI 1,2

TIN 9 BÀI 1,2

1st - 12th Grade

15 Qs

LA1.C1: Introduction to Small Basic

LA1.C1: Introduction to Small Basic

9th Grade

15 Qs

Simdig

Simdig

12th Grade - University

10 Qs

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

CỦNG CỐ KIẾN THỨC BÀI 2 - TIN HỌC 12

CỦNG CỐ KIẾN THỨC BÀI 2 - TIN HỌC 12

10th - 12th Grade

10 Qs

KIỂM TRA15P - TIN 9_HKII_(L2)

KIỂM TRA15P - TIN 9_HKII_(L2)

9th Grade - University

10 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:’))

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?