Question

In: Computer Science

Q1: Using the below given ASCII table (lowercase letters) convert the sentence “welcome to cci college”...

Q1:

Using the below given ASCII table (lowercase letters) convert the

sentence “welcome to cci college” into binary values.

a - 97

b - 98

c - 99

d - 100

e - 101

f - 102

g - 103

h - 104

i - 105

j - 106

k - 107

l - 108

m - 109

n - 110

o - 111

p - 112

q - 113

r -114

s -115

t - 116

u - 117

v - 118

w - 119

x - 120

y - 121

z - 122

Space - 32

Q2:

What are the 16-bit 1’s and 2’s complements of the following binary numbers?

a.    01100

b.    100111100001001


Solutions

Expert Solution

1) welcome to cci college

1110111 1100101 1101100 1100011 1101111 1101101 1100101 100000 1110100 1101111 100000 1100011 1100011 1101001 100000 1100011 1101111 1101100 1101100 1100101 1100111 1100101

2)

a)01100

16bit 1's complement: 1111111111110011

2's complements : 111111111110100

b) 100111100001001

1's complement: 0011000011110110

2's complement: 0011000011110111


Related Solutions

The ASCII lowercase letters are separated from the uppercase letters by 32. Thus, to convert a...
The ASCII lowercase letters are separated from the uppercase letters by 32. Thus, to convert a lowercase letter to uppercase, subtract 32 from it. Use this information to write a program that reads characters from the keyboard. Have it convert all lowercase letters to uppercase, and all uppercase letters to lowercase, displaying the result. Make no changes to any other character. Have the program stop when the user enters a period. At the end, have the program display the number...
using python The table below shows the current (2019/2020) College Football Rankings and the number of...
using python The table below shows the current (2019/2020) College Football Rankings and the number of wins by each team. a. Create a pandas DataFrame that stores the information in this table and displays this. 5 points will be deducted if this is not attempted. 2 points will be deducted if it is wrong or there is a typo b. Display (or print out) the mean, standard deviation and maximum of the number of wins given in this dataframe. 5...
(6 pts) Convert the data representation given below • Convert 10110111 unsigned binary representation, to decimal...
(6 pts) Convert the data representation given below • Convert 10110111 unsigned binary representation, to decimal representation. • Convert 01100000101110000001010111111000 the binary representation to a hexadecimal representation. • Convert 0xBAAADA55 hexadecimal representation, to a binary representation. 2. (8 pts) Complete the following arithmetic operations in two’s complement representation. What are the values of the carry flag and the overflow flag? (Assume a six-bit system) • 31 + 11 • 13 – 15 • (-2) x (-16) • (-15) ÷ 5
Using the cash flows given in the table below for mutually exclusive projects Alpha and Beta,...
Using the cash flows given in the table below for mutually exclusive projects Alpha and Beta, assist the Chief Financial Officer in finding the breakeven rate (the crossover point or the rate of indifference). Which project do you recommend if using a cost of capital of 9% and Why? YEAR PROJECT ALPHA PROJECT BETA 0 -175 000 -82 500 1 40 000 30 000 2 60 000 10 500 3 85 000 40 000 4 92 000 75 000 5...
Answer the questions below using the information given in the following table. China France Pairs of...
Answer the questions below using the information given in the following table. China France Pairs of boots produced per hour 4 8 Bottles of wine per hour 2 16 Comparative advantage ? ? Which country has a comparative advantage in the production of boots? b. Provide the range of the international relative price of wine at which the two countries would trade.
Q1: A sample with two variables (x and y) is given in the table. According to...
Q1: A sample with two variables (x and y) is given in the table. According to the sample, please develop an excel spreadsheet to calculate the missing values given in the table of “summary output” attached below. The excel spreadsheet needs to be submitted together with your assignment. Note: use “data analysis toolpak” to check your answers, but calculations, equations and steps should be done for each "?" value x y 1.0 5.2 1.5 7.2 2.0 5.5 2.5 4.9 3.0...
Using the descriptions given in the figure, convert the ERD shown in Figure P6.2 into a...
Using the descriptions given in the figure, convert the ERD shown in Figure P6.2 into a dependancy diagram that is in at least 3NF.
(a) Given the information in the table below (Table 1) for three consecutive years) in an...
(a) Given the information in the table below (Table 1) for three consecutive years) in an economy, calculate the missing data in the table labelled (A) to (F). Also, show how you have worked out your answer for each missing value. Table 1 Year Nominal GDP ($ billion) Real GDP (2018 $ billion) GDP Deflator (2018 = 100) Inflation Real GDP per capita (2018 $) Population (million) 2017 547.1 (A) 98.8 1.3 (B) 18.31 2018 (C) 540 (D) 1.2 (E)...
Using the code letters below, indicate how each of the items listed would be handled in...
Using the code letters below, indicate how each of the items listed would be handled in preparing a bank reconciliation for the month of May for Pinar dairy Company. (8 points) Code A Add to cash balance per Banks B Deduct from cash balance per Banks C Add to cash balance per Book D Deduct from cash balance per Book E Does not affect the bank reconciliation Deposits of May 30 and 31 not yet recorded by bank $9,000 and...
Using the code letters below, indicate how each of the items listed would be handled in...
Using the code letters below, indicate how each of the items listed would be handled in preparing a bank reconciliation for the month of March for Unipal company. (8 points) Code A Add to cash balance per Banks B Deduct from cash balance per Banks C Add to cash balance per Book D Deduct from cash balance per Book E Does not affect the bank reconciliation A check for $127 written to the company by J. Chandler was returned NSF...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT