COURSE 11: ANDROID APP CAPSTONE QUIZ ANSWERS

Week 1: Starting the Project

Meta Android Developer Professional Certificate

Complete Coursera Answers & Study Guide

Click to Enroll in Coursera Meta Front-End Professional Certificate

Starting the Project INTRODUCTION

This introductory module will give you some general information about the Capstone Project. You’ll also revisit the process of setting up your coding environment, tracking your code using Git and setting up your UX and UI processes. The purpose is to guide you through setting up and beginning your work on the project.

Learning Objectives

  • Commit a project to a Git repository
  • Set up a Jetpack Compose application
  • Plan the UI and UX of an Android application

READINESS CHECK: DID YOU SET UP THE GIT REPOSITORY?

1. Are your files visible in the repository via the Github website?

  • Yes  (CORRECT)
  • No

That’s correct. The files should be visible in your repository on the Github website.

2. In the exercise Setting up the repository, which hosting service have you used?

  • GitHub (CORRECT)
  • GitLab
  • Git

That’s correct. You have used Github.

3. In the exercise Setting up the repository, which command did you use to create a local copy of the remote GitHub repository?

  • git clone  (CORRECT)
  • git init
  • git commit

That’s correct. The git clone command creates a copy of the remote repository in the specified local folder.

4. With Jetpack Compose UI, you can write code in Android Studio that works across which of the following platforms?

  • MacOS 
  • tvOS 
  • Android  (CORRECT)

That’s correct! Jetpack Compose works with platforms such as Android Phone and Tablet and Wear OS.

READINESS CHECK: DID YOU SET UP THE JETPACK COMPOSE PROJECT?

1. Did you use the latest version of Android Studio when you created your new project?

  • Yes  (CORRECT)
  • No

That’s correct. You should always use the latest Android Studio version when creating projects.

2. Which type of project template should you choose to create a Jetpack Compose application project?

  • Empty Compose Activity under the Phone and Tablet tab  (CORRECT)
  • Basic Activity under the Phone and Tablet tab

That’s correct. You should select an Empty Compose Activity project template under the Phone and Tablet tab to create a Jetpack Compose application project.

3. Which is the correct project package name?

  • com.example.littlelemon  (CORRECT)
  • littlelemon.example.com

That’s correct. Kotlin package names use a reverse domain name structure.

READINESS CHECK: DID YOU PUSH YOUR COMMITS?

1. Which command should you use to create a new Git branch?

  • git checkout –b <branch-name>  (CORRECT)
  • git checkout <branch-name>

That’s correct. This creates a new branch in Git.

2. Which command is used to commit the changes of a Git branch?

  • git commit “message”
  • git commit –m “message”  (CORRECT)

That’s correct. This commits the change and gives it a new message.

3. Which is the correct line for pushing changes to a GitHub repository?

  • push –u origin
  • push –u origin <branch-name>  (CORRECT)

That’s correct. This pushes the changes to a GitHub repository.

KNOWLEDGE CHECK

1. What is Git?

  • Git is a local version control system that manages your source code history to a certain limit
  • Git is a distributed version control system that helps manage source code history  (CORRECT)

That’s correct. This is an accurate description of Git.

2. Which command would create a new commit locally with a descriptive message?

  • git add -m “message”
  • git commit –m “message”  (CORRECT)
  • git push -m “message”

That’s correct. The code creates a new git commit locally with a message that explains the commit.

3. What does the following command do?

git push
  • Saves a change to a local repository
  • Uploads your progress saved locally to a remote repository like Github  (CORRECT)
  • Stages files for saving

That’s correct. git push submits all your locally saved progress to the remote repository.

4. Which of the following best describes Jetpack Compose?

  • Jetpack Compose is imperative
  • Jetpack Compose is declarative (CORRECT)

That’s correct. Jetpack Compose is a declarative UI framework.

5. What will you see on screen for the following snippet?

@Composable
fun MainContent() {
 var name by remember {
 mutableStateOf("John Appleseed")
 }
 name = "John Macintosh"
 Text(
 text = name
 )
}
  • name
  • John Macintosh  (CORRECT)
  • John Appleseed

That’s correct. The text John Macintosh will appear on the screen.

READINESS CHECK: DID YOU COMPLETE THE WIREFRAME?

1. Did you create a grid?

  • Yes (CORRECT)
  • No 

Well done on completing this task! 

2. Did you create content blocks? 

  • Yes  (CORRECT)
  • No 

Well done on completing this task! 

3. Did you wireframe all the screens for your proposed solution for the Little Lemon food ordering app? 

  • Yes  (CORRECT)
  • No 

Well done on completing this task!

4. What is the purpose of the planning stage in the UX and UI process?

  • To produce design structures and sketches for approval and testing
  • To gather the user’s objectives and goals and determine and map the overall purpose of a project (CORRECT)
  • To deliver the product
  • To complete coding and programming tasks to implement the project designs

That’s right! The planning stage is the most crucial stage in the UX and UI process. It includes gathering the user’s objectives and goals and determining and mapping the project’s overall purpose.

READINESS CHECK: DID YOU ESTABLISH THE DESIGNS FOR YOUR INTERACTIVE COMPONENTS?

1. Did you create a button using auto layout?

  • Yes (CORRECT)
  • No

That’s correct. Well done on completing this part of the exercise!

2. Did you create a component and a variant?

  • Yes (CORRECT)
  • No

That’s correct. Well done on completing this part of the exercise!

3. Did you create an interactive component?

  • Yes (CORRECT)
  • No

That’s correct. Well done on completing the final part of the exercise!

