Problem 43980. Find the binary code

Given a sinusoidal signal, create a function that returns the binary code of a quantized value. The function takes the bit length and quantized value as the input.

Bit length = 3
Quantized value  = 2
Binary code      = 010

Solution Stats

59.57% Correct | 40.43% Incorrect
Last Solution submitted on Nov 28, 2019

Problem Recent Solvers26

Suggested Problems

Problem Tags