CS/IT OPERATING SYSTEMS

Similar documents
Unit I (Logic and Proofs)

II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC-2017

REVIEW QUESTIONS. Chapter 1: Foundations: Sets, Logic, and Algorithms

DISCRETE STRUCTURES AMIN WITNO

Simplification by Truth Table and without Truth Table

MA Discrete Mathematics

Test Code : CSB (Short Answer Type) Junior Research Fellowship (JRF) in Computer Science

Simplification by Truth Table and without Truth Table

1. a. Give the converse and the contrapositive of the implication If it is raining then I get wet.

NORTHERN INDIA ENGINEERING COLLEGE, LKO D E P A R T M E N T O F M A T H E M A T I C S. B.TECH IIIrd SEMESTER QUESTION BANK ACADEMIC SESSION

Packet #1: Logic & Proofs. Applied Discrete Mathematics

Simplification by Truth Table and without Truth Table

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies

7.11 A proof involving composition Variation in terminology... 88

Tutorial Obtain the principal disjunctive normal form and principal conjunction form of the statement

MATH 363: Discrete Mathematics

Discrete Mathematics (CS503)

Unit i) 1)verify that [p->(q->r)] -> [(p->q)->(p->r)] is a tautology or not? 2) simplify the Boolean expression xy+(x+y) + y

Tribhuvan University Institute of Science and Technology Micro Syllabus

B B3B037 Total Pages:3

Discrete Mathematics. Benny George K. September 22, 2011

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)

Anna University, Chennai, November/December 2012

Notation Index. gcd(a, b) (greatest common divisor) NT-16

(c) Give a proof of or a counterexample to the following statement: (3n 2)= n(3n 1) 2

MAT2345 Discrete Math

Bachelor s Degree Programme Discrete Mathematics (Valid from 1st January, 2013 to 31st December, 2013.)

CS 250/251 Discrete Structures I and II Section 005 Fall/Winter Professor York

Combinational Logic Design Combinational Functions and Circuits

Propositional Logic. What is discrete math? Tautology, equivalence, and inference. Applications

CS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle

ELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN VALUES

Propositional Logic Basics Propositional Equivalences Normal forms Boolean functions and digital circuits. Propositional Logic.

CS1800 Discrete Structures Final Version A

Discrete Mathematics Exam File Spring Exam #1

MaanavaN.Com MA1256 DISCRETE MATHEMATICS. DEPARTMENT OF MATHEMATICS QUESTION BANK Subject & Code : MA1256 DISCRETE MATHEMATICS

CSC 8301 Design & Analysis of Algorithms: Lower Bounds

Computer organization

COMPUTER SCIENCE TRIPOS

CSE 20 DISCRETE MATH. Fall

Math161 HW#2, DUE DATE:

(DCS/DIT 211) UNIT - II Q3) UNIT - III Q4) N-3039

Chapter 5 Synchronous Sequential Logic

DEPARTMENT OF MATHEMATICS. MA1301 Discrete Mathematics

Algorithms: COMP3121/3821/9101/9801

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Chapter 4, Logic using Propositional Calculus Handout

Counting Strategies: Inclusion/Exclusion, Categories

Automata Theory CS Complexity Theory I: Polynomial Time

B.C.S.Part I Mathematics (Sem.- I & II) Syllabus to be implemented from June 2013 onwards.

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

Discrete Math. Background Knowledge/Prior Skills Commutative and associative properties Solving systems of equations

Propositional and Predicate Logic - II

CS1800 Discrete Structures Spring 2018 February CS1800 Discrete Structures Midterm Version A

Trees/Intro to counting

BOOLEAN ALGEBRA INTRODUCTION SUBSETS

Section Summary. Relations and Functions Properties of Relations. Combining Relations

Learning Goals of CS245 Logic and Computation

Algorithms: COMP3121/3821/9101/9801

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya

8.5 Sequencing Problems

Chapter 1 : The language of mathematics.

