
Algorithm & Programming - Review 2
Authored by Rita Ly
Other
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
How many cycle in Bubble Sort if there is 20 data
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many comparison in Bubble Sort if there is 4 data.
3
4
5
6
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The following is an advantage of modular programming, except
Top-down design with sub goal, huge program divided into smaller modules
Can be done by more than one developer/ programmer
Modification can not be done without affecting overall codes
Easier to debug, as logical flow is easy to follow and easier to pin point errors
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Data type with predefined number of data is called
Typedef
Enumeration
Union
Bit Field
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which statement is false about fcloseall() function
Syntax: int fcloseall (void);
Close all active stream, include: stdin, stdout, stdprn, stderr, and stdaux.
Will return the number of stream closed if successful, and return EOF instead.
Header file <stdio.h>
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Using quick sort, which number will swap first. Data: 32 75 69 58 21 40
75 and 21
58 and 21
32 and 21
69 and 40
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Using binary and interpolation search, what is the value of mid (first round) if search key is 70. Data: 12 24 39 57 66 68 75 90 98
Binary = 3 ; Interpolaion = 3
Binary = 3 ; Interpolaion = 4
Binary = 3 ; Interpolaion = 5
Binary = 3 ; Interpolaion = 6
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
20 questions
Pasar Modal Syariah bersama MOST Syariah
Quiz
•
University
15 questions
Antropometri
Quiz
•
University
10 questions
CPID Quiz 1
Quiz
•
University
10 questions
KUIZ 2 MK. PILP
Quiz
•
University
11 questions
Juego en Equipo
Quiz
•
University
10 questions
Historia de la Web
Quiz
•
University
15 questions
accounting principles
Quiz
•
University
15 questions
ADB Quiz #1
Quiz
•
University
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University