Compute the decimal representation for each of the following numbers.

a. (1100110)2
b. (346)7
c. (1024)8
d. (3B2)16
e. (AF72)16
f. (120121)3
g. (A22)11

Answers

Answer 1

Answer:

[tex](1100110)_2= 102_{10[/tex]

[tex](346)_7= 181_{10[/tex]

[tex](1024)_8 = 532_{10[/tex]

[tex](3B2)_{16} = 946_{10[/tex]

[tex](AF72)_{16}= 44914_{10[/tex]

[tex](120121)_3= 421_{10[/tex]

[tex](A22)_{11} = 1234_{10}[/tex]

Explanation:

Required

Convert to decimal

To do this we get the position of individual digits (starting from the rightmost digit).

Then each digit is multiplied by the base raise to power its position.

Lastly, we sum the results of the products.

Following the above steps, we have:

[tex]a.\ (1100110)_2[/tex]

[tex]= 1 * 2^6 + 1 * 2^5 + 0 * 2^4 + 0 * 2^3 + 1 * 2^2 + 1 * 2^1 + 0 * 2^0[/tex]

[tex]= 1 * 64 + 1 * 32 + 0 * 16 + 0 * 8 + 1 * 4 + 1 * 2 + 0 * 1[/tex]

[tex]= 64 + 32 + 0 + 0 + 4 + 2 + 0[/tex]

[tex]= 102[/tex]

Hence:

[tex](1100110)_2= 102_{10[/tex]

[tex]b.\ (346)_7[/tex]

[tex]= 3 * 7^2 + 4*7^1 + 6 * 7^0[/tex]

[tex]= 3 * 49 + 4*7 + 6 * 1[/tex]

[tex]= 147 + 28 + 6[/tex]

[tex]= 181[/tex]

Hence:

[tex](346)_7= 181_{10[/tex]

[tex]c.\ (1024)_8[/tex]

[tex]= 1 * 8^3 + 0 * 8^2 + 2 * 8^1 + 4 * 8^0[/tex]

[tex]= 1 * 512+ 0 * 64 + 2 * 8 + 4 * 1[/tex]

[tex]= 512+ 0 + 16 + 4[/tex]

[tex]= 532[/tex]

Hence:

[tex](1024)_8 = 532_{10[/tex]

[tex]d.\ (3B2)_{16[/tex]

[tex]= 3 * 16^2 + B * 16^1 + 2 * 16^0[/tex]

[tex]= 3 * 256 + B * 16 + 2 * 1[/tex]

B represents 11, so we have:

[tex]= 3 * 256 + 11 * 16 + 2 * 1[/tex]

[tex]= 768 + 176 + 2[/tex]

[tex]= 946[/tex]

Hence:

[tex](3B2)_{16} = 946_{10[/tex]

[tex]e.\ (AF72)_{16[/tex]

[tex]= A * 16^3 + F * 16^2 + 7 * 16^1 + 2 * 16^0[/tex]

[tex]= A * 4096 + F * 256 + 7 * 16 + 2 * 1[/tex]

A represents 10 and F, 15; So, we have:

[tex]= 10 * 4096 + 15 * 256 + 7 * 16 + 2 * 1[/tex]

[tex]= 40960 + 3840 + 112 + 2[/tex]

[tex]= 44914[/tex]

Hence:

[tex](AF72)_{16}= 44914_{10[/tex]

[tex]f.\ (120121)_3[/tex]

[tex]= 1 * 3^5 + 2*3^4 + 0*3^3 + 1*3^2 + 2*3^1 + 1*3^0[/tex]

[tex]= 1 * 243 + 2*81 + 0*27 + 1*9 + 2*3 + 1*1[/tex]

[tex]= 243 + 162 + 0 + 9 + 6 + 1[/tex]

[tex]= 421[/tex]

Hence:

[tex](120121)_3= 421_{10[/tex]

[tex]g.\ (A22)_{11[/tex]

[tex]= A * 11^2 + 2 * 11^1 + 2 * 11^0[/tex]

[tex]= A * 121 + 2 * 11 + 2 * 1[/tex]

A represents 10, so we have:

[tex]= 10 * 121 + 2 * 11 + 2 * 1[/tex]

[tex]= 1210 + 22+ 2[/tex]

[tex]= 1234[/tex]

Hence:

[tex](A22)_{11} = 1234_{10}[/tex]


Related Questions

Which input value causes the loop body to execute a 2nd time, thus outputting "In loop" again? { String s = "Go"; while ((!s.equals("q"))&& (!s.equals("")) System.out.println("In loop"); 5 - scnr.nextO;
a) "Quit"
b) "q" only
c) "Q only
d) Either "q" or "Q"

Answers

Answer:

a) "Quit"  

c) "Q only

Explanation:

Given

String s = "Go";

while ((!s.equals("q"))&& (!s.equals("")))  {

System.out.println("In loop");

s = scnr.next();

}

Required

What input causes another execution

Analyzing the while condition

while ((!s.equals("q"))&& (!s.equals("")))  

This can be split into:

!s.equals("q")) && (!s.equals(""))

Meaning

When s is not equal to "q" and when s is not an empty string

In other words,

the loop will be executed when user input is not "q" and user input is not empty.

So, from the list of given options: The loop both will be executed when:

a) Input is "Quit"

c) Input is Q only

Input of q will terminate the loop, hence b and d are incorrect

Which choices correctly describe an Else
statement? Check all that apply.
a conditional statement that will show
different information if the answer to the If
statement is true
a conditional statement that will show
different information after the If statement
answer is false
a statement that contains the code to be
executed when the If value is false or zero
a conditional statement that runs a piece of
code when all program statements are true

Answers

Answer: B C

Explanation:

Answer:B,C,D

Explanation:

Using range(1,101), make two list, one containing all even numbers and other containing all odd numbers. How can I do this on Python

Answers

Answer:

even = []

odd = []

for i in range(1,101):

if i % 2 == 0:

even.append(i)

else:

odd.append(i)

Using range(1,101), the list of even and odd number can be done in python as follows;

odd_numbers = []

even_numbers = []

for i in range(1, 101):

  if i%2 == 0:

     even_numbers.append(i)

  else:

     odd_numbers.append(i)

print(even_numbers)

print(odd_numbers)

The variable odd_numbers is initialise with an empty list

The variable even_numbers is initialise with an empty list.

Then we loop through the range 1 to 101 as required.

If the looped numbers is divided by 2 without a remainder then the number is appended to the empty list even_numbers.

Else if it has a remainder, the looped number are appended to the empty list, odd_numbers.

Then we print the even_numbers and odd_numbers.

learn more about python here; https://brainly.com/question/14157737?referrer=searchResults

20 pts, please write in JAVA. need this ASAP
In the Lesson Slides for this activity, we developed a method findChar for figuring out if a character was in a String.

The implementation was:

public boolean findChar(String string, String key)
{
for(int index = 0; index < string.length(); index++)
{
String character = string.substring(index,index+1);
if(character.equals(key))
{
return true;
}
}
return false;
}
However, there is a much more efficient and simple algorithm that we can use to determine if a character is in a String. Using the method signature public boolean findChar(String string, String key), figure out a more efficient method with a lower exection count.

Hint: We’ve learned a couple of methods that can tell us what index a character is at - can we use those to determine if the character is in a String?

Answers

public class JavaApplication78 {

   public boolean findChar(String string, String key){

       if (string.contains(key)){

           return true;

       }

      return false;

   }

   public static void main(String[] args) {

       JavaApplication78 java = new JavaApplication78();

       System.out.println(java.findChar("hello", "h"));

   }

   

}

First I created the findChar method using the contains method. It checks to see if a certain sequence of characters is in another string. We returned the result. In our main method, we had to create a new instance of our main class so we could call our findChar method.

ANSWER THIS CORRECTLY TO GET BRAINLY
What is a row of data in a database called?

a
Field

b
File

c
Record

d
Title

Answers

the answer is c. record

Which logic correctly describes an algorithm to find the smallest of the three numbers a, b, and c and store the smallest number in small?

A.
If a is less than b, then set a to small, else set b to small, else set c to small.
B.
If a is less than b, then set small to a, else set small to b.
If c is less than small, then set small to c.
C.
If a is less than b, then set small to b, else set small to c.
If c is less than small, then set small to a.
D.
If a is less than small, then set small to a.
If b is less than small, then set small to b.
If c is less than small, then set small to c.

Answers

Answer:

D

Explanation:

Answer:

B. If a is less than b, then set small to a, else set small to b.

If c is less than small, then set small to

Explanation:

Plato correct!!

Does anyone know how to fix this error of " the media could not be loaded, either because the server or network failed or because the format is not supported " in the playback of web videos ?

Answers

Answer:

Restart your WiFi!

Explanation:

It happened to me I did that and it fixed it

Answer: try shutting down your computer or close all tabs and restart!

Step-by-step: if that no works message me

A database has one physical schema and one conceptual (logical) schema but many external schemas (views).
a) True
b) False

Answers

Answer:

true

Explanation:

A database has one physical schema and one conceptual (logical) schema but many external schemas (views): a. True.

A database refers to a structured (organized) collection of data that are stored on a computer system and usually accessed in various ways such as electronically.

In database management, a database schema can be defined as a structure which is typically used to represent the logical design of the database. Thus, it denotes how data are stored (organized) and the relationships existing in a database management system (DBMS).

Generally, there are two (2) main types of a database schema and these include;

Physical database schema: it is only one per database.Conceptual (logical) schema: it is only one per database.

However, there are multiple number of external schemas (views) for each database because it is what an end user is interested in.

Read more on database here: https://brainly.com/question/3259292

For the sake of maximizing hardware utilization in a multicore system with a many to many threading model, the relationship of the number of user threads U to the number of kernel threads K to the number of CPU cores P should be:

Answers

Answer:

"U > K > P" would be the appropriate answer.

Explanation:

When performing or executing the software, user threads (U) could easily be accomplished and therefore are typically wide in the amount to provide excellent or excellent performance. Multiple kernel threads could indeed be appointed to every other core as well as try to emulate the algorithm for scheduling.

Help me! I’ll mark you brainly and give extra points!

Answers

Answer:

52 5,

Explanation:

how has the Internet of Things affected business​

Answers

Internet of Things devices can be connected to each other and controlled to improve efficiency,which in turn has direct effects on the productivity of the business. Hope this helps!

Answer:

Business equipment can be continually adjusted based on analysis of data

Explanation:

A P E X

Write an If/else statement to check whether host is online. If it is online, then print system is online otherwise print system is unreachable.

Answers

Answer:

from socket import *

hostname = input('Enter the host to be scanned: ')

ip_add = gethostbyname(hostname)

connections = [ ]    

for i in range(133, 136):

   s = socket(AF_INET, SOCK_STREAM)

     

   conn = s.connect_ex((ip_add, i))

   print(conn)

   connections.append(conn)

if 0 in connections:

   print ('Host is online')

   s.close()

else:

   print ('system is unreachable')

Explanation:

The python source code above scans for all the available range of ports in the provided hostname, if any port is available, the host is online else the program print the error message "system is unreachable.

On his website, Mario has a video that visitors must click to play. He wants the video to play automatically when the page loads. What attribute should Mario add to the
A. controls
B. loop
C. autoplay
D. play

Answers

Answer:

C: AutoPlay

Explanation:

it is C because the definition of AutoPlay is: a functionality that causes a video, audio file, etc. to play automatically, without action from a user.


Please help!! I’ll mark you brainly

Answers

Answer:

1. raster and vector

2. Resolution

3. Color depth

4. Forms, Shapes

5. Tone

6. Balance

7. White space

8. Aspect ratio

9. Focus

10. cropping

Hope this helped :)

i’m just your second response so you can mark him brainly lol

if you make homemade knitted garments and you sell them to individuals online, what e-commerce are you participating in?
is it B2B or B2C or C2C or SaaS

Answers

The Answer Of This Question Is C2C.

Determine the number of character comparisons made by the brute-force algorithm in searching for the pattern GANDHI in the text
THERE_IS_MORE_TO_LIFE_THAN_INCREASING_ITS_SPEED
(Assume that the length of the text-it is 47 characters long- is known before the search starts).

Answers

Answer:

Total number of character comparison = 43

Explanation:

Using the Brute force algorithm

The string of n characters is known as text, and the string of m characters is known as the pattern.

From the given information:

The text (n)=THERE_IS_MORE_TO_LIFE_THAN_INCREASING_ITS_SPEED

The pattern (m) = GANDHI

The total no of characters that we have in the text = 47

The total number of characters in pattern = 6

For a brute force algorithm;

Since; the first character of the pattern does not exist in the text, then the number of trials made can be attempted can be expressed as = n – m + 1

= 47 – 6 + 1

= 47 – 5

= 42

Thus; the algorithm will attempt the trial 42 times.

Now, for loop in the algorithm to run 42 times, the G in the pattern will have to align against the for T in the text, and in the last case, it will be aligned against the last space.

On each attempted trial, the algorithm will make one unsuccessful comparison.

However, at the trial at which the G in the pattern Is aligned with the G in the text, there will be two successful comparisons.

Hence, we can calculate the total number of character comparison as follows:

Total number of character comparison = [tex]\mathbf{\bigg ( ( 42 - (no. \ of \ failed \ comparison) ) \times 1 + (1 \times ( Two \ successful \ comparisons) ) \bigg ) }[/tex]

Total number of character comparison = ( (( 42 – 1) × 1 ) + ( 1 × 2) )

Total number of character comparison = 41 + 2

Total number of character comparison = 43

7-9 validation rule in a field will​

Answers

Answer:

Validation rule in a field will restrict the input from user into a field or table

Explanation:

Validation is used in database to ensure that the correct data type is entered in the fields. When validation is applied to a field, a message is displayed to the user if he enters the data of wrong datatype.

Hence,

Validation rule in a field will restrict the input from user into a field or table

When would you insert a merge field?

A. when updating the source document

B. when choosing which information you want to enter into a letter

C. when choosing which information you want to insert in a merged letter

D. when creating a document

Answers

Answer:

Once you have a data source connected to your document, adding merge fields is a way to personalize a document with information from the data source.

I believe it’s C, but please correct me if I’m wrong!!

4.2 code need help plz someone 15 points if u help

Answers

def func():  

 total = 0

 while True:

   pet = input("What pet do you have? ")

   if pet == "rock":

     return

   total += 1

   print("You have a {} with a total of {} pet(s)".format(pet, total))

func()

We wrapped our code in a function so that whenever the user enters rock, we can simply return and exit the function. If you have any other questions, I'll do my best to answer them.

What question did the use of a telescope by Hubble answer?

A

Is Earth the center of the universe


B

Is the sun the center of the universe


C

How do the planets move in the solar system


D

Are there more galaxies beyond the Milky Way

Answers

Answer:

The Answer is D

Corina has added animations to objects on a particular slide within a presentation. She needs to reorder the animations. How should she achieve this goal?

A. Use the Preview button.
B. Access the Advanced timeline.
C. Use the Animation pane.
D. Delete and recreate the animations in the correct order.

Answers

I think it's B but im not 100% sure sorry if im wrong

Answer: C

Explanation:

As a user of media what will you say to those people who are under of misleading use media

Answers

Answer:

search more sa google

PLEASE ANSWER QUICK
How can improving one’s reasoning skills also improve one’s performance on the job?
A. If one can improve one’s reasoning, one can also improve one’s physical fitness and athletic performance.
B. If one can improve one’s reasoning, one can perform anything.
C. High-performing workers always work reasonable schedules.
D. High-performing workers are able to analyze sophisticated streams of data and solve complex problems.

Answers

Answer: C

Explanation:

C high performance workers always work

We study computer____to become familiar with how circuits and signals collaborate to create working computer systems.
A) architecture
B) organization
C) layers
D) systems of linear equations

Answers

Answer:

Option B (Organization) would be the correct answer.

Explanation:

It communicates about either the simple interface provided to either the compiler as well as the OS by the digital hardware to accommodate customers' requirements. Computer company struggles through computer program hardware components, including input machines, processing elements (CPU), storage, as well as main memory systems.

The other options offered aren't relevant to the scenario presented. So, the solution here is just the right one.

Write a program in Python to sum to numbers:

Urgently needed, please.

Answers

num1 = float(input("Enter the first number: "))

num2 = float(input("Enter the second number: "))

print("{} + {} = {}".format(num1,num2,num1+num2))

Variables num1 and num2 prompt the user for a number. The print function then displays the answer and equation.

identify 5 products/services needed by the people in our current situation.

Answers

Answers with Explanations:

5 Products/Services Needed by People These Days.

1. Face mask/Surgical mask - The use of face mask is considered a common sense. Most countries mandate people to wear this every time they go out.

2. Food Delivery service - To prevent contracting corona virus, most people prefer to have their food delivered than to dine out. This increases the demand for the food delivery service.

3. Alcohol - It has become an important habit recently to disinfect hands and other things. This is also being advertised on TV, thus many people carry it along with them.

4. Infrared Forehead Thermometer - Many establishments use this in order to quickly check the temperature of people entering.

5. Internet service - The increase use of this service is due to online learning and remote-working situations.

We all need different product and services. In this pandemic time, the products/services needed by the people are;

Face mask or Surgical mask

All round Food Delivery service  

Humanitarian gestures by people or firms and also Good Tv programs that are educative and one can watch with kids them.

Infrared Forehead Thermometer  

Internet service

A product is known to be a tangible goods that one buys or acquisition,  consume, etc.  Service is known as an intangible item.

A key reason for any new development is to give the best or new value to the customer and in this present time. Helping those who have lost their jobs, having mask mask,  etc., readily available will go a long way to help.

Learn more about Products from

https://brainly.com/question/10873737

The phrase “I suppose” helps Roosevelt create which kind of tone?


suspicious
negative
proper
humble

Answers

The phrase “I suppose” helps Roosevelt create a humble kind of tone

for better understanding, lets understand what a humble tone means

Humble kind of tone is simply a kind of tone that is said to be not proud or arrogant, modest , usually the individual feels insignificance or inferiorityExample: In the presence of so many game developers, I felt very humble. It also mean for someone to be respectful e.g.  In my humble opinion your idea was wrong

From the above, we can therefore say that the answer The phrase “I suppose” helps Roosevelt create a humble kind of tone is correct

learn more about humble tone from:

https://brainly.com/question/16589885

Answer:

it's humble

Explanation:

This is the department that is responsible for hiring, firing, training, new employees for the business or corporation.
Group of answer choices

Human Resources

Information Technology

Advertising

Marketing

Answers

Answer:

Explanation:

human resources

hoped this helped

If you need to download something for a class, first

Answers

Answer:

left click, then click save image

Explanation:

Answer:

first try to do it on kami, then on Google docs, then on doc-hub

Write pseudocode for a function that translates a telephone number with letters in it (such as 1-800-FLOWERS) into the actual phone number. Use the standard letters on a phone pad.

Answers

Answer:

Explanation:

Function telToNumbers with one parameter of a String input for the telephoneNumber

String var newTelephoneNum;

for loop through telephoneNumber {

Char var currentChar = current Character in the loop;

currentChar to lower Case;

Switch statement (currentChar) {

 case "a" or "b" or "c" : newTelephoneNum += "2"; break;

 case "d" or "e" or "f" : newTelephoneNum += "3"; break;

 case "g" or "h" or "i" : newTelephoneNum += "4"; break;

 case "j" or "k" or "l" : newTelephoneNum += "5"; break;

 case "m" or "n" or "o" : newTelephoneNum += "6"; break;

 case "p" or "q" or "r" or "s" : newTelephoneNum += "7"; break;

 case "t" or "u" or "v" : newTelephoneNum += "8"; break;

 case "w" or "x" or "y" or "z" : newTelephoneNum += "9"; break;

 default : newTelephoneNum += currentChar; break;

 }

}

print newTelephoneNum;

Other Questions
Brainliest !!!!!!!!!! correct and fast answers only!! please help me quickly where n 2 1OS On -31-Mn(01'0-1)="n A Metal pan will heat up quickly when placed over a gas or electric burner. The Metal pan is a good what... Which is the first step that geologists must do to compare rock layers at distant locations?find the absolute age of rocks at both locationscompare a layer at one location to layers at other locationsidentify index fossils in one or more layers at one locationcollect fossils from different locations to study the organisms lifestyles Which formulas return TRUE, if the value in cell B4 is 12 and the value in C4 is 29?____ and ____ return TRUE, if the value in cell B4 is 12 and the value in C4 is 29. WILL MARK BRAINLIEST PLEASE HELP Referring to the diagram the owl would be consideredan herbivorea second-level consumera third-level consumera decomposer One way used to show a person's importance in Carolingian art is to ____________________.Use bronze instead of wood.Cover the art in pure gold.Make them obviously bigger than other images and forms.Make sure it was very expensive to make Find the equation of the line thatis perpendicular to y =contains the point (4,-8).- 2/3 x Fifty minus two plus the quantity three divided by six PLS HELP IM BEGGING You Find the missing number in the following equation.k x 78 = 117k = 1.5k = 195k = 39 is y=x/4 proportional or non proportional? What factors can influence the properties of glass, which include its ability to transmit, reflect, or absorb light, or to be transparent?if u can i need a one paragraph thx!pls help me! Which one??? I need help Which does the department of economic development promote to grow Georgias economy? Check all that apply. tourism savings investment TV tradefirst right answer gets brain list no cap What 2 countries laid claim to the land when they met the Walla Walla tribe To increase your calcium intake, you mighta. drink more milk and eat more dark-green, leafy vegetables.b. eat more cereals and meats.c. add salt and soy sauce to your foods.d. eat more eggs and liver. _________ is the primary measurement used to gauge your typing ability