B18.3-Tin10

B18.3-Tin10

12th Grade

10 Qs

quiz-placeholder

Similar activities

Parcial 4to Sistemas IB - 2021

Parcial 4to Sistemas IB - 2021

12th Grade - University

10 Qs

B26.1-Tin10

B26.1-Tin10

12th Grade

10 Qs

Lenguaje de Programacion P1

Lenguaje de Programacion P1

12th Grade

11 Qs

B18.1-Tin10

B18.1-Tin10

12th Grade

10 Qs

Python repaso

Python repaso

9th - 12th Grade

10 Qs

Variables, Tipos de Dato, Lectura y Escritura C++

Variables, Tipos de Dato, Lectura y Escritura C++

7th Grade - Professional Development

12 Qs

Tipos de variables - Arduino

Tipos de variables - Arduino

10th - 12th Grade

10 Qs

Hoạt động luyện tập

Hoạt động luyện tập

12th Grade

10 Qs

B18.3-Tin10

B18.3-Tin10

Assessment

Quiz

Instructional Technology

12th Grade

Hard

Created by

TRUC Ng

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào dùng để nhận biết kiểu dữ liệu của biến trong python?

type().

int().

size().

abs().

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Viết chương trình nhập vào 4 số và tính tổng của chúng. Các dòng lệnh số mấy bị sai?

a = int(input(“Nhập số a”))

b = float(input(“Nhập số b”))

c = int(input(“Nhập số c”))

d = input(“Nhập số d”)

print(“Tổng là: ”, a+b+c+d)

Dòng 1, 2.

Dòng 2, 4.

Dòng 3, 5.

Dòng 4.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong các lệnh sau những lệnh nào sẽ báo lỗi?

int("12+45").

float(123.56).

float("123,5.5").

Câu lệnh A và C sẽ báo lỗi.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đưa dữ liệu ra màn hình dùng thủ tục nào?

print().

input().

type().

abs().

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Muốn nhập vào 2 số nguyên a, b mỗi số trên 1 dòng trong Python ta dùng lệnh gì?

a=int(input()) b=int(input()).

a=float(input()) b=float(input()).

a,b=map(int,input().split()).

a,b=map(float,input().split()).

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu không phải là kiểu dữ liệu cơ bản trong python?

int.

float.

list.

string.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lênh nào sau đây không báo lỗi?

1) float(4)

2) int(“1+3”)

3) int(“3”)

4) float(“1+2+3”)

 1

2

3

4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?