Saturday, 8 March 2014

Automatically Share Blog Posts on Social Media

If you are a blogger then you may want to share each of your Blog posts on Social Media like Facebook, Twitter, Google+, LinkedIn etc. You ;may share your Blog posts to the said Social Media manually but that is not a good idea because it needs much time each time you share a post.

dlvr.it

To share your posts automatically on Social Media use dlvr.it (Click to open dlvr.it). You need to Sign Up to use dlvr.it services. Sign Up process is very easy. Follow these steps:

  1. Fill up Email and Password fields and Click on Sign Up.(Pic. 1)
Pic.1
2.Insert URL of your blog and Choose Your Destination for Example Twitter or Facebook etc. (Pic.2)


Pic.2

3. For confirmation it will take you to Facebook (If you previously choose Facebook) Enter your Facebook login information to log in to Facebook. (Pic.3)



Pic.3

4. Choose Where to Post. You can choose among your Personal Profile, Pages, Groups and Applications. (Pic.4)


Pic.4

You can add more destinations for your posts to be shared, click on Add button at Destination Section. (Pic.5)

Pic.5






Read More

Friday, 7 March 2014

Control Statements

Control Statements in BASIC

The control statements control the flow of statements execution within the program. The decision block controls the statements to be executed, while the repetition block controls the repeated execution o one or more statements.

Goto statement

Goto is a control statement that can change the order of execution of statements. Goto causes the control to transfer anywhere within the program.

Program

10 Input “enter your name”;Name$

20 Print “welcome”;Name$

30 Goto 10

40 End


Output

Enter your name Badal khan

Welcome Badal khan

Conditional transfer to control

To make decision regarding program flow based on the result of an expression we transfer the control conditionally.

a)If…Then statement

If….Then statement is used to make decisions. If…Then statement with Goto forms a controlled loop in which repetition is performed. The repetition continues until certain condition is satisfied.

Program

10 print “enter your name”, Name$

20 if Name$=”Javid” Then Goto 40

30 Goto 10

40 “welcome Javid”

50 End


Output

Enter your name rasheed

Enter your name Javid

Welcome Javid

b) If…Then…Else statement

If…Then…Else statement transfers control to another part of the program when the conditon is false. The format of If…Then…Else statement is:-

Line # If (condition) Then (statement 1) Else (statement 2)

Program

10 Print “enter your marks percentage”; m

20 if m>=60 then G$= “first” : Goto 50 Else

30 if m>=45 then G$= “Second” : Goto 50 Else

40 if m>=33 then G$= “Third” : Goto 50 Else

50 print “your division is”, G$

60 End

On…Goto statement

Multiple branching is done by using On…Goto statement that transfers control to any number of choices. It has the following format:-

Line # On Variable Goto 1Line #, 2 Line #, 3 Line #....

Variable must be a positive number from 1 to 255. When the variable is 1 then control jumps to 1 Line #, when variable is 2 the control jumps to 2 Line # and so on.

For…Next Loop

In some cases a part of a program is repeated several times. It is necessary to use a loop to execute the part of the program repeatedly. In For…Next loop the execution of certain statement is repeated for a specific number of times. Its format is:-

For counter = Initial value To Final value

Body of the loop

Next counter

Rest of the program

Program

10 For K= 1 To 3

20 Print “BRC Turbat”

30 Next K

40 End


Output

BRC Turbat

BRC Turbat

BRC Turbat

While and Wend statement

While and Wend statement is used to execute a series of statements in a loop as long as a given condition is true. If the condition is false the loop ends and the program continues to the line following End. While and Wend statement is used when the number of iterations is not known in advance.

Program

10 Print “ente a number”, N

20 F=1, A=N

30 While N >0

40 F=F*N

50 N=N-1

60 Wend

70 Print “the factorial of “,A”=”,F

80 End

Nested Loops

A loop inside another loop is called Nested Loop.

Program

10 For a=1 To 2

20 Print “I Love”

30 For b=1 To 2

40 Print “BRC Turbat”

50 Next b

60 Next a

70 End

Output

I Love

BRC Turbat

BRC Turbat

I Love

BRC Turbat

BRC Turbat






Read More

Tuesday, 4 March 2014

Learn to Code...Code Academy

Computer Programming


Often people find Computer Programming very difficult. It is very difficult to learn and remember the syntax of a programming language. As programming is very important field of Information Technology so the people of Information Technology field must learn it.

