1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Over [174]
3 years ago
6

There is a simple pattern for determining if a binary number is odd. What is it and why does this pattern occur

Computers and Technology
2 answers:
kramer3 years ago
8 0
The rightmost digit is the one's digit ( 2^0 ). If it's set, the number is odd, else it's even.
andrew-mc [135]3 years ago
6 0

The answer to this question would be the least number (right most number). If the last digit of a binary number is 1, the number is odd; if it’s 0, the number is even.  If you add an even number with even number, the result should be even. But if there is just one odd number added, it will be odd. In binary, all the number is multiplied by 2x. It is pretty clear that all the number should be even beside the first/lowest multiplier   which has potential to be 1.  Everything about the binary number system is the same as the decimal number system with just one difference: the base is 2 instead of 10.

Further Explanation:-

Binary number system

Binary means base 2(note the prefix bi). Base 2 (binary) has 2 digits: 0, 1. since binary numbers are made up of binary digits, we often call a binary digit a bit (short for binary digit). We may also refer to a place value position as a bit. In other words, the binary number '1010' requires 4 bits to write, and those bits are '1', '0', '1' and '0'.For any number system that has a base b, the first b non-negative numbers are represented by the digits themselves. For base b=2 (binary), the first 2 numbers are 0 and 1.Counting in binary is just like counting in decimal, except that you run out of digits much more quickly and have to resort to more value places sooner. To count the number of eggs in a dozen in binary would be as follows: 0, 1, 10, 11, 100, 101, 110, 111, 1000, 1001, 1010, 1011, 1100.  

Example:  

1101 represents an odd number (13); 10010 represents an even number (18).  To convert a binary number to base 2k , split it into groups of k digits (adding leading 0s if necessary), then convert each group to base 2k . Ex: Convert the number 1001011111 to base 8. First, note that 8 = 23 , so we should split the number into groups of 3 digits: 001 001 011 111 Note that we added two leading 0s to make the number of digits a multiple of 3. Next, we convert each group of 3 digits to base 8: 001 001 011 111 1 1 3 7 Thus, the number in base 8 is 1137.

Learn more:

  • What is the binary answer to the binary number 100 added to the binary number 11?

         brainly.com/question/6561005

Keywords:  binary, number system, decimal, conversion, even binary number, odd binary.

You might be interested in
In testing you find that one of the tables in your database has multiple versions of one of the columns, and updating the inform
emmainna [20.7K]

Answer:

C. i think

Explanation:

C. is my answer........

5 0
2 years ago
"in troubleshooting a boot problem, what is the advantage of restoring all uefi/bios settings to their default values?"
Alex17521 [72]
When this case would appear, one thing that I would do personally would first, go to the settings, in then, after having this done, I would then "scroll down" to where ti would say "restore (uefi/bios) files, and from there, you would get every value that would would have from the beginning in your chip.

And also, what is truly unique would be the fact that you would be able to choose the "restore point" that you would like for it to appear.
3 0
2 years ago
Proxy is a network computer that can serve as an intermediary for connecting with other computers.
Keith_Richards [23]

Answer:Protects the local network from outside access

Explanation:Proxy is a type of serves as the mediator in computer network for connecting the network with the user system. These servers are responsible for maintaining the security against any unauthorized access in the system or internet,privacy and other functions.. It helps in protecting the whole network connection by taking the control at the servers .

8 0
3 years ago
Write a program that reads a list of integers, and outputs the two smallest integers in the list, in ascending order. The input
kompoz [17]

Answer:

Following are the program in the C++ programming Language.

//header files

#include <iostream>

#include <vector>

using namespace std;//name space

// define main method

int main()

{

//set integer variables

int size, num;

//get input the size of the list

cout<<"Enter size of list: ";

cin >> size;

//set integer type vector variable

vector<int> vecs;

//Set the for loop

for (int index = 0; index < size; ++index)

{//get elements of the list from the user

cout<<" :";

cin >> num;

//push back the elements of the list

vecs.push_back(num);

}

//storing the first two elements in variable

int n = vecs[0], n1 = vecs[1], current , temp;

//set if conditional statement

if (n > n1)

{

//perform swapping

temp = n;

n = n1;

n1 = temp;

}

//Set for loop

for (int index = 2; index < size; ++index)

{

//store the value of the vector in the variable

current = vecs[index];

//set if conditional statement

if (current < n)

{

//interchange the elements of the variable

n1 = n;

n = current;

}

else if(current < n1)

{

n1 = current;

}

}

//print the value of first two smallest number.

cout <<"\n" <<n << " " << n1 << endl;

return 0;

}

<u>Output:</u>

Enter size of list: 5

:10

:5

:3

:21

:2

2 3

Explanation:

Here, we define the required header files and namespace then, we define "main()" function inside the main function.

  • Set two integer data type variable "size", "num".
  • Print message and get input from the user in variable  "size".
  • Then, we set integer vector type variable "vecs".
  • Set the for loop to get the number of input in the variable "num" from user.
  • Then, we push back the elements of the list and store first two elements of the list in the variable "n", "n1".
  • Set the conditional statement to perform swapping.
  • Define the for loop to store the list of the vector in the integer type variable "current".
  • Finally, we print the value of the two smallest numbers of the list.
8 0
3 years ago
What is the term for a program that performs a repetitive task on a network?
Andrews [41]
Bot. A program that performs a repetitive task on a network. Cybercriminals install malicous bots on unprotected computers to create a botnet. Zombie army. (also calledBotnet) groups of bots
7 0
3 years ago
Other questions:
  • Which are characteristics of pseudocode? Select all that apply.
    6·1 answer
  • It's time for you to schedule a dental checkup. The responsible thing to do is to ___
    11·1 answer
  • a.Write a Python function sum_1k(M) that returns the sumí‘ í‘ = ∑1푘푘푀푀푘푘=1b.Compute s for M = 3 by hand and write
    15·1 answer
  • Kelvin owns a small trading firm. Recently, he suspected that some of his employees were using fraudulent activities for their p
    5·2 answers
  • What does it mean to clear a setting in a dialog box?
    14·1 answer
  • You are configuring two PCs for your network, PC-A is given an IP address of 192.168.1.18 and PC-B is given an IP address of 192
    15·1 answer
  • Create a method called randomValues that uses a while loop to generate a random number between 1-25 until the value 10 is genera
    12·1 answer
  • How to you compute for the total room sales​
    10·1 answer
  • Your customer said that understanding the directions is difficult. This is an aspect of
    6·1 answer
  • Im trying to do an animation only using simplegui in python and my objective is make the ball enters frame, be confused and jump
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!