Let Us C Chapter 7 and 8 Problems

Note-Please Attempt problem from your own first.Otherwise click on the link question to get the solution.



Chapter 7 problem 7[C][a]



________________________________________________________________________________________________


chapter 7 problem [C][b]



________________________________________________________________________________________________


chapter 7 Problem [C][c]



________________________________________________________________________________________________


chapter 7  Problem [C][d]



________________________________________________________________________________________________


Chapter 8  Problem [D][a]



________________________________________________________________________________________________


Chapter 8 Problem [D][b]



________________________________________________________________________________________________


Chapter 8 Problem [C][c]-Part 3



________________________________________________________________________________________________


chapter 8  Problem [D][d]



________________________________________________________________________________________________


Chapter 8 Problem [I][a]



________________________________________________________________________________________________


Chapter 8 Problem [I][b]



________________________________________________________________________________________________


Chapter 8 Problem [I][c]



________________________________________________________________________________________________


Chapter 8 Problem [I][d]



________________________________________________________________________________________________



Chapter 8 Problem [I][e]

The screen is divided into 25 rows and 80 columns. The characters that are displayed on the screen are stored in a special memory called VDU memory (not to be confused with ordinary memory). Each character displayed on the screen occupies two bytes in VDU memory. The first of these bytes contains the ASCII value of the character being displayed, whereas, the second byte contains the colour in which the character is displayed. For example, the ASCII value of the character present on zeroth row and zeroth column on the screen is stored at location number 0xB8000000. Therefore the colour of this character would be present at location number 0xB8000000 + 1. Similarly ASCII value of character in row 0, col 1 will be at location 0xB8000000 + 2, and its colour at 0xB8000000 + 3. With this knowledge write a program which when executed would keep converting every capital letter on the screen to small case letter and every small case letter to capital letter. The procedure should stop the moment the user hits a key from the keyboard. This is an activity of a rampant Virus called Dancing Dolls. (For monochrome adapter, use 0xB0000000 instead of 0xB8000000). 



________________________________________________________________________________________________


Chapter 8 Problem [L][a]



________________________________________________________________________________________________


Chapter 8  Problem [L][b]




________________________________________________________________________________________________


Chapter 8  Problem [L][c]



________________________________________________________________________________________________


Chapter 8 Problem [L][e]- Part 1



________________________________________________________________________________________________


Chapter 8 Problem [L][e]- Part 2



________________________________________________________________________________________________

Chapter 8 Solution Problem [L][e]- Part 3

Write a program to sort all the elements of a 4 x 4 matrix.


________________________________________________________________________________________________

                                                             (END)

2 comments:

  1. Thanks for ALL this
    if you made this in a soft book form we are thankful to you,,,,

    ReplyDelete
  2. not getting toughest question answers of 5th edition

    ReplyDelete