Sie sind auf Seite 1von 9

Unit-III

Q1)
Q2)
Q3)
Q4)
Q5)
Q6)
Q7)
Q8)
Q9)
Q10)
Q11)
Q12)
Q13)
Q14)
Q15)
Q16)
Q17)
Q18)
Q19)
Q20)

Compare and contrast Byte Stream class and Character Stream class in Java.
Explain the steps involved in creating a File
Explain the Input stream and Output Stream class in details with Hierarchy.
What is a file? Why we need a file?
What is a Stream? What are the different types of streams available in java?
Explain in details that enable you to examine the file or directory that is identified by a
File object in detail.
Explain the fundamental of Thread.
Explain the life cycle of Thread.
Explain Synchronization and the methods to implement it and also explain the
importance of thread Synchronization in multithreading.
Explain the priorities by giving a suitable example.
Explain Deadlock and the methods for communicating between the threads.
Explain with example using wait() and notifyAll() in the Blank program.
Write a Java program to create Multiple Threads.
Define Generic Class and explain implementing and instantiating Generic type.
Explain Generic Types and Interfaces with Example.
Explain the relationship between Generic Type Instances.
Explain the use of Type parameter Bounds in Generic classes and show the way to
implement it using example.
Explain with the help of example to define a generic type with as many parameters as you
wish.
Discuss enum type with example.
Consider code fragment below.
class Outer{ private int x; class Inner{ private int x=10; private int y;
public void meth1(Outer out){ System.out.println("x "+ out.x);
System.out.println("x "+Outer.x); System.out.println("x +Outer.this.x); } }
public void meth2(Inner in){ in.y=5; System.out.println("y "+y); } }
In above code, list down the instructions which give compilation error.
Write, why these instructions give compilation error.

Unit-IV
1) Explain event delegation model with example.
http://www.google.co.in/imgres?imgurl=http%3A%2F%2Fwww.moock.org%2Flectures
%2Fff2003Workshop%2Fdelegationeventmodel-diagram.gif&imgrefurl=http%3A%2F
%2Fwww.moock.org%2Flectures%2Fff2003Workshop
%2Fslide17.html&h=380&w=640&tbnid=0SfuuE5gVMkkNM
%3A&zoom=1&docid=GyawzsocCkNqtM&ei=5kR3VLHYLo6yuASF0oLABQ&tbm=isch
&ved=0CBwQMygAMAA&iact=rc&uact=3&dur=402&page=1&start=0&ndsp=15
http://careerride.com/java-delegation-event-model.aspx
2) What is the difference between application and an Applet?

An applet is a program written in the Java programming language that can


be included in an HTML page, much in the same way an image is included.
An application is a standalone Java program that runs as a true application,
outside of a browser. Both require a JVM (Java Virtual Machine).
The applet can be surrounded with HTML tags. It is performed on the Java compatible
platform . It is performed under strict regulations and has several limitations as
compared to applications. It doesnt have main() method and starts with init() and
stopped
via
stop()
or
destroy().
On the other hand Application has main(). It has no special HTML support. It can be
run wherever you save it as java.exe file. Applications dont have restrictions and strict
rules. It is a small program which can run on a single machine as well as several
machines.

3) Describe the semantic handling events in an Application as well as an Applet.


http://www.artima.com/javaseminars/modules/EventsGUIs/
http://www.cs.utexas.edu/~mitra/csSpring2010/cs313/lectures/layout.html
4) Describe the event handling process in GUI Application. With figure.
5) How to convert an Application to an applet explain with the help of example.
6) Describe the process of Drawing in a window using the co-ordinate systems in a component.
Explain with different examples like circle, rectangle etc.
7) Describe the basic components used in the GUI programming in JAVA.
http://www.datadisk.co.uk/html_docs/java/basic_gui.htm
8) Explain the life cycle of an Applet. Describe in Detail.
9) http://ecomputernotes.com/java/awt-and-applets/applet-life-cycle
10) Describe the components and containers by showing the hierarchy and also explain the
attributes.
11) Describe the layout managers in Detail.
http://www.javaprepare.com/notes/lay_mgr.html
http://java.icmc.usp.br/books/ooc/html/gui_layout_manager.html
http://www.careerride.com/java-layout-manager.aspx
12) Describe the hierarchy of Button, Menus and Text Components.
http://www.cs.utexas.edu/users/dsb/SwingTutorial/1_Basics/lecture.html

Operating System
http://web.cs.ucdavis.edu/~pandey/Teaching/ECS150/Lects/06memory.pdf
http://www.slideshare.net/wx672/operating-systcpu-sched
Unit-3

Question

M
a
r
k
s

Discuss the requirements to be satisfied by the good memory management scheme.


