Exam Details

Subject basic computer science-2(applications of operating systems and applications of systems software)
Paper
Exam / Course mca
Department
Organization Gujarat Technological University
Position
Exam Date June, 2017
City, State gujarat, ahmedabad


Question Paper

1
Seat No.: Enrollment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA SEMESTER-III • EXAMINATION SUMMER 2017
Subject Code: 3630003 Date: 05/06/2017
Subject Name: Basic Computer Science-2
Time: 02:30 Pm to 05:00 pm Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1

Answer in short.
1. Explain the following services provided by OS.
Error detection and response Accounting
2. Why monitor requires in batch processing scheme of OS.
3. Explain the terms:(1) Multiprocessing Starvation Critical Section
02
02
03

Answer the following questions.
1. What is the side effects if time quantum is larger than the longest-running process in round- robin? How?
2. Explain Resource Allocation Graph and its usage with example.
3. Explain the term Multitasking
03
03
01
Q.2

Answer in Short.
1. In general semaphore implementation if value of semaphore is at certain stage, how many processes are waiting to be unblocked?
2. Explain the term "Mutual Exclusion".
3. What is internal fragmentation.?
4. How page size affects the performance of OS?
5. What is meant by busy waiting or spin waiting?
6. Explain throughput time w.r.t. process scheduling.
7. State True or False "The deadlock avoidance strategy does not predict deadlock with certainty"
07

8M
12M
22M
18M Last allocated block
8M
6M
14M
36M
A dynamic partitioning scheme is being used. Consider the above memory status. First free block is 8 MB and Last free block is 36M of size. Shaded parts indicate Allocated Blocks and plain indicate Free Blocks of memory. Figure in the cell indicates the size of free Block of memory in MB. Answer the following questions.
1. Suggest you next allocation for 16-Mbyte allocation request, by applying Best-fit,
Next-fit and First-fit placement algorithm.
2. "Best -fit algorithm usually the worst performer". YES NO? Justify your answer.
03
04
OR
2

Apply Round Robin for q=1 and q=4 First come first serve (FCFS) and SPN algorithm for following set of processes.
1. Draw Gantt charts describing execution of these processes.
2. What is the turnaround time of each process for each of the scheduling
algorithms?
3. What is the waiting time of each process for each of the scheduling
algorithm?
4. What is the finish time of each process for each of the scheduling
algorithm?
Process
Arrival Time
Service Time
A
0
3
B
2
6
C
4
4
D
6
5
E
8
2
07
Q.3

How Internal Fragmentation and External Fragmentation takes place in memory? Explain with suitable example and diagram.
07

Total No of pages for the process are 5 and total number of frames allocated to this process are 3 (using Fixed frame allocation) .
The page address stream formed by executing the program is as follows:
3 2 1 5 2 4 5 3 2 5
Judge which page replacement algorithm among OPT, LRU and FIFO works better. Provide your justification for the same.
07
OR
Q.3

Explain Banker's algorithm with example.
07

Explain the Readers/Writers problem. Give a solution using semaphore if
writers heaving a priority.
07
Q.4

Write and explain an algorithm of 2-pass Assembler.
07

1. Explain Classification of Grammars.
2. Build the DFA and STT for regular expression
03
04
OR
Q.4

1. Explain Application Domain PL Domain Execution domain.
2. Explain different types of statement available in Assembly Language with
example.
03
04

1. Differentiate Variant-1 Vs Variant-II
2. Explain FRT and CRT wrt 1-Pass Assembler.
03
04
Q.5

Explain status of every stage of parsing operation for given string
using Operator precedence parser.
07
3

Define Local Optimization and Basic block. Explain with suitable example how value number technique is applied on basic block.
07
OR
Q.5

Write a short note of Code Optimization perform by Compiler applying optimizing transformation.
07

1. Differentiate between static memory allocation and dynamic memory
allocation.
2. Differentiate Assembly language Vs Machine language.
04
03



Other Question Papers

Subjects

  • advance database management system
  • advanced biopharmaceutics & pharmacokinetics
  • advanced medicinal chemistry
  • advanced networking (an)
  • advanced organic chemistry -i
  • advanced pharmaceutical analysis
  • advanced pharmacognosy-1
  • advanced python
  • android programming
  • artificial intelligence (ai)
  • basic computer science-1(applications of data structures and applications of sql)
  • basic computer science-2(applications of operating systems and applications of systems software)
  • basic computer science-3(computer networking)
  • basic computer science-4(software engineering)
  • basic mathematics
  • basic statistics
  • big data analytics (bda)
  • big data tools (bdt)
  • chemistry of natural products
  • cloud computing (cc)
  • communications skills (cs)
  • computer aided drug delivery system
  • computer graphics (cg)
  • computer-oriented numerical methods (conm)
  • cyber security & forensics (csf)
  • data analytics with r
  • data mining
  • data structures (ds)
  • data visualization (dv)
  • data warehousing
  • data warehousing & data mining
  • database administration
  • database management system (dbms)
  • design & analysis of algorithms(daa)
  • digital technology trends ( dtt)
  • discrete mathematics for computer science (dmcs)
  • distributed computing (dc1)
  • drug delivery system
  • dynamic html
  • enterprise resource planning (erp)
  • food analysis
  • function programming with java
  • fundamentals of computer organization (fco)
  • fundamentals of java programming
  • fundamentals of networking
  • fundamentals of programming (fop)
  • geographical information system
  • image processing
  • industrial pharmacognostical technology
  • information retrieving (ir)
  • information security
  • java web technologies (jwt)
  • language processing (lp)
  • machine learning (ml)
  • management information systems (mis)
  • mobile computing
  • molecular pharmaceutics(nano tech and targeted dds)
  • network security
  • object-oriented programming concepts & programmingoocp)
  • object-oriented unified modelling
  • operating systems
  • operation research
  • operations research (or)
  • pharmaceutical validation
  • phytochemistry
  • procedure programming in sql
  • programming skills-i (ps-i-fop)
  • programming skills-ii (ps-oocp)
  • programming with c++
  • programming with java
  • programming with linux, apache,mysql, and php (lamp)
  • programming with python
  • search engine techniques (set)
  • soft computing
  • software development for embedded systems
  • software engineering
  • software lab (dbms: sql & pl/sql)
  • software project in c (sp-c)
  • software project in c++ (sp-cpp)
  • software quality and assurance (sqa)
  • statistical methods
  • structured & object oriented analysis& design methodology
  • system software
  • virtualization and application of cloud
  • web commerce (wc)
  • web data management (wdm)
  • web searching technology and search engine optimization
  • web technology & application development
  • wireless communication & mobile computing (wcmc)
  • wireless sensor network (wsn)