Você está na página 1de 4
A = aset of people. Let aRb if and only if a is father of b; ly if is the mother of b. Describe R U S. letasbifand “What are the characteristic function of a set and express the characteristic ~ function of ((A@B)N(B — C)) in terms of those of sets A, B and C. Prove that if R is reflexive and transitive, then R" = R for all n. Let A = {1,2,3, 4} and let R = {C, 2)(2, 3)(3, 4)(2,1)}. Find the transitive closute of R, using matrices Prove or disprove: The sum of any five consecutive integers is di sible by 5. Suppose R is a relation on a set A and that R is asymmetric. Can R also be antisymmetric? Must R be antisymmetric? Explain your answer. For what truth values will the following statement be true? “ft is not the case that houses are cold or haunted and it is false that cottages are warm or houses are ugly.” Ab). State with reason whether the following statements are correct or not: (@ If A implies B then A is equivalent to B. (APA W) > (RV W) isa substitution instance of (S AQ) > RVQ When a set of formula is called ‘Inconsistent’. "Prove the following equivalence (without constructing the truth table): (-P ACQAR) V (QVP)AR) ER Write the Converse and Inverse of the statement formula P > Q. Mention the equivalent formulas among Inverse, Converse and Contrapositive ofa formula. . "Show that (without constructing the truth table): Pand P>(Q>(RA S) tautologically imply QS) B.Tech. Third Semester (CSE) Sessional Test-2013-14 Abhishek Armen Sermo Paper Ill: Theory of Computation Time: 90 Minutes Note: Attempt all questions. Each question carries equal marks. Max.Marks: 20 1._-Define Total and Primitive Recursive functions. Show that the following function f(x) is De primitive recursive. & if x is even 10-5 if x is odd Define generative grammar and language generated by a grammar. Find the language generated by the following grammar G = ({S.X.Y}, {a,b,c}, S, P) where P= {S—rabe,S > aXbe, Xb —>b x 3, State pumping lemma for regular sets. Show that the langu — Ybcc, bY — Yb,aY -> aaX,aY - aa}. el ={o |120} is not regular. 47 define Chomsky normal form. Reduce the following grammar to Chomsky normal form. G=({4,4,,4},{ad},4,?) A> 4A, whereP =} A; -» 4,4,|b, A> 4A,|a number of states. Where 6 is given by fora DFA M =({4o.41542+4s»4s} {0-1} .5.4o.{94}) construct an equivalent DFA with a minimum 6 0 1 2% 4 4% 4 % 4% | 4% 4 4% 4 4% 4% [ % % Cian Mid Semester Examination 2013 PAhisted Kiumie Vrnme B. Tech. (Computer Science & Engineering) Third Semester ca Paper IV (Software Engineering) Time: 1.5 Hours MM: 20 Note: Attempt all questions. All questions carry equal marks. —— between program and software. List three characteristics of software that distinguish it from hardware. Pewnat are the deliverables of each phase in linear sequential model? What are the advantages and disadvantages of waterfall model? 3Which of the disadvantages of waterfall model can be taken care of in prototype model? Which model you will suggest for the development of following systems and why? () A system for comparing fingerprints. It is not clear if the current algorithm can compare fingerprints in the given response time constraints. ?* (ii) A new missile tracking system. It is not known if the current hardware/software technology is mature enough to achieve the goal. * (iii) A simple data processing system \ (iy) A flight contro! system with extremely high reliability. There are many potential hazards with such a system. J > Th Ws a brief note on human computer interface design of a software system. e different from those of Computer Organization? Computer? 4 : ‘ines are necessary to access 2 GB of memory? Why’? 1 nes of Address bus are shared (i) in 8085, (ii) in 8986 microprocessor. pe ‘State the microprocessor sends (high) ALE signal? uw wn Oe, _écDiseuss the main differences between 8080 and 8085 microprocessor. *° rel “Hwhen does auriliary carry flag set? Explain its use by an example. pl 8, Describe the addressing modes of 8085 microprocessor with at least one example of each, Ri " “G, Draw the repister architecture (showing individual lags) of 8086 microprocessor. Indicate their sizes. [2] 19eIn which two modes 8086 may operate? Which pin is used to decide the mode? el Je Write (with explanation) contents of registers (A, B) and flags (Z, CY and S) after the execution of [2] following program segments: () MVI A, FF (i) MVIA, FF MVIB, FF MVIB, FF SUBB CMP B 12 Consider the following program and answer the questions (with explanation) BI MVIAOT MVIB, 02 LOOP: SUB B RRC JNC LOOP oF STA 400F 3 HLT ~ (i) Ifthe program starts at address 3000H then what isthe address of HLT instruction? (i) How many times the SUB instruction be executed? (if) When program terminated what is the value stored at 400F1.? .

Você também pode gostar