Subscribe to Get Free Material Updates!
Visit my new blog WebData Scraping - Web Scraping Service provider company in India.

Google's New Year Doodle Of 2012

Google likes to wish new year to their users via Doodle,  on the occasion of new year Google released it’s new Doodle logo. The Doodle shows that five characters of Google, characters are  like five persons (or we can say google users) enjoying the new year celebration. The releasing of Doodle is not new concept because every one knows that Google releases its doodle on every occasion.   On the first day of 2012 Google has released it's new Doodle “Happy New Year”. In this Doodle we can see  a small calendar on right side which shows 1st date of the year 2012. In previous Doodle all characters are enjoying coming new year while in this Doodle every character doing different thing. When you click on this Doodle...

UNIX Shell Script Programming

When group of command is to be executed regularly, they should be stored in a file. This file is called Shell Script It is not mandatory to have .sh extension Vi editor is used to create shell script.  You can use any Unix based Operating System to run this script or you can also use UWIN (Unix like shell developed by Wipro)  program to execute Shell Script on Windows. Shell script is very sophisticated scripting language because white space also plays an important role in syntax grammar while in other languages like C and C++ or Java ignores white spaces. For the practical purpose I am sharing this quick handy presentation which helps you to refreshing shell script syntax rules and...

GTU Circular For Akash UbiSlate Tablet

College students of GTU (Gujarat Technological University) will soon be able to get the Aakash Ubislate Tablet PC.  The general price of Aakash tablet is Rs. 2,276 /- which are distributed to all GTU students in just Rs. 1,138 (50% Subsidy given by Government) . GTU students will be able to buy the Aakash tablet for Rs. 1,138 /- from their respective colleges, Circulars have already been issued  by GTU to all its affiliated colleges in Gujarat. The colleges  have been asked to send list of students who want tablet. To book your tablet contact your college admin staff and register your name to them quickly. The Tablet Given By GTU Has Following Configurations: Size & Weight Dimensions : 115 (H) X 185 (W)  X(D)...

GTU MCA Sem 3 Java Practical Programs

I posted this Java programs for practice purpose. The ten programs given below are the Java programs which were asked in previous year GTU MCA  Java practical examination organized at Ahemdabad and Gandhinagar. Download PDF version of This Programs        Create a package "sales" with following items: Create a class naming “Order” containing orderDate (type as java.util.Date), productName  (type as String) and quantity (type as int) as its member fields. SystemDate should be used as orderDate. Create a class naming “OrderManagment”, which manages instances of Order. This class must provide following methods : placeOrder: It should accept productName and quantity as its arguments, it should create...

Java - Opening a URL in new window from an applet

This Applet example demonstrate how to open any URL in new browser page. The applet has Text Field  in which user  enters web URL and when user press Go button the specified URL will open in new browser window. Create an applet which has a Text Field to accept a URL string, and displays the document of the URL string in a new browser window. When user enters http://www.google.com and clicks on Go button the applet will opens the url in new window and this is accomplished by getAppletContext.showDocument(url, target) method of the AppletContext. Open_URL.Java ----------------------------------------------------------------------------------------------- /* Applet program which takes URL from user into textfield and opens...

GTU MCA Android Practical Paper

Practical Question Paper of Software Lab in Mobile Computing  (MCA Semester 5 Practical Examination December-2011) Create an application that will store employee information like Employee ID, Name, Address and Designation. User can insert, update, delete and  employee search record. Create an application that will change wall paper time by time. Create an application that will work like a calculator. It should be able to perform all arithmetic operation....

Google Searching Tricks

Google’s Winter Surprise- ‘Let It Snow’ On the occasion of Christmas the web giant Google Inc. introduced a latest natural effect on the search result page.  Type ‘Let It Snow’ in Google.com and see what happens? You can see the search result related to ‘Let It Snow’ but after some time it begins to snow ( winter is running) .  you  can click and drag your mouse on screen to draw some funny shape or letters.  When screen is filled by full of snow the page displays ‘Defrost’  button to clear the screen.  Enjoy Funny Search! Last month Google was come up with  ‘Do A Barrel Roll’.  Type ‘Do A Barrel Roll ‘ in Google and see the search result. It shows the serach result but the screen...

Write a script that behaves both in interactive and non-interactive mode

