
Algorithm & Programming - Review 2

Quiz
•
Other
•
University
•
Hard
Rita Ly
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
QUIZ 1 : ADOBE ILLUSTRATOR BASIC TOOLS

Quiz
•
University
15 questions
Kuiz Microsoft Power Point

Quiz
•
KG - University
20 questions
Digital Marketing - Organic Marketing

Quiz
•
University
15 questions
Quiz Mengenai Mengelola Konten Digital

Quiz
•
8th Grade - University
12 questions
DS Day 1 Quiz

Quiz
•
University
15 questions
Sorting Quiz

Quiz
•
University - Professi...
10 questions
Introduction to MS Excel - Quiz

Quiz
•
University
19 questions
Final Presentation

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University