answer.
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
Lyrx [107]
2 years ago
6

The following is a string of ASCII characters whose bit patterns have been converted into hexadecimal for compactness: 73 F4 E5

76 E5 4A EF 62 73.
Of the eight bits in each pair of digits, the leftmost is a parity bit. The remaining bits are the ASCII code.

(a) Convert the string to bit form and decode the ASCII.

(b) Determine the parity used: odd or even?
Computers and Technology
1 answer:
polet [3.4K]2 years ago
5 0

Answer:

a) Converting each string to bit form:

73:

The string is 7 and 3

7 in bit form is : 111

3 in bit form is: 11

So

73: 0_111_0011

Similarly

F4:

F is 15 and its bit form is: 1111

4 in bit form: 100

So

F4:  1_111_0100

E5:

E is 14 and its bit form is: 1110

5 in bit form: 101

So

E5:  1_110_0101

76:

7 in bit form: 111

6 in bit form: 110

So

76:  0_111_0110

E5:

E is 14 and its bit form is: 1110

5 in bit form: 101

So

E5:  1_110_0101

4A:

4 in bit form: 100

A is 10

A in bit form: 1010

So

4A:  0_100_1010

EF:

E in bit form is: 1110

F in bit form is: 1111

So

EF: 1_110_1111

62:

6 in bit form: 110

2 in bit form: 10

So

62:  0_110_0010

73:

The string is 7 and 3

7 in bit form is : 111

3 in bit form is: 11

So

73: 0_111_0011

for 0_1110011: the decimal is: 115 which is equal to s

for 1_1110100:  the decimal is: 116 which is equal to t

for 1_1100101:  the decimal is: 101 which is equal to e

for 0_1110110: the decimal is:  118 which is equal to v

for 1_1100101:  the decimal is: 101 which is equal to e

for 0_1001010: the decimal is:  74 which is equal to j

for 1_1101111: the decimal is: 111 which is equal to o

for 0_1100010:  the decimal is: 98 which is equal to b

for 0_1110011: the decimal is:  115 which is equal to s

So the decoded character is:  stevejobs

b) The parity used is odd.

for 0_1110011:  There are 5 number of 1s and parity is 0 so the parity is odd.

for 1_1110100: There are 4 number of 1s and parity is 1 so the parity is odd.

So here we are counting the number of 1s and then checking if the parity is even or odd.

Similarly

for 1_1100101:  parity is odd

for 0_1110110: parity is odd

for 1_1100101:  parity is odd

for 0_1001010: parity is odd

for 1_1101111: parity is odd

for 0_1100010: parity is odd

for 0_1110011: parity is odd

Hence the parity used is odd.

You might be interested in
Henry is creating a firewall rule that will allow inbound mail to the organization. what tcp port must he allow through the fire
charle [14.2K]
He needs to use a password from henry to get pass the firewall
3 0
2 years ago
Read 2 more answers
3. Choosing a pre-formatted presentation (that already has a design in the slides) is called choosing a ?
Charra [1.4K]

Answer:

3. Choosing a pre-formatted presentation (that already has a design in the slides) is called choosing a ?

Explanation:

3. Choosing a pre-formatted presentation (that already has a design in the slides) is called choosing a ?

7 0
2 years ago
Janis needs to select all the text in a single bullet point. Which action describes the easiest method to perform this task?
olganol [36]

Answer:

Triple-click the text in the bullet item is the easiest  way to select all text

Explanation:

5 0
2 years ago
Write a copy assignment operator for CarCounter that assigns objToCopy.carCount to the new objects's carCount, then returns *thi
ollegr [7]

Answer:

Here is the copy assignment operator for CarCounter:

CarCounter& CarCounter::operator=(const CarCounter& objToCopy) {

carCount = objToCopy.carCount;

return *this;  }

The syntax for copy assignment operator is:

ClassName& ClassName :: operator= ( ClassName& object_name)

