
Cuộc Thi Lập Trình Tekmonk 2024
Authored by Thủy Nguyễn
Specialty
8th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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)}
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
Premis de l'Acadèmia - Oscar
Quiz
•
8th Grade
13 questions
Câu hỏi văn bản "Điều không tính trước"
Quiz
•
6th - 8th Grade
10 questions
Bài Phản ứng hóa học
Quiz
•
2nd Grade - University
10 questions
Đọc nhanh, hiểu nhanh
Quiz
•
6th - 8th Grade
16 questions
Accounting 1 - Ch. 11 Review
Quiz
•
KG - University
12 questions
ĐỌC HIỂU TRUYỆN NGẮN
Quiz
•
6th - 8th Grade
10 questions
LATSAR CPNS KEMENDIKBUD 2020
Quiz
•
1st - 10th Grade
18 questions
Bài tập quizzi tuần 25
Quiz
•
1st Grade - University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Specialty
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
7 questions
SMS Playground Expectations Quiz
Quiz
•
6th - 8th Grade
16 questions
Mario Trivia Challenge
Quiz
•
6th - 8th Grade
14 questions
SMS Car & Bus Expectations Quiz
Quiz
•
6th - 8th Grade
20 questions
Scatter Plots and Line of Best Fit
Quiz
•
8th Grade
12 questions
8th U6 L4 - Fitting a Line to Data
Quiz
•
8th Grade
22 questions
Phases of the moon
Quiz
•
8th Grade