Code Academy

If You want to master the following programming languages then join Code Academy.
  • JavaScript
  • HTML/ CSS
  • PHP
  • Pyhton
  •  Ruby
  • APIs
The specialty of of Code Academy is that it teaches the programming in simple ways. You can learn above mentioned programming by having fun. You just need to register free at Code Academy (Click Here to Register at Code Academy). The registration process is very simple,just requires an Email, User Name and a Password. after the registration you will start  to get lessons of the mentioned programming languages which ever you want to learn by just selecting that language. 

In each lesson, you are asked to enter the codes, if you enter them correctly then the output will be displayed and you will be moved forward to learn next lesson, and if you enter them wrong then you will be asked again to enter them. You find programming a fun at Code Academy, so sign up today and learn programming easily and free.

Read More

Monday, 3 March 2014

Windows XP Tasks

Windows XP

What Is A Dialog Box?

A dialog box is an onscreen message box or window that enables you to choose options and sends other information to a program. It conveys information to, or requests information from the user. 
The computer does its best to do what you want it to do. When it is asked to do something and it needs more information, it starts a dialog with you to see what your intentions are.

How Do I Find Files And Folders? 

When you are looking for a particular folder or file, and you are not sure where it is located on your computer, you can use the Search command which lets you quickly search a specific drive or your entire computer. To find a file or folder: 
• Click the Start button, point to Search, and then click All Files and Folders. The Find dialog box appears. 
• In Named, type the file or folder name you want to find. 
• Click the Look In down arrow. 
• Click Search. The results of the search will appear. 

How Do I Rename A File Or Folder? 

• In a window, select the file or folder you want to rename. 
• On the File menu, click Rename. Type a name and press Enter. 
Or 
• Select the file or folder you want to rename. 
• Right-click on it and select Rename from the shortcut menu. 
• Type a name and press Enter.

Copying and Moving Files and Folders

• Select the file or folder you want to copy or move. You can select multiple items. To select nonadjacent items, hold down CTRL and click the items you want to select. To select adjacent items, hold down SHIFT while you select items. To select all of the items in a window, on the Edit menu, click Select All. 
• On the Edit menu, click Copy to Folder (to copy the file) or Move to Folder (to move the file). 
• Click the folder in which you want to place the file or folder. • Press Enter.

How Do I Create a Folder? 

• in Windows Explorer On the File menu, point to New, and then click Folder or right-click a blank area in the window point to New and select Folder. A new folder appears. 
• Type a folder name, and then press Enter.

Deleting Files and Folders

Whenever you delete a file, it is temporarily moved to the Recycle Bin. 
If you change your mind, you can restore the file. However, when you empty the Recycle Bin, all of its items are permanently deleted from your computer. 

To delete a file:

• Right-click the selected file(s) and then select the Delete command. 
• Click Yes when prompted to confirm the deletion. 

How Do I Customize The Desktop? 

• Right-click on the Desktop. 
• Select Properties. The Display Properties dialog box appears. Click on Desktop. Browse to select the Wallpaper, and then click OK. 

Sound Recorder Toolbar 

The control buttons look much like the buttons on a typical voice recorder, and they work in much the same way 
• Seek to Start (double, left pointing triangles). Rewinds to beginning of sound file. 
• Seek to End (double, right pointing triangles). Fast forward to the end of the sound file. 
• Play (single, right pointing triangle). Plays the sound. 
• Stop (big rectangle). Stops the playback. 
• Record (big red circle). 
Records the new sound.

Playing Media Clips and Movies

To play a media file (AVI, WAV, or MID and RMI): 
• Click the Start button. 
• Select Programs. 
• Select Accessories. 
• Select Entertainment. 
• Select Windows Media Player. 
• Open the File menu. 
• Select Open. 
• select the media files you want to open then Press enter.

What Is A Screen Saver?

A screen saver is a program that displays an image or animation on your screen when your PC is idle. It was invented to insure that all parts of the monitor screen received equal amounts of lighting so a ghost image would not be "burned" onto the screen. Today's monitors don't have burn-in problems.

How Do I Get A Screen Saver?

 • Right-click on a blank spot on the Desktop, and choose Properties to open the Display Properties dialog box. 
• On the Screen Saver tab, select an option from the drop-down list. 
• Click OK to make this your screen saver.
Read More