Total No. of Questions :09] [Total No. of Pages : 03

Discrete Structures Homework 1

CHAPTER 1. MATHEMATICAL LOGIC 1.1 Fundamentals of Mathematical Logic

Tribhuvan University Institute of Science and Technology 2067

McGill University Faculty of Science. Solutions to Practice Final Examination Math 240 Discrete Structures 1. Time: 3 hours Marked out of 60

Discrete Math Notes. Contents. William Farmer. April 8, Overview 3

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination II (Fall 2007)

Che-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University

HW1 graded review form? HW2 released CSE 20 DISCRETE MATH. Fall

BASIC GRAPH THEORY. SUB CODE: 09MAT01 Total hours 52

Compound Propositions

Join discussion of this test paper at

CS100: DISCRETE STRUCTURES. Lecture 5: Logic (Ch1)

NP and Computational Intractability

MATH 114 Fall 2004 Solutions to practice problems for Final Exam

Review Sheet for the Final Exam of MATH Fall 2009

Chapter 1: Formal Logic

STUDY GUIDE FOR THE WRECKONING. 1. Combinatorics. (1) How many (positive integer) divisors does 2940 have? What about 3150?

Propositional Logic: Equivalence

WUCT121. Discrete Mathematics. Logic. Tutorial Exercises

What you learned in Math 28. Rosa C. Orellana

Discrete Mathematics and Its Applications

Logic and Proofs. (A brief summary)

Exploring the infinite : an introduction to proof and analysis / Jennifer Brooks. Boca Raton [etc.], cop Spis treści

Limitations of Algorithm Power

Lecture 4: Process Management

Chapter 4: Classical Propositional Semantics

Name (please print) Mathematics Final Examination December 14, 2005 I. (4)

Chapter 7 Logic Circuits

Discrete Mathematics & Mathematical Reasoning Course Overview

CMSC 313 Lecture 16 Announcement: no office hours today. Good-bye Assembly Language Programming Overview of second half on Digital Logic DigSim Demo

Counting. Spock's dilemma (Walls and mirrors) call it C(n,k) Rosen, Chapter 5.1, 5.2, 5.3 Walls and Mirrors, Chapter 3 10/11/12

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic

Logic and Boolean algebra

PROPOSITIONAL CALCULUS

Combinational Logic. By : Ali Mustafa

CSE 240 Logic and Discrete Mathematics

Transcription:

CS/IT 5 (CR) Total No. of Questions :09] [Total No. of Pages : 0 II/IV B.Tech. DEGREE EXAMINATIONS, DECEMBER- 06 CS/IT OPERATING SYSTEMS. a) System Boot Answer Question No. Compulsory. Answer One Question from each Unit. b) Define System Calls c) Define Mutual Exclusion d) Swapping e) Atomic transaction f) Recovery g) Streams Maximum marks:70 7X=4 M 4X4=56 M. Explain various operations on processes and how process scheduling is implemented. 3. What are the various services offered by the Operating Systems? Explain. I 4. a) Explain about infinite buffer producer/consumer problem for concurrent processing which uses binary semaphores. b) Write the program for mutual exclusion using semaphores. 5. Write a brief on different scheduling algorithms. II 6. a) Three processes share 4 resource units that can be reserved and reused only one at a time. Each process needs a maximum of units. Show that a deadlock cannot occur. b) In a fixed partitioning scheme, what are the advantages of using unequal size partitions? c) Enumerate the reasons for allowing two or more processes to, all have access to particular region of memory? P.T.O

7. a) What are the difficulties that may arise when a process is rolled back as the result of a dead lock? Explain. b) What is the difference between internal and external fragmentation? c) Write a brief on segmentation? 8. a) Explain hash file organization. b) Discuss the address information elements of a file directory. c) Write a brief on RAID 9. a) Explain Log structured File systems. b) Write a brief on Free Space Management c) Write a brief on File sharing and Protection.

CS/IT 5 (RR) Total No. of Questions :09] [Total No. of Pages : 0 II/IV B.Tech. DEGREE EXAMINATIONS, DECEMBER- 06 CS/IT DISCRETE MATHEMATICAL STRUCTURES Answer Question No. Compulsory. Answer One Question from each Unit.. a) What is well-ordered property of the positive integers b) Write Product rule in counting c) State:Pigeon hole principle d) Define Boolean function e) Define equivalence relation f) What is spanning tree g) Define path of a graph. a) Explain the rules of inference for quantified propositions. b) Write the negation of the following statements. i. Jan will take a job in industry or go to graduate school ii. James will bicycle or run tomorrow iii. If the processor is fast then the printer is slow. Maximum marks:70 7X=4 M 4X4=56 M 3. a) Show that among any n+ positive integers not exceeding n there must be an integer that divides one of the other integers. b) Prove using rules of inference or disprove. i. If it is hot today or raining today it is no fun to snow ski today ii. It is no fun to snow ski today Therefore it is hot today UNIVERSE=DAYS. Duke is a Labrador retriever All Labrador retriever like to swin Therefore Duke likes to swin. P.T.O

4. a) How many different license plates are there that involve or letters followed by 4 digits? b) Solve the recurrence relation ar 3ar, r, a0 using generating function. 5. a) How many 5-digit telephone numbers have one or more repeated digits? n n b) Using Mathematical induction, prove that x-y is a factor of the polynomial x y II 6. a) What are the special properties of binary relations? Explain. b) Solve the recurrence relation an 9an 6an 4an 3 0 for n 3. 7. a) Solve a a a n n n 5 n 6 n 3 I b) Define recurrence relation. Explain how to solve recurrence relations by substitution method. 8. a) Explain topological sorting b) Write a brief on multi-graphs and Euler circuits. 9. Write a brief note about the basic rules for constructing Hamiltonian cycles. How to determine whether a graph contains Hamiltonian cycle or not using Grin berg theorem? Explain.

