CTDLGT Giải thuật và  đệ quy

CTDLGT Giải thuật và đệ quy

12th Grade

11 Qs

quiz-placeholder

Similar activities

Search for Content on Methods in Java

Search for Content on Methods in Java

11th - 12th Grade

10 Qs

2D Arrays

2D Arrays

9th - 12th Grade

15 Qs

Arrays

Arrays

10th - 12th Grade

10 Qs

Functions C++

Functions C++

9th - 12th Grade

10 Qs

BASIC OF C

BASIC OF C

12th Grade

10 Qs

Structuri neomogene

Structuri neomogene

9th - 12th Grade

15 Qs

Unit 4 Day 8 Opener - C++ Function Concepts

Unit 4 Day 8 Opener - C++ Function Concepts

9th - 12th Grade

8 Qs

AP CSA Unit 10 Recursion

AP CSA Unit 10 Recursion

9th - 12th Grade

10 Qs

CTDLGT Giải thuật và  đệ quy

CTDLGT Giải thuật và đệ quy

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Lan Ngô

Used 16+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giải thuật đệ quy là

Trong giải thuật của nó có lời gọi của chính nó

Trong giải thuật của nó có lời gọi của chính nó nhưng với qui mô nhỏ hơn

Trong giải thuật của nó có lời gọi của chính nó nhưng với qui mô lớn hơn

Trong giải thuật của nó có lời gọi tới một giải thuật khác đã biết kết quả

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Có Hàm đệ qui sau:

Public long Factorial(int n)

{ if (n=0) Factorial=1;

else Factorial = n*Factorial(n-1); }

Dòng lệnh " if (n=0) Factorial=1" là:

 Điều kiện dừng đệ qui

Lặp 1 lần

Lặp vô hạn

 Điều kiện không thực hiện đệ qui

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Có Hàm đệ qui sau: Public long Factorial(int n)

{if (n=0) Factorial=1;

else Factorial = n*Factorial(n-1); }

Kết quả bằng bao nhiêu khi n=3

6

8

3

2

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

11001

10011

11111

00000

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Một giải thuật đệ quy xảy ra trường hợp suy biến khi nào:

Khi kết quả của giải thuật bằng giá trị 0

Khi không giải quyết được giải thuật

Sau một số lần có lời gọi đệ qui và bài toán khi đó sẽ được giải quyết để dừng bài toán.

Sau vô số lần gọi đệ qui

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

14

15

16

17

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

14

15

16

17

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers