Page 140 - ComputerGenius_V2.1_Class8
P. 140
Practical Assessment
Technology Literacy
AI Connect
Critical Thinking
A. Create an AI Connect program to identify the faces in an image.
(Hint: Use Get face count block)
B. Create an AI Connect program using machine learning technique to identify whether the wheel
in the image is of a car or a bicycle.
(Hint: Use train model feature of AI Connect)
Python Interdisciplinary Learning
Critical Thinking
C. Write a Python program to print the following:
l Five famous landmarks of your city.
l Name of any five countries that you wish to visit.
l Your five favourite cars.
D. Write a python program to calculate the multiplication of two numbers.
E. Write a program to convert the time given into minutes in hours and minutes.
F. Write a program to convert the distance (in feet) into inches, yards, and miles.
Hint:
dis_inches = dis_ft * 12
dis_yards = dis_ft / 3.0
dis_miles = dis_ft / 5280.0
G. Write a program to print numbers in ascending order using if-else statement.
H. Type the given program and view the output.
Code:
DAYS = {
"Sunday": 1,
"Monday": 2,
"Tuesday": 3,
"Wednesday": 4,
"Thursday": 5,
"Friday": 6,
138 Computer Genius (V2.1)-VIII