Write a script that behaves both in interactive and non-interactive mode. When no arguments are supplied, it picks up each C program from current directory and lists the first 10 lines. It then prompts for deletion of the file. If the user supplies arguments with the script, then it works on those files only. flag=1 if [ $# -ne 0 ];then # IF USER PROVIDE ARGUMENTS echo $* >temp flag=1 else # IF USER NOT PROVIDE ARGUMENTS ans=`ls *.c` if [ "" == "$ans" ];then echo "THERE ARE NO C FILE" flag=0 else ls *.c>temp flag=1 fi fi if [ $flag -eq 1 ];then for filename in `cat temp` do if [ -f $filename ];then echo "\t\t\t=========" echo "\t\t\t$filename" echo "\t\t\t=========" echo " " sed -n -e "1,10 p" $filename rm -i $filename fi done rm temp...

Write a shell script to add the statement #include at the beginning of every C source file in current directory containing printf and fprintf

clear grep -lw -e "printf" -w -e "fprintf" *.c > $$ for filename in `cat $$` do sed '1i\ #include\ #include ' $filename > $$$ `cat $$$>$filename` rm $$$ done echo "File corrected successfully" rm $$ Output:  ...

Write a script to display the last modified file.

record=`ls -lt | head -n 2` filename=`echo $record | cut -d " " -f 11` echo "Last modified file is $filename" Output:  ...

Write a script to display all lines of a file in ascending order.

clear echo "Enter filename" read filename echo "============" sort -t "~" -k 1 $filename Output:  ...

Write a script to display all words of a file in ascending order.

clear echo "Ascending order of word in File" echo " ===============================" echo "Enter File Name " read filename echo "\n\n\t\t\t Main File " echo "\t\t\t =========" echo `cat $filename` for i in `cat $filename` do echo $i >> tempfile.txt done `sort tempfile.txt>$filename` echo "\n\n\t\t\tSorted Word in File " echo "\t\t\t ===================\n" echo `cat $filename` rm tempfile.txt Output:  ...

Write a script to check whether a given string is palindrome or not.

clear echo " STRING PALINDROME OF NOT" echo " ========================" echo "ENTER STRING : " read str len=`echo $str | wc -c` i=1 while [ $i -le $len ] do ch=`echo $str | cut -c $i` revstr="$ch$revstr" i=`expr $i + 1` done if [ "$str" == "$revstr" ];then echo "String is palindrome" else echo "String is not palindrome" fi Output:  ...

Write a script to check whether a given string is palindrome or not.

clear echo " NUMBER PALINDROME OF NOT" echo " ========================" echo "ENTER NUMBER : " read no temp=$no revno=0 while [ $no -ne 0 ] do a=`expr $no % 10` no=`expr $no / 10` revno=`expr $revno \* 10 + $a` done if [ $temp -eq $revno ];then echo "Number is palindrome" else echo "Number is not palindrome" fi Output: ...

Script To Calculate Employee Salary

clear echo " GROSS SALARY CALCULATOR" echo " =======================" echo "ENTER BASIC SALARY:" read basic hra=`expr 10 \* $basic / 100` da=`expr 15 \* $basic / 100` gs=`expr $basic + $hra + $da` # gs=`expr $gs + $da` echo "GROSS SALARY IS $gs" Output:  ...

Write A Script To Perform Following String Operations Using Menu:

A.Compare two strings. B.Join two Strings. C.Find the length of the given Strings. D.Find occurrence of character and word E.Reverse the strings. clear echo "STRING MANIPULATION PROGRAM" echo "1. COMPARE STRING" echo "2. JOINT TWO STRING" echo "3. LENGTH OF STRING" echo "4. OCCOURANCE OF CHARACTER" echo "5. OCCOURANCE OF WORD" echo "6. REVERSE STRING" echo "ENTER CHOICE:" read ch case $ch in 1) echo "ENTER FIRST STRING:" read str1 echo "ENTER SECOND STRING:" read str2 len1=`echo $str1 | wc -c` len2=`echo $str2 | wc -c` if [ $len1 -eq $len2 ];then echo "BOTH STRINGS ARE OF SAME LENGTH" elif [ $len1 -gt $len2 ];then echo "$str1 is greater than $str2" else echo "$str2 is greater than $str1" fi ;; 2) echo "ENTER FIRST STRING:" read str1 echo "ENTER...

Write a script which reads a text file and output the following Count of character, words and lines. File in reverse. Frequency of particular word in the file. Lower case letter in place of upper case letter.

clear echo "Enter File Name :=" read filename echo "1. Number Of Character" echo "2. Number Of Words" echo "3. Number Of Lines" echo "4. File In Reverse" echo "5. Fequency Of Particular Word" echo "6. Convert Upper Case to Lower Case" echo "Enter Your Choice :=" read ch case $ch in 1) echo "Total Number Of Characters are : " `cat $filename |wc -c` ;; 2) echo "Total Number Of Words are : " `cat $filename |wc -w` ;; 3) echo "Total Number Of Lines are : " `cat $filename |wc -l` ;; 4) revstr="" while read -n1 ch; do revstr="$ch$revstr" done<$filename echo "File In Reverse Order : " echo $revstr ;; 5) clear echo "Enter Word To Search : " read search filename="veer.txt" str=`grep -i "$search" $filename` ...

How To Create CSV File In Java

TestCsv.csv (Excel file) Looks as bellow: /* Read Data From Comma Seprated File (CSV) using FileInputStream and DataInputStream*/ import java.io.*; import java.util.*; class ReadCsv { public static void main(String args[]) { try { int sum=0; FileInputStream fi1=new FileInputStream("TestCsv.csv"); DataInputStream di=new DataInputStream(fi1); String line; while((line=di.readLine())!=null) { StringTokenizer st=new StringTokenizer(line,","); while(st.hasMoreTokens()) { String s=st.nextToken(); System.out.println(s); sum=sum+Integer.parseInt(s); } System.out.println("Total:"+sum+""); } } catch(Exception e) { System.out.println("Error:"+e); } } } Output:...

Java FileOutputStream Example

/* Create A File and Write String of Byte (Byte Array) using FileOutputStream*/ import java.io.*; class OutputStreamDemo1 { public static void main(String[] args) { try { File f1=new File("MyFile.txt"); FileOutputStream fout=new FileOutputStream(f1); byte[] byte_arr=new byte[10]; String str="Java File Handling"; byte_arr=str.getBytes(); fout.write(byte_arr); } catch(Exception e) { } } }...

Read Single Byte FileInputStream

/* Read A Single Byte From File using FileInputStream*/ import java.io.*; class InputStreamDemo { public static void main(String[] args) { try { File f1=new File("MyFile.txt"); FileInputStream fin=new FileInputStream(f1); int ch=fin.read(); System.out.println("Byte Data Readed From File="+(char)ch); } catch(Exception e) { } } }...

Read File Using InputStream

/* Read A String (Byte Array) From File using FileInputStream*/ import java.io.*; class InputStreamDemo1 { public static void main(String[] args) { try { File f1=new File("MyFile.txt"); FileInputStream fin=new FileInputStream(f1); DataInputStream din=new DataInputStream(fin); byte[] byte_arr=new byte[100]; while(din.available()!=0) { System.out.println(din.readLine()); } } catch(Exception e) { System.out.println(e); } } }...

GTU MCA Sem 5

Download GTU MCA Semseter 5 Materials SubjectCode Subject 650001Software Engineering (SE) 650002Network Security (NS) 650003Mobile Computing (MC) 650004Advanced Data Base Management Systems (ADBMS)(Elective-II) 650005Parallel Programming (PP) 650006Web Searching Technologies & Search Engine Optimization 650007Wireless Sensor Network(WSN) 650008Cyber Security and Forensics (CSF) (Elective-II) 650010Advanced Networking (AN) 650011Image Processing (IP) 650012Software Development for Embedded Systems (SD-ES) 650013Geographical Information System (GIS) 650014Language Processing (LP) 650015Bioinformatics (Bio-I) 650016Software Lab in Mobile Computing (SL-MC) 650017Dissertation (DSRT) Question Papers Download Presentations..... ...

GTU MCA Sem 4

SubjectCode Subject 640001Fundamentals of Networking (FON) 640002Web Technology & Application Development (WTAD) 640003Operations Research (OR) 640004Management Information Systems (MIS) 640005Data Warehousing & Data Mining (DWDM) 640006Distributed Computing (DC1) 640007Data Compression (DC2) 640008Computer Graphics (CG) 640008Soft Computing (SC) 640008Analysis and Design of Algorithms (ADA) 640008Programming Skills – VI (FON) 640008Programming Skills – VII (WTAD) Download Presentations..... Question Papers Syllabus of GTU MCA Semester 4 ...

GTU MCA Sem 4 FON Programs

Write a Program to convert the  ascii to binary & Binary to ASCII. Write a Program shift one bit to left or right. Write a Program to stuff the byte after specified characters. Write a program to add the parity bit to frames at sender site & check at receiver side for correct recipient of data.. Write a program to create the hamming code for given message. Write a program to generate the polynomial equation for frame bit. Write a program to encode the message using caecer cipher. Write a program to encode the message using mono alphabetic sub-stitution cipher....

Ideas For Project

If you are searching for computer science project ideas or some thing like IT project ideas then you are on correct place on internet. When I was in my final year of BCA (Bachelor of Computer Application), I also asking new and innovative ideas which are never ever developed. Keep in mind that what ever project title you will choose but  the fundamental operation such as add record, delete record, update record, view record must be present there.  So your aim is to find project definition which is more related to real life problems and you can learn some stuff after developing that project. There are many websites form where you can download free projects. But only use such projects for learning purpose never use them to be free from the development. Here real implementation...

Download VB project Invoice management system

Invoice Management VB Project This project provides simple invoice management system which helps to maintain all details of Customers, Items and Suppliers. This project can generate Sales Invoice and Purchase Invoice. By this application user can have various facilities like generate sales and purchase invoices and print it for further reference.  Application also allows manage admin users and normal users. This project helps user to work systematic process to their business and work batter and also helps them to work easier and faster in their routine work. This project has one more facility it works on any resolution. This project is very helpful for vb programmer who want to develop invoice management software. Download...

Digital Forum Project in PHP

PHP is an open source web scripting language which is powerful and provides many development features. The students doing theirs final semester MCA, BCA, MSc.IT BSc.IT and PGDCA has to develop their final year project in PHP. Programmer's Zone is project that I have made during my BCA (Bachelor of Computer Application). We were two person worked on this final semester project. We have used many advanced technologies in this project which are described below. AJAX Integration Google Map Integration CAPTCHA (Completely Automated Public Turing Test to Tell Computer Human Apart) authentication using PHP GD Library. In line validation using AJAX. Image Uploading Design using CSS (Cascading Style Sheet). Download...

Article on Akash Tablet Computer

What is Tablet? In current technology trend people wants more and more computing power and desktop pc like features in small size computers. The desktop computers and laptops are very costly and not exact solution for portability. Mobile phones are easy to portable but doesn’t provide computing power and exact feel like laptop and desktop computing. So as an solution of above problem, tablet computer was arose. Tablet computer ( also referred as tablet PCs) is tabled sized computer equipped with touch, USB ports, Microphone point and inbuilt speakers. Tablet PCs has an operating system like Android, Windows, or linux for managing applications and hardware. Some tablet computer has rotating keyboard or some has only touch screen keyboard. History...

Presentation on Aakash Tablet Computer

1. World's Cheapest Tablet Computer Aakash! 2. Indian Tablet Computer for Student! Related Posts: Akash Ubislate tablet in Rs. 1100 Configuration of an Akash Ubislate Tablet Article on Akash Tablet Computer GTU Circular for Aakash Tablet Akash Tablet Launched In Gujarat Classpad Tablet Price Launched by Rohit Pande...

Write a script to make following file and directory management operations menu based

Display current directory List directory Make directory Change directory Copy a file Rename a file Delete a file Edit a file clear echo " 1 : Display Current Directory" echo " 2 : List directory" echo " 3 : Make Directory" echo " 4 : Change Directory" echo " 5 : Copy a file" echo " 6 : Rename a file" echo " 7 : Delete a file" echo " 8 : Edit a file" echo " ENTER CHOICE : "; read ch if [ $ch -eq 1 ];then echo "YOUR CHOICE IS TO DISPLAY CURRENT DIRECTORY" pwd=`pwd` echo "YOUR CURRENT DIRECTORY IS : $pwd" elif [ $ch -eq 2 ];then echo "YOUR CHOICE IS TO LIST THE FILE IN DIRECTORY" echo "FILE AND DIRECTORIES IN CURRENT DIRECTORY IS " echo `ls` elif [ $ch -eq 3 ];then echo "YOUR CHOICE IS TO CREATE DIRECTORY" echo "Enter Name Of Directory:"; ...

Write a script for generating a mark sheet after reading data from a file. File contains student roll no, name , marks of three subjects

clear len=`cat student.txt | wc -l` i=1 echo "\n\n\tSTUDENT MARKSHEET" echo "\t=================\n" echo "NAME \t \t TOTAL \t \t PERCENTAGE \t GRADE " echo "=====================================================" while [ $i -le $len ] do record=`head -n $i student.txt | tail -n 1` total=0 for (( j=2 ; $j < 5 ; j=`expr $j + 1` )) do marks=`echo $record | cut -d " " -f $j` total=`expr $total + $marks` done name=`echo $record | cut -d " " -f 1` per=`expr $total / 3` if [ $per -ge 85 ] && [ $per -le 100 ] ; then grade="AA" elif [ $per -ge 75 ] && [ $per -le 84 ] ; then grade="AB" elif [ $per -ge 65 ] && [ $per -le 74 ] ; then grade="BB" elif [ $per -ge 55 ] && [ $per -le 64 ] ; then ...

Page 1 of 4112345Next
Related Posts Plugin for WordPress, Blogger...

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes