Question: How can you assign the binary number 101 to an integer variable?

Options

A : Var = B101

B : Var = 101

C : Var = bin(101)

D : Var = Bin(101)

Click to view Correct Answer

Previous || Next

Datatypes more questions

How many bits of memory does the Short datatype take....

What datatype should one use to represent 2147483610?

Which one of the control structures is similar to the....

Can the digitalRead() function identify analog voltages?

Can the digitalWrite() function be used from any analog pin?

How many arguments does the digitalRead() function have?

How many voltage levels are present when a pin uses....

What method does the int datatype use for storing negative....

Can the analogRead() function be used as a replacement for....

What is the math function to find out the maximum....

Adafruit FONA 3G+GPS Breakout more Online Exam Quiz

Analog Input Output

Board Hardware Specifications

Board Pinout Structure

Compilation

Control Structures

Digital Input Output

ESP8266 Wifi Module

Finding Out Program Outputs

GSR Sensor

Interrupt Service Routine