
Cuộc Thi Lập Trình Tekmonk 2024
Quiz
•
Specialty
•
8th Grade
•
Medium
Thủy Nguyễn
Used 2+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Thao tác nào dưới đây có khả năng cao nhất KHÔNG sử dụng vòng lặp?
Thực thi một số câu lệnh với nhiều phần tử khác nhau trong một mảng.
Thực thi một số câu lệnh cho đến khi thỏa mãn một điều kiện nhất định.
Tìm kiếm một phần tử trong từ điển theo giá trị.
Tìm kiếm một phần tử trong một mảng theo index.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức nào sau đây diễn tả chính xác một phép toán NAND với đầu vào P và Q?
(NOT P) AND (NOT Q)
(NOT P) AND Q
NOT (P AND Q)
NOT (P OR Q)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức nào dưới đây mô tả đúng công thức tính diện tích hình tam giác
area ← (1 / 2) * (base * height)
area ← 1 / (2 * base * height)
area ← 1 * 2(base / height)
area ← 1 / (2 * base) * height
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến nào dưới đây sử dụng kiểu dữ liệu string?
topY: khoảng cách từ vị trí in cụm từ đến cổ áo.
cost: giá tiền của chiếc áo.
phrase: cụm từ mà người dùng muốn in.
fontSize: cỡ chữ mà cụm từ được in.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biết Not của biểu thức là True, hãy cho biết giá trị của A là gì?
True
False
True hay False đều được.
Không giá trị nào của A thỏa mãn biểu thức trên.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị của các x, y và z sau khi thực thi đoạn mã trên là gì?
x = 9, y = 9 và z = 5
x = 3, y = 9 và z = 5
x = 3, y = 9 và z = 25
x = 81, y = 9 và z = 5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy viết một hàm để giải quyết vấn đề trên. Hàm nào dưới đây giúp giảm lượng mã trùng lặp nhiều nhất:
PROCEDURE calcMilesPerTank(milesPerGallon){ fuelCapacity ← 40 milesPerTank ← fuelCapacity * milesPerGallon DISPLAY(fuelCapacity + " x " + milesPerGallon) DISPLAY(" = " + milesPerTank)}
PROCEDURE calcMilesPerTank(fuelCapacity){ milesPerGallon ← 30 milesPerTank ← fuelCapacity * milesPerGallon DISPLAY(fuelCapacity + " x " + milesPerGallon) DISPLAY(" = " + milesPerTank)}
PROCEDURE calcMilesPerTank(milesPerGallon, fuelCapacity){ DISPLAY(fuelCapacity + " x " + milesPerGallon) DISPLAY(" = " + milesPerTank)}
PROCEDURE calcMilesPerTank(milesPerGallon, fuelCapacity){ milesPerTank ← fuelCapacity * milesPerGallon DISPLAY(fuelCapacity + " x " + milesPerGallon) DISPLAY(" = " + milesPerTank)}
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
SBG quiz: Beginners level
Quiz
•
KG - Professional Dev...
17 questions
MyPlate - Grains
Quiz
•
6th - 8th Grade
10 questions
ÔN TẬP BÀI 9
Quiz
•
6th - 8th Grade
10 questions
Ngày nhà giáo Việt Nam 20-11
Quiz
•
1st - 10th Grade
9 questions
Tìm hiểu về thơ Đường luật
Quiz
•
6th - 8th Grade
14 questions
Music Theory
Quiz
•
6th - 8th Grade
10 questions
El Príncipe y el mendigo 2
Quiz
•
7th - 8th Grade
9 questions
Roket league tournament
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Specialty
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Figurative Language Review
Quiz
•
8th Grade
4 questions
End-of-month reflection
Quiz
•
6th - 8th Grade
20 questions
Distribute and Combine Like Terms
Quiz
•
7th - 9th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
22 questions
Newton's Laws of Motion
Lesson
•
8th Grade