Current Papers
CS301P - CS301P
31 Jul 2026
: --- ### *MCQs with Correct Answers* #### *1. Data Structure - Memory* *Q: Linked list kis type ki memory allocation hai?* A. Static Memory Allocation B. *Dynamic Memory Allocation* ✅ C. Con…
: --- ### *MCQs with Correct Answers* #### *1. Data Structure - Memory* *Q: Linked list kis type ki memory allocation hai?* A. Static Memory Allocation B. *Dynamic Memory Allocation* ✅ C. Contiguous Memory Allocation D. None _Wajah: Linked list mein nodes runtime pe `malloc/new` se bante hain_ #### *2. String Functions* *Q: String ko compare karne ke liye konsa built-in function use hota hai?* A. compstr() B. *strcmp()* ✅ C. strcomp() D. compare() _Wajah: C/C++ mein `strcmp()` standard hai. `compstr()` naam ka koi func nahi_ #### *3. Hashing* *Q: In hashing the size of table is actually the size of ___ ?* A. External Memory B. *Internal Array/Bucket* ✅ C. Linked List D. None _Wajah: Hash table ka size = internal array jisme data store hota hai_ #### *