Convert decimal 177 to binary, to octal, and to hexadecimal.

What will be an ideal response?

Decimal 177
to binary:
256 128 64 32 16 8 4 2 1
128 64 32 16 8 4 2 1
(1*128)+(0*64)+(1*32)+(1*16)+(0*8)+(0*4)+(0*2)+(1*1)
10110001
to octal:
512 64 8 1
64 8 1
(2*64)+(6*8)+(1*1)
261
to hexadecimal:
256 16 1
16 1
(11*16)+(1*1)
(B*16)+(1*1)
B1

Computer Science & Information Technology

You might also like to view...

When thenode.nodeTypeproperty returns a value of 8, it indicates that the node is a comment.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Match the following commands to the corresponding descriptions

_____ 1. set number _____ 2. y$ _____ 3. set noshowmode _____ 4. Ctrl d _____ 5. "add _____ 6. yy _____ 7. "2p _____ 8. 3yw _____ 9. set all _____ 10. ab _____ 11. map _____ 12. vi -r filename _____ 13. set report=0 _____ 14. view filename _____ 15. .exrc a: copies the current line into the temporary buffer b: cancels the showmode set up c: copies the content of buffer number 2 to the cursor position d: deletes a line and saves it in the a buffer e: displays line numbers f: copies the text starting from the cursor to the end of the line to the temporary buffer g: opens a file for read only. h: scrolls the cursor down, usually 12 lines i: lists the abbreviations j: opens a file for recovery k: name of the file that vi looks for when it is invoked l: vi command to create a macro m: displays list of the parameters and their set up values n: sets confirmation messages for editing any number of lines. o: copies 3 words to the temporary buffer

Computer Science & Information Technology