http://www.sci.brooklyn.cuny.edu/~jniu/teaching/csc33200/files/1027MemoryManagement.pdf
Compare fixed size and variable size partitioning and discuss the problem of fragmentation
associated with both.
http://books.google.co.in/books?
id=N2mJsYfjaxgC&pg=PA80&lpg=PA80&dq=Compare+fixed+size+and+variable+size+part
itioning&source=bl&ots=VvmC1U0dYd&sig=jxQ92Jl0NHBCklqpiox5kStrC0&hl=en&sa=X&ei=2oJDVN_2FZLbuQTWioKoBQ&ved=0CDUQ6
AEwBA#v=onepage&q=Compare%20fixed%20size%20and%20variable%20size
%20partitioning&f=false
http://computersciencecafe.blogspot.in/2010/11/operating-system-memory-managementpart.html
Write difference for internal and external fragmentation
http://www.enggpedia.com/computer-engineering-encyclopedia/dictionary/operatingsystems/1902-internal-external-fragmentation-differences
Explain the concept of paging.
http://en.wikipedia.org/wiki/Paging
http://gradestack.com/IBPS-IT-Officer/Memory-management-techniques/15237-3057-5551study-wtw
http://www.webopedia.com/TERM/P/paging.html
http://nptel.ac.in/courses/106108101/pdf/Worked_Out_Problems/Mod_4.pdf
http://www.tutorialspoint.com/operating_system/os_virtual_memory.htm
Describe the different approaches for selection of free areas of memory for creation of
dynamic memory partition. Illustrate these approaches showing respective memory for the
following incoming processes: Arrival of process P and 14K followed by process Q of
20K.The initial partition are:
Used, 18K free, Used , 16K free, Used, 32K free, Used 28K free, Used
Define the terms thrashing
http://www.computerhope.com/jargon/t/thrash.htm
http://www.cse.iitd.ernet.in/~sbansal/os/previous_years/2010/lec/lecture13.pdf
How does TLB improve the performance?
http://en.wikipedia.org/wiki/Translation_lookaside_buffer
http://pages.cs.wisc.edu/~remzi/OSTEP/vm-tlbs.pdf
Elaborate on Address Translation in a segmentation System with a diagrammatic
representation.
http://en.wikipedia.org/wiki/Memory_segmentation
Explain the overall performance of static partitioned memory allocation with respect to
principles of allocation, relocation, protection and sharing.
Differentiate between preemptive and non preemptive scheduling of processes.
http://careerride.com/OS-preemptive-scheduling.aspx
http://www.slideshare.net/punj25/final-18087303
The difference between 'Preemptive' and 'Non-preemptive scheduling', is that Nonpreemptive Scheduling occupies full control of the CPU whereas Preemptive Scheduling
allows the computer's Operating System, (OS), control over the states of processes.

2
4
6
4

Write short notes on buddy system.


http://www.slideshare.net/Tech_MX/buddy-system-final
http://books.google.co.in/books?
id=EU_3kSMavIkC&pg=PA120&lpg=PA120&dq=buddy+system+in+operating+system&so
urce=bl&ots=ALKvy3Nhi4&sig=aj7QlZAUp0AJMar8CO6FZk7tOg&hl=en&sa=X&ei=fOZDVKDyN9DugST5ICoBw&ved=0CGMQ6AEwCTgK#v=onepage&q=buddy%20system%20in
%20operating%20system&f=false
http://www.coolinterview.com/interview/21023/
Briefly define FCFS scheduling
http://www.os-concepts.thiyagaraaj.com/scheduling-algorithms/first-come-first-served--fcfs-scheduling
http://www.r9paul.org/blog/2008/process-management/
List all the process scheduling algorithms. Describe in detail the Multiple-Level-Queue
(MLQ) scheduling
algorithm. Indicate which operating system employs this algorithm.
http://www.slideshare.net/myrajendra/21-process-scheduling-alogorithm
http://www.just.edu.jo/~basel/os/os_slides/OS%20Chp6%20CPU%20Scheduling.pdf
Write short note on Round Robin scheduling policy
http://www.os-concepts.thiyagaraaj.com/scheduling-algorithms/round-robin-scheduling
Give the CPU scheduling criteria and explain any three algorithms for CPU scheduling
http://www.just.edu.jo/~basel/os/os_slides/OS%20Chp6%20CPU%20Scheduling.pdf
http://www.slideshare.net/myrajendra/17-cpu-scheduling-and-scheduling-criteria
http://www.scs.stanford.edu/09wi-cs140/notes/l5-print.pdf

http://www.tutorialspoint.com/operating_system/os_process_scheduling_algorithms.htm
http://ijcsi.org/papers/IJCSI-8-6-2-201-206.pdf
Explain gang scheduling policy.

