What do the following codes compute?

Practice More Questions From: Homework 3

Q:

What do the following codes compute?

Q:

Suppose you can use only copies of the subtraction code block below and four Number code blocks of the numbers 1, 2, 3 and 5. To compute ((5 – 3) – 2) – 1 in that case, how many copies of the subtraction code block is needed?

Q:

What is the smallest number of code blocks (including the number blocks) needed to compute 5+3+2+1 using any Math code blocks and four operands?

Q:

Does the App Inventor provide code blocks to compute the square root of the absolute value of a number?

Q:

Which method of the Notifier component is used to display a temporary alert or notification on the application screen that will disappear after a short time?

Q:

In the designer view of the App Inventor, can a component in the User Interface section of the Palette be a Non-visible component?

Q:

What do the following codes do?

Q:

What value do the following codes yield?

Q:

When trying to attach the 2.1 number code block to the places socket of the format … code block, what will happen?

Q:

What do the following codes do?

Q:

What do the following codes do?

Q:

What do the following codes do?

Q:

What do the following codes do?

Q:

Will the following two event handlers always do the same action when they are executed?

Q:

In using the Notifier component to display a temporary alert or notification on the application screen that will disappear after some time, what property of the component is used to control the duration of the alert?

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments