Select Category
All Categories
Accounting
Agriculture
Astrobiology
Banking & Finance
Business World
Civilizations
Commerce & Economics
Competitive exams
Computer Science & IT
Current affairs
Earth Science
Education
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. If/else if/else are examples ofThis code uses:
A. Iteration
B. Selection
C. Sequencing
Q2. 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
Q3. Which algorithm does this image represent?
×
A. Linear search
B. Binary search
C. Bubble sort
D. Merge sort
Q4. 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
Q5. Deciding which clothes to wear to a party is an example of what?
A. Abstraction
B. Computational thinking
C. Decomposition
Q6. Any algorithm is a program.
A. True
B. False
Q7. ___is used to denote when the program will stop.
A. FINISH
B. BEGIN
C. END
D. ELSE
Q8. Where can Linear Search be performed?
A. On letters
B. On numbers
C. Both
D. None of these
Q9. Which type of search algorithm is this?
×
A. Binary
B. Linear
Q10. Bubble sort takes the first two values of a list, and swaps them if wrong?
A. True
B. False
Q11. Each item in a list has an "address" or index. The first index in a Python list is what?
A. 0
B. 1
C. a
D. A
Q12. 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)
Q13. Which terms best describes each step in a computer program?
A. Vague
B. Confusing
C. Random
D. Specfic
Q14. 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
Q15. Identify a variable within this f lowchart.
×
A. INPUT
B. Start
C. 12
D. RESULT
Q16. 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.
Q17. Which data type is used to store:99.10
A. Integer
B. Double
C. String
D. Boolean
Q18. 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"
Q19. To add an item to the end of a list, what command can we use?
A. append()
B. insert()
C. split()
D. remove()
Q20. 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.
Q21. What will the following algorithm display?a ←26 MOD 13display(a)
A. 26
B. 13
C. 8
D. 0 (Zero)
Q22. Data types of variables can never be changed.
A. FALSE
B. True
Q23. Any numerical data
A. Output
B. Input
C. Number
D. Data
Q24. A section in a flowchart that displays a message to a user is known as a
A. output
B. decision
C. sequence
D. wait
Q25. 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
Submitting Your Quiz...
Please wait while we process your answers