10MCA36 Systems Programming Laboratory syllabus for MCA


Part A
Unit-1 Execute of the following programs using LEX 1 0 hours

Program to count the number of vowels and consonants in a given string.

Unit-2 Execute of the following programs using LEX 2 0 hours

Program to count the number of characters, words, spaces and lines in a given input file.

Unit-3 Execute of the following programs using LEX 3 0 hours

Program to count number ofa. Positive and negative integersb. Positive and negative fractions

Unit-4 Execute of the following programs using LEX 4 0 hours

Program to count the numbers of comment lines in a given C program. Also eliminate them and copy thatprogram into separate file.

Unit-5 Execute of the following programs using LEX 5 0 hours

Program to count the number of ‘scanf’ and ‘printf’ statements in a C program. Replace them with ‘readf’ and ‘writef’ statements respectively.

Unit-6 Execute of the following programs using LEX 6 0 hours

Program to recognize a valid arithmetic expression and identify the identifiers and operators present. Print them separately.

Unit-7 Execute of the following programs using LEX 7 0 hours

Program to recognize and count the number of identifiers in a given input file.

Part B
Unit-1 Execute of the following programs using YACC 1 0 hours

Program to test the validity of a simple expression involving operators +, -, * and /.

Unit-2 Execute of the following programs using YACC 2 0 hours

Program to recognize nested IF control statements and display the number of levels of nesting.

Unit-3 Execute of the following programs using YACC 3 0 hours

Program to recognize a valid arithmetic expression that uses operators +, -, * and /.

Unit-4 Execute of the following programs using YACC 4 0 hours

Program to recognize a valid variable, which starts with a letter, followed by any number of letters or digits.

Unit-5 Execute of the following programs using YACC 5 0 hours

Program to evaluate an arithmetic expression involving operators +, -, * and /.

Unit-6 Execute of the following programs using YACC 6 0 hours

Program to recognize strings ‘aaab’, ‘abbb’, ‘ab’ and ‘a’ using the grammar: (an bn , n>=0)

Unit-7 Execute of the following programs using YACC 7 0 hours

Program to recognize the grammar (an b, n>=10).

Last Updated: Tuesday, January 24, 2023