READINESS CHECK: DID YOU APPLY DESIGN FUNDAMENTALS?

1. Did you create text and color styles as per the brand style guide? 

  • Yes  (CORRECT)
  • No 

Well done on completing this part of the exercise! 

2. Did you add a profile image and logo? 

  • Yes   (CORRECT)
  • No  

Well done on completing this part of the exercise! 

3. Did you populate the Hero, Menu breakdown and Menu items sections with relevant content and images?

  • Yes   (CORRECT)
  • No 

Well done on completing the final part of the exercise!

KNOWLEDGE CHECK

1. UX is an iterative process that solves usability problems.

  • True   (CORRECT)
  • False  

That’s correct. UX is an iterative process that solves usability problems. For example, increasing sales and keeping customers coming back for more by examining the usability of a website or app from the user’s perspective. 

2. What is a wireframe in UX design?  

  • A wireframe in UX design is a representation of the interface concerned with placement and hierarchy of content and overall functionality. 
  • A wireframe is a representation of a website’s or digital product’s design, including its color scheme, typography, icons and other user interface elements.  
  • A wireframe is a simulation of the final product.  (CORRECT)

That’s correct. A wireframe is a screen blueprint that outlines the placement and hierarchy of content with functionalities for an interface, such as a website or app.

3. Which of the following statements are true about designing forms? Select all that apply. 

  • Time should be spent on good form design.  (CORRECT)
  • It is worth designing forms from the user’s perspective. (CORRECT)
  • Forms are used to simply collect information from users for the stakeholder’s benefit.  

That’s correct. Time and care should be taken to design forms well. You want to persuade your visitors to take the time to give you their personal information via a straightforward, approachable and appealing form.

That’s correct. Forms are an important part of user experience, which is why time and effort should be spent on designing good, practical forms from the user’s perspective.

4. Which of the statements are best practices or guidelines for form design? Select all that apply. 

  • Clearly label your form. (CORRECT)
  • Keep forms simple and straightforward. (CORRECT)
  • Make use of inline form field validation. 
  • Use many columns in the form design. 

That’s correct. When designing forms, they should be clearly labeled to let users know what the corresponding input fields mean.

That’s correct. When designing forms, keep them concise and simple to understand. 

5. Which of the following statements are true about responsive design? Select all that apply. 

  • Responsive design is one approach to web page creation. (CORRECT)
  • Responsive design makes use of flexible layouts.  (CORRECT)
  • Responsive design removes the need to design layouts to suit every device.  (CORRECT)

That’s correct. Responsive design adapts to the needs of users and the devices they’re using. 

That’s correct. Depending on the size and capabilities of the device, the layout alters using flexible layouts. On a phone, for instance, users might see content presented in a single-column perspective; on a tablet, the same content might be presented in two columns.

That’s correct. Responsive design removes the need for designers to design layouts that suit every device because it uses flexible layouts and adapts the interface to the device’s layout.

MODULE QUIZ: STARTING THE PROJECT

1. Complete the sentence: A wireframe’s purpose is

  • To create a completed design of all the typographical elements of the web app
  • To create a basic structure for each screen in the design before things like branding, colors and images are considered  (CORRECT)
  • To create a completed design for the entire website, including branding colors and images 

Correct. This is the purpose of a wireframe.

2. Content blocks are parts of a wireframe.

  • True  (CORRECT)
  • False

Correct. Content blocks are used in a wireframe.

3. To create a nice, smooth animation in Figma, you can use the Clever animate option.

  • True
  • False  (CORRECT)

Correct. You can use the Smart animate feature in Figma to create smooth animation.

4. Which of these form part of the UX design thinking process? Choose all that apply.

  • Empathize  (CORRECT)
  • Define  (CORRECT)
  • Ideate  (CORRECT)
  • Prototype  (CORRECT)
  • Test  (CORRECT)
  • Validate

Correct. This is the first stage of the design thinking process when you really start to understand users and what they require.

Correct. This is the second stage of the design thinking process where you state your users’ needs and problems.

Correct. This is the third stage of the design thinking process where you find solutions to the problem statement produced.

Correct. This is the fourth stage of the design thinking process where solutions are developed.

Correct. This is the fifth stage of the design thinking process where solutions are tested with users.

5. What command do you use to start a new git repository?

  • git init  (CORRECT)
  • git create
  • git start
  • git new

Correct. This is how you create a new git repository.

6. Which service offers source control management (SCM)?

  • Git
  • GitHub  (CORRECT)
  • Google Docs
  • Microsoft Office

That’s correct. GitHub is a service that hosts git repositories and offers a SCM service.

7. Which Integrated Development Environment (IDE) do you use to develop Android apps?

  • Intellij
  • Notepad
  • Android Studio  (CORRECT)
  • Microsoft Code

Correct. Android Studio is the preferred IDE for Android development.

8. Which account must you have to distribute Android apps on the Play Store?

  • Google
  • Google Developer  (CORRECT)
  • Android Developer
  • Gmail

Correct. To distribute Android apps on the Play Store you would need a Google Developer account.

9. What is Jetpack Compose?

  • An Android app developing framework
  • An Android networking toolkit
  • A tool for speeding up Android app development
  • A User Interface (UI) toolkit  (CORRECT)

Correct. Jetpack Compose is a tool for developing Android user interfaces.

10. What are the building blocks of Jetpack Compose?

  • Composables  (CORRECT)
  • Views
  • Classes
  • Layouts

Correct. Jetpack Compose constructs user interfaces from Composables.

Subscribe to our site

Get new content delivered directly to your inbox.

Liking our content? Then, don’t forget to ad us to your BOOKMARKS so you can find us easily!