http://en.wikipedia.org/wiki/Gang_scheduling
http://books.google.co.in/books?id=MBIQS9nayYYC&pg=SA4PA19&dq=Explain+gang+scheduling+policy+in+operating+system&hl=en&sa=X&ei=BwB8
VK2eINK0uASoqoCoBg&ved=0CDwQ6AEwBg#v=onepage&q=Explain%20gang

%20scheduling%20policy%20in%20operating%20system&f=false
http://www.expertsmind.com/questions/gang-scheduling-3019460.aspx
Write short note on deadline scheduling
http://books.google.co.in/books?
id=LhQ7BAAAQBAJ&pg=PA418&dq=deadline+scheduling+in+operating+system&hl=en&
sa=X&ei=KgN8VOqbMcG2uASD54CwCQ&ved=0CDcQ6AEwBQ#v=onepage&q=deadlin
e%20scheduling%20in%20operating%20system&f=false
http://books.google.co.in/books?
id=kbBn4X9x2mcC&pg=PA172&dq=deadline+scheduling+in+operating+system&hl=en&sa
=X&ei=KgN8VOqbMcG2uASD54CwCQ&ved=0CCsQ6AEwAw#v=onepage&q=deadline
%20scheduling%20in%20operating%20system&f=false
List and briefly define any three techniques for thread scheduling.
http://www.slideshare.net/nitish31/thread-scheduling

Load sharing---processes are not assigned to a particular processor. A global queue of ready threads is
maintained,
and each processor, when idle, selects a thread from the queue.

Explain Rate monotonic scheduling?


*http://books.google.co.in/books?
id=LhQ7BAAAQBAJ&pg=PA419&dq=rate+monotonic+scheduling+in+operating+systems
&hl=en&sa=X&ei=YgZ8VNuFDoy5uASVxoLoBw&ved=0CDIQ6AEwBA#v=onepage&q=
rate%20monotonic%20scheduling%20in%20operating%20systems&f=false
http://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/6_CPU_Scheduling.html
http://www.dauniv.ac.in/downloads/EmbsysRevEd_PPTs/Chap_8Lesson22EmsysNewOtherS
cdmethods.pdf
Write short note on Real time operating system
Explain briefly the following term Static and Dynamic Priorities

4
2

http://www.mu.ac.in/myweb_test/MCA%20study%20material/OS%20-%20PDF.pdf
Unit-4

Question
Circular Buffer
http://books.google.co.in/books?
id=MBIQS9nayYYC&pg=PA8&lpg=PA8&dq=circular+buffer+in+operating+system&source
=bl&ots=b7tkXTUjUN&sig=rmP7SVyEmazsBprXRoVRyZqtFq4&hl=en&sa=X&ei=ejBFV
P2mFY23uATK3oKwDg&ved=0CEkQ6AEwCDgK#v=onepage&q=circular%20buffer
%20in%20operating%20system&f=false
http://www.slideshare.net/nadhrahnini/io-buffering
C-SCAN
http://www.cs.iit.edu/~cs561/cs450/disksched/disksched.html
http://www.slideshare.net/myrajendra/c-scan-scheduling-50-2
I/O buffering
http://wcipeg.com/wiki/I/O_buffering
https://www.cl.cam.ac.uk/teaching/0809/OpSysI/os1a-handout4.pdf
http://www.csd.uwo.ca/courses/CS3305a/Chapter11-new.pdf
Write short note on RAID
http://www.ladenterprizes.com/raid.htm
Explain the shortest service time first scheduling policy.
http://en.wikipedia.org/wiki/Shortest_remaining_time
Explain the term Seek Time rotational Delay and Average Access Time of disk drives. Also
list various disk scheduling policies adopted by the disk controller
http://courses.cs.washington.edu/courses/cse378/10sp/lectures/lec26.pdf
http://www.slideshare.net/J.T.A.JONES/disk-scheduling
Discuss the disk performance parameters?
http://lass.cs.umass.edu/~shenoy/courses/fall10/lectures/Lec20.pdf
http://www2.cs.uidaho.edu/~krings/CS240/Notes.F13/240-13-31.pdf
http://books.google.co.in/books?id=RhJfOL92DgEC&pg=SA7-PA3&lpg=SA7-

M
a
r
k
s

4
4
4
4

