Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 2 subjective questions Introduction to Array Concepts

INT322 — Computing System And Technologies 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define an array. Explain how a one-dimensional array can be declared and initialized with suitable examples.

  2. Question 2 of 20

    Explain the memory representation of a one-dimensional array and derive the formula used to calculate the address of an element.

  3. Question 3 of 20

    What is array traversal? Describe an algorithm for traversing a one-dimensional array and state its complexity.

  4. Question 4 of 20

    Describe how an element is inserted at a specified position in an array. Include an algorithm and complexity analysis.

  5. Question 5 of 20

    Explain the deletion of an element from an array. Why is shifting required, and what is the operation's complexity?

  6. Question 6 of 20

    Define linear search and explain its algorithm, applications, and complexity.

  7. Question 7 of 20

    Explain binary search with an algorithm. State its prerequisite and derive its time complexity.

  8. Question 8 of 20

    Compare linear search and binary search.

  9. Question 9 of 20

    Describe bubble sort with an example and analyze its best- and worst-case complexity.

  10. Question 10 of 20

    Derive the worst-case number of comparisons performed by bubble sort on an array of elements.

  11. Question 11 of 20

    Analyze and compare the time complexities of common array operations.

  12. Question 12 of 20

    Define a stack and explain its basic operations and applications.

  13. Question 13 of 20

    Explain how an array-based stack is traversed. Why should traversal not modify the value of top?

  14. Question 14 of 20

    Describe the push operation in an array-based stack, including the overflow test and complexity.

  15. Question 15 of 20

    Describe the pop operation and distinguish between stack underflow and stack overflow.

  16. Question 16 of 20

    Define a queue and explain its basic operations and common applications.

  17. Question 17 of 20

    Explain queue traversal for both a linear queue and a circular queue.

  18. Question 18 of 20

    Describe the ENQ operation in an array-based linear queue and discuss its overflow condition.

  19. Question 19 of 20

    Describe the DEQ operation in an array-based queue, including how the queue is reset after its last element is removed.

  20. Question 20 of 20

    Explain queue underflow and overflow conditions. How does a circular queue improve the use of array space?

That's unit 2

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.