![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 26.11.2019 05:31 Campos101
Consider the storage of timestamp for time of the day in a system. the time stamp format needs/uses 5 bits for seconds/2, 6 bits for minutes and 5 bits for hours (stored as hours-minutes-seconds/2 from msb to lsb format). using these values, seconds/2 may take values from 0 to 31, minutes may take values from 0 to 63, and hours may take values from 0 to 31. in all the three cases, the extra unused values will never be actually used/taken. the total number of bits required to store all the three fields = 5+6+5 = 16. declare three structure-types for the timestamp. first uses unsigned char type for each of the three elements (seconds_by_2, minutes and hours), second uses unsigned int type for each of the three. the third type uses unsigned short and with bit fields specified for each element. print the size of each of the three struct types using sizeof operator for your architecture + compiler. explain the difference if any. which one is better, if any and why ?
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 11:00
Lisa’s company, abc ltd., lost its biggest client and is now facing a financial crunch. most of her colleagues have resigned, but lisa decides to stay with the company and assist the management in overcoming the financial situation. which quality is lisa demonstrating? a. self-management b. cooperativeness c. responsibility d. loyalty
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 15:00
Which of the following has not been attributed at least in part to social media a. drug addiction b. depression c. kidnapping d. murder
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 10:30
Would a ps4 wired controller work on an xbox one
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 12:40
Curriculum exam to process a resident's payment, you must click on onesite payments home page. from the a. reports b. my settings o c.transactions o d. rent tab
Answers: 1
You know the right answer?
Consider the storage of timestamp for time of the day in a system. the time stamp format needs/uses...
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 18.08.2020 03:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 18.08.2020 04:01
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 18.08.2020 04:01
![question](/tpl/images/cats/en.png)
English, 18.08.2020 04:01
![question](/tpl/images/cats/mat.png)
Mathematics, 18.08.2020 04:01
![question](/tpl/images/cats/mat.png)
Mathematics, 18.08.2020 04:01
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 18.08.2020 04:01
![question](/tpl/images/cats/mat.png)