Вы находитесь на странице: 1из 13
ae CS C\C- P8 pis pL] I SDM COLLEGE OF ENGINEERING & TECHNOLOGY, DHARWAD. Department of Computer Science and Engineering Semester-End- Examination, Dec-2016 Sub Code : 1SUCSC300 Semester: UI Sub Title jigital Electronics Duration : 3hrs Max Marks : 100 Note: Part A is compulsory; Answer any four questions from Part B. PART: Qu [IM * 10= 10 Marks} i reduction technique used, when input parameters are more than four ina Boolean expression. ii The Boolean expression for the following circuit is Ae = re B iii The number of 8:1 Multiplexers needed to build a 32:1 Multiplexer is iv The simplified Boolean expression of the following K-map is be er ralo. fo [a o fo jo [1 v Toad two 64-bit numbers Thumber of full adders are required. vi A combinational circuit wth one input and 2” outputs with n select lines is called vii The largest decimal count possible with a 7 flip-flop counter is Vili Inthe following sequentia’cireuit, the initial states ofthe flip-flops QaQaQc = 101. After applying one clock pulse Q,QaQc = : HIGH {5 a, Clock 5 ix IfJ-0 ,K=0, QO, Pr’ = 1, clr’ =O, then after the clock the output is x If the first three resistors in a binary-weighted D/A converter are 30 , 60 and 120.0, the fourth resistor, used for Dp (LSB) input must be 2. Q a Implement the following Boolean expression using NOR gates only 5M Y=(at+e)(b' +d’) (a +b? +e’) © Fora 5-bit resistive divide determine the following The weight assig’ ed to LSB The weight assigi ed to second and third LSB The change in ot put voltage due to a change in the LSB. ‘The output for a digital input of 11101. Assume 0 = OV and 1 PART-B LSb, 3" LSB, Sone 10. Q3 Consider a system which accepts two 2-bit binary numbers ( Ny=aiao, Nz=bibs) and generate three outputs. The first output indicates when the two numbers differ by 2 or more (| NI — N2| >=2), second output indicates when the two numbers are identical and third ‘output indicates when the first number exceeds the second number. The invalid inputs may be considered as 0's. Construct Truth Table, simplify the Boolean expression and draw the logic diagram. A bank vault has three locks with a different key for each lock. Each key is owned by different person. In order to open the door, at least two people must insert the keys into the assigned locks. The signal lines A,B,C are 1 if there is a key inserted into lock 1, 2, 3 respectively. Write an equation for the variable Z which is | iff the door should open. Q4 Find all the prime implicants of the following function using Quine McCluskey algorithm. F(a,b,e,d) = m ( 0,1,5,6,8,9,11,13) + 5 d (7,10,12) b Design a circuit that will find the 2’s complement of a 4-bit binary number. Construct the truth table, Simplify the expression and draw the logic diagram. Qs a Implement the following Boolean function using 4:1 Multiplexer. F(ab,o,d )=¥ m (4,5,7,8,10,12,15) b Design and Implement the following Boolean function using 3X 4 X 2 PLA. Fl€@b,c) = Ym (1,2,3,7) F2(a,b,c) = ¥ m(1,5,7) ¢ Design a logie circuit which converts 4-bit binary number into equivalent gray code. 06 a Design a 4-bit sequential synchronous binary counter using T Flip-flop. b Design a synchronous counter which generates the following sequence using D Flip-flop. T25 MOAT ooo. Qr 1 Design a synchronous circuit using positive edge triggered JK flip-flops with minimal combinational gating to i) generate the following sequence 1-2:3-1 if input X=0 and 1-3-2-1 if input X=] The output is high for states greater than 1 in 1-2-3-1 sequence. ii) Identify the sequential circuit ( Mealy or Moore machine). © Explain the working of Successive approximation type of A/D converter. teen eeen ee .No[ 2.0 [2b | 3a] 3b] 4a] 4b[Sa[ 5b] 5c] 6a] 6b] 7al 7b a | £ eae | 313) 31234 les ste 24 3 Ey SF] 2 a | 3203 33.134 373,13 313} 3/93) 45, Up ts ae Islas 5M 10Marks ks ks ks AS ks ks ks. 10 rks rks SDMCOLLEGE OF ENGINEERING & TECHNOLOGY, DHARWAD. Sub Code Sub Title uw Oo? \\ USN]2 [s [D | Department of Computer Science & Engineering Semester-End-Examination, Dec-2016 SUCSC301 Semester: III crete S{ructures in Computer Science Duration: 3hrs Max Marks: 100 Note: Part A is compulsory, Answer any four from Part B Qu. iv PART. A Generic Venn diagram for three sets has regions. Given that (p V q) A (~p V ~q) is false, the truth values of p & q are (a) both false (b) both true (©) ptrueand q false (d) p false and q true (p > q) A (r 39) is equivalent to: (a) pv =p) (b) (pvr}>q () pv =q) (d)p>(qsn Determine the truth value of (ax) (Ay) P(x, y) proposition, where P(x, y): y=1. Give a direct proof for the following statement: “The square of every integer of the form 4k+1 is also of the same form, where kis an arbitrary integer”. Consider each of the following arguments. If the argument is valid, identify the rule of inference that establishes its validity. If not, indicate whether the error is due to an attempt to argue by the converse or by the inverse. i. Rita can program in C++, and she can program in Java. Therefore Rita can program in C++, 20 arks 5M 20 om os 26 ii, A sufficient condition for Bubbles to win the golf tournament is that her opponent Meg not sinks a birdie on the last hole. Bubbles won the golf tournament. Therefore Bubble’s opponent Meg did not sink a birdie on the last hole. iii. If Ron’s computer program is correct, then he will be able to complete his computer science assignment in at most two hours, It takes Ron over two hours to complete his computer science assignment. Therefore Ron's computer program is not correct. iv. Maria's car keys are in her purse, or they are on the kitchen table. Maria's car keys are not on the kitchen table. Therefore Maria’s are keys are in her pur: Out of 12 employees, group of 4 trainees is to be sent for “Software testing and QA” training of 1 month. i, In how many ways can the 4 employees be selected? ii, What if there are two employees who refuse to go together for training? ili, What if there are two employees who want to go together that is either they both go or both don't go for training? iv. What if there are two employees who want to go together and there are two employees who refuse to go together. Let R be the following relation on A=(1,2,3,4}: R={(1,3),(1,4),(3,2),(3,3)(3,4)} i, Find the domain and range of R. ii, Find Rt iii, Find the composition relation RoR. Prove that a relation on a set is an Equivalence relation if it is reflexive, symmetric and transitive with a suitable example. Define Poset. Let A=(1,2,3,5,6,10,15,30} and the relation on A be defined by Re((a, b) | a divides bj. Prove that (A, R) is a Poset and draw the Hasse diagram of the Poset. Determine whether it is linearly ordered. Let p, a, r denote primitive statements. Prove the following logical equivalence without using truth table: [pvav(~pA~qarl] =(pvavr) How many ways are there to seat four of a group of ten people around a circular table where two sitting are considered the same when everyone has the same immediate left and immediate right neighbour? 10M 20 Marks oM 6M Marks 5M cA developer is building three new houses A, B & C on one side of a street. He would like to connect three utilities Electricity (E), Telephone (T) and Water (W) to each house. Draw a graphical mode! for the above situation and check out whether the developer lay the utility lines without any crossings. Q7 a Define planar graphs and prove that every sub graph of a planar graph is planar. b Ifa graph G has no loops or multiple edges, then prove the following: i. Twice the number of edges is equal to the sum of the degrees of all vertices. ii, The number of vertices of odd degree is an even number. c Show that (A,*) is an abelian group where A= {a €Q | a #-1} and for any a,bEA, atb=atbtab Sa 3b 3e da 4b Sa Sb 5c 6a 6b 6c Ta QNo | a} & cor [131456 (1[2[3/3[4[5[5[5/3/4]6le usn[2 [s [D ple SDM COLLEGE OF ENGINEERING & TECHNOLOGY, DHARWAD. Department of Computer Science and Engineering Semester End Examination, Dec-2016 Sub Code :15UCSC302 Semester: III Sub Title: Data Structures Duration: 3hrs ‘Max Marks :100 Note: Part A is compulsory, Answer any four questions from Part B PART: 1x10=10 ‘Marks An clement of structure can be a Pointer; Which Points to a structure of the same type is called i Ds Output of the following program is The five items: A,B,C,D anc E are pushed ina stack, one after the other stating from A. The stack is popped four items and each element is inserted in a queue. Then two elements are deleted from the queue and pushed back on the stack. Now on item is popped from the stack. The popped item is Suppose you opened a notepad, a music player, an excel sheet, and also u are doing your data structure programming simultaneously. Your Windows-XP implements data structure for it. Recursive function call uses Data Structure. ‘The infix expression of the given prefix expression : +A*-BCSD*EF is The advantage of lists over an array for implementing a priority queue is ‘The total number of nodes in a complete binary tree of depth d is ‘The order of nodes vi ig an in-order traversal for a given tree 14 \ 1 7\ 7 40 Given the position of any node i, in tree represented using an array, the parent position is given by if iis odd, Consider a singly linked list hav nodes. Let Y be a pointer to the stored in a node with address Y obtain a list having items dl, d2, . header. Define the followings. 5 Marks Binary tree ii) Complete binary tree iii) Almost complete binary tree iv) Binary search tree v) Depth of tree. ing n nodes. The data items dl, €2, .... dn are stored in then Marks node (1 define EOF -1 void pushtint); /* Push the argument on the stack */ int pop(void); /* pop the top of the stack */ void flagError(); int main( ) { inte, m,n, while ((¢ = getchar( )) != EOF) {if Gisdigit(c)) push (c); else if ( {m= pop) pop(); re(c=='¥) 2n+m:ntm; ae else if(¢ !=**) Tue % ital opt); ‘What is the output of the program for the following input and also mention the state of variables at each iteration. S2*3324°+ a) Meee ¢ What are the various memory allocation techniques? Explain how memory can be 6 dynamically allocated with example. ‘a Write a modular C program to implement circular queue and demonstrate its basic operation 8 Mai using structures. b_ Deseribe with examples, various C file manipulation functions for performing read & write 6 Man ‘operations. ¢ Write a recursive C function to find the sum of all the elements in an array with N integer 6 Ma values. Po) ‘Write an interactive C program to implement an Ascending Priority Queue using singly link 10 M: list. b Define expression tree? Write a modular C program to evaluate postfix expression using 10 expression tree. Given an ordered linked |ist whose first node is denoted by’ start’ and node is represented by 10 Marks ‘key’ as information and ‘link’ as link field. Write a C program to implement deleting number of nodes(consecutive) whose ‘key’ values are greater than or equal to ‘Kia’ and less than’ Kray” ‘Write an interactive C program to sort a doubly linked list. 10 Marks ‘What is Binary Search Tree? Write a modular C program to 12 Marks i. Construet BST, . Find height of BST. What is hashing? Discuss any two techniques to resolve hash clashes with examples. 8 Marks sete senens ze eee ae a ae a 7 RTs ae pes oe 7 ‘ABCD [ABCD [ABCD | AliCD | ABCD | ABCD | ABCD | ABCD | ABCD] ABCD ‘ABCD | ABCD AE | ee gee ee [ee ee ee ] L | SDM COLLEGE OF ENGINEERING & TECHNOLOGY, DHARWAD USNT2 [s |p Department of Computer Science and Engineering Semester End Examination, December-2016 Sub Code: 15UCSC303 Semester: II Sub Title: Computer Organization Duration: 3Hrs Max Marks: 100 Note: Part-A is compulsory; Answer any four full questions from Part-B. PART-A QI Answer the following IMX10- ‘10 Marks i Processor circuits are controlled by a timing signal called a contains the memory address of the next instruction to be fetched and executed. i_In program-controlled 1/0, the processor repeatedly checks a to achieve synchronization between the processor and an /O device. iv The routine executed in response to an interrupt is called V_ The special value represented when E’=255 and Mz0 is vi The bit-pair recoded multiplier for 110101 is vii The normalized form of 0001111011 is viii_In direct mapping technique, if there aren blocks ‘memory maps onto block ‘of the cache memory. ix The relationship between h the hit rate, M the miss penalty, and C the time to access information in the cache is toyg = : X_ A page fault occurs when « program accesses a page that is not currently in @ Derive the basic performance equation. Discuss the measures to improve the performance. 6 Marks 'b_ Using 2's complement representation, add the following numbers. 4 Marks a cache memory; block j of the main 1 7and-21 I. -12and-5 PART-B @ @ Registers R1 and R2 ofa computer contain the decimal values 1200 and 4600. What is the 6 Marks effective address of the memory operand in each the following instructions? 1. Load 20(R1),RS MH. Add (RI, R2),R3 IL Store 5, 30(R1,R2) IV. Move -(R2),R5 V. Sub (RI RS VI. Sub 50(R2),R4 Page | of 2 and contents of register R0 after execution of following instructions. Assume initially carry flag value is 0 and RO contains a hexadecimal value of 44, RotateRC #2, RO Explain immediate, direct, base with index, and relative addressing modes with examples. ceo Explain memory-mapped |/O and /O-mapped /O, with examples. What is direct memory access (DMA)? With a diagram, explain the working of a DMA ‘What is bus arbitration? Explain centralized bus arbitration with a diagram. Draw a diagram and explain the working of 16-megabit DRAM chip, configured as 2M X 8. List the advantages of set-associative mapping technique. A set-associative cache consists of 2 total of 64 blocks divided into 4-block sets. The main memory contains 4096 blocks, each consisting of 128 words. How many bits are there in the main memory address? Determine number of bits in each of the TAG, SET, and WORD fields. ‘What is virtual memory? With a diagram, explain virtual memory address translation method. Divide 1011 by 101 using restoring division algorithm. Write an algorithm to add two floatin 101.001 X 2° and 1.01 X 2%, Design an n-bit ripple carry adder. Determine number of gate delays for sum and carry \g numbers. Determine the normalized sum after adding Write control sequence for execution of the instruction Add (R3), R4 for the single-bus organization of the processor. With a block diagram, explain the hardwired control unit. Show the generation of Ziq and End With a diagram, explain three-bus organization. Write control sequence for the operation Sub R2, R3, R4 for the three-bus organization of the processor. teen eee 8 Marks: 6 Marks 6 Marks: 8 Marks 6 Marks 6 Marks 8 Marks 6 Marks 6 Marks 8 Marks 6 Marks 6 Marks 8 Marks ere Lusn}2_ |S |D | SDM COLLEGE OF ENGINEERING & TECHNOLOGY, DHARWAD. Department of Mathematics Semester End Examination, December-2016 Sub Code : 1SUMAC300 Semester: III Sub Title: Engineering Mathematies-III Duration —: 3hrs ‘Max Marks :100 Note: Part A is compulsory, Answer any four questions from Part B PART-A QI. Objective type (fill in the blanks) 1o*1=10M i Fourier coefficient a, for the function f(x)=x'in (—2,7) is. Fourier expansion of odd funetion contains only. terms i If Z,(u,)=u(2) then Z, (uy)= “fi 2(44)-_ Y The real part of f(z) =2"is vi The function w(x, y) is said to be harmonic if 25 viii The dominant Eigen value is obtained by method ix The Bessel’s function J_,(x) ‘The Bessel’s function J_(x)is The characteristic equation of the matrix o[} 4 is Solve by Gauss elimination method 2x +5y+7z=52;2x+y-: pxtytz=9 SM ‘The turning moment T units of the crank shaft of a steam engine is given for a series of 5M. values of the crank angle ( in degree. Find the first two terms in a series of sines to represent T when @ = 75° 6 0 30° 60° 90° | 120° | 150° | 180° it 0 | 5224 | 8097 | 7850 | 5499 | 2626 | 0 PART-B Q3 " ie -m, in -n om 63 0 -7 qj Solve the system of equation by Gauss Seidel method Sx+2y+2=12;x+4y+22=15; ™ x+2y+5z=20 carry out 5 iterations taking the initial approximation as (1, 0, 3) Hels ™ © Find the Eigen values and the corresponding Eigen vectors of the matrix 4=|1 5 1 h Sradliodd ( q * Prove that 4 rs, @]=2°,.,@) iv b 2 Prove that = iv,@)-t", where nis an integer. ™ © Show that y= cosxsinh y is harmonic and find its harmonic conjugate. Also find the ™. corresponding analytic function f(z) teeeeeeses Q.No [2.0] 2b [3.013 [3c [4a [4b] 4c [5a [5b] Sc | 6a] 6b | 6c] 7a] 7b | 7c Cons eal T- [ Ta] aaa | aaa | aie] oe aN AS NSS, MRO [1 Ya lot | sete at ets fete |e aS | ee

Вам также может понравиться