My Report

Data Structure I Practice Test 3


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Which of the following don’t use matrices?

2. In balancing parentheses algorithm, the string is read from?

3. How do you allocate a matrix using a single pointer in C?(r and c are the number of rows and columns respectively)

4. Run-Length encoding is used to compress data in bit arrays.

5. What is a bit array?

6. Which of the following is a disadvantage of dynamic arrays?

7. Which of the following bitwise operations will you use to set a particular bit to 1?

8. Which of the following statement is incorrect with respect to balancing symbols algorithm?

9. Suffix array of the string “statistics” is ____________

10. What is a dynamic array?


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.