A9 - SEARCHING

A9 - SEARCHING

University

43 Qs

quiz-placeholder

Similar activities

luanlor nhóm 3

luanlor nhóm 3

University

45 Qs

Cybersecurity Intro

Cybersecurity Intro

University

45 Qs

Atividade Instrumentos de Gestão Ambiental

Atividade Instrumentos de Gestão Ambiental

University

39 Qs

SPT120

SPT120

University

40 Qs

Emotions and Coping Mechanisms Quiz

Emotions and Coping Mechanisms Quiz

University

40 Qs

Enjoy _Python

Enjoy _Python

University

42 Qs

Quiz về Google Sheets

Quiz về Google Sheets

University

46 Qs

A9 - SEARCHING

A9 - SEARCHING

Assessment

Quiz

Specialty

University

Hard

Created by

Cham Cham ジ

FREE Resource

43 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

____________ is a very simple search algorithm. In this type of search, a sequential search is made over all items one by one. Every item is checked and if a match is found then that particular item is returned, otherwise the search continues till the end of the data collection.

2.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Step in Linear Search. This step is set i to 1

3.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Step in Linear Search. This step seeks if i > n then go to step 7

4.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Step in Linear Search. This step seeks if A[i] = x then go to step 6 

5.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Step in Linear Search. This step is set i to i + 1

6.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Step in Linear Search. This step goes back to Step 2

7.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Step in Linear Search. This step prints Element x Found at index i and go to step 8

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?