Docsity

best Notes for compiler, Summaries of Compilers

Toggle sidebar
bg1
Roll No. 22 2 265
NIST INSTITUTE OF SCIENCE &TECHNOLOGY (Autonomous) nist
B.Tech 5th Semester(2022Batch) Branch(s) CSE,
IT,ELC,CST
Subject Code 19CS5PC03TI SubjectName Operating System
191T5PC03T
Time 90 min Exam Mid Semester Max. Marks 50
Examination Superintendent Prof. ChittaranjanBiswal
Prof. Ruchika Padhi, Prof. Nibedita Priyadarshini
Name ofthe Instructor(s) Mahapatra, Prof. Ujalesh Subudhi, Prof.
Shoubhagya Ranjan Nath, Prof. Panchanan Nath
Date of Examination 05/10/2024 Sitting 2(11:30AM- 01:00PM)
Answer Question No.1 from PART- which is compulsory, any four from PART-II
and any one from PART-III.
The figures in the right hand margin indicate marks.
PART-I
(Answerall the questions)
Q1. Co Level Level-1: KnowledgeLevel-2: ComprehensionLevel-3: Application
Level-4: Analysis Level-5:Synthesis Level -6: Evaluation2
X5
(a) 1What do you mean by an operating system?What are its basic 2
functions?.
(b) 13What are the different kinds of operations that are possible on 2
semaphore?
(c) 12Define critical section problem with example. 2
(d)2 Define Turnaround time, Waiting time, Response time and 2
Throughput.
(e)2 3As SJF scheduling can be implemented, similarly can it be possible 2
to implementLargest Job First? Analyze this case.
Page 1 of2
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download best Notes for compiler and more Summaries Compilers in PDF only on Docsity!

Roll No. 2 2 2 2 6 5

NIST INSTITUTE OF SCIENCE & TECHNOLOGY (Autonomous)

nist

B.Tech 5th Semester(2022Batch) Branch(s)^

CSE,

IT,ELC,CST

Subject Code

19CS5PC03TI 191T5PC03T^ Subject^ Name^ Operating^ System

Time (^) 90 min (^) Exam Mid Semester Max. Marks 50

Examination Superintendent Prof. ChittaranjanBiswal
Prof. Ruchika Padhi, Prof. Nibedita Priyadarshini

Name of the (^) Instructor(s) (^) Mahapatra, Prof. Ujalesh Subudhi, Prof.

Shoubhagya Ranjan Nath, Prof. Panchanan Nath

Date of Examination (^) 05/10/2024 (^) Sitting 2(11:30AM- 01:00 PM)

Answer Question No.1 from PART- which is compulsory, any four from PART-II

and any one from PART-III.

The figures in the right hand margin indicate marks.

PART-I

(Answerall the questions)

Q1. Co Level Level-1:Level-4: Analysis^ Knowledge Level-2:Level-5: Synthesis^ Comprehension Level-3: Application

Level -6:^ Evaluation2X

(a) 1 What do you mean by an operating system?What are its basic 2

functions?.

(b) 1 3 What^ are the^ different^ kinds of operations that are possible on 2

semaphore?

(c) 1 2 Define critical section problem with example. 2

(d)2 Define Turnaround time, Waiting time, Response time and 2

Throughput.

(e)2 3 As SJF scheduling can be implemented, similarly can it be possible 2

to implementLargest Job First? Analyze this case.
Page 1 of

Q2.

(a)

(b)

(c)

(d)

(e)

()

Q3. (a)
(b)

Q4. (a)|^1

(b)

CO Level

1 2

2

(^2 )

2 2

CO Level

23

PART-II

(AnswerAny^ Four^ questions^ out^ of^ six)
Level-1: Knowledge^ Level-2:^ Comprehension^ Level-3: Application

Level-4: Analysis Level-5: Synthesis^ Level^ -6:^ Evaluation Describe the cooperating process?^ Illustrate^ the advantages^ of cooperating process.

Demonstrate the Shared memory model and Message Passing
model to implement IPC^ with^ suitable^ example

Define different thread and its type.

Differentiate between^ Long-term^ scheduler, Short-term^ scheduler

and Medium-termscheduler.

Define process state^ with diagram^ and^ brief description.

Explain PCB and its significancein process execution.

PART-III

(AnswerAny One question out of two)
Level-1:nowledge Level-2:Comprehension Level-3: Application

Level-4: Analysis Level-5: Synthesis Level -6: Evaluation Discuss the different operating system services

Explain any one classical Problem of process synchronization.
What is the solution?
Discuss different approaches of Operating system structure in

detail.

Consider the following set of processes, with the length ofthe CPU
burst given in milliseconds: Draw the Gantt chart that illustrates the

