You are on page 1of 5

Revision worksheet

Q1 Explain the two types of internet Address .

1- __________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
2- __________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________

Q2 Define DNS name resolution.

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________

Q3 Recall the chapter Internet as a Post office and explain the following:

1. Search Engine:

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________

2. Website:

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________

3. Modem:

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________

4. Home page:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________

5. Blog:

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________

Q4 Write down the shortcut keys for the following:

1. Expand / Collapse Property Inspector: _________________________


2. Show grid: _________________________
3. Show / Hide ruler: _________________________
4. New Document: _________________________
5. Document properties: _________________________
6. Open a file: _________________________
7. Save a file: _________________________
8. Convert to symbol: _________________________
9. Library panel: _________________________
10. Inserting a frame: _________________________
11. Inserting a key frame; _________________________
12. Play a movie: _________________________

Q5 In which type of animation, it is necessary to convert the object into a symbol?

_____________________________________________________________________________________

Q6 Which type of animation is applied on the object, if the timeline shows light green colour with the
solid arrow?

_____________________________________________________________________________________

Q7 Describe frame by frame animation.

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Small Basic Revision
Q8 Following programs are answers of in the lab exercise questions, question numbers are
mentioned, you can read questions from the book.

Question 1:

TextWindow.Write(“Enter the radius of a circle”)

Radius = TextWindow.ReadNumber( )

Area = Math.Pi() * Radius * Radius

Perimeter = 2 * Math.Pi() * Radius

TextWindow.WriteLine(“Area of a Circle = “ + Area)

TextWindow.WriteLine(“Perimeter of a Circle = “ + Perimeter)

Question 2 :

TextWindow.Write(“Enter the Temperature in Fahrenheit”)

Fahrenheit = TextWindow.ReadNumber( )

Celsius = Fahrenheit * 9/5 + 32

TextWindow.WriteLine (“Temperature in Celsius = “ + Celsius)

Question 5:

TextWindow.Write(“Enter Purchase Amount “)

PurAmount = TextWindow.ReadNumber()

If (PurAmount >= 50000 AND PurAmount <= 100000) Then

Discount = 0.01 * PurAmount

ElseIf (PurAmount >= 100001 AND PurAmount <= 300000) Then

Discount = 0.015 * PurAmount

ElseIf (PurAmount >= 300001 AND PurAmount <= 500000) Then

Discount = 0.02 * PurAmount

ElseIf (PurAmount > 500000) Then


Discount = 0.025 * PurAmount

EndIf NetAmount = PurAmount - Discount

TextWindow.WriteLine (“Discount = “ + Discount)

TextWindow.WriteLine (“Net Amount = “ + NetAmount)

Q 9a) State whether the following variable names are valid and invalid.

1. 1st salary:_________________

2. Employee_name:_________________

3. Total/:______________________

4. Sum of numbers :________________________

Q9 b) Write whether the following constant numeric values are integer or float:

1. 56.21

2. -180.5

3. 2000

4. -45

Q10 Write the output of the following programs:

1.

TextWindow.Write("Enter your Name: ")

name = TextWindow.Read()

TextWindow.WriteLine("Hello " + name)

(Note : suppose your own name for input)

_____________________________________________________________________
_____________________________________________________________________
2.

number1 = 10

number2 = 20

number3 = number1 * number2

TextWindow.WriteLine(number3)

_____________________________________________________________________
_____________________________________________________________________

Q11 Write the difference between

1. Write() and writeline()

2. Arithmetic operators and comparison operators.

3.Read() and Readnumber()

You might also like