Purchase Solution

recursive algorithm

Not what you're looking for?

Ask Custom Question

A. Design a recursive algorithm whose input is a decimal integer and whose output is the binary representation of the input.

b. Design a recursive algorithm that computes the reverse of the result in (a) - that is, converts a binary integer to its decimal equivalent.

Purchase this Solution

Solution Summary

Design a recursive algorithm whose input is a decimal integer and whose output is the binary representation of the input.

Purchase this Solution


Free BrainMass Quizzes
Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Basic Networking Questions

This quiz consists of some basic networking questions.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

C# variables and classes

This quiz contains questions about C# classes and variables.

Javscript Basics

Quiz on basics of javascript programming language.