Wednesday, 18 September 2013

Assignment 3 for print of vb.net



Assignment No. – 03

Program on Class & Object :-
 
Public MustInherit Class Class1
    Public n As Integer
    Sub New()
        Console.WriteLine("Inside Abstract CLass1 Constructor...")
        Console.Write("Enter a number = ")
        n = CInt(Console.ReadLine)
    End Sub
    MustOverride Sub display()
End Class
 
 
Public Class Class2 : Inherits Class1
 
    Public Overrides Sub display()
        Console.WriteLine("n= " + n.ToString())
    End Sub
End Class
 
Module AbstractClassExample
    Sub Main()
        Dim obj As Class1
        Dim obj1 As New Class2
        obj = obj1
        obj.display()
        Console.ReadLine()
    End Sub
End Module
 
Output :-
 
Inside Abstract CLass1 Constructor...
Enter a number = 2 
 
n=2
 
 
Program on Inheritance :-

' Base class
Class Rectangle
   Protected width As Double
   Protected length As Double
   Public Sub New(ByVal l As Double, ByVal w As Double)
      length = l
      width = w
   End Sub
   Public Function GetArea() As Double
      Return (width * length)
   End Function
   Public Overridable Sub Display()
      Console.WriteLine("Length: {0}", length)
      Console.WriteLine("Width: {0}", width)
      Console.WriteLine("Area: {0}", GetArea())
   End Sub
   'end class Rectangle  
End Class
 
 
 
 
'Derived class
Class Tabletop : Inherits Rectangle
   Private cost As Double
   Public Sub New(ByVal l As Double, ByVal w As Double)
      MyBase.New(l, w)
   End Sub
   Public Function GetCost() As Double
      Dim cost As Double
      cost = GetArea() * 70
      Return cost
   End Function
   Public Overrides Sub Display()
      MyBase.Display()
      Console.WriteLine("Cost: {0}", GetCost())
   End Sub
    'end class Tabletop
End Class
Class RectangleTester
   Shared Sub Main()
      Dim t As Tabletop = New Tabletop(4.5, 7.5)
      t.Display()
      Console.ReadKey()
   End Sub
End Class
 
Output :-

Length: 4.5
Width: 7.5
Area: 33.75
Cost: 2362.5


Assignment 2 for print of vb.net



Assignment No. – 02

Program on Function :-

Module myfunctionskb
   Function FindMax(ByVal num1 As Integer, ByVal num2 As Integer) As Integer
      ' local variable declaration */
      Dim result As Integer
      If (num1 > num2) Then
          result = num1
      Else
          result = num2
      End If
      FindMax = result
   End Function
   Sub Main()
      Dim a As Integer = 100
      Dim b As Integer = 200
      Dim res As Integer
      res = FindMax(a, b)
      Console.WriteLine("Max value is : {0}", res)
      Console.ReadLine()
   End Sub
End Module
 
Output :-
 
Max value is : 200
 
 
Program on sub procedure :-

Module mysubkb
   Sub CalculatePay(ByVal hours As Double, ByVal wage As Decimal)
      'local variable declaration
      Dim pay As Double
      pay = hours * wage
      Console.WriteLine("Total Pay: {0:C}", pay)
   End Sub
   Sub Main()
      'calling the CalculatePay Sub Procedure
      CalculatePay(25, 10)
      CalculatePay(40, 20)
      CalculatePay(30, 27.5)
      Console.ReadLine()
   End Sub
End Module
 
 
Output :-
 
Total Pay: $250.00
Total Pay: $800.00
Total Pay: $825.00


Assignment 1 for print of vb.net



Assignment No. – 01

Program on if - else :-

Module decisionskb
   Sub Main()
      'local variable definition '
      Dim a As Integer = 100
      ' check the boolean condition '
      If (a = 10) Then
          ' if condition is true then print the following '
          Console.WriteLine("Value of a is 10") '
      ElseIf (a = 20) Then
          'if else if condition is true '
          Console.WriteLine("Value of a is 20") '
      ElseIf (a = 30) Then
          'if else if condition is true 
          Console.WriteLine("Value of a is 30")
      Else
          'if none of the conditions is true
          Console.WriteLine("None of the values is matching")
      End If
      Console.WriteLine("Exact value of a is: {0}", a)
      Console.ReadLine()
   End Sub
End Module

Output :-
None of the values is matching
Exact value of a is: 100
 
Program on Select Case :-

Module decisionskb
   Sub Main()
      'local variable definition
      Dim grade As Char
      grade = "B"
      Select grade
          Case "A"
              Console.WriteLine("Excellent!")
          Case "B", "C"
              Console.WriteLine("Well done")
          Case "D"
              Console.WriteLine("You passed")
          Case "F"
              Console.WriteLine("Better try again")
          Case Else
              Console.WriteLine("Invalid grade")
      End Select
      Console.WriteLine("Your grade is  {0}", grade)
      Console.ReadLine()
   End Sub
