- Type
- Quiz
- Course
- CS301P Data Structures (Practical)
- Size
- PDF 857 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 2 of 2. Download the file for all 2 pages.
Q1. How many bits in the memory will be reserved by the following instruction? num: dw 1,2,3
Correct answer: 48
Q2. In the following assembly language instructions, which statement will be executed first? jmp loop mov ax,0 loop: mov cx,0
Correct answer: jmp loop
Q3. 1 db is equivalent to _____ dw
Correct answer: 0.5
Q4. _______ jump instruction is independent of flags.
Correct answer: JCXZ
Q5. Which of following jump is not dependent on any flag?
Correct answer: jmp
Q6. Which of the following statement declares the Stack object of float data type if a Stack class is defined using C++ template?
Correct answer: Stack <float> stack;
Q7. The postfix expression for the infix expression 1-3-4 is :
Correct answer: 13-4-
Q8. Which of the following is used in function calls?
Correct answer: Stack
Q9. What value will be returned by the given function if the values of ‘a’ and ‘b’ are 6 and 5? int i_avg (int a, int
Q10. When an operator is found in stack while evaluating a postfix expression, which of the following operation is performed on previous two operands?
Correct answer: pop
Related CS301P files
All CS301P files →Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.