COMPSCI 172 Study Guide - Midterm Guide: If And Only If, Entscheidungsproblem, Polynomial

18 views4 pages
8 Jan 2019
School
Professor

Document Summary

Do all your work on the pages of this examination. For most problems, you may answer yes, no, "i think so", "i think not", or "i don"t know". Give reasons -- carefully written correct reasons -- for your yes/no answers, and to the extent you can for your "i think such and such" answers. This examination has 7 problems, worth a total of 97 points. Problem #1 (1 pt: the product of binary numbers 1011 and 1101 is. 1011* 1101 = _______________________________________. (10 pts: 1 pt each; double this if all are correct: in spaces to the right, write yes or no (or "i think so" or "i think not" or "i don"t know"). The length (in bits) of the product of an m-bit number and an n-bit number, for positive integers m and n, is: Min{m,n} bits _____ file:///c|/documents%20and%20settings/jason%20raft-%20spring%201999%20-%20blum%20-%20midterm%202. htm (1 of 4)1/27/2007 6:45:49 pm. Define the computational decision problem zmp as follows: