tag:blogger.com,1999:blog-62406283636217474842024-03-13T09:51:12.413+05:30ParasharCoding and ModellingAnonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.comBlogger86125tag:blogger.com,1999:blog-6240628363621747484.post-44449879062188002782018-12-23T13:18:00.000+05:302018-12-23T13:18:27.712+05:30Watching<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2WupJ9Dr4V6hgncLcpiDR7NJDeeiBLDokLz4pg114yqBx5q2No_D68OHIiZR3D2VWqSvUjJNNqhOlipRt60yLwRJmc9qQ1KJQWeXcsCHWHKeJWoOBtDsjyYKgYD1RFNlwnlfqwHnAOXzx/s1600/1545313844147.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2WupJ9Dr4V6hgncLcpiDR7NJDeeiBLDokLz4pg114yqBx5q2No_D68OHIiZR3D2VWqSvUjJNNqhOlipRt60yLwRJmc9qQ1KJQWeXcsCHWHKeJWoOBtDsjyYKgYD1RFNlwnlfqwHnAOXzx/s640/1545313844147.jpg" width="359" /></a></div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/17642821175447683945noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-44718813320369161872018-12-09T16:38:00.001+05:302018-12-09T16:59:38.508+05:30Photoshoot<div dir="ltr" style="text-align: left;" trbidi="on">
Indoor<br /><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU6IiZPBkbPA0t12fptnTENYDs75hZmj7sIHMVyivldI5RP5tlh70U-54O6_HmBQPYSaKA9ZSiMsM6MeQajv4U3xRKaX8-IdzMqvkTx47JwtJfn5YuWx1G3SfMaVYsGTGowMaHewYH4FrB/s1600/20181207142528_IMG_0091.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="1067" data-original-width="1600" height="425" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU6IiZPBkbPA0t12fptnTENYDs75hZmj7sIHMVyivldI5RP5tlh70U-54O6_HmBQPYSaKA9ZSiMsM6MeQajv4U3xRKaX8-IdzMqvkTx47JwtJfn5YuWx1G3SfMaVYsGTGowMaHewYH4FrB/s640/20181207142528_IMG_0091.JPG" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">The sun in my eyes</td></tr>
</tbody></table>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguCarI5iG_f9rEcitT9uBrhlgXKrrESW79ZxZkr43sIVt7VzkKHJPyl8ghubrinDaZD2JefZ_kjYeU4IunA7h4u1o_DwvN2fFZNHnaEJR8WTX-M5iL8-DplqmiXQcW4TrPfQp2mMpjgKfe/s1600/IMG_20181117_143238.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" data-original-height="1600" data-original-width="1600" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguCarI5iG_f9rEcitT9uBrhlgXKrrESW79ZxZkr43sIVt7VzkKHJPyl8ghubrinDaZD2JefZ_kjYeU4IunA7h4u1o_DwvN2fFZNHnaEJR8WTX-M5iL8-DplqmiXQcW4TrPfQp2mMpjgKfe/s400/IMG_20181117_143238.jpg" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Blurrylines</td></tr>
</tbody></table>
<br /></div>
Anonymoushttp://www.blogger.com/profile/17642821175447683945noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-12250251892758901202017-09-25T13:58:00.000+05:302018-12-09T11:15:23.008+05:30JAVA: Program to check working of OPERATORS<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: black; color: #f3f3f3;">Programming languages typically support a set of operators: constructs which behave generally like functions, but which differ syntactically or semantically from usual functions. Common simple examples include arithmetic (addition with +), comparison (with >), and logical operations (such as AND or &&). More involved examples include assignment (usually = or :=), field access in a record or object (usually .), and the scope resolution operator (often ::). Languages usually define a set of built-in operators, and in some cases allow user-defined operators.</span><br />
ref. google<br />
<br />
<div style="text-align: center;">
<a href="https://drive.google.com/open?id=0B2FC6ZK-r7t6bGx4Tk5UUmQ5bmM" target="_blank">Click to download</a></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com1tag:blogger.com,1999:blog-6240628363621747484.post-39895734253878602902017-09-22T18:06:00.003+05:302018-12-09T15:45:37.890+05:30JAVA: Program to check if a string is a PALINDROME<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: black; font-family: "roboto" , "arial" , sans-serif; font-size: x-small;"><span style="color: white;">Palindrome:-</span></span><br />
<span style="background-color: black; color: white;"><span style="font-family: "roboto" , "arial" , sans-serif; font-size: x-small;">a word, phrase, or sequence that reads the same backward as forward, e.g., </span><i style="font-family: Roboto, arial, sans-serif; font-size: small;">madam</i><span style="font-family: "roboto" , "arial" , sans-serif; font-size: x-small;"> or </span><i style="font-family: Roboto, arial, sans-serif; font-size: small;">nurses run.</i></span><br />
<span style="background-color: black; color: white;"><i style="font-family: Roboto, arial, sans-serif; font-size: small;"><br />
</i></span> <br />
<div style="text-align: center;">
<a href="https://drive.google.com/open?id=0B2FC6ZK-r7t6aldSUlhFMnF6LVE" target="_blank">Click to Download</a></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-12045973310525990682017-09-22T18:03:00.000+05:302018-12-09T15:45:58.698+05:30JAVA: Program to reverse a String by words<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"><span style="background-color: black; font-size: 13px;">Input:- </span><span style="background-color: black; font-size: 13px;">The quick brown fox jumped over the lazy dog!</span></span><br />
<div>
<span style="color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"><span style="background-color: black; font-size: 13px;">Output:- </span><span style="background-color: black; font-size: 13px;">dog! lazy the over jumped fox brown quick The</span></span></div>
<div>
<br /></div>
<div style="text-align: center;">
<a href="https://drive.google.com/file/d/0B2FC6ZK-r7t6VFBnY251ODlwNWc/view?usp=sharing" target="_blank">Click to Download</a></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-83368605779648226462017-09-22T17:58:00.000+05:302018-12-09T15:46:14.516+05:30JAVA: Program to remove comments from String<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: black; color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13px;">IP:- //this is a comment</span><br />
<span style="background-color: black; color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13px;">OP:- this is a comment</span><br />
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<a href="https://drive.google.com/file/d/0B2FC6ZK-r7t6TXRPMDQtT3RUcFk/view?usp=sharing">Click to Download</a></div>
<div style="text-align: center;">
<br /></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-13176156956997460932017-09-21T13:57:00.000+05:302018-12-09T15:46:31.173+05:30JAVA: program to calculate Factorial<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: black;"><span style="color: white;">the product of an integer and all the integers below it; e.g., factorial four ( 4! ) is equal to 24.</span></span><br />
<span style="background-color: black;"><span style="color: white;"><br /></span></span>
<br />
<div style="text-align: center;">
<a href="https://drive.google.com/open?id=0B2FC6ZK-r7t6NjlkOWVYeVAxSG8" target="_blank">Click to Download</a></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-52937366160064490142017-09-21T13:26:00.000+05:302018-12-09T15:46:42.936+05:30JAVA: Program to print FIBONACCI Sequence<div dir="ltr" style="text-align: left;" trbidi="on">
<div>
<span style="background-color: black; font-family: "roboto" , "arial" , sans-serif;"><span style="color: white;">a series of numbers in which each number ( Fibonacci number ) is the sum of the two preceding numbers. The simplest is the series 1, 1, 2, 3, 5, 8, etc.</span></span><br />
ref.google</div>
<div>
<br /></div>
<div style="text-align: center;">
<a href="https://drive.google.com/open?id=0B2FC6ZK-r7t6dkdrRnpqajdXbFk" target="_blank">Click to Download</a></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-3903226021653099962016-04-17T21:46:00.000+05:302018-12-09T15:46:57.345+05:30How to transfer and received file beagle bone to FTP server in fedora<div dir="ltr" style="text-align: left;" trbidi="on">
<b> How to transfer and received file beagle bone to FTP server in fedora</b><br />
<br />
<b>Server Side:</b><br />
<br />
Step 1:In vsftpd.conf file (/etc/vsftpd/vsftpd.conf) editthis lines.<br />
<br />
<b> anon_other_write_enable=YES<br />dirmessage_enable=YES<br />dirlist_enable=YES<br />no_anon_password=YES<br />file_open_mode=0777<br />guest_enable=YES<br />anon_upload_enable=YES</b><br />
<br />
Step 2 : start service vsftpd (service vsftpd start)<br />
Step 3: stop firewall (systemctl stop firewalld.service)<br />
step 4: mount --bind /default directory/ /var/ftp<br />
<br />
<b>Client side: </b><br />
<br />
<b>Step 1: stop firewall service </b><br />
<br />
from ftplib import FTP<br />
<br />
import os<br />
<br />
<br />
<br />
flag = True<br />
<br />
<br />
<br />
while(flag):<br />
<br />
os.system("ifconfig eth0 192.168.5.2")<br />
<br />
ftps = FTP('172.16.1.176')<br />
<br />
ftps.login('apcoer','12345678')<br />
<br />
<br />
<br />
print "Select an option for transfering files:\n1.Machine to BBB\n2. BBB to machine"<br />
<br />
print "3.FTP to BBB\n4.BBB to FTP\n5.Exit"<br />
<br />
choice = int(input())<br />
<br />
if choice == 1:<br />
<br />
mcip = raw_input("Enter the ip of machine from where the file is to be received: ")<br />
<br />
<br />
<br />
user = raw_input("Enter the user from whom the file is to be received: ")<br />
<br />
filename = raw_input("Enter path of the file to be received: ")<br />
<br />
destpath = raw_input("Enter the path where the file is to be stored: ")<br />
<br />
os.system("scp "+user+"@"+mcip+":"+filename+" "+destpath)<br />
<br />
print "File received successfully"<br />
<br />
<br />
<br />
<br />
<br />
elif choice == 2:<br />
<br />
mcip = raw_input("Enter the ip of machine to send files to: ")<br />
<br />
user = raw_input("Enter the user to whom the file is to be sent: ")<br />
<br />
destpath = raw_input("Enter where the file should be stored on receiving machine: ")<br />
<br />
filename = raw_input("Enter the path to the file to be sent: ")<br />
<br />
os.system("scp "+filename+" "+user+"@"+mcip+":"+destpath)<br />
<br />
print "File successfully sent"<br />
<br />
<br />
<br />
elif choice == 3:<br />
<br />
ftps.retrlines('LIST')<br />
<br />
filename = raw_input("Enter the filename to be downloaded: ")<br />
<br />
ftps.retrlines('RETR '+filename, open(filename,"wb").write)<br />
<br />
print "File successfully downloaded"<br />
<br />
<br />
<br />
elif choice == 4:<br />
<br />
filename = raw_input("Enter the filename which is to be sent: ")<br />
print filename<br />
#ftps.storlines("STOR " + os.path.basename(filename), open(filename))<br />
ftps.storlines('STOR '+os.path.basename(filename), open(os.path.basename(filename),w"/var/ftp"))<br />
<br />
print "File successfully uploaded"<br />
<br />
<br />
<br />
else:<br />
<br />
flag = False</div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6240628363621747484.post-29969237344106425502016-02-08T09:26:00.000+05:302018-12-09T15:47:28.504+05:30How to connect beaglebone<div dir="ltr" style="text-align: left;" trbidi="on">
1)<br />
[apcoer@localhost-localdomain ~]$ ssh root@192.168.7.2<br />
The authenticity of host '192.168.7.2 (192.168.7.2)' can't be established.<br />
ECDSA key fingerprint is c0:81:1a:f4:58:b9:51:15:00:df:ee:71:c4:d9:fd:54.<br />
Are you sure you want to continue connecting (yes/no)? y<br />
Please type 'yes' or 'no': y<br />
Please type 'yes' or 'no': yes<br />
Warning: Permanently added '192.168.7.2' (ECDSA) to the list of known hosts.<br />
Debian GNU/Linux 7<br />
<br />
BeagleBoard.org BeagleBone Debian Image 2014-04-23<br />
<br />
Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian<br />
Last login: Wed Apr 23 20:27:40 2014 from 192.168.7.1<br />
root@beaglebone:~# vnc<br />
-bash: vnc: command not found<br />
root@beaglebone:~# vncserver<br />
<br />
New 'X' desktop is beaglebone:1<br />
<br />
Starting applications specified in /root/.vnc/xstartup<br />
Log file is /root/.vnc/beaglebone:1.log<br />
<br />
root@beaglebone:~#<br />
<br />
2) open remote desktop<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQBsdShv54V7J3Ip7iLFfsHtSNKChr1KOfmmHDVNoF2Dt3HYldcqJ5eRSm8aT_ncpYbuwCPig5m1ziPkC3T0KBIgB-wXVzIVgYIzgcHYyxPG4R7LuoLY4eOXZTqknFpAY2Agnz93vbJbdy/s1600/Screenshot+from+2016-02-08+09%253A23%253A13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="460" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQBsdShv54V7J3Ip7iLFfsHtSNKChr1KOfmmHDVNoF2Dt3HYldcqJ5eRSm8aT_ncpYbuwCPig5m1ziPkC3T0KBIgB-wXVzIVgYIzgcHYyxPG4R7LuoLY4eOXZTqknFpAY2Agnz93vbJbdy/s640/Screenshot+from+2016-02-08+09%253A23%253A13.png" width="640" /></a></div>
<br />
<div>
<br /></div>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6240628363621747484.post-22512035178711508082015-12-09T02:51:00.000+05:302015-12-09T03:02:59.338+05:30Android: Using button and setting up on-click listener <div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
</div>
<ol>
<li style="text-align: left;">src/com/example/blackVwhite/mainactivity.java contains the code</li>
<li style="text-align: left;">res/layout/activity_main.xml contains the layout </li>
</ol>
<br />
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<a href="https://drive.google.com/folderview?id=0B2FC6ZK-r7t6ekRidl9ycE1FQXM&usp=sharing" target="_blank">Click here to download the program!</a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
</div>
<ul>
<li>program to Change the screen color to RGB i.e Red,Green & Blue using buttons</li>
</ul>
<div>
<br /></div>
<div>
<br /></div>
<div style="text-align: center;">
<a href="https://drive.google.com/file/d/0B2FC6ZK-r7t6UkZBM01JWUpBUkE/view?usp=sharing" target="_blank">or just simply Download</a></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-76004935165213537712015-09-20T10:44:00.000+05:302015-09-28T21:22:48.877+05:30JAVA: String to Star pattern<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<a href="https://drive.google.com/folderview?id=0B2FC6ZK-r7t6NGVsbVZJLTYzY0E&usp=sharing" target="_blank">Click here to View</a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: justify;">
PS: my friend asked me to do this program and i have just proved that my l0gic was right! i haven't added the all the alphabets as it was time consuming but a string like F###-OFF does work! :P</div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-53423999244542959242015-07-06T15:28:00.005+05:302015-07-06T15:28:38.041+05:30PL-1 : All practicals group assignments<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
PL-1 : All group assignments</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<a href="http://www.4shared.com/folder/VYy30vmb/PL-1.html" target="_blank">click here to download</a></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-84532895446183737822015-07-06T15:25:00.001+05:302015-07-06T15:25:36.138+05:30DMSA : All units Notes<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
Data base management all UNITS</div>
<br />
<div style="text-align: center;">
<a href="http://www.4shared.com/folder/Tf1s3mZX/DMSA_all_units.html" target="_blank"> click here for download </a></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-32635948137707559642015-07-06T15:01:00.000+05:302015-07-06T15:12:28.035+05:30GENERAL:Fun with Linux <div dir="ltr" style="text-align: left;" trbidi="on">
<div>
So here's a common tutorial on how to <span style="color: red;">SHUTDOWN </span><span style="color: white;">any PC connected to you on your LAN network using LINUX based OS...</span><br />
<br />
<ul style="text-align: left;">
<li><span style="color: white;">first you need to get the IP address of those machines ,, inorder to do so you can try </span><span style="color: red;">ipneigh or arp <span style="color: white;">on your terminal....</span></span></li>
<li><span style="color: white;">if that doesn't work you should can always try install nmap an applet application for broadcasting to all the IP's on a network , this will get you a list of IP's</span></li>
<span style="color: white;">
</span>
<li><span style="color: white;">so inorder to install nmap here's how its done</span></li>
<span style="color: white;">
</span>
<li><span style="color: white;">yum install nmap / apt-get nmap</span></li>
<span style="color: white;">
</span>
<li><span style="color: white;">nmap <IP> b</span></li>
<span style="color: white;">
</span>
<li><span style="color: white;">suppose <IP> = 192.168.1.1 you should replace the digits with * (the more the * the more is the SCAN TIME) E.G.:- 192.168.*.* will get me a list of all the IP's starting from 192.168. </span></li>
<li><span style="color: white;"> now try these again- </span><span style="color: red;">ip neigh or arp <span style="color: white;">on your terminal....</span></span></li>
<span style="color: white;">
</span>
<li><span style="color: white;">after this you can use various commands like </span><span style="color: red;">init1,init2 .... , poweroff , reboot ..... <span style="color: white;">along with</span> ssh .</span> </li>
<li><span style="color: white;">command</span> <span style="color: red;">ssh <IP> poweroff </span><span style="color: black;"><span style="color: white;">this is supposed to shutdown the other PC , you can also use</span> <span style="color: red;">ssh root@<IP>command</span> </span></li>
</ul>
</div>
<div style="text-align: center;">
<span style="color: #e06666;">that's all FOLKS</span></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-68516778225968864342015-06-10T23:01:00.001+05:302017-09-21T12:55:33.109+05:30JAVA: String and String functions<div dir="ltr" style="text-align: left;" trbidi="on">
just put in some string functions,,,,<br />
interested juzz check it out ;)<br />
<div style="text-align: center;">
<br />
<a href="https://drive.google.com/open?id=0B2FC6ZK-r7t6SmFzQ29TZGowcHM" target="_blank">Click to Download</a></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-1334275630989056822015-06-10T22:13:00.001+05:302015-06-10T22:13:30.182+05:30JAVA: Program to find whether a number is prime or not (with gui)<div dir="ltr" style="text-align: left;" trbidi="on">
i've put in a program to find whether a number is prime or not, also added in some GUI,<div>
you can always use it as a simple program by <b>un-commenting</b> the few lines in the pryme.java file :)</div>
<div>
<br /></div>
<div style="text-align: center;">
<a href="http://www.4shared.com/folder/F3X0f911/Prime_Recursion.html" target="_blank">click here to download</a></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-14192710437886553762015-06-10T21:34:00.000+05:302015-06-10T21:34:30.427+05:30JAVA: Hello world and also dispaly the value of /n(enter) n /t(tab) button<div dir="ltr" style="text-align: left;" trbidi="on">
just as the title says i've put the <b>hashcode function </b><br />
nothin more than a basic program :)<br />
<br />
<div style="text-align: center;">
<a href="http://www.4shared.com/folder/5aaqe3Sv/Hello_world.html" target="_blank">click here to download</a></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-2653231666501072312015-06-10T21:23:00.000+05:302015-06-10T21:23:30.873+05:30JAVA: Exception handling <div dir="ltr" style="text-align: left;" trbidi="on">
just a basic program to handle exception.....<br />
division program that handles:-<br />
<br />
<ul style="text-align: left;">
<li>divide by zero exception</li>
<li>n also invalid data type</li>
</ul>
<div style="text-align: center;">
<a href="http://www.4shared.com/folder/G1_TuqKP/Exception_Handlin.html" target="_blank">click here to download</a></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-83280199500458980662015-06-10T21:18:00.003+05:302015-06-10T21:19:52.413+05:30JAVA: Employee <div dir="ltr" style="text-align: left;" trbidi="on">
just a basic program for starters......<br />
all it does is displays employee name ,salary ,age......<br />
<br />
<div style="text-align: center;">
<a href="http://www.4shared.com/folder/749AsLp5/employee.html" target="_blank">click here to download</a></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-28754073300691076442015-06-10T18:20:00.000+05:302015-07-06T14:42:03.850+05:30Algorithm<div dir="ltr" style="text-align: left;" trbidi="on">
me ami belong to computer stream , often hear my teachers talking about taking important lectures(that i somehow n accidentally happen to skip) on algorithms , so here i am filling up on those missed lectures ;)<br />
<div>
<br /></div>
<div>
so getting back to the <b><i><u style="background-color: lime;">TOPIC</u></i></b></div>
<div>
<br /></div>
<div>
what's an <b><u><span style="color: red;">algorithm</span></u></b> ???</div>
<div>
<br /></div>
<div>
Lets say an algorithm is <span style="background-color: #fefefe; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; letter-spacing: 0.600000023841858px; line-height: 24px; text-align: justify;"> any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values, as output.</span></div>
<div>
<br /></div>
<div>
so its just like those maths sums that we've been solving all our lives, </div>
<div>
those are just <i>fool-proof steps</i> that run around in a loop while the computer does the calculations.....</div>
<div>
for example:- say a <b>linear search ....</b></div>
<div>
basically its the most basic and the simplest of all....</div>
<div>
just to <i>summarize :- </i>we go through the values one-at-a-time in a linear way (be it ascending or descending-but mostly ascending)</div>
<div>
<br /></div>
<div>
say example we need to find number <u><b>6</b></u> from a given set of numbers(let the numbers be in an array) [8,1,4,9,4,8,7,2,4,2]</div>
<div>
here we know each array has index starting from 0.....</div>
<div>
<br /></div>
<div>
<i>for(i=0;i<9;i++)</i></div>
<div>
<i>{</i></div>
<div>
<i>if(array[i]==6)</i></div>
<div>
<i> sysout->number present</i></div>
<div>
<i> else</i></div>
<div>
<i> sysout->number not found</i></div>
<div>
<i>}</i></div>
<div>
<i><br /></i></div>
<div>
here the algo will start with a[0] i.e. 8 and keep on incrementing itself till the end of that array...</div>
<div>
<b>output:-</b> number not found </div>
<div>
<br /></div>
<div>
i'll try to get back with more algorithms as i myself learn them, but as i dont happen to be a nerd this can supposedly take a long time , ask me about the #games and i'm there but these studies ,,, </div>
<div>
whuff - gimme a break :p</div>
<div>
<br /></div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-31877248026270446872015-04-09T15:19:00.002+05:302015-04-09T15:19:25.410+05:30MA: ascii values<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh67pzqMEbTWy494Frp4_w1oG-oUP_ar9F3_NzDic1WufQ9z4Ja-G9Kx5SbTFXHenvwEzTGQfK-xs2ERlrKeU334sRfJyZwm-iniWcj35vC0uhm7sIwlQ-6XxHUNBOgJ-PJ2pa5oVk3wcU/s1600/ascii.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh67pzqMEbTWy494Frp4_w1oG-oUP_ar9F3_NzDic1WufQ9z4Ja-G9Kx5SbTFXHenvwEzTGQfK-xs2ERlrKeU334sRfJyZwm-iniWcj35vC0uhm7sIwlQ-6XxHUNBOgJ-PJ2pa5oVk3wcU/s1600/ascii.jpg" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Ascii values & characters<br /></td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-10433511968319734642015-04-09T01:17:00.002+05:302018-12-09T15:49:21.264+05:30MITL: Assignment-1<div dir="ltr" style="text-align: left;" trbidi="on">
section .data<br />
<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>tname db "tnx for using code from parazhar.blogspot.com",10<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>lname equ $-tname<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>tcnt db "how many numbers do you wanna add? :-"<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>lcnt equ $-tcnt<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>tnum db "Enter number:-"<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>lnum equ $-tnum<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>tsum db "the addition of numbers is:-"<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>lsum equ $-tsum<br />
;________________________________________________________________________<br />
section .bss<br />
<br />
numcnt resb 2<br />
number resb 17<br />
sum resq 1<span class="Apple-tab-span" style="white-space: pre;"> </span>;reserve quadword for storing 64 bit result<br />
<br />
%macro write 2<br />
mov rax,1<br />
mov rdi,1<br />
mov rsi,%1<br />
mov rdx,%2<br />
syscall<br />
%endmacro<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
%macro read 2<br />
mov rax,0<br />
mov rdi,0<br />
mov rsi,%1<br />
mov rdx,%2<br />
syscall<br />
%endmacro<br />
;________________________________________________________________________<br />
section .text<br />
global _start:<br />
_start:<br />
<br />
write tname,lname<span class="Apple-tab-span" style="white-space: pre;"> </span>;displays name<br />
write tcnt,lcnt<span class="Apple-tab-span" style="white-space: pre;"> </span>;disp enter count<br />
read numcnt,2<span class="Apple-tab-span" style="white-space: pre;"> </span>;accepts numcnt<br />
<br />
mov qword[sum],0<span class="Apple-tab-span" style="white-space: pre;"> </span>;initialize val of sum to 0<br />
<br />
;____________________________________________________________________<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>;number conversion<br />
;____________________________________________________________________<br />
;cmp byte[numcnt],7h<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
;jg onine<br />
;sub byte[numcnt],7h<br />
;onine: cmp byte[numcnt],30h<br />
;jg AZ<br />
;sub byte[numcnt],30h<br />
;AZ: cmp byte[numcnt],37h<br />
;sub byte[numcnt],37h<br />
sub byte[numcnt],30h<br />
;___________________________________________________________________<br />
hexin:<br />
write tnum,lnum<br />
read number,17<span class="Apple-tab-span" style="white-space: pre;"> </span>;accept hex number<br />
<br />
mov ch,10h<span class="Apple-tab-span" style="white-space: pre;"> </span>;initialize counter values<br />
mov cl,04h<br />
xor rbx,rbx<span class="Apple-tab-span" style="white-space: pre;"> </span>;clear rbx<br />
mov rdi,number<span class="Apple-tab-span" style="white-space: pre;"> </span>;moves offset address of number to rdi<br />
<br />
loop:<br />
shl rbx,cl<span class="Apple-tab-span" style="white-space: pre;"> </span>;shift left rbx by cl(where cl=4)<br />
mov al,[rdi]<span class="Apple-tab-span" style="white-space: pre;"> </span>;take first byte from the address of rdi to accumulator<br />
cmp al,39h<br />
jng less<br />
sub al,7h<br />
less:<br />
sub al,30h<br />
and al,0Fh<br />
add bl,al<br />
inc rdi<br />
dec ch<br />
jnz loop<br />
add qword[sum],rbx<br />
dec byte[numcnt]<br />
jnz hexin<br />
<br />
mov ch,16<br />
mov cl,4<br />
<br />
mov rsi,number<br />
mov rbx,qword[sum]<br />
<br />
ASCII:<br />
rol rbx,cl<br />
mov al,bl<br />
and al,0Fh<br />
cmp al,09h<br />
jng lesh<br />
add al,07h<br />
lesh:<br />
add al,30h<br />
mov [rsi],al<br />
inc rsi<br />
dec ch<br />
jnz ASCII<br />
write tsum,lsum<br />
write number,16<br />
<br />
exit:<br />
mov rax,3ch<br />
mov rdi,00<br />
syscall<br />
<br />
<br />
;______________________________________________________________________<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>;output<br />
;______________________________________________________________________<br />
;[Aqua-4@localhost mitl]$<br />
;[Aqua-4@localhost mitl]$ nasm -f elf64 a1.asm<br />
;[Aqua-4@localhost mitl]$ ld -o assignment1 a1.o<br />
;[Aqua-4@localhost mitl]$ ./assignment1<br />
;tnx for using code from parazhar.blogspot.com<br />
;how many numbers do you wanna add? :-2<br />
;Enter number:-000000125E125F0<br />
;Enter number:-0001521264215FF<br />
;the addition of numbers is:-00015224C233BF04<br />
;----------------------------------------------------------------------</div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-1826470442550156972015-02-08T01:58:00.002+05:302018-12-09T16:14:40.630+05:30Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time.<div dir="ltr" style="text-align: left;" trbidi="on">
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYmQ0s2JcpftNGjOkjOm0iHBJj8A4LBdC50AEvzqnOaTIC_76IEO1g_m5msK_wZxb22be4T4ptjKqpKGi_8_hfrP4BKtvT1pdQ5DlgXk4StqMf20feSvet8Xl_cpi2akttfSRJN2HR-Ok/s1600/WIN_20150126_185009.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYmQ0s2JcpftNGjOkjOm0iHBJj8A4LBdC50AEvzqnOaTIC_76IEO1g_m5msK_wZxb22be4T4ptjKqpKGi_8_hfrP4BKtvT1pdQ5DlgXk4StqMf20feSvet8Xl_cpi2akttfSRJN2HR-Ok/s1600/WIN_20150126_185009.JPG" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">^.-</td></tr>
</tbody></table>
<br /></div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0tag:blogger.com,1999:blog-6240628363621747484.post-8435066474883326352015-02-08T01:54:00.000+05:302018-12-09T16:14:16.351+05:30Keep your face always toward the sunshine - and shadows will fall behind you.<div dir="ltr" style="text-align: left;" trbidi="on">
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-mkZ2tYsdAgM/VNZvlA0tWoI/AAAAAAAAAck/Ms0AYAorrsc/s1600/Suit_up%2B(1).jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="400" src="https://2.bp.blogspot.com/-mkZ2tYsdAgM/VNZvlA0tWoI/AAAAAAAAAck/Ms0AYAorrsc/s1600/Suit_up%2B(1).jpg" width="300" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">@Express inn</td></tr>
</tbody></table>
<br /></div>
Anonymoushttp://www.blogger.com/profile/02965394582847381421noreply@blogger.com0Nashik, Maharashtra, India19.9974533 73.78980230000001919.9974533 73.789802300000019 19.9974533 73.789802300000019