NBC 1034 CreditsSemester 1 • VBSPU
Problem Solving Using C
External Exam70 Marks
Internal / TA30 Marks
Total Scope5 Units
Passing Marks40% Minimum
🎯 "Kaise Padhna Hai" — Scoring Strategy (Target: 85%+)
🔥 High-Yield Scoring Units: Units 2, 3, 4, 5
- Every syntax question must include a complete 4-8 line working code snippet + output.
- Draw RAM memory block diagrams showing pointer addresses (e.g. 0x1000, 0x1004) for all pointer and array answers.
- Unit 3 (Pointers & Strings) and Unit 5 (DMA malloc/calloc + Binary Search) carry maximum marks in university exams.
- Write neat comparison tables: Call by Value vs Call by Reference, Structure vs Union, malloc() vs calloc().
Common Mistakes to Avoid in Exam:
- • Using & address operator on a string array in scanf("%s", &str) — string name is already a base address pointer!
- • Not writing base condition in recursive functions leading to Stack Overflow.
- • Forgetting to call free(ptr) and ptr = NULL after dynamic memory allocation.
Complete Unit-wise Syllabus & Notes (Units 1 to 5)
NBC 103 Self-Check Quiz
Test your mastery of core exam concepts
1.Which of the following is an exit-controlled loop in C?
2.What does the expression sizeof(char) return according to the C standard?
3.What happens if you do not call free() on memory allocated with malloc()?
4.What is the worst-case time complexity of Binary Search on an array of N elements?
5.Which storage class preserves a variable's value between successive function calls?
Top Viva Voce Questions for NBC 103
1
What is the difference between = and == in C?
2
What happens if a recursive function does not have a base condition?
3
What is a NULL pointer vs a Dangling pointer?
4
Why is the arrow operator (->) used with structure pointers?
5