Monday, 25 April 2016

Important Notice Regarding 6th sem Design engineering 2B


Government Engineering College,Pata,
Department of Computer Science and Engineering

DATE: 25/04/2016

NOTICE


All the students of 6th semester  are here by inform that their external exam of Design engineering 2B(216001) and Design engineering 2A are scheduled on 28/04/2016,29/04/2016 and 30/04/2016 so all students have to remain present with all canvas and reports regarding your subjects.

Friday, 22 April 2016

4th Sem OOPC Assignment -2016

Government Engineering College, Patan
B.E 4th SEM CSE Department

OBJECT ORIENTED PROGRAMMING WITH C++ (2140705)

Assignment



  1. Explain basic concepts of Object-Oriented Programming.
  2. Differentiate procedural programming with object oriented programming.
  3. Write the basic structure of a C++ program with all necessary blocks.
  4. Explain >> and << operators.
  5. Describe various operators in C++.
  6. List ios functions with equivalent manipulators in C++. Explain any one manipulator with example.
  7. What do you mean by Dynamic initialization of a variable? Give an Example.
  8. What is a reference variable? What is its major use?
  9. Explain call by reference and return by reference with suitable example.
  10. What is inline function? Where and how it is useful in C++? Give an example.
  11. Explain function overloading with suitable example.
  12. Explain three Visibility Labels with example.
  13. Explain Static Data Member  and  Static Member Function with their special characteristics. Also write a  suitable programming example.
  14. Explain friend function with suitable example.
  15. What is a Constructor? Explain different types of constructors with examples.
  16. Explain the use of Destructor in C++. Discuss its features.
  17. What is Operator overloading? Describe the syntax & Explain Unary operator overloading with example.
  18. What is an Operator function?   Describe the syntax & Explain Binary operator overloading with example.                                       Write a program to overload binary + operator as a member function.
  19. Write a C++ program that overloads + operator to add two complex numbers.
  20. Explain Type conversion from class type to basic type and one class type to another class type with suitable example.
  21. Explain various forms of inheritance with suitable diagrams.
  22. Explain pointer to objects. What is this pointer? Write a program to illustrate the use of this pointer.
  23. What is Polymorphism? How can we implement it in C++?
  24. What is Virtual function? Why do we need virtual function?
  25. What is a stream? Describe various stream classes for console I/O operations.
  26. What is the purpose of using template in C++? Explain template function and template class with example.
  27. Explain catch all exception and multiple catch exception with example.
  28. Explain try, catch and throw. Give one simple example.
  29. Explain STL with its core components.
  30. What is Exception? Explain Exception Handling Mechanism. Give example with multiple catch blocks.











































Invitation for Campus Drive to Way to Web Pvt. Ltd

Dear All,

    Kindly to be informed that Way to Web Pvt. Ltd is hiring Engineers from the Batch of 2016.

Current Opening at WayToWeb Pvt Ltd.

· Java Developer (2 Positions) – Location: Mehsana & Ahmedabad
·Android Developer (3 Positions) - Location: Ahmedabad
· iPhone Developer (2 Positions) - Location: Mehsana & Ahmedabad
· NET Developer (1 Position) - Location: Ahmedabad
· Designer (Web/Graphics) (3 Positions) - Location: Mehsana & Ahmedabad


Interested candidates contact Prof. M.D. Bhatol on or before 26.04.2016.

Last Date of Registration: 27 April 2016

Thursday, 21 April 2016

Notice for 4th sem Student for Operating System Subject


NOTICE


Student who fail in operating system in midsem exam have to write midsem exam paper + 3 GTU question Paper with option and submit the file on 2 may 2016 with practicals without fail.


4th sem Operating system assignment