CSE/IT 5 (CR) Total No. of Questions :09] [Total No. of Pages : 0 II/IV B.Tech. DEGREE EXAMINATIONS, APRIL/MAY- 06 CSE/IT OPERATING SYSTEMS. a. System Boot Answer Question No. Compulsory Answer ONE question from each Unit b. Process Control Block c. Example for IPC Systems d. Thread Issues e. Swapping f. Purpose of Disk scheduling g. File System mounting Maximum marks:70 7X=4 M 4X4=56 M. What is an Operating System? Explain its purpose and describe the different types of Operating Systems with examples. 3. a. What are the two separate and potentially independent characteristics embodied in the concept of the process? Discuss. b. What resources are typically shared by all of the threads of a process? Explain. 4. a. Give short note about the following: i. Binary Semaphores ii. Bounded Waiting I b. What resources are typically shared by all of the threads of a process? Explain. 5. a. Describe various operations on threads. Discuss about threads synchronization. b. Write about Kernel level threads. II 6. a. Explain all the strategies involved in deadlock detection and how it is recovered. Explain. b. Explain the structure of the page table. Explain. P.T.O

7. a. Discuss the hardware support requirement for the inverted page table structure. How does this approach affect sharing? Explain. b. There exist N processes share M resource units that can be reserved and released only one at a time. The maximum need of each process does not exceed M and the sum of all maximum needs is less than M + N. Show that a dead lock cannot occur. 8. a. Write short notes on: i. Sequential file ii. Indexed sequential file. b. Write a brief on Application I/O Interface and Kernel I/O Interface. 9. a. Write short notes of the following: i. Random disk scheduling ii. Priority disk scheduling b. Explain the functions of a file management system with a diagram.

CSE/IT 5(R-5) Total No. of Questions :09] [Total No. of Pages : 0 II/IV B.Tech. DEGREE EXAMINATIONS, DECEMBER- 06 CSE/IT DATA STRUCTURES USING C Answer Question No. Compulsory. Answer One Question from each Unit.. Explain the following a) Linked Stack b) Radix sort c) Sparse Matrix d) Compaction e) Symbol table f) Hashing. a) Explain storage structures for arrays. b) Explain any two applications of Stacks. 3. Describe an algorithm to implement the operations of Stacks using arrays. I 4. Write a program to implement the operations of Doubly linked list. 5. a) Discuss about linked Queues. b) Discuss about Dynamic storage management. II 6. Explain Binary search tree traversals with algorithms. 7. Explain different methods to represent Graphs. 8. Write a Program to implement Binary search. Explain with an example. Maximum marks:60 6X= M 4X=48 M 9. Write an algorithm to sort given elements using Heap. Explain with an example.

CSE/IT 5 (RR) Total No. of Questions :09] [Total No. of Pages : 0 II/IV B.Tech. DEGREE EXAMINATIONS, APRIL/MAY- 06 CSE/IT DISCRETE MATHEMATICAL STRUCTURES. Write short notes on: Answer Question No. Compulsory Answer ONE question from each Unit a. Define an equivalence relation b. Define one-to-one function with an example. c. Define Tautology and contradiction d. Draw the truth table for disjunction of two statements. e. Draw bipartite graph f. Define isomorphism of graphs and give an example. g. Define a lattice and give an example.. a. Let f : Maximum marks:70 7X=4 M 4X4=56 M be such that f(x)=x+. Is f invertible and if is, what is the Inverse? b. Show that ()() p q p q and p () q r are logically equivalent. 3. a. Define a power set. What is the powerset of {0,,}? b. Show that ()() p q p q is a tautology. I 4. a. How many permutations of the letters ABCDEFGH contain the string ABC? b. What is the solution of the recurrence relation an an an with a 0, a 7? 5. a. Prove that, among 00 people there are at least 9 who were born in the same month. b. Use generating function to find the number of ways to select r objects of n different kinds if we must select at least one object of each kind. II 6. a. Show that divides on the set of positive integers is not an equivalence relation. b. Solve the recurrence relation ak 3ak for k=,,3... and initial condition a 0. 7. a. What are the equivalence classes of 0 and for congruence modulo 4? P.T.O

b. Find all the solutions of the equivalence relation a 5 6 7 n n an an 8. a. Draw the Hasse diagram for the partial ordering ( A,) B/ A B P(S). b. Show that K n has a Hamiltonian circuit whenever n 3 9. a. State and prove the Four Color problem. on the power set b. A connected multi graph with at least two vertices has an Euler circuit if and only if each of its vertices has even degree.