
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
Day 4 C Programming Quiz

Quiz
•
Professional Development
10 questions
Kiểm tra đợt 15 phút

Quiz
•
Professional Development
15 questions
Introduction to PHP

Quiz
•
Professional Development
10 questions
Quorum Programming Day 2 Review

Quiz
•
Professional Development
10 questions
Primer competencia del Taller de R

Quiz
•
Professional Development
10 questions
PLSQL and Cursor Quiz

Quiz
•
Professional Development
10 questions
CIT JULY 2022

Quiz
•
Professional Development
11 questions
JavaScript

Quiz
•
Professional Development
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th 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
14 questions
Disney Trivia

Quiz
•
Professional Development
14 questions
2019 Logos

Quiz
•
Professional Development
7 questions
How to Email your Teacher

Quiz
•
Professional Development
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Employability Skills

Quiz
•
Professional Development