Saturday, February 25, 2012

How to use special characters in folder?

  1. Create a new folder or simply rename your folder.
  2. Type in rename mode alt+ any combination of numeric keys to make special characters (e.g. alt+36. It will make $ sign in folder name) and then press enter.

How to make Invisible folder?

How to make Invisible folder?
  1. Create a new folder or simply rename your folder.
  2. Type in rename mode alt+255 and then press enter.
  3. Folder with no name will create.
  4. Now right click on folder>>properties>>customize tab
  5. In customize tab click on change icon.
  6. Scroll to right side here you will see a blank folder option.
  7. Select the blank option click ok and then apply.
  8. Your invisible folder has been created.
Note: you could see your invisible folder by select all the folders in range. Invisible folder will show in highlighted form.

How to make folder without name?

  1. Create a new folder or simply rename your folder.
  2. Type in rename mode alt+255 and then press enter.
  3. Folder with no name will create.

Friday, February 10, 2012

Modes of GW-BASIC Operation

GW-BASIC can operate in two modes.
1-Direct mode: When GW-BASIC is loaded, it shows OK message, it is in Direct Mode. In this mode GW-BASIC commands are executed as they are typed. Results are displayed immediately but the commands themselves are lost after execution.

2- Indirect Mode: The Indirect mode is used to type the programs. The program loaded in memory is executed by entering RUN command.

A program to show behavior of comma(,) and semicolon( ;)



Solution CH#2#10(b) ( PTB Book):


Write a program to calculate total marks and percentage of a student.

Solution CH#2#10(a)_ ( PTB Book):


Write a program to calculate sum of ten values using read/data statement.

Solution CH#2#9 ( PTB Book):

Write a program to calculate distance cover by a car.

Solution CH#1Q#10 ( PTB Book)
In BTP book this questions ask about algorithm so its algorithm is simple just write all this program excluding line numbers. Instead to write line numbers just write 1,2,3....


Write a program to calculate the area of circle.

Solution CH#1Q#9 ( PTB Book)