SPOS LAB Practical codes
System Programming &Operating System Lab
Savitribai Phule Pune University
Second Year of Computer Engineering (2015 Course)
310257: SPOS Lab
<========================Group A:==========================>
- Design suitable data structures and implement pass-I of a two-pass assembler for pseudomachine in Java using object oriented feature. Implementation should consist of a few instructions from each category and few assembler directives.
- Implement Pass-II of two pass assembler for pseudo-machine in Java using object oriented features. The output of assignment-1 (intermediate file and symbol table) should be input for this assignment.
- Design suitable data structures and implement pass-I of a two-pass macro-processor using OOP features in Java
- Write a Java program for pass-II of a two-pass macro-processor. The output of assignment-3 (MNT, MDT and file without any macro definitions) should be input for this assignment.
<========================Group B:==========================>
- Write a program to create Dynamic Link Library for any mathematical operation and write an application program to test it. (Java Native Interface / Use VB or VC++).
- Write a program using Lex specifications to implement lexical analysis phase of compiler to generate tokens of subset of ‗Java‘ program
- Write a program using Lex specifications to implement lexical analysis phase of compiler to count no. of words, lines and characters of given input file.
- Write a program using YACC specifications to implement syntax analysis phase of compiler to validate type and syntax of variable declaration in Java.
- Write a program using YACC specifications to implement syntax analysis phase of compiler to recognize simple and compound sentences given in input file.
<========================Group C:==========================>
- Write a Java program (using OOP features) to implement following scheduling algorithms: FCFS , SJF (Preemptive), Priority (Non-Preemptive) and Round Robin (Preemptive)
- Write a Java program to implement Banker‘s Algorithm
- Implement UNIX system calls like ps, fork, join, exec family, and wait for process management (use shell script/ Java/ C programming).
No comments: