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
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer & SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage, Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him @ LinkedIn | Youtube | Instagram | Facebook | Twitter