tag:blogger.com,1999:blog-90235476168603036672024-03-05T07:29:12.731-08:00Programming passionShivinderhttp://www.blogger.com/profile/02712075841887054046noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-9023547616860303667.post-4643622334583557832013-03-16T02:43:00.005-07:002013-03-16T02:43:52.866-07:00Tic Tac Toe AI Techniques<div dir="ltr" style="text-align: left;" trbidi="on">
<h2 style="text-align: justify;">
<span style="color: #cc0000;">Tic Tac Toe AI Techniques</span></h2>
<h4 style="text-align: left;">
<div style="text-align: justify;">
<span style="color: #666666;">This is a basic tic tac toe game for windows. It is based on Artificial Intelligence technique called Min-Max procedure. It is developed in C++ using OpenGL glut library for graphics.</span></div>
<span style="color: #666666;"><div style="text-align: justify;">
Below is the link showing the working of game:</div>
</span></h4>
<div class="separator" style="clear: both; text-align: justify;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/nETaJi8c8V0?feature=player_embedded' frameborder='0'></iframe></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
</div>
Shivinderhttp://www.blogger.com/profile/02712075841887054046noreply@blogger.com0tag:blogger.com,1999:blog-9023547616860303667.post-13500094454764998042013-03-16T01:47:00.002-07:002013-03-18T06:39:20.812-07:00Techgig programming problem - Find the slope<div dir="ltr" style="text-align: left;" trbidi="on">
<h2 style="text-align: left;">
<span style="background-color: black; color: #999999;">Find the slope</span></h2>
<div style="text-align: left;">
<u><b style="background-color: black;"><span style="color: #999999;">Problem Statement</span></b></u></div>
<div style="text-align: justify;">
<span style="background-color: black; color: #999999;">Question here is that you are given range of number (A to B) and you have to tell the <b style="margin: 0px; padding: 0px;">sum of slope of all the number between A and B.</b></span></div>
<div style="text-align: justify;">
<span style="background-color: black; color: #999999;">Now we define the term <b style="margin: 0px; padding: 0px;">slope of a number N</b>. Slope of a number N is the number of digits (excluding the first and the last digit) which is either maxima or minima in that number.</span></div>
<div style="text-align: justify;">
<span style="background-color: black; color: #999999;">Consider a number N. A digit in number N is called <b style="margin: 0px; padding: 0px;">minima </b>if it is smaller than both of its neighbour and a digit is called <b style="margin: 0px; padding: 0px;">maxima</b>if it is larger than both of its neighbour. </span></div>
<div style="text-align: justify;">
<span style="background-color: black; color: #999999;">In case of wrong ranges or unexpected ranges, please return <b style="margin: 0px; padding: 0px;">output as -1</b></span></div>
<div style="text-align: justify;">
<b style="margin: 0px; padding: 0px;"><b style="margin: 0px; padding: 0px;"><u style="background-color: black; margin: 0px; padding: 0px;"><span style="color: #999999;">Input Specification:</span></u></b></b></div>
<span style="background-color: black; color: #999999;"><b style="margin: 0px; padding: 0px;">
</b>
</span><br />
<div style="text-align: justify;">
<span style="background-color: black; color: #999999;">Input 1 specifies the starting range of numbers. It will be of integer type</span></div>
<div style="text-align: justify;">
<span style="background-color: black; color: #999999;">Input 2 specifies the ending range of numbers. It will be of integer type</span></div>
<div style="text-align: justify;">
<b style="margin: 0px; padding: 0px;"><b style="margin: 0px; padding: 0px;"><u style="background-color: black; margin: 0px; padding: 0px;"><span style="color: #999999;">Output Specification:</span></u></b></b></div>
<span style="background-color: black; color: #999999;"><b style="margin: 0px; padding: 0px;">
</b>
</span><br />
<div style="text-align: justify;">
<span style="background-color: black; color: #999999;">sum of slope value of all the number in the given range . Output will be of integer type</span></div>
<div style="text-align: justify;">
<b style="margin: 0px; padding: 0px;"><b style="margin: 0px; padding: 0px;"><span style="background-color: black; color: #999999;">In case of wrong ranges or unexpected ranges, please return output as -1</span></b></b></div>
<span style="background-color: black; color: #999999;"><b style="margin: 0px; padding: 0px;">
</b>
</span><br />
<div style="text-align: justify;">
<b style="margin: 0px; padding: 0px;"><b style="margin: 0px; padding: 0px;"><u style="background-color: black;"><span style="color: #999999;">Examples:</span></u></b></b></div>
<span style="background-color: black; color: #999999;"><b style="margin: 0px; padding: 0px;">
</b><b style="margin: 0px; padding: 0px;"></b>
</span><br />
<div style="text-align: justify;">
<b style="margin: 0px; padding: 0px;"><span style="background-color: black; color: #999999;"><b style="margin: 0px; padding: 0px;">Example 1 :</b> Consider the range 1-100 in this range all the numbers are either one digit or 2 digit so the slope value of all the number is zero and hence the sum is zero. </span></b></div>
<span style="background-color: black; color: #999999;"><b style="margin: 0px; padding: 0px;">
</b>
</span><br />
<div style="text-align: justify;">
<span style="background-color: black; color: #999999;">Similarly, consider the range 100-150 the <b style="margin: 0px; padding: 0px;">sum of slope of all the number in this range is 19</b></span></div>
<div style="text-align: justify;">
<b style="background-color: black; margin: 0px; padding: 0px;"><span style="color: #999999;"><b style="margin: 0px; padding: 0px;">Example 2 : </b>Consider the number 5<b style="margin: 0px; padding: 0px;">4</b>6<b style="margin: 0px; padding: 0px;">9</b>8 in range 54698-54800. In this number 4 is a minima because it is smaller than it both neighbor i.e. 5 and 6. similarly digit 9 is a maxima because it is grater than both of its neighbor i.e. 6 and 8. </span></b></div>
<span style="background-color: black; color: #999999;"><b style="margin: 0px; padding: 0px;">
</b><b style="margin: 0px; padding: 0px;"></b>
</span><br />
<div style="text-align: justify;">
<b style="background-color: black; margin: 0px; padding: 0px;"><span style="color: #999999;"><b style="margin: 0px; padding: 0px;">Slope of 54698 is 2</b> because it has 4 as minima and 9 as maxima and there is no other minima or maxima. </span></b></div>
<span style="background-color: black; color: #999999;"><b style="margin: 0px; padding: 0px;">
</b>
</span><br />
<div style="text-align: justify;">
<span style="background-color: black; color: #999999;">Similarly we check next numbers in the range 54698-54800 and sum of slope of all the numbers will be the output.</span><br />
<span style="background-color: black; color: #999999;"><br /></span></div>
<div class="tp-txt" id="description" style="background-color: white; margin: 0px 0px 10px 15px; padding: 0px;">
<b style="margin: 0px; padding: 0px;">
</b></div>
</div>
Shivinderhttp://www.blogger.com/profile/02712075841887054046noreply@blogger.com0tag:blogger.com,1999:blog-9023547616860303667.post-90285023288440965182012-01-03T01:58:00.000-08:002012-01-03T01:58:33.735-08:00The working of a Keylogger<div dir="ltr" style="text-align: left;" trbidi="on">A <b>keylogger </b>is a software that keeps record of keystrokes of users. It can act as a trojan virus.<br />
<u><b>How it Works:-</b></u><br />
When a user starts typing, it keeps track of keys pressed and save these keys in a file. Most text files are used to store the keystrokes. The text file is sent to the attacker via email or ftp uploading. So attacker can download and view text file. Most advanced keyloggers store additional information of keystrokes i.e. time and date of keys typed or name of user's computer etc.<br />
<u><b>How it can be a threat:-</b></u><br />
This is an attack on one's privacy and confidentiality of information. Attacker can compromise user email, credit accounts by knowing the password. If you think further, it can cause havoc.<br />
<u><b>Prevention:-</b></u><br />
To protect yourself, don't install untrusted softwares from untrusted websites or users.<br />
Install an anti-virus and firewall on your pc or laptop.<br />
<u><b>A video showing the working of a keylogger:-</b></u><br />
<div class="separator" style="clear: both; text-align: center;"><object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/f-k7A_obZL8/0.jpg"><param name="movie" value="http://www.youtube.com/v/f-k7A_obZL8?version=3&f=user_uploads&c=google-webdrive-0&app=youtube_gdata" /><param name="bgcolor" value="#FFFFFF" /><embed width="320" height="266" src="http://www.youtube.com/v/f-k7A_obZL8?version=3&f=user_uploads&c=google-webdrive-0&app=youtube_gdata" type="application/x-shockwave-flash"></embed></object></div><u><br />
</u></div>Shivinderhttp://www.blogger.com/profile/02712075841887054046noreply@blogger.com1tag:blogger.com,1999:blog-9023547616860303667.post-70815172562834690482010-08-10T08:30:00.000-07:002010-08-10T08:30:02.723-07:00Project on JAVA Event Management System Tutorial<object style="background-image: url("http://i2.ytimg.com/vi/IfcubIiW1qw/hqdefault.jpg");" width="480" height="295"><param name="movie" value="http://www.youtube.com/v/IfcubIiW1qw&hl=en_US&fs=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/IfcubIiW1qw&hl=en_US&fs=1" allowscriptaccess="never" allowfullscreen="true" wmode="transparent" type="application/x-shockwave-flash" width="480" height="295"></embed></object>Shivinderhttp://www.blogger.com/profile/02712075841887054046noreply@blogger.com24tag:blogger.com,1999:blog-9023547616860303667.post-24387241170845048322010-08-10T08:29:00.002-07:002010-08-10T08:29:43.316-07:00TYPE RACER<object width="480" height="295"><param name="movie" value="http://www.youtube.com/v/CQ-b7SwFbHk&hl=en_US&fs=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/CQ-b7SwFbHk&hl=en_US&fs=1" allowscriptaccess="never" allowfullscreen="true" wmode="transparent" type="application/x-shockwave-flash" width="480" height="295"></embed></object>Shivinderhttp://www.blogger.com/profile/02712075841887054046noreply@blogger.com0tag:blogger.com,1999:blog-9023547616860303667.post-66695811202886162112010-06-04T21:25:00.000-07:002014-04-30T23:39:09.514-07:00Balaguruswamy C++ Programming Exercises Solutions<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div>
<span style="color: cyan;">Balaguruswamy C++ Programming Exercises Solutions. Object Oriented Programming with C++.</span></div>
<div style="color: blue;">
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTBVccHDlgZhnOIwjJORHcwRz8baTfTiqkWkO5AJQnLgCJLKuC1MN5hxvxxX0nyC87g9kqwEJcP3Imzn2z72xTzx6i6xmeFpCPyX97krO5kVTbMAR368xSNvURS2dxjCopttJv2FLrcGaU/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTBVccHDlgZhnOIwjJORHcwRz8baTfTiqkWkO5AJQnLgCJLKuC1MN5hxvxxX0nyC87g9kqwEJcP3Imzn2z72xTzx6i6xmeFpCPyX97krO5kVTbMAR368xSNvURS2dxjCopttJv2FLrcGaU/s320/Capture.PNG" height="257" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyeOzp_ao3mFjWWIlV63D2CW9QWs7_aMNq_KFEEE95R5ycfy5zaglp4bfSr2UhDtREKMI40MBGYDkBLz3IdY-FJ7HnYrM48_GQuBN-0ll1hB6vwcSBB8VKEmA6BDgXornJ7N8Hu3zCXXHC/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyeOzp_ao3mFjWWIlV63D2CW9QWs7_aMNq_KFEEE95R5ycfy5zaglp4bfSr2UhDtREKMI40MBGYDkBLz3IdY-FJ7HnYrM48_GQuBN-0ll1hB6vwcSBB8VKEmA6BDgXornJ7N8Hu3zCXXHC/s320/Capture.PNG" height="320" width="248" /></a></div>
<br /></div>
<div>
<div>
<b><span style="color: white;">Download Links:-</span></b></div>
<br />
<span style="background-color: black; color: white; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;">Password : shivindernarr.blogspot.com</span><br />
<ul style="text-align: left;">
<li><a href="http://shivnarr.herobo.com/QuesAndAnswers.rar">http://shivnarr.herobo.com/QuesAndAnswers.rar</a></li>
<li><a href="http://www.fileswap.com/dl/Dgz0YCVcQ2/">http://www.fileswap.com/dl/Dgz0YCVcQ2/</a></li>
<li><a href="http://www25.zippyshare.com/v/60568390/file.html">http://www25.zippyshare.com/v/60568390/file.html</a></li>
<li><a href="http://www.4shared.com/rar/4K_zLha9/QuesAndAnswers.html">http://www.4shared.com/rar/4K_zLha9/QuesAndAnswers.html</a></li>
<li><a href="http://www.putlocker.com/file/F2D5D488E7F2EE51">http://www.putlocker.com/file/F2D5D488E7F2EE51</a></li>
<li><a href="http://uptobox.com/lj369vw2lm9w">http://uptobox.com/lj369vw2lm9w</a></li>
</ul>
<blockquote class="tr_bq">
<br /></blockquote>
</div>
<div style="color: blue;">
</div>
</div>
Shivinderhttp://www.blogger.com/profile/02712075841887054046noreply@blogger.com18tag:blogger.com,1999:blog-9023547616860303667.post-89814650580411317412010-05-27T22:23:00.000-07:002010-06-27T03:06:58.625-07:00Visual C sharp Tutorial - Auto Typer<object height="295" style="background-image: url("http://i4.ytimg.com/vi/g3aOgVU_b4Q/hqdefault.jpg");" width="480"><param name="movie" value="http://www.youtube.com/v/g3aOgVU_b4Q&hl=en_US&fs=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/g3aOgVU_b4Q&hl=en_US&fs=1" allowscriptaccess="never" allowfullscreen="true" wmode="transparent" type="application/x-shockwave-flash" width="480" height="295"></embed></object><br />
DOWNLOAD LINK :<br />
<a href="http://rapidshare.com/files/403198361/my_auto_typer.rar.html">http://rapidshare.com/files/403198361/my_auto_typer.rar.html</a><br />
<a href="http://hotfile.com/dl/50873156/c0dbbc5/my_auto_typer.rar.html">http://hotfile.com/dl/50873156/c0dbbc5/my_auto_typer.rar.html</a><br />
<a href="http://uploading.com/files/77cb4a43/my_auto_typer.rar/">http://uploading.com/files/77cb4a43/my_auto_typer.rar/</a><br />
<a href="http://www.mediafire.com/file/gttno5lxzym/my_auto_typer.rar">http://www.mediafire.com/file/gttno5lxzym/my_auto_typer.rar</a><br />
<a href="http://www.megafileupload.com/en/file/245337/my-auto-typer-rar.html">http://www.megafileupload.com/en/file/245337/my-auto-typer-rar.html</a>Shivinderhttp://www.blogger.com/profile/02712075841887054046noreply@blogger.com1tag:blogger.com,1999:blog-9023547616860303667.post-83418225111521162282010-05-27T10:39:00.000-07:002010-06-03T07:17:01.741-07:00TYPE RACER CHEAT 2010 (new)<object style="background-image: url("http://i4.ytimg.com/vi/W7l9LL8Ldng/hqdefault.jpg");" width="480" height="295"><param name="movie" value="http://www.youtube.com/v/W7l9LL8Ldng&hl=en_US&fs=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/W7l9LL8Ldng&hl=en_US&fs=1" allowscriptaccess="never" allowfullscreen="true" wmode="transparent" type="application/x-shockwave-flash" width="480" height="295"></embed></object><br />
DOWNLOAD LINK :<br />
<br />
<a href="http://hotfile.com/dl/46280147/e6acae1/Auto_Typer.zip.html">http://hotfile.com/dl/46280147/e6acae1/Auto_Typer.zip.html</a>Shivinderhttp://www.blogger.com/profile/02712075841887054046noreply@blogger.com0tag:blogger.com,1999:blog-9023547616860303667.post-17164694397779602462010-05-07T23:22:00.000-07:002010-05-07T23:28:11.326-07:00Learning C sharp basics<span style="color: rgb(51, 51, 255);">INTRODUCTION</span><br /><br /><span style="color: rgb(51, 51, 255);">Microsoft Visual C# is a powerful but simple language aimed primarily at developers creating</span><br /><span style="color: rgb(51, 51, 255);">applications by using the Microsoft .NET Framework. It inherits many of the best features of</span><br /><span style="color: rgb(51, 51, 255);">C++ and Microsoft Visual Basic, but few of the inconsistencies and anachronisms, resulting</span><br /><span style="color: rgb(51, 51, 255);">in a cleaner and more logical language. C# 1.0 made its public debut in 2001. The advent of</span><br /><span style="color: rgb(51, 51, 255);">C# 2.0 with Visual Studio 2005 saw several important new features added to the language,</span><br /><span style="color: rgb(51, 51, 255);">including Generics, Iterators, and anonymous methods. C# 3.0 which was released with</span><br /><span style="color: rgb(51, 51, 255);">Visual Studio 2008, added extension methods, lambda expressions, and most famously of</span><br /><span style="color: rgb(51, 51, 255);">all, the Language Integrated Query facility, or LINQ. The latest incarnation of the language,</span><br /><span style="color: rgb(51, 51, 255);">C# 4.0, provides further enhancements that improve its interoperability with other languages</span><br /><span style="color: rgb(51, 51, 255);">and technologies. These features include support for named and optional arguments, the</span><br /><div style="text-align: left;"><span style="color: rgb(51, 51, 255);">dynamic</span><span style="color: rgb(51, 51, 255);"> type which indicates that the language runtime should implement late binding for</span><br /></div><span style="color: rgb(51, 51, 255);">an object, and variance which resolves some issues in the way in which generic interfaces are</span><br /><span style="color: rgb(51, 51, 255);">defined. C# 4.0 takes advantage of the latest version of the .NET Framework, also version</span><br /><span style="color: rgb(51, 51, 255);">4.0. There are many additions to the .NET Framework in this release, but arguably the most</span><br /><span style="color: rgb(51, 51, 255);">significant are the classes and types that constitute the Task Parallel Library (TPL). Using the</span><br /><span style="color: rgb(51, 51, 255);">TPL, you can now build highly scalable applications that can take full advantage of multi-core</span><br /><span style="color: rgb(51, 51, 255);">processors quickly and easily. The support for Web services and Windows Communication</span><br /><span style="color: rgb(51, 51, 255);">Foundation (WCF) has also been extended; you can now build services that follow the REST</span><br /><span style="color: rgb(51, 51, 255);">model as well as the more traditional SOAP scheme.</span><br /><span style="color: rgb(51, 51, 255);">The development environment provided by Microsoft Visual Studio 2010 makes all these</span><br /><span style="color: rgb(51, 51, 255);">powerful features easy to use, and the many new wizards and enhancements included in</span><br /><span style="color: rgb(51, 51, 255);">Visual Studio 2010 can greatly improve your productivity as a developer.</span>Shivinderhttp://www.blogger.com/profile/02712075841887054046noreply@blogger.com1