Questions tagged as 'binary'

2
answers

What will the new quantum computer programming logic look like?

There is a lot of talk about quantum computers with high performance and processing power. Unlike quantum bits, the qubits of quantum computers work with superposition, they can assume three distinct values: 0 or 1 or 0 and 1 simultaneously....
asked by 20.10.2015 / 18:40
1
answer

How to read binary file content in Javascript

How to read binary file content in Javascript?     
asked by 15.05.2015 / 19:50
2
answers

How to convert ASCII to binary?

I am trying to implement the conversion of a text to binary, I found one through the internet: static string ASCII_binary(string texto) { string converted = string.Empty; byte[] byteArray = Encoding.ASCII.GetByt...
asked by 30.11.2015 / 13:25
1
answer

Binary calculator in C

I have this function that converts decimal to binary, but then how do I sum the bits, or use & (and) .. etc? Use the & do we have to make the count with 2 decimals? Ex: 25 & 25 Or we can do 11001 & 11001 My question...
asked by 22.08.2018 / 23:31
1
answer

What's the difference when using binary in the where clause?

What is Binary and what does it do? What is the difference generated when using Binary in a query in MySQL and when not using Binary ? SELECT email, senha from login WHERE usuario = ? && senha = ? SELECT email,...
asked by 19.05.2017 / 15:26
3
answers

How to tell if a binary sum of unsigneds gave overflow?

If I have a sum of two unsigned numbers (1 byte each) in an assembly without carry flag, how can I tell if it overflowed? Edit: The architecture in question is Neander Solution: I found a way to do this. First check the most significant bi...
asked by 23.03.2017 / 19:32
2
answers

Convert binary format string to PDF

I would like to know how to generate a PDF file using a string with binary values, the values should actually turn a text (according to the ASCII table) and be written to PDF. p> I tried to do this but did not succeed: string teste = "0100...
asked by 10.03.2017 / 20:13
2
answers

Discovering the binary value in SQL Server

Is there a function in SQL Server that converts an integer to binary? Example: SELECT Funcao_Binario(2) -> Saida : 0010 SELECT Funcao_Binario(4) -> Saída : 0100 SELECT Funcao_Binario(5) -> Saída : 0101     
asked by 20.10.2016 / 19:58
1
answer

Why does binary conversion from SQL Server not return a binary value?

Why do I use the following command in SQL Server 2005 select convert(varbinary(16),N'123') returns 0x310032003300 and not 1111011 what would be the binary value?     
asked by 09.03.2015 / 14:39
2
answers

Binary cast is available in PHP?

PHP has a cast (which until then I did not know), called binary . Example of Manual : $binary = (binary)$string; $binary = b"binary string"; According to the PHP Manual:    (binary) - convert to binary string I saw t...
asked by 27.01.2015 / 12:13