Comsats Institute of Information Technology: Lab Manual Introduction To Information & Communication Technologies
Comsats Institute of Information Technology: Lab Manual Introduction To Information & Communication Technologies
Lab Manual
Introduction to Information & Communication Technologies
Class-Section
Semester
1|Page
| Zaheer Ahmad
Table of Contents
Objectives ....................................................................................................................... 3
Task List ........................................................................................................................... 3
Task-1 Practicing with loops & Conditions .............................................................................. 3
Problem #1-Name Animation .......................................................................................... 3
Problem #2-Embedded Loop ........................................................................................... 3
Problem #4-Repeat Until ............................................................................................... 3
Problem #5-Loop & Conditional ....................................................................................... 3
Question #2-No end in sight ........................................................................................... 4
Question #3-Forever Loops ............................................................................................. 4
Question #4-Sprite Communication ................................................................................... 4
Question #5-Conditionals ............................................................................................... 4
Task-2 Practicing Math & Variables ...................................................................................... 4
Problem #1-Quick Costume Change .................................................................................. 4
Problem #2-A.I ........................................................................................................... 4
Problem #3-Distance Formula ......................................................................................... 5
Problem #4-Pump up the volume ..................................................................................... 5
Problem #5-Metric Converter .......................................................................................... 5
Question #1 ............................................................................................................... 5
Question #2 .............................................................................................................. 5
Question #3 .............................................................................................................. 5
Question #4 .............................................................................................................. 5
Question #5 .............................................................................................................. 5
2|Page
| Zaheer Ahmad
Week-04
Objectives
After performing this lab, students shall be able to:
▪ Get familiar with the scratch environment
▪ Implement basic sequencing, branching and iterations in scratch
Task List
Task-1 Practicing with loops & Conditions
Create a word report for this manual.
3|Page
| Zaheer Ahmad
Question #1-Loops
What are the types of loops contained in Scratch? What are the
differences?
How can sprites “know” when to begin an action? Is there more than
one way?
Question #5-Conditionals
Problem #2-A.I.
Build a program where a sprite asks for the following information (the answers should all be stored as variables)
• Name
• Grade
• Favorite Activity
4|Page
` | Zaheer Ahmad
• Favorite Food
The sprite should then have a ‘conversation’ with another sprite (who wasn’t on the screen until now) about the
cool person they just met.
Question #5
Given the following code snippet, explain what is happening.
5|Page