
Ktra TX_tin 10_l2

Quiz
•
Computers
•
Professional Development
•
Hard
Vi Thị Chiến
Used 12+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị của x, y là bao nhiêu khi thực hiện lệnh f(1, 3)
>>> x, y = 3, 4
>>> def f(x, y):
x = x + y
y = y + 2
return x
2,3
3,4
4,5
5,4
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
“Trong Python tất cả các biến khai báo bên trong hàm đều có tính …, không có hiệu lực ở bên … hàm”.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nếu muốn biến bên ngoài vẫn có tác dụng bên trong hàm thì cần khai báo lại biến này bên trong hàm với từ khoá nào?
global
def
int
out
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là:
def add(x,y):
print(x+y)
x=15
add(x ,10)
add(x,x)
y=20
add(x,y)
25,35,30
25,30,35
35,30,25
chương trình bị lỗi
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau thông báo lỗi gì?
for i in range(10) print(i)
TypeError
NameError
SyntaxError
ValueError
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau thông báo lỗi gì?
n = 5
for i in range(n):
prin(t)
Type Error
NameError
SyntaxError
ValueError
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau thông báo lỗi gì?
lst = [1, 2, 3, 4, 5]
for i in range(10):
print(lst[i])
ValueError
SyntaxError
NameError
IndexError
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Quizzuizui

Quiz
•
Professional Development
10 questions
Ôn tập bài 27, 28 - k10

Quiz
•
Professional Development
8 questions
Basic Python Data Types

Quiz
•
Professional Development
10 questions
Intro to HTML, CSS, JS

Quiz
•
Professional Development
10 questions
PHP QUIZ-2

Quiz
•
Professional Development
10 questions
c program -basic

Quiz
•
Professional Development
15 questions
Python Class 1

Quiz
•
Professional Development
15 questions
JavaScript Pass by value, Pass by Reference, Scope Hoisting

Quiz
•
Professional Development
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
11 questions
complex sentences

Quiz
•
Professional Development
8 questions
Ötzi the Iceman: A 5,000-Year-Old True Crime Murder Mystery | Full Documentary | NOVA | PBS

Interactive video
•
Professional Development
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
6 questions
Basics of Budgeting 7

Quiz
•
6th Grade - Professio...
20 questions
Movies

Quiz
•
Professional Development