Government Engineering College, Patan
Department Of computer science and engineering
Assignment Operating system 2140702
_________________________________________________________________________________

  1. What is Operating System? Give functions of Operating System.
  2. Define: Race Condition, Mutual Exclusion, Throughput.
  3. Explain “5 State” Process State Transition Diagram with illustration.
  4. Explain Goals of I/O Software.
  5. Give the functions of following UNIX commands: grep, cat, chmod.
  6. Explain Files and Directory Management in UNIX Operating System.
  7. What is Process Control Block? Explain various entries of it.
  8. What is Semaphore? Give the implementation of Readers-Writers Problem using Semaphore.
  9. What is Deadlock? List the conditions that lead to deadlock. How Deadlock can be prevented?
  10. Explain the use of Banker’s Algorithm for multiple resources for Deadlock avoidance with    illustration.
  11. What is monitor? Give the implementation of Bounded Buffer Producer-Consumer Problem using monitor.
  12. Explain Virtual Memory Management with Paging in detail. Explain how Virtual Address is translated into Physical Address. Also compare Paging with Segmentation.
  13. Explain the following in brief.
    1. (i)Contiguous and Linked List Allocation for implementing File System.
    2. (ii) Distributed Operating Systems.
  14. 14. For the Page Reference String:7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0. 1. 7, 0, 1 Calculate the Page   Faults applying (i) Optimal (ii) LRU and (iii) FIFO Page Replacement Algorithms for a Memory with three frames.
  15. Explain the following in brief.
(i)                 Multiprogramming with Fixes Partitions and Multiprogramming with Variable partitions.
(ii)               File attributes and File operations
  1. Write a note on Generic Security Attacks.
  2. Differentiate Multi-Programming, Multi-tasking ,Multiprocessing & Distributed Operating  System.
  3. Explain following in Brief:
    1. Kernel
    2. System Call
    3.  Inode
  4. Explain Following commands in UNIX/LINUX OS.
(i)                 chmod
(ii)               head & tail
(iii)             cut
  1. Explain following in brief:
(i)                 I  Device Driver
(ii)               II Interrupt Service Routine
(iii)             III Thread
  1. Explain Virtual Memory Management with Paging in Detail
  2. What is Dead lock ? When it occurs? How to recover from it.
  3. Explain Banker’s Algorithm for Multiple Resources.
  4. Explain various Page Replacement Algorithms with example.
  5. Explain Swapping in Detail
  6. Give the function of “Shell” in Unix Operating System.
  7. What is Semaphore? Give the implementation of Bounded Buffer Producer Consumer Problem   using Semaphore.
  8. What do you mean by Deadlock Avoidance? Explain the use of Banker’s Algorithm for Deadlock Avoidance with illustration.
  9. Explain the concept of Segmentation for Memory Management. Explain why combined Paged Segmentation is used with illustration.
  10. Explain Round Robin, Shortest Job First and Priority Scheduling Algorithms with illustration.
  11. Write shortnote on File Types and File Access(sequential access and random access.
  12. Explain various Disk Arm Scheduling Algorithms with illustration.
  13. What is priority inversion problem in interprocess communication? How to solve it with semaphore?
  14. What is scheduler? Explain queuing diagram representation of process scheduler with figure.
  15. What is thread? Explain thread structure.
  16. Given memory partition of 100K, 500K, 200K, 300K, and 600K in order, How would each of the   First-fit, Best-fit and Worst-fita lgorithms place the processes of 212K, 417K, 112K and 426K in order? Which algorithm makes the most efficient use of memory?
  17. Show the diagram of memory status in each cases.
(i)                 1.Suppose that a disk drive has 5000 cylinders, numbered 0 to 4999. The drive is currently serving a request at cylinder 143, and the previous request was at cylinder 125. The queue of pending requests, in FIFO order, is 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130 Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests,for each of the following disk scheduling  FCFS  ,SCAN.

  1. Explain the Trojan Horse and Trap doors program threats
  2. Explain the Access metrics mechanism
  3. Explain IPC Problem –Dining Philosopher Problem, Readers & Writers Problem.
  4. What is system call? What is interrupt? How it is handled by OS?
  5. What is critical section? What is Mutual exclusion? Explain Peterson’s solution for mutual exclusion problem.
  6. What is inode? What is boot block? What is Superblock? How they are used to handle file management system in OS? Which methods are used to improve performance of file management system in OS?