End Module
 
Output :-
Well done
Your grade is B
Program on Do - While :-
 
Module loopskb
   Sub Main()
      ' local variable definition 
      Dim a As Integer = 10
      'do loop execution 
      Do
          Console.WriteLine("value of a: {0}", a)
          a = a + 1
      Loop While (a < 20)
      Console.ReadLine()
   End Sub
End Module
 
 
Output :-
 
value of a: 10
value of a: 11
value of a: 12
value of a: 13
value of a: 14
value of a: 15
value of a: 16
value of a: 17
value of a: 18
value of a: 19
 
Program on For loop :-
 
Module loopskb
   Sub Main()
      Dim a As Byte
      ' for loop execution 
      For a = 10 To 20
          Console.WriteLine("value of a: {0}", a)
      Next
      Console.ReadLine()
   End Sub
End Module
 
Output :-
 
value of a: 10
value of a: 11
value of a: 12
value of a: 13
value of a: 14
value of a: 15
value of a: 16
value of a: 17
value of a: 18
value of a: 19
value of a: 20

Wednesday, 17 July 2013

Languages Used....

Languages Used....

1. Google – Java (Web), – C++ (indexing)

2. Facebook – PHP

3. YouTube- Flash, Python, Java

4. Yahoo– PHP and Java

5. Microsoft Live.com – .NET

6. Baidu – Unknown

7. Wikipedia – PHP

8. Blogger – Java

9. MSN – .NET

10.Twitter – Ruby on Rails, Scala, Java

MOST IMPORTANT INFO 4 U GUYZZ MUST READ THIS.............Decide Your Career Here Are Some Top Fields In Todays Life!

MOST IMPORTANT INFO 4 U GUYZZ MUST READ THIS.............
Decide Your Career Here Are Some Top Fields In Todays Life!

