You are visitor number


VB Theory basics Questions

VBjpg.jpg (59496 bytes)

 

 

 

Top

The best way to learn the basics is to try working out examples

1.0.1     What is the difference between lowlevel and high level languages

1.0.2     What is a program

1.0.3     What is the difference between a program and its output

1.0.4     What does debugging mean

1.0.5     What is a variable

1.0.6      What is a constant

1.0.7      What are the basic maths opperators

1.0.8      How do you store values into variables

1.0.9      How do you define a variable

1.0.10     What type of variables are there and what do they store

1.0.11     True/False can you store integer values in a string variables

1.0.12     True/False can you store Alpha numeric strings in Singles variables

1.0.13     True/False can you store Alpha numeric strings in Variant variables

1.0.14     True/False can you store numeric values with decimals in Variant variables

1.0.15     True/False can you store numeric values with decimals in Long variables

1.0.16     True/False can you store numeric values with decimals in Single variables

1.0.17     True/False can you store numeric values with decimals in Double variables

1.0.18     True/False can you store numeric values with decimals in Integer variables

1.0.19     Which of the following are Strings , Integers , Single or Double , Boolean

1 "Hello"
2 "21.2"
3 21.2
4 12421
5 452514541.21
6 "False"
7 "True"
8 "A1"
9 B12
10 1234 – 321

 

 

1.0.20     What code will return this sequence on numbers

10

20

30

1.0.21     What code will return this sequence on numbers

1

11

21

31

1.0.22     What code will return this sequence on numbers

40

30

20

10

1.0.23     What is the difference between msgbox and inputbox

1.0.24     What is the result of the following expressions

1 1+2+3 * 4
2 (1+2) * 12 /4
3 1+2*(12/4)
4 (1+(12-(3+3)))
5 Left("12345",3)
6 Right("abcdef",4)
7 mid("abcdefg",3,4)
8 (1-3)+(5-4)*3
9 Left("abcdefgh",3) & mid("abcdefgh",5,4)
10 Len(Right("abcdef",4) & "123")
11 Len("abcdef")+ 2+3 * 4
12 Int(3.217)-2*5

1.0.25     What is the difference between a DO WHILE loop and a WHILE loop

1.0.26     What is a loop

1.0.27     What is a nested loop

1.0.28     What happens if the test expression in a loop becomes false

1.0.29     Write a loop using a string array to print all the days of the week

 

1.0.30     What does the following expressions return

1 Str(12345)
2 Cstr(123.456)
3 Val("ABCD")
4 Val("1234")
5 Cvar("123")
6 CVDate("1 jul 99")
7 Clng("123456")
8 Cbyte("A")
9 Ccur("123.456")
10 Cdec(12.345)
11 CDbl("12345.34")
12 Int(1234.5678)
13 Cint(1234.5678)
14 CVDate("6 june 1999")
15 DateDiff("d",Now,#1/1/2000#)
16 Now

 

 

 

                             Top Of Page

 


Tell Nico What you think of his VB Page

Please send mail to: [email protected]  with  comments about the content  this VB Web site.

 

wclisted.jpg (4149 bytes) Please Vote for this Home Page to be listed on SA Web-Chart

                                     Use this URL: http://www.geocities.com/SiliconValley/Peaks/2852/index.html/

 

Send mail to The Web Master  with questions or comments about this web site.
Web Page designed by  Web Page Designed by Nico Michael using MS Front Page
Last modified: May 02, 1999

The number of times this Home Page has been accessed is

This page hosted by Get your own Free Home Page

Top of Page

Hosted by www.Geocities.ws

1