execution of these processes using FCFS .. Find the average ATAT,

AWT and Avg Response Time.

Process |Arrival^

Burst

Time Time

4 X

6 6 6 6 6 6

1 X 16

16

16

P1 2 5

P2 6 4

P3 3 6

p

Page 2 of^2

(c)

(d)

(e)

1

2

2

4

Define bioremediation.^ Write^

down the^ advantages^ and

disadvantages of bioremediation.

Explain about^ the^ multidisciplinary^

aspects of^ Geo

environmental Engineering.

Explain about subsurface contamination^ with^

diagram.

Discuss on^ the^ in-situtechniques^ of^ bioremediation.

Co Level

Q3. (a) 1 3

(b) 2 4

Q4. (a)^1

(b) 2 3

PART-III

(Answer Any^ One^ question^ out^ of^ two)

Level-1: Knowledge^ Level-2:Comprehension^ Level-3:Application

Level-4:Analysis Level-5:^ Synthesis^ Level -6: Evaluation

Explain about the^ lon^ Exchange^ capacity.

Define contaminant^ transport^ and^ mass-transfer^ process?

Discuss about the^ different^ categories^ of^ transport^ with

examples.

Briefly explain^ about the pH and^ specific surface.

Discuss on the^ several^ different^ types^ of^ phytoremediation

mechanisms.

1 X 16

Roll No. 2

NIST INSTITUTE OF SCIENCE & TECHNOLOGY

(Autonomous)

nist

B.Tech. 5semester(2022Batch) Academic^ Year:^ 2024- Branch(s) (^) :Open Elective (Engineering (^) Exam :Midterm Management)

Subject Code: (^) 22ME5OE01T Subject Name:Engineering^ management

Time (^) 90min Max.^ Marks : 50

Examination SuperintendentProf. Chittaranjan Biswal

Nameof the Instructor(s) Dr.^

Parameswar dash,^ Dr.^ PrajapatiNaik,^ Prof.

Achyuta Nanda^ Parida

Date of Examination :08.10.2024^ Sitting^ 08:00-09:30a.m.^ (1)

AnswerQuestion No.1from^ PART-^ which^ is^ compulsory,^ any^ four^ from^ PART

Iland any one from^ PART-II.The^ figures^ in^ the^ right-handmargin^ indicate^ marks. PART-I

(Answerall thequestions)

Q1. Co^ Level^

tevel-1: Knowiedgetevel-2:^ Comprehension^ Level-3:^ Application^ 5X

Level-4: Analysis Level-5: Synthesis^ Level^ -6: Evaluation

1 1 What^ do you^ mean^ by^ controlling?^2

(a)

1 1 Whatare^ the^ different^ types of organization structures?^2

(b)

1 2 Define formal^ and non-formalOrganization.^2 (c) 1 1 In^ which^ type of organization, there are^ two^ authorities?^2 (d) (^1 2) What do you mean by scheduling? (^2)

(e)

D)

Roll (^) No. 2 2 2 2 6

NIST INSTITUTE (^) OF SCIENCE& (^) TECHNOLOGY

(Autonomous) nist

B. (^) Tech 5th (^) Semester (2022 (^) Batch) Branch(s) CSE,^ IT,

ELC, CST

Subject (^) Code 22CS5PE04T (^) Subject Name Artificial Intelligence

Time (^90) min (^) Exam Mid Semester Max. Marks 50

Examination SuperintendentProf. Chittaranjan Biswal

Dr. Krishna Prasad Ponnekanti,

Prof. Bhabani Gouda,

Name of the (^) Instructor(s) Prof. Rabindra Shial

Prof.Amaresh Mohanty,

Dr. Satya Sopana Mahatho

Date of Examination 07-10-24 Sitting 2""(11:30AM-01:00PM)

AnswerQuestion No.1from PART-4 which is compulsory, anyfourfrom PART

lland any onefrom PART-II.

The figures in the right hand margin indicatemarks.

PART-I

(Answer all the questions)

Q1. Co Level (^) Level-4: AnalysisLevel-1:^ Knowledge Level-5: SynthesisLevel-2:^ Comprehension Level-3:Level -6: Evaluation^ Application 2 X

(a) 1 2 What^ is^ an^ Intelligent^ Agent^ in^ AI?^ Explain

(b) 1

(c)|^2

3

3

What is the relevance of search and control strategies in problem

Solving?

What arethe problem Characteristics of Artificial Intelligence?

(d)) 2 2 Discuss^ about^ Bi-Directional^ Search

(e)| 2 3 Address aboutAdversarial^ Search?

Q2.

PART-II

(AnswerAny^ Four

questionsout of^

six)

Level-1: Knowledge^
Level-2: Comprehension^
Level-3: Application

