1) Write down the steps to:
a) Create a folder
Step 1: Right click the mouse
button.
Step 2: Click on new.
Step 3:Click on folder.
Step 4: Type the folder name.
Step 5: Press Enter key.
b) Create a file
Step 1:Right click the mouse
button.
Step 2: Click on new.
Step 3:Click on file
Step 4: Type the file name.
Step 5: Press Enter key.
c)To add a new font to your computer
Step 1: Click start,point
to setting, click control panel and then double click fonts.
Step 2: On the file menu, Install new
font.
Step 3: Click the drive and then click
the folder that contains the fonts you want to add.
Step 4: Click the font you want to
add.
d) View fonts on your computer
Step 1: Click start, point to
settings.
Step 2: Click control panel.
Step 3: Double-click fonts.
e) To change the background on the desktop
Step 1: Click start, point to
settings.
Step 2: Click control panel and then
double click on display icon.
Step 3: A dialogue box will appear,
click on background. Choose the wallpaper you want.
f)To set up a screen saver
Step 1: Right click the mouse
button.
Step 2: Click on properties.
Step 3: Click on screensaver.
Step 4: Choose the screensaver style
in drop down box.
Step 5: Define web time.
Step 6: Click on apply and click on
ok.
g) To move a file or folder
Step 1: In my computer or
windows Explorer click the file of folder you want to move.
Step 2: On the edit menu,click cut.
Step 3: Open the folder where you want
to put the file or folder.
Step 4: On the edit menu, click paste.
h) To retrieve deleted files or shortcuts
Step 1: On the desktop double click the recycle bin.
Step 2: Click the file or shortcut you
want to retrieve.
Step 3: On the file menu click
restore.
2) Write down Qbasic programs to display:
a)K
KA
KAT
KATH
KATHM
KATHMA
KATHMAN
KATHMAND
KATHMANDU
KA
KAT
KATH
KATHM
KATHMA
KATHMAN
KATHMAND
KATHMANDU
- CLS
A$= "KATHMANDU"
For I= 1 to LEN (A$, I)
PRINT LEFT$ (A$,I)
NEXT I
END
END
b)K
A
T
H
M
A
N
D
U
-CLS
A$ = "KATHMANDU"
FOR I = 1 to LEN (A$)
PRINT MID$ ( A$, I, 1)
NEXT I
END
c)KATHMANDU
ATHMANDU
THMANDU
HMANDU
MANDU
ANDU
NDU
DU
U
- CLS
A$ = "KATHMANDU"
FOR I = LEN (A$) To 1 STEP -1
PRINT RIGHT$ (A$,I)
NEXT I
END
d)UDNAMHTAK
-CLS
A$ = "KATHMANDU"
FOR I = LEN ( A$ ) To 1 STEP -1
PRINT MID$ (A$, I, 1)
PRINT MID$ (A$, I, 1)
NEXT I
END
3) Write a program to display:
a)1,3,5,7,9,11,13,15 (IF....THEN,GOTO)
-CLS
A = 1
A = 1
LAB :
PRINT A
A = A + 2
IF A <= 15 THEN GOTO LAB
END
END
b)5, 10, 15, 20, 25, 30, 35 (IF....THEN,GOTO)
-CLS
A = 5
LAB :
PRINT A
A = A + 5
IF A <= 35 THEN GOTO LAB
END
END
c)10, 20, 30, 40, 50, 60 (FOR....NEXT)
-CLS
FOR I= 10 to 60 Step 10
PRINT I
NEXT I
END
NEXT I
END
d) 2, 4, 6, 8, 10, 12, 14, 16, 18, 20 (FOR....NEXT)
-CLS
FOR I= 2 to 20 Step 2
PRINT I
NEXT I
END
NEXT I
END
No comments:
Post a Comment