CS 570: Programming Foundations Homework Assignment #1 Solution

 

PerformThe binary addition: 1100110 + 1010111. Show all your work.  
The binary division. 10111011 ÷ 11. Show all your work.
 

A document of text is 15 pages long. Each page contains approximately 200 words and the average length of each word is 5 characters.  Also assume one blank space between each word and no punctuation.  How many bytes will it take to store this document in memory or on disk using ASCII?.  Explain your answer and show you calculations.
 

Create the truth table for the formula:
 

(P ˄ ¬Q) ˅ (P ˅ Q) 
 

Show all your work.

 

Create the truth table for the formula:
 

(¬P ˅ ¬Q) ˄ ((R ˄ Q) ˅ (P ˄ ¬R)) 
 

Show all your work.

 

How to submit your assignment

 

Assignments must be submitted via Blackboard Learn.Please note that assignments submitted via email will not be accepted.
Late assignments will not be accepted. Your work must be uploaded and submitted by 11:59 PM on the date it’s due.
 

This assignment must be submitted as a PDF file.Do not submit files in any other formats – if you do, your assignment will not be graded.
             
sellfy