0% found this document useful (0 votes)
29 views7 pages

5th - Midsem (2023)

The document outlines the mid-semester examination papers for various subjects including Robotics, Java Programming, Operating Systems, Compiler Design, and Data Communication. Each section contains questions related to the respective subjects, covering topics such as laws of robotics, Java programming concepts, system calls, parsing techniques, and network topologies. The exams are structured to assess students' understanding and application of theoretical and practical knowledge in their respective fields.

Uploaded by

biswajit2729
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
29 views7 pages

5th - Midsem (2023)

The document outlines the mid-semester examination papers for various subjects including Robotics, Java Programming, Operating Systems, Compiler Design, and Data Communication. Each section contains questions related to the respective subjects, covering topics such as laws of robotics, Java programming concepts, system calls, parsing techniques, and network topologies. The exams are structured to assess students' understanding and application of theoretical and practical knowledge in their respective fields.

Uploaded by

biswajit2729
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 7
bl ‘ INU. OL Paes. Student Id No. of Pages:01_B Tech Mid Semester Examination, September 2023 Roboties (C5304) Branch: CSE, CE & IT Time 1.5 Hours Answer all questions Max Marks: 30 1. @ Explain the laws of Robotics BI by Explain the working principle of different types of mechanical grippers with fiagrams. 2/(a) Explain the medical applications offa robot. [4] ))The costs and savings associated with a robot installation are given below. Cost ofa robot including accessorie: Rs. 15,00,000 Installation cost: Rs. 5,00,000 ‘Maintenance and Operating cost: Rs. 30 per hour Labour saving: Rs, 150 per hour Material saving: Rs. 18 per hour ‘The shop runs 24 hours a day (in, ) and the effective workdays in a year are 250. The tax rate of the company is 3. the techno-economic life of the robot is expected to be equal to seven years. Detetmine (a) the payback period of the robot and (b) the rate of return on investment (c) Explain whether the purchase of the robot is justified or not.[6] Z s 5. peri do you mean by enline apd ‘offline teaching methods of a robot? Explain the ‘methods of manual teaching and lead-through teaching methods used in robots. [5] prThe given figure represents a spatial parallel manipulator. Determine its DOF [5] x IND UE Te Bech Mid Semester Examination September 2023 Introduction to Java Programming (CS111) Branch: CSE,IT,CE,EEE. Time | Hour 30 Minutes Max Marks: 30 Answer all questions. The figures in the right-hand margin indicate marks 1. A) [1x5=5] i, What do you understand by pass by value and pass by reference? Explain with examples. : AC What is method overloading? Give an example of ambiguous method ae overloading? iif. In which type of memory array is created? iy If there are two arrays list! and list2 of same type and following code is written list2=list1, then what happens to the array previously pointed by list2. Bg uN is i output of the following code. be - public class Test { public static void main(String[] args) { inti=1; while (i <= 6) { method (i, 2); im; } public static void method 1 (int i, int num) { for (int j = 1; | <=i; j++) { . System.out.print(num +" "); num *=2; } System.out.printin(); } } B)((Eliminate duplicates) Write a method that returns a new array by eliminating the duplicate values in the array using the following method header: public static int[] eliminateDuplicates(int(] list) Write a test program that reads in ten integers, invokes the method, and displays the result. Here is the sample run of the program. Enter ten numbers: 1232163452 uw The distinct numbers are: 12°36 4°9f | eee rae A {5 marks} rrr m erento oe J) Write a Java program to print palindrome numbers present in the single-dinvensional array of Size 10. Where the numbers in the array are entered by the ier [3 marks} By Write « Java program to check whether a number is perfect or nol. A perlect number 76 a number whose sum of factors (excluding the number itsell) is equal fo the [2 marks} < + . number itself’ C) Describe JDK, JVM, IRE perspective (0 Java Programming [2 Marks) D) What do you mean by Object and Cl488? Describe various features of Object- ~~ Oriented Programming. [14 2Marks| Lb Explain the role of variables in @ Java program and how they contribute to the execution of a program. Provide a brief example to illustrate the declaration and ‘ables of different data types. How variable scope plays a significant assignment of v role in a program. Explain. [2x1] ) Write a Java program that calculates the sum of two numbers entered by the user < through the console. Declare two variables o store the numbers, read them from the console, calculate their sum, and display the result. xi] C) Write a Java program to calculate and display the area of a rectangle. The program should: 4 I. Declare and initialize two named constants, LENGTH and WIDTH, with values 5.0 and 7.0, respectively. I. Declare two variables, area, and perimeter, of an appropriate numeric data type. TI. Calculate the area and perimeter of the rectangle using appropriate assignment expressions. IV. Display the calculated area and perimeter with meaningful messages. x1] D)What is type conversion? Discuss about various type conversion and their jficance in Java. Why Java is called strongly typed language? Explain through example, how to read a character data through console input. [x1] INTERNATIONAL INSTITUTE OF INFORMATION TECHNOLOGY, aA BHUBANESWAR “7 OPERATING SYSTEM (0S) MID SEMESTER EXAMINATION (CSE) F.M.—-30 inne 4.5 tue: “Answer al questions ® 12x 5) US What is the purpose of system calls? i What are the advantages of using loadable kernel modules? | AH State the role of system programs in operating system? “What is the main advantage of the layered approach to system design? What are the disadvantages of the layered approach? wt Distinguish between multi-tasking and multi-processing operating systems. 14x 5} 2 What is the main advantage of the microkernel approach to system design? How do user programs and system services inferact in a microkemnel architecture? What are the disadvantages of using the jicrokernel approach? wor ‘th a neat diagram explain the different states of a process. ‘o)/ What are the two models of interprocess communication? What are the strengths and weaknesses of the wo approaches? Define the role of PCB in context-switching. Describe the actions taken by a kemel to context-switch betweenprocesses. oy wsting the initial parent process, how many processes are created by the following programs? include #include E+T|T TOTF|F | — (B) id ¢ Explain the purpose of semantic analysis in a compiler. . Mention the conflicts that occur in shift-reduce parser. . What are the various issues associated with grammars in Top-Down parsing? [2x5] Identify and resolve the issue(s) if any for the following grammar. EDE+T|T 7 TOT*FF a FO(B)jid \ JO Find predictive parsing table for the given grammar. Show acceptance of the input string “id+id*id” using the constructed predictive parsing table. Construct an LR(0) parsing table for the given context-free grammar . 15} S>AA A->aAlb 4/What is shift-Reduce parser and explain its operation? Consider the grammar [5] S>S+sS s>s*s Sid Perform Shift Reduce parsing for input string “id + id + id”. < rn ‘\ INTERNATIONAL INSTITUTE OF INFORMATION TECHNOLOGY, BHUBANESWAR » ant DATA COMMUNICATION AND COMPUTER NETWORK wv ‘ MID SEMESTER EXAMINATION a, (CSE, IT, CE) ee) Time ~1.5 Hr. ‘Answer any 5 questions including question 1 (2X5) {a What isthe length ofa bit ina channel with a propagation speed of 660000 km/s if the channel Vai is 300 Mbps? 5) What is hybrid topology? Explain with a suitable example. What is the transmission time for a 2.5-kbyte message (an e-mail) if the bandwidth network is 1 Gbps? wah Wee te Nyquist bit rate formula used to find the maximum bit rate of a noiseless channel . oy Write the Shannon capacity formula used to find the highest data rate ofa noisy channel. of the 6) (5] ork om the four basic network topologies, citing their advantages and disadvantages. ‘. List any three Line Coding schemes along with their characteristics. A. lr name of 7 layers of OSI model. What are the responsibilities of Data link layer and Netw el yu the different modes of data flow with suitable example. [1 {, Write the layers supported in the TCP/IP model. Describe the different protocols supported in the Network layer and Transport layer. Write the purpose for which they are used. [5] L atsa : 2g BKOK J we

You might also like