1. Programmer
{Programmer is the Software Programmer and write programs and web application developing, If you want to become Programmer then I'll suggest you to do BCA and MCA and even Software Engineering Side Course to learn more and more this all can help you to become Good and leading Programmer.}
Salary :- Depend upon company such as Microsoft and Adobe. but Starting will be 50k of Programmer in Microsoft as a Low Level Programmer if u want to become Pro, then go for Pro Programming. it can give you salary more then 90k+.

2. Software Engineer or Developer
{Software Engineer and Developer is an Engineer who even write program execute it and develop it, Nowadays Software Engineer Demand is very More, you can Join many Institute they offer Software Engineering Courses and you can be the Software Engineer but if u are BSC.IT or BCA Student then it will be more easy and Good for your future and you can get high level Salary}
Salary of Software Engineer and Developer Depends upon Company which Hire them, if you are working for Cyber Space or any Good leading company such as Adobe, Corel or any other then they treat Software engineer at his first level (60k+) or it can be 50k+

3. BCA and MCA (Bachelor and Master of Computer Application)
{BCA = Bachelor of Computer Application
MCA = Master of Computer Application
you can do BCA after 12th passed and BCA is Degree Course which take up 3 years Degree education and after BCA next is MCA same it takes 3 years and same Degree Education.
Many Institute offers BCA but if u had passed BCA and wanna do MCA then never do MCA in India, MCA is a High Level Education that's why it is called Master of Computer Application }
MCA salary is on high level if they work for Google, Microsoft, Adobe, Yahoo, HCL, HTC, etc then they will get 90k+

4. Ethical Hacker
{CEH every Noobs or Black hat hacker want to become Certified Ethical hacker but only doing CEH isn't satisfy wants of Common person  ... if you want to go in Security Field then go for Security Professional or all this CHFI, CISSP, CCNA, CCSN etc (Hacking and Security fields these all are Security and Hacking stuffs, you can be the Security Professional and Hacker or Cyber Forensics Expert. }
Salary :- CEH is the base and it won't get more salary depend upon company they will give u 50k+ or last to last 60k+ and if you are beginner hacker then they will treat you at 45k+ .

5. Security Professional
{Security Professional is also called DAD of Hackers 
Security Professional can work for CCPD = Cyber Crime Police Department or Cyber Space Investigation Department.
Security Professional has much demand nowadays, those who choose CEH or any other hacking fields I'll suggest them all Security Professional. Security Professional is all rounder hacker and Security Researcher}
How to become Security Researcher :-
Need to do CEH, CHFI, CISSP, CCNA, BCA, CCSN, etc
Salary :- starting salary of Security Professional is 70k+ in UK and US it is more then 1.2m+
Go for Security Professional and make your Carrier,
Sec Pro requires much Study about Computer and Web Application.

6. Computer Engineer
{Computer Engineer comes under Hardware and Software both Mixture basically Small companies and even large companies hire Computer Engineer}
Salary depend upon company and Skills and knowledge of Engineer

7. Diploma in I.T (Contain all types of IT Education)
{it is the mixture of technology, Hacking and Programming, which is the base of all above courses and Degrees}

8. Web Developer, Blogger and Internet Marketer.
{Basically Blogging and Web developer is also running Good in market and many demands of Web Developer and Internet Marketer Salary depend upon Company and Internet marketing is the side business of a web developer}

9. Computer Scientist
{One of the hardest life Choice is Computer Scientist (if you want to become Computer Scientist then you have to learn all types of Computer technology and Computer software developing, if u are going in Science field and wanna go for Computer Scientist then u need more then 10 or 15 years of your life to become Computer Scientist)}
Salary :- if you are Scientist that's depend upon your Discovery and your technology like new system and nano technology such as Processor RAM and Mac book air Programming and learning creating LinuX stuffs 
Basically Microsoft, GOOGLE, APPLE, ANDORID, Noki and Computer Companies hire Computer Scientist they treat much salary but they have tast that should be done. task life (Nano technology in Windows Phone more RAM Ghz and all stuffs  ) Computer Scientist have much demand 

How to download torrent through idm.....

How to download torrent through idm.....
(When torrent is blocked through port)

Here are the 5 Rock and Roll
steps  Enjoy,,,!!!
Step 1:
First of all , you have to
download the torrent file
(.torrent) which you want to
download.
Step 2:
Now go to Torcache and upload
the torrent file that you have
just downloaded and click on
the cache! button.
Step 3:
This will give you a new torrent
file. You just have to copy the
link of the new torrent file from
the opened window.
Step 4:
Then go to the Torrific website
and create an account there(in
case you don’t have) and login
to your account. Then paste the
address of the new torrent
obtained in step 3 and click on
"Get" button.
Step 5:
Now you will get the list of
available files present in that
torrent file. Then click on the
initiate bittorrent transmission
button. This will give the full
option to download the file. Just
click on any link and YEAH,,,,!!! 
now you can see the download
manager-IDM popping out for
downloading the file.
Now enjoy the Ultimate Speed
of IDM for downloading
torrents to,,,!!! Hope you liked
this post,,,,!!! Cheers,,,!!! 

For more tips like our page....

9 NEW FEATURES IN WINDOWS 8.1

9 NEW FEATURES IN WINDOWS 8.1
UPDATE:::-
===============================
Microsoft plans an update to its Windows
8 system to address some of the
complaints and incorporate other
feedback received since the radical
makeover to the operating system came
out in October.
Microsoft isn't saying yet when Windows
8.1 will come out, although a test version
is scheduled to be released June 26. It will
be a free download for existing Windows
8 users.
Here are highlights of the planned
changes:
------------------------------
----------------------
1st FEATURE: Windows 8.1 will let users
launch the operating system in a desktop
mode that resembles the setup found in
older versions of Windows. Before,
Windows 8 users were automatically taken
to a full-page startup screen that
displays applications in a mosaic of
interactive tiles instead of static icons.
2nd FEATURE: Microsoft isn't restoring
the traditional start button on the lower
left side of the screen, as requested by
many users, but it is restoring a logo in
that spot and will let users add favorite
applications, such as Word and Excel, to a
horizontal tool bar while working in the
desktop mode.
3rd FEATURE: Windows 8.1 will lean
heavily on Microsoft's Bing search
technology to simplify things. As with
Windows 8, the search bar can be found
by pulling out a menu from the right side
of a display screen. Rather than
requiring a user to search categories such
as files or apps separately, Windows 8.1
will make it possible to find just about
anything available on the computer or on
the Web with a single, comprehensive
search.
4th FEATURE: The update will include a
built-in connection with Microsoft's
online storage system, SkyDrive, to back
up photos, music and program files.
5th FEATURE: Internet Explorer 11, the
next generation of Microsoft's Web
browser, will come with Windows 8.1.
6th FEATURE: The new version will have
a lock-up screen that will display a
slideshow of a user's favorite pictures.
7th FEATURE: Windows 8.1 will offer
easier ways to move apps on the start
screen and change the size of each app's
on-screen tile.
8th FEATURE: Although Windows 8
allowed people to run two apps side by
side, people were limited in how they could
configure the screen. Windows 8.1 will
give users more options to determine how
much of the screen each app takes while
showing up to four different programs.
9th FEATURE: The Outlook email app will
come for free with a lightweight version
of Windows, called Windows RT, designed
for tablets such as Microsoft's Surface.