Posts

Showing posts from February, 2025

System Programming and Compiler Design

  System Programming and Compiler Design Lex Programs : 1.  Lex Program to Count the Number of Lines and Characters in the Input File 2.  Lex program that implements the Caesar cipher 3.  Lex program to find the length of the longest word 4.  Lex program that distinguishes keywords, integers, floats, identifiers, operators, and comments 5.  Lex program to count the number of identifiers 6.  Lex program to count the number of words,small and capital letters, digits and special characters in a C file 7.  Lex specification program that generates a C program which takes a string “abcd” and prints the pattern 8.  Lex program to recognize a valid arithmetic expression Yacc Programs : 1.  Program in YACC to evaluate an expression (simple calculator program for addition and subtraction, multiplication, division) 2.  Program in YACC to recognize the string „abbb^n, „ab^n „a^n of the langauge (a^n b^n , n>=1) 3.  Program in YACC to re...

Communication Engineering Programs using scilab

  Scilab Programs : Program to generate AM Signal and analyze the effect of increasing modulation index for each modulation technique. Program to generate PM Signal and analyze the effect of increasing modulation index for each modulation technique. Program to generate FM Signal and Analyze the effect of increasing modulation index for each modulation technique. Simulate BASK or ASK technique using Scilab. Simulate BFSK or FSK technique. Simulate BPSK or PSK technique Using Scilab. Create a sin wave and analyze the effect of adding noise to it. Generate PAM using Scilab xcos. Calculate the thermal noise or white noise, Noise Power, and Noise Voltage.

Artificial Intelligence Programs Using Prolog

  Prolog Programs 1.  Write a Prolog program to calculate the factorial of a given number. 2.  Write a Prolog program to find the maximum of two numbers. 3.  Write a Prolog program to calculate the sum of two numbers. 4.  Write a Prolog program to implement append for two lists. 5.  Write a Prolog program, insert_nth(item, n, into_list, result) that asserts that result is the list into_list with item inserted as the n’th element into every list at all levels. 6.  Write a Prolog program to remove the Nth item from a list. 7.  Write a Prolog program, remove-nth(Before, After) that asserts the After list is the Before list with the removal of every n’th item from every list at all levels. 8.  Write a Prolog program to implement max(X,Y,Max) so that Max is the greater of two numbers X and Y. 9. Write a Prolog program to implement maxlist(List,Max) so that Max is the greatest number in the list of numbers List. 10.  Write a Prolog program to ...

Basic Android Programs|| For Beginners

List of Android Programs which covers concepts like intents, spinner, radio button, Layouts,  Activity Life Cycle and much more. Hello World Application in Android Various Activity Life Phases of Android Application Explicit Intent in Android Application Implicit Intent in Android Application Spinner in Android Application Spinner & Toast Usage in Android Radio Button, ImageView and Toast Usage in Android Three Buttons Vertically Aligned & Background Color Usage in Android Login Application in Android Login & Logout Features in Android Application