System Software Lab | All In One

VTU System Software Lab

Download Android Projects for Free – Checkout

Program 1

a] Write a LEX program to recognize valid arithmetic expressions. Identifiers in the expression could be only
integers and operators could be + and *. Count the identifiers & operators present and print them separately.

b] Write YACC program to evaluate arithmetic expression involving operators: +, -, *, and /.

Checkout

Program 2:- Develop, Implement and execute a program using the YACC tool to recognize all strings ending with b preceded by n a’s using the grammar a b (note: input n value).

Checkout

Program 4:- Design, develop and implement YACC/C program to demonstrate Shift Reduce Parsing technique for the grammar rules: ®E+T | T, T ®T*F | F, F ®(E) | id and parse the sentence: id + id * id.

Checkout

Program 5:- Design, develop and implement a C/Java program to generate the machine code  using Triples for the statement A = -B * (C +D) whose intermediate code in three- address form:

T1 = -B

T2 = C + D

T3 = T1 + T2

A = T3

Checkout

Program 6

a) Write a LEX program to eliminate comment lines in a program and copy the resulting program into a separate file.

See also  2018 SCHEME MECHANICAL VTU NOTES, LAB MANUALS | Direct Link

b) Write the YACC program to recognize valid identifiers, operators, and keywords in the given text (C program) file.

Checkout

Program 7:- Design, develop and implement a C/C++/Java program to simulate the working of Shortest remaining time and Round Robin (RR) scheduling algorithms. Experiment with different quantum sizes for RR algorithm.

Checkout

Program 8:- Design, develop and implement a C/C++/Java program to implement Banker’s algorithm. Assume suitable input required to demonstrate the results.

Checkout

Program 10

a] Design, develop, and implement a C/C++/Java program to simulate a numerical calculator.

b] Design, develop and implement a C/C++/Java program to simulate page replacement technique.

Checkout

Program 11:- Program to recognize whether a given sentence is simple or compound.

Checkout

Program 12:- Write a C++ program to emulate the Unix ln command

Checkout

Leave a Reply

Your email address will not be published. Required fields are marked *

WhatsApp Icon Join For Job Alerts