Ph.D. Programme in Computer Science. Model Question Paper RESEARCH APTITUDE ASSESSMENT TEST. Time : 2 Hours Max. Marks : 75

Similar documents
B. V. Patel Institute of Business Management, Computer &Information Technology, UTU

MC7204 OPERATING SYSTEMS

( D ) 4. Which is not able to solve the race condition? (A) Test and Set Lock (B) Semaphore (C) Monitor (D) Shared memory

Department of Computer applications. [Part I: Medium Answer Type Questions]

Sample Questions. Amir H. Payberah. Amirkabir University of Technology (Tehran Polytechnic)

QUESTION BANK UNIT I

CS3733: Operating Systems

Operating Systems Comprehensive Exam. Spring Student ID # 3/16/2006

( B ) 4. Which is not able to solve the race condition? (A) Test and Set Lock (B) Shared memory (C) Semaphore (D) Monitor

Operating Systems Comprehensive Exam. Spring Student ID # 3/20/2013

(DMCA101) M.C.A. DEGREE EXAMINATION, MAY First Year INFORMATION TECHNOLOGY

Indian Institute of Technology, Kharagpur

OPERATING SYSTEMS. After A.S.Tanenbaum, Modern Operating Systems, 3rd edition. Uses content with permission from Assoc. Prof. Florin Fortis, PhD

Unit In a time - sharing operating system, when the time slot given to a process is completed, the process goes from the RUNNING state to the

CMPS 111 Spring 2003 Midterm Exam May 8, Name: ID:

EECE.4810/EECE.5730: Operating Systems Spring 2017 Homework 3 Solution

Operating Systems Comprehensive Exam. Fall Student ID # 10/31/2013

Scheduling. The Basics

CS-GATE-2015 PAPER General Aptitude Questions Q.No-1-5 Carry One Mark Each

King Fahd University of Petroleum and Minerals. Write clearly, precisely, and briefly!!

SNS COLLEGE OF ENGINEERING

Q 1. (10 Points) Assume that a process executes the following pseudo codes:

Main Points of the Computer Organization and System Software Module

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT I

CSI3131 Final Exam Review

Unit 3 : Process Management

Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras

CPU scheduling. Alternating sequence of CPU and I/O bursts. P a g e 31

OS 1 st Exam Name Solution St # (Q1) (19 points) True/False. Circle the appropriate choice (there are no trick questions).

Course Syllabus. Operating Systems

CS4411 Intro. to Operating Systems Final Fall points 12 pages

Techno India Batanagar Department of Computer Science & Engineering. Model Questions. Multiple Choice Questions:

Chendu College of Engineering & Technology

Chapter 5: CPU Scheduling

Preview. Process Scheduler. Process Scheduling Algorithms for Batch System. Process Scheduling Algorithms for Interactive System

CLASS: II YEAR / IV SEMESTER CSE SUBJECT CODE AND NAME: CS6401 OPERATING SYSTEMS UNIT I OPERATING SYSTEMS OVERVIEW

Midterm Exam Solutions Amy Murphy 28 February 2001

(b) External fragmentation can happen in a virtual memory paging system.

Final Exam Preparation Questions

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

CSC Operating Systems Spring Lecture - XII Midterm Review. Tevfik Ko!ar. Louisiana State University. March 4 th, 2008.

VIRTUAL MEMORY READING: CHAPTER 9

CS Mid term Exam Maximum points 100; Maximum time allowed: 75 minutes

Review. Preview. Three Level Scheduler. Scheduler. Process behavior. Effective CPU Scheduler is essential. Process Scheduling

Operating Systems (Classroom Practice Booklet Solutions)

CPU Scheduling. The scheduling problem: When do we make decision? - Have K jobs ready to run - Have N 1 CPUs - Which jobs to assign to which CPU(s)

GATE SOLVED PAPER - CS

Operating Systems: Quiz2 December 15, Class: No. Name:

Comprehensive Exam: Sample Paper

CS630 Operating System Design Second Exam, Spring 2015,

General Objectives: To understand the process management in operating system. Specific Objectives: At the end of the unit you should be able to:

CS370 Operating Systems

CSE 153 Design of Operating Systems

Operating Systems Comprehensive Exam. Spring Student ID # 2/17/2011

OPERATING SYSTEMS: Lesson 4: Process Scheduling

Practice Exercises 449

Properties of Processes

Student Name:.. Student ID... Course Code: CSC 227 Course Title: Semester: Fall Exercises Cover Sheet:

Exam Guide COMPSCI 386

Operating Systems (1DT020 & 1TT802)

(MCQZ-CS604 Operating Systems)

CPU Scheduling. Daniel Mosse. (Most slides are from Sherif Khattab and Silberschatz, Galvin and Gagne 2013)

Lecture 5 / Chapter 6 (CPU Scheduling) Basic Concepts. Scheduling Criteria Scheduling Algorithms

CSCI 4210 Operating Systems CSCI 6140 Computer Operating Systems Sample Final Exam Questions (document version 1.1) WITH SELECTED SOLUTIONS

!! What is virtual memory and when is it useful? !! What is demand paging? !! When should pages in memory be replaced?

SAMPLE MIDTERM QUESTIONS

Chapter 6: CPU Scheduling

CS630 Operating System Design, Second Exam, Fall 2014

CPU Scheduling: Part I ( 5, SGG) Operating Systems. Autumn CS4023

Lecture 17: Threads and Scheduling. Thursday, 05 Nov 2009

CPU Scheduling. The scheduling problem: When do we make decision? - Have K jobs ready to run - Have N 1 CPUs - Which jobs to assign to which CPU(s)

Department of CSIT ( G G University, Bilaspur ) Model Answer 2013 (Even Semester) - AR-7307

Processes. CS 475, Spring 2018 Concurrent & Distributed Systems

CSE 421/521 - Operating Systems Fall Lecture - XXV. Final Review. University at Buffalo

Operating System Concepts Ch. 5: Scheduling

Virtual Memory COMPSCI 386

Operating System(16MCA24)

COMP 3361: Operating Systems 1 Final Exam Winter 2009

What are they? How do we represent them? Scheduling Something smaller than a process? Threads Synchronizing and Communicating Classic IPC problems

Final Review. Quiz-5 Solutions. Tevfik Koşar

Operating Systems. Process scheduling. Thomas Ropars.

Chapter 6: CPU Scheduling

OPERATING SYSTEMS. UNIT II Sections A, B & D. An operating system executes a variety of programs:

CHAPTER NO - 1 : Introduction:

FORTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLIGY- OCTOBER, 2012 DATA STRUCTURE

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad COMPUTER SCIENCE AND ENGINEERING QUESTION BANK OPERATING SYSTEMS

OS Assignment II. The process of executing multiple threads simultaneously is known as multithreading.

Class average is Undergraduates are performing better. Working with low-level microcontroller timers

Subject Teacher: Prof. Sheela Bankar

INSTITUTE OF AERONAUTICAL ENGINEERING

Midterm Exam Amy Murphy 6 March 2002

CS370 Operating Systems

CPU Scheduling Algorithms

1.1 CPU I/O Burst Cycle

3. CPU Scheduling. Operating System Concepts with Java 8th Edition Silberschatz, Galvin and Gagn

Tutorial for Chapter 3, 4

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition

8: Scheduling. Scheduling. Mark Handley

CHAPTER 2: PROCESS MANAGEMENT

Transcription:

Ph.D. Programme in Computer Science Model Question Paper RESEARCH APTITUDE ASSESSMENT TEST : 2 Hours Max. Marks : 75 I. Part A: Multiple Choice Questions 30 x 1 mark = 30 marks Choose the correct Response viz., A, B, C, D or E for the Questions from 1-30 which carry ONE mark each. Please NOTE that an incorrect response will attract negative marking. (For Multiple Choice question with 5 options, ¼ th mark shall be deducted for an incorrect answer.) 1. In which one of the following page replacement algorithms it is possible for the page fault rate to increase even when the number of allocated frames increases? A) LRU (Least Recently Used) B) OPT (Optimal Page Replacement) C) MRU (Most Recently Used) D) FIFO (First In First Out) E) LFU (Least Frenquently Used) 2. Assume that for a certain processor, a read request takes 50 nanoseconds on a cache miss and 5 nanoseconds on a cache hit. Suppose while running a program, it was observed that 80% of the processors read requests result in a cache hit. The average access time in nanoseconds is. A) 10 ns B) 12 ns C) 14 ns D) 16 ns E) 18 ns 3. A computer system has 6 tape drives, with 'n' processes competing for them. Each process may need 3 tape drives. The maximum value of 'n' for which the system is guaranteed to be deadlock free is A) 1 B) 2 C) 3 D) 4 E) 8 4. A processor has 40 distinct instructions and 24 general purpose registers. A 32-bit instruction word has an opcode, two register operands and an immediate operand. The number of bits available for the immediate operand field is A) 10 B) 12 C.14 D) 16 D) 18 Page 1 of 5

5. Consider the following two-process synchronization solution. Process 0 --------- Process 1 ---------- Entry: loop while (turn == 1); Entry: loop while (turn == 0); (critical section) (critical section) Exit: turn = 1; Exit: turn = 0; The shared variable turn is initialized to zero. Which one of the following is TRUE? A) This is a correct two-process synchronization solution. B) This solution violates mutual exclusion requirement. C) This solution violates progress requirement. D) This solution violates bounded wait requirement. 6. A process executes the code fork (); fork (); fork (); The total number of child processes created is A) 3 B) 4 C) 7 D) 8 E) 10 7. The prefix and postfix forms of the expression A-B*C+D is: A) A B * C D + and ABC*D-+ B) * A B C D + and AB-C*D+ C) + A * B C D and ABC*-D+ D) + * A B C D and ABCD*-+ 8. Using a singly linked list to maintain a queue with front and rear pointers, the following three operations take these amounts of time correspondingly: O(1), O(N), O(N) A) Insert First, Delete Last, Print all elements B) Insert Last, Print Reverse, Find an element C) Print in reverse, Delete First, Delete Last D) Find an element, Print Reverse, Delete First 9. The minimum number of pointers needed to build a node in a general tree (a tree where a node can have any number of children) is: A) 2 B) Not possible C) 3 D) 1 E) Infinity Page 2 of 5

10. Insert a node and search for a node in a binary search tree take the following time: A) O(logN) and O(N) B) O(N) and O(logN) C) O(2 N ) and O(N) D) O(logN) and O(logN) 11. For a C++ class, Which one of the following is true? A) One constructor allowed but virtual destructor not allowed B) One virtual destructor and multiple constructors allowed C) Virtual constructors allowed but only one destructor D) Multiple constructors and multiple destructors allowed 12. Let R be the relation on the set of positive integers such that arb if and only if a and b are distinct and have a common divisor other than 1. Which one of the following statements about R is true? A) R is symmetric and reflexive but not transitive B) R is reflexive but not symmetric and not transitive C) R is transitive but not reflexive and not symmetric D) R is symmetric but not reflexive and not transitive 13. Consider the following two statements. S1 : if a candidate is known to be corrupt, then he will not be elected S2 : if a candidate is kind, he will be elected Which one of the following statements follows from S1 and S2 per sound interference rules of logic? A) If a person is known to corrupt, he is kind B) If a person is not known to be corrupt, he is not kind C) If a person is kind, he is not known to be corrupt D) If a person is not kind, he is not known to be corrupt 14. Two fair six-sided dice are rolled. The probability that the sum of the result being 7 is A) 1/3 B) 1/18 C) 1/9 D) 2/3 E) 1/6 Page 3 of 5

15. An Urn contains 9 balls, 2 of which are red, 3 blue and 4 black. Three balls are drawn at random. The chance that they are of the same colour is A) 5/84 B) 1/84 C) 3/84 D) 7/84 E) 9/84 16. to 30. Part - B II. Answer any 9 of the following in about 150 words each in the sheets provided with the question paper: (9 x 5 = 45 marks) 1. Consider the following set of processes, with the length of the CPU burst given in milliseconds along with priorities. All process have arrived at the same time. For the SJF(Non-preemptive) and FCFS strategies fill up the table entries: (2+3=5marks) FCFS: Process Arrival Burst Priority Finish Turnaround Waiting P1 0 10 3 P2 0 1 1 P3 0 2 3 P4 0 1 4 P5 0 5 2 Page 4 of 5

SJF: Process Arrival Burst Priority Finish Turnaround Waiting P1 0 10 3 P2 0 1 1 P3 0 2 3 P4 0 1 4 P5 0 5 2 2. What are the ways to improve Instruction Level Parallelism? Briefly discuss 2 prominent strategies employed by modern processors to improve ILP. 3. What is a relocatable program? Explain with a simple example. 4. When an integer has to use fixed limited storage like 32, 64 or 128-bits, how is it possible to store and work with extremely large astronomical numbers? Provide the idea behind the implementation and pseudo code for the multiplication operation of two such very large numbers. (2 + 3 = 5M) 5. Write a simple swap function to illustrate pass by reference in C++. Elaborate why a copy constructor uses pass by reference even though it does not affect the passed parameter. (1+4 = 5M) 6. Show that L = {w in {a, b}* w has equal number of a s and b s} is not regular. 7. Let L be an NP-Complete language. Show that class P = class NP iff L belongs to class P. 8. to 12... * * * Page 5 of 5