Saturday, November 10, 2018

Searching an item/element in an Array

Week 11th November to 15th November 2018


Instructions

for Activity:


  1. Access the resource program for Activity here.
  2. This program has a predefined list (Array).
  3. Write a script according to the following Algorithm.

Algorithm for the required programme


Step 1: Start
Step 2: Ask the user to enter the name of an item to search in the list
Step 3: Save the name of the item in a variable
Step 4: Check if that item is present in the list
Step 5: If the item is found display the message, "Item Found" else display the message, "Item not found"
Step 6: End

Come back to the blog at Reflection Time.

for Reflection
     Participate in this Exit Poll








Teacher's Links

No comments:

Post a Comment

Digital Citizenship Game

Link to Digital Citizenship Game