CLICK HERE to download slip questions
Slip 1:
- Implement a menu driven simulator for hypothetical Simple Instruction Computer that provides the following functionalities.
- Load – Loading of the program from file into memory
- Print – Printing the program loaded in memory.
- Run – Executing the loaded program
- Write a simulation program to implement demand paging using LFU page replacement algorithm. Assume the memory of “n” frames. Show the contents of page after every page replacement in a frame and it at end we told number of page faults accordingly. Input the following page reference string: Page reference string : 3,4,5,4,3,4,7,2,4,5,6,7,2,4,6
Slip 2:
- Implement a menu driven simulator for hypothetical Simple Instruction Computer that provides the following functionalities.
- Load – Loading of the program from file into memory
- Print – Printing the program loaded in memory.
- Run – Executing the loaded program
- Write a simulation program to implement Round Robin CPU scheduling algorithm for the given time quantum as input. Also accept the number of processes and arrival time and CPU burst time for each process as input. The output should give the Gant Chart, turnaround time and waiting time for each process. Also display the average turnaround time and average waiting time.
Slip 3:
- Implement a menu driven simulator for hypothetical Simple Instruction Computer that provides the following functionalities.
- Load – Loading of the program from file into memory
- Print – Printing the program loaded in memory.
- Run – Executing the loaded program
- Write a simulation program to implement demand paging using LRU (Using Counter) page replacement algorithm. Assume the memory of “n” frames. Show the contents of page after every page replacement in a frame and at end show the total number of page faults accordingly. Input the following Page Reference String : Page Reference String : 12, 15, 12, 18, 6, 8, 11, 12, 19, 12, 6, 8, 12, 15, 19, 8
Slip 4:
- Implement a menu driven simulator for hypothetical Simple Instruction Computer that provides the following functionalities.
- Load – Loading of the program from file into memory
- Print – Printing the program loaded in memory.
- Run – Executing the loaded program
- Write a program to implement a toy shell (Command Interpreter). It has its own prompt say “MyShell $”. Any normal shell command is executed from this shell (MyShell$) by starting a child process to execute the system program corresponding to the command. It should additionally interpret the following commands:
Slip 5:
- Implement a menu driven simulator for hypothetical Simple Instruction Computer that provides the following functionalities.
- Load – Loading of the program from file into memory
- Print – Printing the program loaded in memory.
- Run – Executing the loaded program
- Write a simulation program to implement sequential (Contiguous) Allocation method for file. Assume disk having “n” number of blocks ranging from 0 to n-1. Randomly mark some of the blocks as allocated and accordingly maintain the list of free blocks. Perform the following operation using following menu.
Slip 6:
- Write a command line program for line editor. The file to be edited is taken as command line argument; an empty file is opened for editing if no argument is supplied. It should display a „$‟ prompt to accept the line editing commands. Implement the following commands.
- Write a simulation program to implement demand paging using MFU page replacement algorithm. Assume the memory of “n” frame. Show the contents of page after every page replacement in a frame and at end show the total number of page faults accordingly. Input the following Page Reference String: Page Replacement String: 8, 5, 7, 8, 5, 7, 2, 3, 7, 3, 5, 9, 4, 6, 2.
Slip 7:
- Write a command line program for line editor. The file to be edited is taken as command line argument. An empty file is opened for editing if no argument is supplied. It should display „$‟ prompt to accept the line editing commands. Implement the following commands:
- Write the simulation program to implement demand paging using FIFO page replacement algorithm. Assume the memory of “n” frames. Show the contents of page after every page replacement in a frame and at end show the total number of page faults accordingly. Input the following Page Reference String: Page Reference String: 3,4,5,6,3,4,7,3,4,5,6,7,2,4,6.
Slip 8:
- Write a command line program for line editor. The file to be edited is taken as command line argument. An empty file is opened for editing if no argument is supplied. It should display „$‟ prompt to accept the line editing commands. Implement the following commands.
- Consider the following snapshot of the system
Slip 9:
- Write a program to implement a DFA Driver for any given language. Accept number of states, number of input symbols, set of input symbols, number of final states, set of final states and transition table as input. (Input language should be given by examiner). Write menu driven program that will have options as:
- Write a simulation program to implement demand paging using FIFO page replacement algorithm. Assume the memory of “n” frames. Show the contents of page after every page replacement in a frame and at end show the total number of page faults accordingly. Input the following Page Reference String. Page Reference String : 3,4,5,4,3,47,2,4,5,6,7,2,4,6
Slip 10:
- Write a program to implement DFA driver for the language L = “Set of all string that starts with a, ending with b” over {a,b}.
- Write a simulation program to implement a Pre-emptive Shortest Job First (SJF) – CPU scheduling algorithm. Accept the number of Processes as input. Also accept arrival time and CPU burst time for each process as input. The output should give the Gantt chart, turnaround time and waiting time for each process. Also display the average turnaround time and average waiting time.
Slip 11:
- Write a command line program for line editor. The file to be edited is taken as command line arguments. An empty file is opened for editing if no argument is supplied. It should display a „$‟ prompt to accept the line editing commands. Implement the following commands:
- Write a simulation program to implement a linked allocation method for file. Assume disk having “n” number of blocks ranging from 0 to n-1. Randomly mark some blocks as allocated and accordingly maintain the list of free blocks. Perform the following operation using the following menu:
Slip 12:
- Write a program to implement a DFA driver for the language L = “Set of all strings that containing 101 as substring” over {0,1}.
- Write a simulation program to implement Pre-emptive Priority CPU scheduling algorithm. Accept the number of processes, arrival time, CPU burst time and priority for each process as input. Priorities should in High to Low order (1 is High). The output should give the Gantt chart, turnaround time and waiting time for each process. Also display the average turnaround time and average waiting time.
Slip 13:
Slip 16:
- Write a command line program for line editor. The file to be edited is taken as command line argument; an empty file is opened for editing if no argument is supplied. It should display a „$‟ prompt to accept the line editing commands. Implement the following commands.
- Write a simulation program to implement sequential (Contiguous) Allocation method for file. Assume disk having “n” number of blocks ranging from 0 to n-1. Randomly mark some of the blocks as allocated and accordingly maintain the list of free blocks. Perform the following operation using following menu.
Slip 19:
- Write a command line program for line editor. The file to be edited is taken as command line argument; an empty file is opened for editing if no argument is supplied. It should display a „$‟ prompt to accept the line editing commands. Implement the following commands.
- Write a simulation program to implement a Non-Pre-emptive Shortest Job First (SJF) – CPU scheduling algorithm. Accept the number of Processes and arrival time and CPU burst time for each process as input. The output should give the Gantt chart, turnaround time and waiting time for each process. Also display the average turnaround time and average waiting time.
Slip 20:
Slip 21:
- Write an assembler that will display the following errors and warnings:
- Symbol used but not defined
- Symbol defined but not used
- Re-declaration of the Symbol,,,, Present in the following assembly program:
Slip 22:
- Write an assembler that will display the following errors and warnings:
- Symbol used but not defined
- Symbol defined but not used
- Re-declaration of the Symbol, Present in the following assembly program:
Slip 23:
- Write a program to implement DFA driver for the language L = “Set of all strings that containing 101 as substring” over {0, 1}.
- Write a program to implement a Banker‟s Algorithm. Accept the total number of processes (n) and resource types (m) as input. Also accept the number of initial instances for each resource type. Allocation and Max of size “nxm” as input and perform the following operations:
- a) Calculate and display the final contents of Available array of size “m”
- b) Calculate and display the contents of Need matrix of size “nxm”
- Using Safety and Resource-Request algorithm perform the following operations:
- a) Check whether system is in safe sate or not.
- b) If request of size “m” arrives from process Pi, can it be granted immediately by keeping system in safe state?
Slip 24:
- Write a command line program for line editor. The file to be edited is taken as command line arguments. An empty file is opened for editing if no argument is supplied. It should display a „$‟ prompt to accept the line editing commands. Implement the following commands:
- i n : Insert line at position n.
- d n1 n2 : Delete line between position n1 and n2
- s : Save
- p : Print all lines
- e : Exit
- Consider the following snapshot of the system
16 Comments
how to run myshell commands through program output
ReplyDeleteSearch f s s. Txt
DeleteWe need slips answers in Pdf form to download.
ReplyDeleteCan you able to upload pdf???
We're trying to provide PDFs as well..!!
DeleteBrother from another mother! Today is my practical and this has helped me practice! I'm sure ill write at least 1 part for passing and be able to execute it. Thanks brother/sister, love you fam!
ReplyDeleteWe're glad we could help you...!! That was our agenda behind starting this blog.
DeleteCan't thank enough for this!!!
ReplyDeleteThanks a tonnnn...
Great job..
you are doing great job ..Keep it up
ReplyDeleteYour style is so unique compared to other people I have read stuff from. Many thanks forposting when you have the opportunity, Guess I will just bookmark this site Directory List and Print Pro
ReplyDeleteGood job! For Sharing your best ideas... I will refer the people to best learning and training Institute for online courses... click the below link:
ReplyDeleteonline short courses in pakistan
react and react native
sorting algorithms c++
graphic designing course online in pakistan
mern stack development course
php web development course
ecommerce solutions
Good thinking Prestigious work Good work/Good job Proper Grand Purrrfect Great Remarkable Great going Resounding results Honorable Respectable I appreciate your cooperation. Right on target I appreciate your help.Thank you so much for sharing all this wonderful info with the how-to's!!!! It is so appreciated!!! You always have good humor in your posts/blogs. So much fun and easy to read!
ReplyDeletecrack Download
Directory List And Print Crack
ANSYS Motor-CAD Crack
Serif Affinity Designer Crack
Pinegrow Web Editor Crack
Sony Vegas Pro Crack
Balabolka Crack
Speccy Pro Crack
SAP PP online training in hyderabad
ReplyDeleteSAP PP module free online training
I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
ReplyDeletehttps://licensedinfo.com/
Directory Lister Pro
DivX Pro
SlimWare DriverUpdate
Debut Video Capture
I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. Free4links.com I hope to have many more entries or so from you.
ReplyDeleteVery interesting blog.
Promt Professional Crack
thanks for all program
ReplyDeleteDominate search engine rankings and drive organic traffic with our expert SEO services.
ReplyDeleteDirectory List and Print Pro Crack