0% found this document useful (0 votes)
20 views32 pages

Sample Questions-Using IF THEN & LOOPS - Sheet 1 Olevel Computer Science

The document contains a series of programming exercises focused on using IF THEN statements and loops in pseudocode and programming languages like VB or Python. It includes various scenarios such as user input for eye color, emotional state, vending machine operations, driving rules, login systems, and pizza ordering systems. Each exercise requires writing pseudocode and corresponding program code to demonstrate understanding of conditional logic and loops.

Uploaded by

mustajabffgaming
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views32 pages

Sample Questions-Using IF THEN & LOOPS - Sheet 1 Olevel Computer Science

The document contains a series of programming exercises focused on using IF THEN statements and loops in pseudocode and programming languages like VB or Python. It includes various scenarios such as user input for eye color, emotional state, vending machine operations, driving rules, login systems, and pizza ordering systems. Each exercise requires writing pseudocode and corresponding program code to demonstrate understanding of conditional logic and loops.

Uploaded by

mustajabffgaming
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

Sample Questions-using IF THEN & LOOPS- Sheet 1

Q 1: Ask a user for their eye color as input, if the answer is green then call them a "Goblin", else display
“you must be a different type of monster”.

Write pseudocode here:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

Write Program code in VB or Python:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

Q 2: Write pseudocode for the given structure:

Begin
Read Feel
Read Exercise
If feel = "Sad"AND exercise = "No"Then
Write "Go for a walk, you might feel better"
otherwise
write"Sorry I don't know how to help"
EndIf
End

sample output

Write pseudocode here:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

Write Program code in VB or Python:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
Q3 Metro Pvt Ltd has decided to provide a vending machine with four different soft drinks to their
customers and children who like to drink while shopping with their parents in the mall.

•Coke

•Pepsi

•Fanta

•7up

Against a currency note of 50 rupees. The system must first verify that it is a valid 50 Rupee note before
asking for the drink of choice and dropping the appropriate can into the tunnel.

Write your Pseudocode here


_____________________________________________________________________________________

_____________________________________________________________________________________

____________________________________________________________________________________

_____________________________________________________________________________________

____________________________________________________________________________________

_____________________________________________________________________________________

____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

____________________________________________________________________________________

_____________________________________________________________________________________

____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
Q4 - In Britain, there is a rule for driving. If society members are equal to or more than 18 years of age
and are drunk, they are not allowed to hire a car for driving. If they are not drunk they can drive it.
Ensure that the first age is confirmed before the drinking status is confirmed in the code structure.

Write pseudocode here:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

Write Program code in VB or Python:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
Q5 – your boss wants you to create a login screen that will confirm the username and password
provided by the user. If the username is “Jonny” and the password is “killer” allow access to the
account, otherwise program should deny access.

Hint: no loop simple if then else statement should be used.

Write pseudocode here:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

Write Program code in VB or Python:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
Q5 a – your boss again asks you to change the code so that it will ask username and password again and
again until the correct answer is given.

Hint: Use loop

Write pseudocode here:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
Sample Questions-using IF THEN & LOOPS- Sheet 1
Write Program code in VB or Python:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
Q6 - An outline of the program is shown in an incomplete pseudocode. Read it carefully and make any
necessary changes. Redefine the variables deal name, qty, price, and total, and compare them using if-
then-else statements, and generate the bill completely by taking the Qty and price from the user
while deal name is automatically loaded and generating its output.
Input dish
If dish = “Egg and Chips” Then
Order Egg and Chips
Generate complete bill
End If
If dish = “Curry and Chips” is available Then
Order Curry and Chips
Generate complete bill
End If
If dish = “Pizza and Chips” is available Then
Order Pizza and Chips
Generate complete bill
End If
Otherwise
Leave hungry
End

Write pseudocode here:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
Write Program code in VB or Python:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
Q7 – It is said that the case construct is simple to use in programming because it is used to mention
statements. Explain the significance of the given lines.

number = 5

CASE OF number
1, 2, 3 : OUTPUT "Between 1, 2, 3 inclusive"
4 to 8 : OUTPUT "Between 4 and up to 8"
'This is the only true case
9 : OUTPUT "Equal to 9"
10 : OUTPUT "Equal to 10"
OTHERWISE :
OUTPUT "Not between 1 and up to 10"
ENDCASE

Line1 ____________________________________________________________________

Line 2____________________________________________________________________

Line 3____________________________________________________________________

Line 5____________________________________________________________________

Line 6___________________________________________________________________

Line 8___________________________________________________________________

Re Write complete pseudocode here.


____________________________________________________________________________________

____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
Write Program code in VB or Python:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
Q8 Create a program that takes the name of an animal and outputs the animal's sound in the shape of
the text. The animals and their sounds are.

• Horse – “Eehehehe”
• Cow – “ Moo “
• Bear --“Grr“
• Sheep – “Baa”
• Tiger – “Grr“
everything else – “shhhh”

Write a pseudocode here.


____________________________________________________________________________________

____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
Write Program code in VB or Python:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
Q9 - Customers can order custom pizzas from the Pizza Hut company that come directly from the HOT
Oven. The company provides three types of pizzas to the customers listed below.

1. Small
2. Medium
3. Large

The flavors offered by the company are stated below:

1. Fajita Large 980 Rs 1. Mexican Large 800 Rs


2. Fajita medium 450 Rs 2. Mexican Large 700 Rs
3. Fajita Small 345 Rs 3. Mexican Small 600 Rs
1. Tandoori Large 990 Rs 1. Bar-b-que Large 1010 Rs
2. Tandoori Medium 440 Rs 2. Bar-b-que Medium 810 Rs
3. Tandoori Small 240 Rs 3. Bar-b-que Small 410 Rs

The company chose one of two ways to present the crest:


1. filled crest
2. a crest that is not filled.
and charge an additional 50 Rs if it is filled.

The program should go through the following steps:

• decide on the type (small, medium, or large);


• acquire the flavor (fajita, Mexican tandoori bar-b-que);
• ask for a filled or unfilled crest;
• calculate 16% GST on the total bill, which will be added to the bill; and
• output should look like this.

The invoice should display content like this


Sample Questions-using IF THEN & LOOPS- Sheet 1

Write a Pseudocode:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1

Write Program code in VB or Python:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1

Q10 - Café 44 decided to serve drinks using an automated robot that looked like a barman. However,
the machine requires age verification; if the customer is over the age of 18, he may order these drinks.

1. Margarita
2. Pina Colada
3. Pine Shake
4. Blended cocktail

Those under the age of 18 are restricted to ordering the following:

1. Coke
2. Milk Shake
3. Water

To complete the transaction, the software will take the following steps.

1. Will request proof of the customer's age.


2. Present related options to the user; 3. Upon selection, inquire about the quantity required.
3. Create a bill

Note* Use your personalized bill layout and declare any price and quantity for the drink.

Write a Pseudocode:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

Write Program code in VB or Python:

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1
_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________
Sample Questions-using IF THEN & LOOPS- Sheet 1

You might also like