Tuesday, 12 May 2015
Seminar topics
IMPEDANCE GLOTTOGRAPHY
VISIBLE LIGHT COMMUNICATION
MEMORISTOR
WIMAX
WIRELESS_CHARGING : LINK1, LINK2
Zigbee Technology : LINK1, LINK2
A NEW APPROACH FOR FAST POWER RECOVERY AFTER AC SYSTEM FAULT IN HVDC : LINK1, LINK2
AIR FLOW WIND GENERATOR using mars technology : LINK1, LINK2
COMMUNICATION BY PERCEPTION THROUGH TACTUAL INTERFACING: LINK1,LINK2
FACTS CONTROLERS IN POWER SYSTEM STUDIES : LINK1, LINK2
Nanostructured multijunctiondevices for future energy requirements : LINK1, LINK2
NEAR FIELD COMMUNICATION(NFC) : LINK1, LINK2
POWER ELECTRONICS IN FACTS : LINK1, LINK2
Powerline_communication :- LINK1, LINK2
Scada: LINK1, LINK2
STRATELLITES SATELLITE IN STRATOSPHERE: LINK1, LINK2
To Detect Human Beings Buried Under Earthquake Rubble Using Microprocessor or
Microcontroller : LINK1, LINK2
VLSI CHIP MAKING SINGULAR FEATURE : LINK1, LINK2
VOCERA-Role of Wireless Communication in Patient Response Time : LINK1, LINK2
Wireless LANs & Its Protocols : LINK1, LINK
Java Platform, Standard Edition lets you develop and deploy Java applications on desktops and servers, as well as today's demanding Embedded and Real-Time environments. Java SE includes classes that support the development of Java Web Services and provides the foundation for Java Platform for downloading JAVA SE 6.0 (JDK-6) 1.6.2
Click here to Download
VLSI questions
Dear Students
Important units are 1,2,3,4,8
Please its a request .Study textbooks not All in Ones
because paper cannot be expected from those questions these prepare all these given questions and complete data about these these questions
Problems will be given from mostly 2nd & 4th units
Problems will be given from mostly 2nd & 4th units
MASM
How to run MASM Assembler 8086 in Ubuntu or Windows 7 with the help of DOSBox
Here’s how to run 16 bit DOS executables like the MASM assembler or Turbo C compiler in Ubuntu (GNU/Linux) or in 64 bit editions of Windows 7 using DOSBox, a DOS environment emulator. DOSBox is available for Linux as well as Windows.
DOSBox installation
For Ubuntu users (using repository)
Open the terminal and type in the following commands to download and install DOSbox in Ubuntu
You will find it installed under Applications_Menu->Games->DOSBox Emulator
Open the terminal and type in the following commands to download and install DOSbox in Ubuntu
sudo apt-get update
sudo apt-get install dosbox
You will find it installed under Applications_Menu->Games->DOSBox Emulator
For other GNU/Linux users
Download DOSbox from here.
Open terminal and cd to the directory containing the downloaded tar.gz file. Type in the following commands to build and install :
Check the src subdir for the binary.
Download DOSbox from here.
Open terminal and cd to the directory containing the downloaded tar.gz file. Type in the following commands to build and install :
tar -xzvf dosbox-0.74.tar.gz
cd dosbox-0.74
./configure
make
Check the src subdir for the binary.
For Windows users
Download DOSbox from here.
Run the downloaded .exe file and install it like any other software.
Download DOSbox from here.
Run the downloaded .exe file and install it like any other software.
Now that you’ve installed DOSBox, you’ll be able to run any 16bit or 32bit DOS executable inside it.
Download the 8086 MASM Assembler from here. The zip file contains the following files :
masm.exe, tasm.exe, link.exe, bin2hex.exe, exe2bin.exe, td.exe, edit.com and debug.exe
Windows users extract the .zip file into C:\ so that the path C:\8086 contains all the above mentioned files. GNU/Linux users can extract it and place it in say /home/prashanth/8086
Launch DOSBox and type the following commands :
For Linux users :
For Windows :
For Linux users :
mount c /home/prashanth/8086
c:
For Windows :
mount c c:\8086
c:
Now the contents of the folder /home/prashanth/8086 or c:\8086 is mounted as c: drive inside the DOS emulator. You can assemble programs inside DOSBox as you do in your Microprocessor Lab under Windows XP; i.e your usual sequence of commands -
edit file.asm
masm file.asm
link file
debug file.exe
When you are done, type exit to quit DOSBox.
P.S : For GNU/Linux users, there’s an alternative assembler known as the NASM. NASM is considered to be one of the most popular assemblers for GNU/Linux.
Click below to Download
DOSBox for Linux : dosbox-0.74.tar.gz
DOSBox for Windows : DOSBox0.74-win32-installer.exe
8086 Assembler : 8086_Assembler.zip
Monday, 4 May 2015
Java Program to Check number of lines, words,characters in text file
Java Program that displays the number of characters, lines and words in a text/text file.
Program:
import java.io.*;
public class FileStat
{
public static void main(String args[])throws IOException
{
long n1=0,nw=0,nc=0;
String line;
BufferedReader br=new BufferedReader(new FileReader(args[0]));
while((line=br.readLine())!=null)
{
nl++;
nc=nc+line.length();
int i=0;
boolean pspace=true;
while(i<line.length())
{
char c=line.charAt(i++);
boolean cspace=Character.isWhitespace(c);
if(pspace&&!cspace)
nw++;
pspace=cspace;
}
}
public class FileStat
{
public static void main(String args[])throws IOException
{
long n1=0,nw=0,nc=0;
String line;
BufferedReader br=new BufferedReader(new FileReader(args[0]));
while((line=br.readLine())!=null)
{
nl++;
nc=nc+line.length();
int i=0;
boolean pspace=true;
while(i<line.length())
{
char c=line.charAt(i++);
boolean cspace=Character.isWhitespace(c);
if(pspace&&!cspace)
nw++;
pspace=cspace;
}
}
FileInputstream class
Java Program that reads on file name from the user then displays information about whether the file exists, whether the file is readable/writable, the type of file and the length of the file in bytes and display the content of the using FileInputStream class.
Program:
import java.io.File;
import java.lang.String;
import java.util.*;
class FileDemo
{
static void file(String s)
{
System.out.println(s);
}
public static void main(String args[])
{
File f1=new File(args[0]);
System.out.println("File Name:"+f1.getName());
System.out.println("Path:"+f1.getPath());
System.out.println("Abs Path:"+f1.getAbsolutePath());
System.out.println("Parent:"+f1.getParent());
System.out.println(f1.exists()?"exists":"does not exist");
System.out.println(f1.canWrite()?"is writable":"is not writable");
System.out.println(f1.canRead()?"is readable":"is not readable");
System.out.println("is"+(f1.isDirectory()?"":"not"+"a directory"));
System.out.println(f1.isFile()?"is normal file":"might be a named pipe");
System.out.println(f1.isAbsolute()?"is absolute":"is not absolute");
System.out.println("File last modified:"+f1.lastModified());
System.out.println("file size:"+f1.length()+"Bytes");
}
}
import java.lang.String;
import java.util.*;
class FileDemo
{
static void file(String s)
{
System.out.println(s);
}
public static void main(String args[])
{
File f1=new File(args[0]);
System.out.println("File Name:"+f1.getName());
System.out.println("Path:"+f1.getPath());
System.out.println("Abs Path:"+f1.getAbsolutePath());
System.out.println("Parent:"+f1.getParent());
System.out.println(f1.exists()?"exists":"does not exist");
System.out.println(f1.canWrite()?"is writable":"is not writable");
System.out.println(f1.canRead()?"is readable":"is not readable");
System.out.println("is"+(f1.isDirectory()?"":"not"+"a directory"));
System.out.println(f1.isFile()?"is normal file":"might be a named pipe");
System.out.println(f1.isAbsolute()?"is absolute":"is not absolute");
System.out.println("File last modified:"+f1.lastModified());
System.out.println("file size:"+f1.length()+"Bytes");
}
}
Subscribe to:
Posts (Atom)