Posts

Showing posts from February, 2016

Network Programming Lab Sessions

Image
Network Programming Lab Sessions Log Network Programming Session 1: [root@localhost ~]# cd Desktop [root@localhost Desktop]# cd .. [root@localhost ~]# pwd /root [root@localhost ~]# ls 123  145  45  anaconda-ks.cfg  delhi  Desktop  india  install.log  install.log.syslog  mp  os  dp  sp  Test.class  Test.java  Test.txt [root@localhost ~]# rm dp rm: remove regular file `dp'? y [root@localhost ~]# ls 123  145  45  anaconda-ks.cfg  delhi  Desktop  india  install.log  install.log.syslog  mp  os  sp  Test.class  Test.java  Test.txt [root@localhost ~]# nano prat [root@localhost ~]# cat prat i am not a nice person

Program to design and implement Pass 1 of 2 Pass Assembler > C and Assembly Program

Image
Program to design and implement Pass 1 of 2 Pass Assembler > C and Assembly Program System programming and Compiler Construction .asm code: PG1              START 1000                     USING *, 15                      L                    1, FOUR                      A                    1, ='5'                      ST                  1, TEMP                      A                    1, ='4' FOUR         DC   ...

Program To Calculate Mathematical Expressions > Lex and Yacc Program

Program To Calculate Mathematical Expressions > Lex and Yacc Program  System Programming and Compiler Construction Programs: pratspcc3.l: %{   #include "y.tab.h"   extern int yylval; %}

To take input, process it and Display output > Java ME Program

To take input, process it and Display output > Java ME Program Mobile Communication and Computing Program: import javax.microedition.midlet.*; import javax.microedition.lcdui.*; /**  * @author prat  */ public class Midlet extends MIDlet implements CommandListener{     

To validate characters using Lex > Lex and Yacc Program

To validate characters using Lex > Lex and Yacc Program  System Programming and Compiler Construction Program: %{ /* To validate characters using lex*/ %} %% [\t]+                                    ;