In the above chunk of code class name Is CarCounter and object name is objToCopy.

Assignment operator = is called which assigns objToCopy.carCount to the new objects's carCount.

This operator basically is called when an object which is already initialized is assigned a new value from another current object.

Then return *this returns the reference to the calling object

Explanation:

The complete program is:

#include <iostream>  //to use input output functions

using namespace std;   //to access objects like cin cout

class CarCounter {  //class name

public:  // public member functions of class CarCounter

CarCounter();  //constructor of CarCounter

CarCounter& operator=(const CarCounter& objToCopy);  //copy assignment operator for CarCounter

void SetCarCount(const int setVal) {  //mutator method to set the car count value

carCount = setVal;  } //set carCount so setVal

int GetCarCount() const {  //accessor method to get carCount

return carCount;  }  

private:  //private data member of class

int carCount;  };    // private data field of CarCounter

CarCounter::CarCounter() {  //constructor

carCount = 0;  //intializes the value of carCount in constructor

return; }  

// FIXME write copy assignment operator  

CarCounter& CarCounter::operator=(const CarCounter& objToCopy){

/* copy assignment operator for CarCounter that assigns objToCopy.carCount to the new objects's carCount, then returns *this */

carCount = objToCopy.carCount;

return *this;}  

int main() {  //start of main() function

CarCounter frontParkingLot;  // creates CarCounter object

CarCounter backParkingLot;   // creates CarCounter object

frontParkingLot.SetCarCount(12);  // calls SetCarCount method using object frontParkingLot to set the value of carCount to 12

backParkingLot = frontParkingLot;  //assigns value of frontParkingLot to backParkingLot

cout << "Cars counted: " << backParkingLot.GetCarCount();  //calls accessor GetCarCount method to get the value of carCount and display it in output

return 0;  }

The output of this program is:

Cars counted = 12

3 0
2 years ago
3. Personal Trainer is very concerned about the security and protection of the information they collect in the new information s
Sever21 [200]

Answer:

Check the explanation

Explanation:

in order to make sure that the built into the new systems, the below input and output levels of security control have to be considered for personal trainers staff.

There are:

   Network Security

   Application security

   Physical security

   User security

   File security

   Procedural security

These securities levels are consistent and advantage in building the decisions regarding system security.

There are the following policies applied to each control:

Network Security: Network interface and traffic controlling, encryption of data.

Application Security: Verification of data input/output and update of software proceedings.

Physical Security: Security to servers, computers and physical environment.

User Security: Protection passwords and identify management skills.

File Security: Access Permission allocated to users and editing authorizations given to users.

Procedural Security: Certify safety protection to perform decision-making activities and document shredders.

Finally, consider another main point is depends the new system performance are system response time, throughput, bandwidth time and turnaround time.

7 0
2 years ago
Other questions:
  • Mary can view the thumbnails of her presentation slides when she is creating the slides. Which element of the program’s interfac
    5·2 answers
  • Which of these is an on-site metric for social media marketing?
    13·1 answer
  • QUESTION 2 of 10: New shoes are on SALE. You find a pair you like for $85 dollars. But you only have $45 with you. So, you pay $
    13·1 answer
  • Suppose a computer using direct mapped cache has 220 bytes of byte-addressable main memory, and a cache of 32 blocks, where each
    5·1 answer
  • while investigating the settings on your SOHO router, you find two IP address reported on the devices's routing table, which is
    5·1 answer
  • There is a file "IT4983" in my home (personal) directory. I don’t know my current working directory. How can I find out the file
    11·1 answer
  • Write a program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest to highest
    13·2 answers
  • An Open Authorization (OAuth) access token would have a _____ that tells what the third party app has access to
    5·1 answer
  • What is the value of the variable result after these lines of code are executed?
    5·2 answers
  • What should businesses do in order to remain competitive under the current Cloud<br> landscape?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!