0% found this document useful (0 votes)
9 views2 pages

End Test 2

Uploaded by

sawssen hsoumi
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)
9 views2 pages

End Test 2

Uploaded by

sawssen hsoumi
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/ 2

EL KEF Pioneer Preparatory School

End Of Term Test n° 2 Academic year 2021/2022


Teacher: Sihem JEBARI Computer Sciences Duration: 60 min
9th Grade
Name: …………………………………………………………………………………… Class: …………….. Number: ………
………… /20

Hi friends!
My name is Youssef and I am trying to create my first AppInventor application for kids.
It will play one of the sounds made by a baby (smile or cry) and will show the baby’s
picture (happy or sad) when clicking on the specific button.

Task 1: Help Youssef to put the steps below in their specific order (Use numbers from 1 to 8). (4 marks)
Order Steps
Create a new project (Projects → Start new project)
Pass to the blocks mode to code the application’s solution.
Test the application.
Build the viewer of the application.
Connect to AppInventor.
Save the project.
Type the name of the new project.
Define the properties of each inserted component.

Task 2: While programming the application, Youssef noted that there are three (3) windows. Complete the
name of each window (Please see Appendix at page 3/4 for more details) using words from the following list:
(3 marks)
Emulator – Blocks Mode – Designer Mode

Window Window’s name


Figure 1 from Appendix at page 3
Figure 2 from Appendix at page 4
Figure 3 from Appendix at page 4

Task 3: Check the right proposition (s): (2.5 marks)


1- AppInventor permits to create:
 Android projects;
 IOS projects;
 Micro:bit projects.

2- A virtual smart phone, provided by AppInventor application, that will show what the program will look like
running on an Android device:
 Ai Compagnon;
 Emulator;
 Workspace.

3- An action done by the user, such as pressing a button:


 Data;
 Output;
 Event.
Page | 1
4- It is how a smart phone displays or communicates information:
 Input;
 Output;
 Event.
5- An executable file, realized by AppInventor and which can be installed in the smart phone, has the
extension:
 aia;
 apk.
Task 4: (Answer to the questions below using figure 1 from the Appendix at page 3)
a- What is the name of the project created by Youssef? (1 mark)
……………………………………………………………………………………………………………………………………………………………………………………………………………………………………….…..
b- The background of the project is the picture: (Check the correct proposition) (1 mark)
o baby smile;
o Baby_Smile;
o Baby_Cry;
o devoi1.
c- What are the components used by Youssef to build the project’s interface? (2 marks)
……………………………………………………………………………………………………………………………………………………………………………………………………………………………………….…..
……………………………………………………………………………………………………………………………………………………………………………………………………………………………………….…..
……………………………………………………………………………………………………………………………………………………………………………………………………………………………………….…..
d- Does Youssef defined an icon (logo) to his project? (Check the correct proposition) (0.5 marks)
o Yes;
o No.
Task 5: (Answer to the questions below using figure 2 from the Appendix at page 4)
a- How many warnings does the code contain? (1 mark)
……………………………………………………………………………………………………………………………………………………………………………………………………………………………………….…..
b- When testing the project, Youssef get two (2) mistakes:
Mistake 1 When clicking on Cry_button, the picture of a baby crying doesn’t appear!
Mistake 2 Sometimes, when clicking on Cry_button, he hears the two sounds at the same time!

Correct these two mistakes. (5 marks)


……………………………………………………………………………………………………………………………………………………………………………………………………………………………………….…..
……………………………………………………………………………………………………………………………………………………………………………………………………………………………………….…..
……………………………………………………………………………………………………………………………………………………………………………………………………………………………………….…..
……………………………………………………………………………………………………………………………………………………………………………………………………………………………………….…..
……………………………………………………………………………………………………………………………………………………………………………………………………………………………………….…..
……………………………………………………………………………………………………………………………………………………………………………………………………………………………………….…..
……………………………………………………………………………………………………………………………………………………………………………………………………………………………………….…..
Good Luck
genius creator!

Page | 2

You might also like