CSE/IT 223 (CR) Total No. of Questions :09] [Total No. of Pages : 02 II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC-2017 Second Semester CSE/IT COMPUTER ORGANIZATION Time: Three Hours Answer Question No.1 Compulsory Answer ONE Question from each Unit Maximum marks:70 7X2=14 M 4X14=56 M 1. a) Give the steps for handling interrupt b) Compare RISC and CISC? c) What is one address, two address and three address instruction formats? d) Draw the circuit diagram and Truth table for half adder? e) Control Memory? f) Purpose of Base register and Program Counter. g) What is the use of priority interrupt? UNIT-I 2. Explain the instruction cycle of a basic computer with required flowchart and micro operations. 3. Give the design of accumulator logic and explain its functioning. UNIT-II 4. a) Give a brief on control memory and address sequencing. b) Explain different program control instructions. 5. a) Describe the addressing mode that do not need address field at all and addressing mode that uses content of PC for calculating effective address. b) Explain general Register organization. UNIT-III 6. Give a brief on memory hierarchy and explain virtual memory management. P.T.O 1
7. a) Explain cahce memory and give its importance. b) Explain the division algorithm and give an example for division. UNIT-IV 8. What is Asynchronous Data Transfer? Explain various methods of asynchronous data transfer with timing diagrams. 9. a) Explain the method of DMA transfer. How deos a DMA controller improve the performance of a counter? Explain. b) Give a brief on serial communication. 2
CSE/IT 223 (CR) Total No. of Questions :09] [Total No. of Pages : 02 II/IV B.Tech. DEGREE EXAMINATIONS, JUNE/JULY- 2017 Second Semester CSE/IT COMPUTER ORGANISATION Time: Three Hours Answer Question No.1 Compulsory. Answer One Question from each Unit. 1. a) Why 2 s complement is preferable b) Control memory c) Interrupt cycle d) DVD technology e) RISC characteristics f) Purpose of cache memory g) Serial communication UNIT-I 2. Give the design of a basic computer and design of accumulator logic. Maximum marks:70 7X2=14M 4X14=56 M 3. Explain instruction cycle and different memory reference instructions with suitable example for each. UNIT-II 4. a) Explain the variety of techniques available for sequencing of microinstructions based on the format of the address information in the microinstruction. b) Explain general register organization. 5. a) What are the design goals for a designer while deciding a hardwired or microprogrammed control unit for a CPU. b) Explain stack organization and give its purpose. UNIT-III 6. Explain Booths algorithm and multiply 10111 with 10011 using booths algorithm and give step by step evaluation. 7. Write a brief on memory hierarchy and explain the concept of virtual memory and how it can be implemented. 1 P.T.O
UNIT-IV 8. What are the different modes of data transfer? Explain each mode in detail. 9. a) What is daisy chaining? Explain with neat sketch. b) What is parallel priority interrupt method? Explain with neat sketch. 2
CSE/IT 223 (R-15) Total No. of Questions :09] [Total No. of Pages : 02 II/IV B.Tech. DEGREE EXAMINATIONS, JUNE/JULY- 2017 Second Semester CSE/IT UNIX SHELL PROGRAMMING Time: Three Hours Answer Question No.1 Compulsory. Answer One Question from each Unit. 1. a) What is input redirection and output redirection in shell b) What are grep, egrep and fgrep commands? c) What are the functions of shell? d) What are kill and raise functions? e) What are process identifiers? f) What are truncate and ftruncate functions? UNIT-I 2. a) Explain security file permissions in detail. b) Explain control structures in awk. Maximum marks:60 6X2=12M 4X12=48 M 3. a) Explain various backup utility commands with their syntax and example. b) Explain the use of the following commands in Unix. i) grep ii) Umask iii) Write iv) rlogin. UNIT-II 4. a) Write a shell script to print given number in reverse order. b) Distinguish between local and environmental variables with examples. 5. a) Write a shell script to print numbers as 5,4,3,2,1 using while loop. b) What is a shell? List and explain shell responsibilities. UNIT-III 6. Explain various miscellaneous file management system calls. 7. a) Describe in detail the types of locks available for locking a file. b) Write a program that accepts two small number (<50) as arguments and sums the two in a child process. The sum should be returned by the child to the parent as its exit status and the parent should print the sum. 1 P.T.O
UNIT-IV 8. a) What is the role of the following in signal generation: i) pause and ii) alarm system calls. b) What is a semaphore? Explain the operations supported by it. 9. a) Explain the role of accept system call in socket programming. b) What is a pipe? Write a program to create a pipe between a parent and its child to send the data between them through pipe. 2
CSE/IT 223 (RR) Total No. of Questions :09] [Total No. of Pages : 02 II/IV B.Tech. DEGREE EXAMINATIONS, JUNE/JULY- 2017 Second Semester CSE/IT ELECTRONIC DEVICES & CIRCUITS Time: Three Hours Answer Question No.1 Compulsory. Answer One Question from each Unit. 1. a) What is zener diode? b) What is clipper circuit? c) Give applications of clampers? d) What is operation point e) What is DC load line? f) Give the applications of h-parameters. g) What is JFET s? h) give applications of UJT? i) What is thermal runaway in a transistor? j) What is a Barkhausen criterion? k) Write applications of Hartley oscilloscope. l) What is feedback? m) Write the applications of Differentiator. n) Give the applications of OP-AMP s UNIT-I 2. a) Show that the zener diode can be used as a voltage regulator. Maximum marks:70 14X1=14M 4X14=56 M b) Explain the action of a full-wave rectifier and give waveforms of input and output voltages. 3. a) How will you determine h-parameters from the characteristics of CE configuration? b) The common-base d.c. current gain of a transistor is 0.967. If the emitter current is 10mA, what is the value of base current? UNIT-II 4. a) Explain the four distinct regions of output characteristics of a JFET. b) With the help of suitable diagrams explain the working of different types of MOSFET. 1 P.T.O
5. a) Briefly explain the temperature effect in MOSFET. b) Explain the difference between UJT and a convention bipolar transistor. UNIT-III 6. a) Explain about colpitts oscillator and give its applications. b) Discuss about RC phase-shift oscillator. 7. Explain the following i) Hartley oscillator ii) Wein bridge oscillator. UNIT-IV 8. a) Explain the voltage summing operation Amplifier. b) Briefly discuss about voltage controlled oscillator. 9. Write short notes on a) Differentiator and integrator. b) Timer IC unit operation. 2
CSE/IT 223 (R-15) Total No. of Questions :09] [Total No. of Pages : 02 II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC-2017 Second Semester CSE/IT UNIX SHELL PROGRAMMING Time: Three Hours Answer Question No.1 Compulsory Answer ONE Question from each Unit Maximum marks:60 6X2=12 M 4X12=48 M 1. a) Give syntax and purpose of dump. b) What does the command grep A* do. c) If a directory has the permissions 777 and a file in it has the permissions 000, write the security implications from this? d) Positional parameters. e) Zombie process f) Purpose of Semaphore. UNIT-I 2. a) What does multiuser and multitasking mean? Explain. b) Explain the features of Vi editor. 3. a) Explain file security in Unix. b) What would be the effect of the following commands: i) uname-r ii) rm x.c iii) pwd iv) mkdir xyz. UNIT-II 4. a) Write a shell script to display the processes in the system five times every 30 seconds using: i. while loop ii. for loop. b) Write a C program to search for the word exam in a given file, using Command line arguments. 1 P.T.O
5. a) Write a shell script which gets executed the moment the user logs in. It should display the message good morning/good afternoon/good evening depending upon the time at which the user logs in. b) Explain about here documents with an example. UNIT-III 6. a) What is the difference between symlink and ulink? Explain. b) Explain the following file management calls: chmod (), dup(), ioctl() with suitable syntax and examples. 7. a) Distinguish between user defined variable and predefined variable. Give examples for each. b) Explain the following process management calls: chdir (), wait (), exec() with suitable syntax and examples. UNIT-IV 8. Explain the concept of IPC between two processes on a single system. Give Example. 9. a) Explain Byte- Ordering, address format and address lookup in Sockets? b) Write a program to illustrate the vfork function call. 2