WorksheetsUnit 3 Csp
Total questions: 10
Worksheet time: 5mins
By default, when you add components to the App Inventor Viewer they are laid out ___________.
Vertically
Horizontally
Diagonally
Randomly
Which value would you set the Width property to if you want your component, e.g., a Button, to fill its container?
Automatic
Fill parent
Fill container
Max pixels
Which of the following would be a good name for a button whose purpose was to allow the view to refresh the screen?(choose 2)
Button1
ButtonOne
ButtonRefresh
B1
RefreshButton
Which of the following would be a valid App Inventor variable name?
5
-5
"user name"
userName
A variable is an abstract symbol that refers to some particular value. Which of the following symbols is a variable? (choose 2)
10
paintBrush
"hello"
true
x
Using a variable is an example of abstraction because (choose 3)
a variable is more general and more abstract than a specific value such as 5.
using a variable instead of a specific value makes an app more generally useful.
a variable is an abstract symbol that can represent lots of different values.
using a variable instead of a specific value makes an app more vague.
Which of the following is a true statement about data compression?
Data compression is only useful for files being transmitted over the Internet.
No matter what compression technique is used, once a data file is compressed, it cannot be restored to its original state.
Sending a compressed version of a file ensures that the contents of the file cannot be intercepted by an unauthorized user.
There are trade-offs involved in choosing a compression technique for storing and transmitting data.
What does refactoring mean?
Restructuring a program to make it behave differently.
Changing the way the program behaves.
Revising a program to remove bugs.
Restructuring a program without changing its basic behavior.
Which of the following statements are true for a TinyDb component.
Data stored in a TinyDb can easily be shared with other devices and users.
Data stored in a TinyDb will persist between different uses of the app.
Data stored in a TinyDb disappears when you quit the app.
Data stored in a TinyDb is stored in the cloud.
True or False: It is possible to have an empty list -- i.e., a list with no elements.
True
False
