Revision Sheet Grade 7 Term 3
Revision Sheet Grade 7 Term 3
Revision Sheet Grade 7 Term 3
1. The continue statement skips the rest of the loop statements and causes the next
iteration of the loop to take place.
2. The break statement enables a program to skip over a part of the code.
3. The else part of the while loop is executed only when the while loop completes all its
iterations.
4. Condition is checked for True or False, and the statements are executed only if the
condition is True.
5. The while loop is helpful when the number of iterations are not known prior to the
execution of the loop.
6. Implementing is the last step in problem-solving after choosing the best solution.
7. Tasks that humans do on a routine basis without any special training are called
mundane tasks.
8. In vision systems using AI, the systems can understand and comprehend the visual
input on the computer.
9. Artificial Intelligence is the science and engineering of making intelligent machines,
especially intelligent computer programs.
10. In speech recognition AI is capable of handling speech-related data.
11. You can speed up your computer by running the disk cleanup utility.
12. The restarting of a computer is called rebooting.
13. Many printer models have a built-in self-test option.
14. You check the power supply points for hardware related problems.
15. Disk defragments is available in Tools tab of Properties dialog box.
Q.3: Number the following steps used for problem solving in AI.
e. Choosing a solution.
c d a e b
Q.3: Convert the following loops as directed.
1. While=> for
x=5
while(x<10):
print(x+10)
x+=2
for x in range(5,10,2):
print (x+10)
2. for=>while
for x in range(5,20,5)
print(x)
x=5
while(x<20):
print(x)
x+=5
Q.5: Identify the troubleshooting areas for each of the following problems.
for… structure is used when you want to perform a loop a specific number of times. It uses a
counter variable which is incremented or decremented with each repetition of the loop. A
while loop executes a block of code repeatedly as long as the test/control condition of the
loop is true. It is ideally suited when the number of iterations are not known prior to the
execution of the loop.
Python offers two jump statements to be used within loops to jump out of loop iterations.
These are break and continue statements. It alters the flow of control in a loop.
Number = 4
Print(“----------------------------------------“)
For i in range(1,11):
Print(number,”x”,i,”=”,number*i)
Q.9: Write a program to print the the total of first 10 numbers like 1+2+3…..+10
total = 0
total +=num
Q.10: Define AI
According to the father of Artificial Intelligence, John McCarthy, AI is ‘The science and
a. Logic
b. Search and Optimisation
Major goal of an intelligent system is to enable a system to think and behave like humans
a) implement human intelligence in machines by creating systems that can think, act,
learn and behave like humans.
b) create expert systems that can behave intelligently, learn, explain, demonstrate and
give suggestions to its users.
c) enable a system to understand and process natural language.
d) empower a system to perform intellectual tasks that a human can perform.
Despite its advantages, every technology has some limitations as well. The following are the
limitations that we keep in our mind while creating AI systems:
It is important to take proper care of your computer for the following reasons.
• It prevents errors.
The three areas to troubleshoot are Hardware, Software and Operating system.
Q.17: Write about two common problems related to software that you might have
experienced.
Q.18: Give troubleshooting steps for an error message displayed on the computer.
If any error message is displayed on your monitor screen, you must reboot it, that is, restart
your computer. A majority of problems that occur while you are using your computer can be
fixed by rebooting.