Select Category
All Categories
Accounting
Agriculture
Astrobiology
Banking & Finance
Business World
Civilizations
Commerce & Economics
Competitive exams
Computer Science & IT
Current affairs
Earth Science
Educational Development
Environment
Explore the Animal World
Food chain
General Knowledge
Geography Map
Green Life
History
Human Health
Journalism
Law
Science
Social Science
TAX
About Us
Contact Us
Login
Algorithm design - Part 2
1
of
25
💡
Hints:
3
Q1. What will happen if the user’s book return is late?
×
A. Sends them an SMS (text)
B. Does not send them an SMS (text)
Q2. Which algorithm does this image represent?
×
A. Linear search
B. Binary search
C. Bubble sort
D. Merge sort
Q3. Which sorting algorithm takes an item from the list, and puts it in the correct place in a sorted list?
A. Merge
B. Bubble
C. Insertion
D. None of them do
Q4. Any numerical data
A. Output
B. Input
C. Number
D. Data
Q5. Bubble sort takes the first two values of a list, and swaps them if wrong?
A. True
B. False
Q6. ___is used to denote when the program will stop.
A. FINISH
B. BEGIN
C. END
D. ELSE
Q7. Where can Linear Search be performed?
A. On letters
B. On numbers
C. Both
D. None of these
Q8. Each item in a list has an "address" or index. The first index in a Python list is what?
A. 0 (Zero)
B. 1
C. a
D. A
Q9. What will the following algorithm display?a ←26 MOD 13display(a)
A. 26
B. 13
C. 8
D. 0 (Zero)
Q10. A section in a flowchart that displays a message to a user is known as a
A. output
B. decision
C. sequence
D. wait
Q11. Which of the following is a limitation of using a model to study something?
A. A model cannot represent a thing exactly.
B. A model cannot help study things that are dangerous.
C. A model cannot reproduce things that are too far away.
D. a model cannot show things that are too small or too large.
Q12. Which terms best describes each step in a computer program?
A. Vague
B. Confusing
C. Random
D. Specfic
Q13. What does PATTERN RECOGNITION mean?
A. It is the process of finding similarities and differences between things.
B. It is the creation of shapes of similar colours and sizes.
C. It is the writing of algorithms that all do similar things
D. It is when decomposition of two problems, creates the same result.
Q14. What are the two ways that algorithms can be designed?
×
A. Images or videos
B. In pseudocode or as a flowchart
C. By hardware or software
Q15. Which data type is used to store:99.10
A. Integer
B. Double
C. String
D. Boolean
Q16. How many binary searches will it take to find the value 7 in the list [1,4,7,8,10,28]?
A. 0
B. 1
C. 2
D. 3
Q17. If/else if/else are examples ofThis code uses:
A. Iteration
B. Selection
C. Sequencing
Q18. Any algorithm is a program.
A. True
B. False
Q19. Deciding which clothes to wear to a party is an example of what?
A. Abstraction
B. Computational thinking
C. Decomposition
Q20. To add an item to the end of a list, what command can we use?
A. append()
B. insert()
C. split()
D. remove()
Q21. Data types of variables can never be changed.
A. FALSE
B. True
Q22. According to the image, when you click on the green flag
A. It will show the backdrop called "Tittle" wait 5 seconds and then switch to the backdrop called "scene 1"
B. It will show the backdrop called "Tittle" wait 3 seconds and then switch to the backdrop called "scene 1"
C. It will show the backdrop called "Scene 1" wait 5 seconds and then switch to the backdrop called "title"
D. It will show a Sprite called "Tittle" wait 5 seconds and then switch to the costume called "scene 1"
Q23. Identify a variable within this f lowchart.
×
A. INPUT
B. Start
C. 12
D. RESULT
Q24. What is the difference between a function and procedure
A. They are two names for the same thing
B. You can pass variables in function
C. You can return variables in a function
D. You can pass variables in procedure
Q25. Which type of search algorithm is this?
×
A. Binary
B. Linear
Submitting Your Quiz...
Please wait while we process your answers