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

60.42% Correct | 39.58% Incorrect
Last Solution submitted on Jan 09, 2020

Problem Recent Solvers27

Suggested Problems

Problem Tags