Data Structure Questions and Answers – Decimal to Binary using Stacks

This set of Data Structure Interview Questions and Answers for Experienced people focuses on “Decimal to Binary using Stacks”. 1. Express -15 as a 6-bit signed binary number. a) 001111 b) 101111 c) 101110 d) 001110 2. Which of the following code snippet is used to convert decimal to binary numbers? a) public void convertBinary(int … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
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.