
CTDL_3
Authored by Hoàng Hiệp
Instructional Technology
University
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
51 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Đối với một giải thuật, ta thường sử dụng những quy tắc nào để đánh giá độ phức tạp của giải thuật?
Quy tắc nhân.
Quy tắc tỏng và quy tắc nhân.
Quy tắc tỏng.
Không dùng quy tắc nào.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho biết dộ phức tạp của giải thuật sau:
sum=0;
for(i=0;i<n;i++){
sum=sum+i*i; }
O(n2)
O(n3)
O(n)
O(log2n)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho biết độ phức tạp của giải thuật tính tổng các nghịch đảo của n số tự nhiên đầu tiên.
O(n2)
O(n3)
O(log2n)
O(n)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Mối quan hệ giữa cấu trúc dữ liệu và giải thuật có thể minh họa bằng đẳng thức nào dưới đây?
Giải thuật=Chương trình.
CTDL+Chương trình=Giải thuật.
CTDL+Giải thuật=Chương trình.
CTDL=Giải thuật+Chương trình.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Với a được khai báo là số nguyên và giá trị khởi tạo là 1, cho biết kết quả của câu lệnh: printf("%d",a==2? 5:2);
2
5
0
1
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để đánh giá một CTDL chúng ta thường dựa vào những tiêu chí nào?
CTDL phải phản ánh đúng thực tế của bài toán.
CTDL phải dễ dàng trong việc thao tác dữ liệu.
CTDL phải tiết kiệm tài nguyên (bộ nhớ trong).
Cả 3 tiêu chí trên.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho chương trình sau:
#include <stdio.h>
float Tinh(float n){ if(n==1) return 0.5;
return Tinh(n-1) + 1/(2*n);}
int main(){ printf("\nkq= %3.2f", Tinh(4); }
Cho biết kết quả hiển thị ra màn hình khi chạy chương trình trên.
1.041667
1.04
3.2
1.041
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
50 questions
Codes I Ch. 11 & 13 questions
Quiz
•
University
50 questions
APPTITUDE TEST
Quiz
•
University
51 questions
Information and communications technology 151-200
Quiz
•
University
54 questions
SEGUNDO PARCIAL
Quiz
•
University
49 questions
KHUNG MA TRẬN ĐỀ TIN HỌC 8 2025 - 2026
Quiz
•
University
51 questions
100-150
Quiz
•
University
55 questions
CSDL
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Instructional Technology
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University