PA3&dq=disk+performance+parameters+in+operating+system&source=bl&ots=4zAts6iQCL
&sig=ggjtJamMxXYDQ_VVlWJpyBH6sS8&hl=en&sa=X&ei=Z5NlVKijOpCVuAS_h4DY
CQ&ved=0CDMQ6AEwBA#v=onepage&q=disk%20performance%20parameters%20in
%20operating%20system&f=false
Define disk cache.
http://searchstorage.techtarget.com/definition/disk-cache
What is file management system? List the different file allocation methods Explain any one in
details
http://en.wikipedia.org/wiki/File_system
http://www.techopedia.com/definition/1832/file-management-system
http://medusa.sdsu.edu/cs570/Lectures/Chapter8.pdf
http://www.slideshare.net/myrajendra/allocation-methods-continuous-method47
What is file system? Explain file system software architecture. Also comment on UNIX file
system.
Index file allocation
http://www.slideshare.net/myrajendra/linked-allocation-48?next_slideshow=1
http://medusa.sdsu.edu/cs570/Lectures/Chapter8.pdf
http://itnsec.blogspot.in/2010/09/operating-system.html
Index file organization
http://www.techopedia.com/definition/1832/file-management-system
Disc allocation Table.
What do you mean by File Allocation with respect to Secondary storage management?
Describe Chained and Indexed Allocation for File.
Discuss contiguous chained and indexed file allocation methods. What do you mean by disk
inter leaving?
http://www.slideshare.net/myrajendra/index-allocation-48-1
http://www.webopedia.com/TERM/I/interleaving.html
Illustrate the different record blocking techniques
http://books.google.co.in/books?id=MBIQS9nayYYC&pg=SA10-PA13&lpg=SA10PA13&dq=different+record+blocking+techniques+in+operating+system&source=bl&ots=b7t
nRVXiUH&sig=Zle0H_Vb3j624kRoiwH22AK19Uw&hl=en&sa=X&ei=6ChqVLSRCtiVuA
TQuYDwCA&ved=0CC4Q6AEwAw#v=onepage&q=different%20record%20blocking
%20techniques%20in%20operating%20system&f=false
Write a short note on File management in UNIX
Explain different method of file allocation
What are the access rights for the files? Discuss them with respect to Unix file system.
What file organization would you choose to maximize efficiency in terms of speed of access,
use of storage space and ease of updating when the data are updated infrequently and
accessed frequently in random order.
What are the security concerns of operating system?
pdf
Describe the nature of threats faced by different computer system assets.
Define Trojan horse attack.
http://en.wikipedia.org/wiki/Trojan_horse_(computing)
Write difference for viruses and Trojan horses

4
2
2
2
6

4
4
4
2
2
4
2
2

http://www.slideshare.net/tonikryeziu/viruses-worms-trojans-and-anti-viruses-27503972?
related=1
Illustrate the taxonomy of malicious programs that may affect the functioning of computer
system or network. Differentiate between Virus and Worm. Describe types of viruses and their
detection/cure approaches.
Write short notes on Trojan horse defense
http://books.google.co.in/books?id=aLUZAwAAQBAJ&pg=RA18-PA14&lpg=RA18PA14&dq=trojan+horse+defense+in+operating+system&source=bl&ots=_b_IpVFpfm&sig=
TLr0wwQKdsRLxgpOPN1MT3P1fcs&hl=en&sa=X&ei=nC5qVIbfKMKGuAS1qILICQ&ve
d=0CD4Q6AEwBg#v=onepage&q=trojan%20horse%20defense%20in%20operating
%20system&f=false
Write difference for viruses and Trojan horses
Illustrate the taxonomy of malicious programs that may affect the functioning of computer
system or network. Differentiate between Virus and Worm. Describe types of viruses and their
detection/cure approaches.
Write short note on Use of Access Matrix for Protection.
pdf
Write short notes on intrusion detection
http://en.wikipedia.org/wiki/Intrusion_detection_system
Define client server computing and explain the classes of client server applications
http://searchnetworking.techtarget.com/definition/client-server
pdf
Discuss the three tier client server architecture with illustration.
pdf
Define the term LPC
pdf
What is cluster middle ware? Discuss the functionalities provided by the middleware.
http://en.wikipedia.org/wiki/Middleware
http://docs.oracle.com/cd/E15523_01/core.1111/e10103/intro.htm#BABBFJBI
List the benefits that can be achieved with clustering
Write short notes on cluster configuration
http://en.wikipedia.org/wiki/Computer_cluster
List the functions of cluster middleware.
What is cluster middleware? Discuss the functionalities provided by the middleware.
Which are different methods adopted for process migration? Describe the Event Ordering
algorithm.
Discuss the possible reasons for process migration.
http://books.google.co.in/books?
id=s0MUQn7cxA4C&pg=PA544&lpg=PA544&dq=methods+of+process+migration+
+in+operating+system&source=bl&ots=hfOPn0dJdG&sig=zSjtCIrNPFGf221lYG8e6yOTFo&hl=en&sa=X&ei=f_t_VM_FHsOIuwSp84KYAQ&ved=0CDYQ6AEwBDg
K#v=onepage&q=methods%20of%20process%20migration%20%20in%20operating
%20system&f=false
What is the importance of taking destinations view in process migration?

2
4
2
4
4
2
2
4
2
2
2
4
4

Das könnte Ihnen auch gefallen