Level-5: Synthesis

Level -6:Evaluation

C Level Level-4: AnalysiS

(a) 1 2 Discuss^

different Environment
Types with^ suitable^
examples.

b)| 1 2 What do you mean by

AI?Explainvarious^

contributions of^ AI

in

various fields.

(c) 2 2 Explain^ the concept^

ofPlanning^ with^ an^ example

(d) 2 3 Differentiate^

betweenBFS^ and^ DFS^ with^ example

(e) 2 3 Explain about^ AO*^ algorithm

() 2 4 Discuss^ about^ Min-Max^ Principle^ for^

game playing

PART-III

(AnswerAny^ One^ questionout of^ two)

4 X

Co Level Level-1:^ Knowledge^
Level-2: Comprehension Level-3:^ Application
Level-4: Analysis Level-5:^ Synthesis^ Level -6:Evaluation^

1X

Q3. (a) 1

(b) 1

Q4. (a)|^2

(b)| 2

2

3

3

4

What is aProduct System? Discussand explaindifferent typesof

Product systems with exampls.

What is an Agent? (^) Explain (^) Different (^) Types ofIntelligent

with neat Agents

diagrams.

What is the importance of Heuristic Search? Explain

Scarch Best^ First

Algorithm

Explain Block-WorldProblem using
Hill Climbing

Algorithm

Q2. CO^

Leve

1

a) 1 3 (b)^2

c)| 1 2

(d)|2 3

(e) 2

()^1

CO

Leve

Q3.(a)|1 2

(b)| 1

Q4. (a)|2^2

(b)|2 3

PART-I

(AnswerAny^ Fourquestions^ out

ofsix)

|Level-1: Knowledge^ Level-2:Comprehension^

Level-3:4X

Application Level-4: Analysis^ Level-5:^ Synthesis
Level -6:Evaluation

Discuss various featuresofpython programming^ language.^6 Whatdo^ youmean^ by^ iterative^ statements?^ Write about^

6

break, continue,^ and^ pass with^ examples.^6

Write about args and*kwargs with an appropriate

example.

Write a program^ to^ findand^ display the^ sum ofdigits^ of^

6

the number taking input fronm user.

Write a program to find the^ sum^ ofthe series^6 sum =1/1!+^ 2/2!^ +3/3!^ n/^ n! What are thevarious operators available in Python, with 6

examples?

PART-III

(Answer any one^ questionout^ oftwo) Level-1: Knowledge Level-2: Comprehension Level-3: 1X

Application Level-4: Analysis Level-5: Synthesis^16

Level -6: Evaluation

Discuss the functionalityofthe data type like list, tuple, 8

dictionariesin python.

Write a python program that accepts a string from user and 8 display a new string where the first and last characters

have been changed.

Write a program to count the occurances of each word in a| 8

file. What is anonymous function? Differentiatebetween

map)and filter() function with suitableexample.

Page 2 of^2

Roll No.^2 2 2 2

NIST INSTITUTE OF SCIENCE &TECHNOLOGY

(Autonomous)

nist

B. Tech Sth Semester (2022 Batch) Branch(s)^ CSE/IT/CST

22CS5PCO1T/

Subject Name^

Formal Language^ &^ Automata

Subject Code 221TSPCO1T/ Theory

22CTSPCO1T

Max. (^50) Time 90 min Exam Mid^ Semester^ Marks

Examination Superintendent^ Prof.^ ChittaranjanBiswal

Dr Sudhir Ranjan^ Pattanaik,^ Dr Sambit^ Shukla,^

Dr

Name of^ the^ Instructor(s)^ SunilKumar Nahak, Dr^ Ashalata^ Panigrahi, Prof Asis

Kumar Roy

Date of Examination^ 05-10-2024^ Sitting^ 1st

Answer Question No. 1from^ PART-^ which^ is^ compulsory,^ any^ four^ from^

PART-II

and any one^ from^ PART-I.

The figures^ in^ the^ right^ hand^ margin^ indicate^ marks.

PART-I

(Answer allthe^ questions)
Q1. Co^ Level^

Level-1: Knowledge^ Level-2:^ Comprehension^ Level-3: Application^2 X Level-4: Analysis Level-5: Synthesis^ Level -6: Evaluation

What is^ the^ transition^ function?

(a) 1 1

Mention the difference between^ DFA^ and^ NFA

(b) 1 1

Draw a DFA to accept a^ string^ of^ 0's^ and^ 1's^ ending^ with^ the^ string^ 011.

(c) 1 2

(^2 3) If S ={a,b}, then find out the language for^ ab^ +b*^ regular^ expression.

(d)

Explain different operations on a regularexpression.

(e) 2 1

PART-II

(Answer Any Four questions outof six)

Page