Module quiz: Mobile development
1. The first Android OS was released in 2008 by ______________.
- Apple
- Microsoft
- Amazon
2. What is a major advantage of a desktop browser ?
- It allows users to visit a website offline.
- It is portable.
- Users consume less data bandwidth.
- Allow full access to website content.
3. JavaScript is also referred to as ______________.
- Interpreted Language
- Compiler Language
4. Which one of the following is a JavaScript browser engine?
- V8
- Java
- Safari
5. Which of the following is an integrated development environment? Select all that apply.
- Android Studio
- Kotlin
- Xcode
- Swift
6. Kotlin is a ______________ programming language for building android apps.
- Single platform
- Multi platform
7. The Swift programming language gives developers the ability to build apps for which of the following?
- tvOS
- airOS
8. What engine is responsible for compiling the entire website code before displaying it to users?
- Android
- Swift
- JavaScript
Module quiz: Introduction to HTML and CSS
1. To display a link to another HTML document, the ______________ tag is used.
- anchor (a)
- html
- img
- link
2. To add an image to a webpage, the ______________ tag is used.
- link
- image
- img
- anchor (a)
3. To represent the HTML document in JavaScript, the browser builds a _____________.
- Document Object Model
- HTML Script
- HTML Element Model
4. Which CSS property and value changes the HTML element to a block-level element?
- align-content
- list-style
- content
- display: block
5. Which CSS property and value changes the text to center alignment?
- text-align: center
- vertical-align
- align-items
- align-self
6. To reference a CSS file in a HTML document, you use the ______________ tag.
- style
- head
- script
- link
7. In the following CSS rule, the `h1` part of the rule is called the ______________.
h1 {color: green;}
- Box Model
- Selector
- Inheritance
- HTML
8. Which of the following improve web accessibility for people with disabilities?
- Correct HTML structure
- Appropriate use of HTML elements
- Accessible Rich Internet Application (ARIA) techniques
Module Quiz: React and React Native
1. Which of the following is a benefit of using React Native for app development? Select all that apply.
- Code reusability
- Fast refresh
- Large developer community
- Free Deployment on App Store
2. React Native is an extension of ReactJs library.
- True
- False
3. To improve performance, web servers can keep a copy of dynamic content in a ______________.
- Cloud
- DOM
- Cache
4. React library was designed to help the Facebook team ______________.
- to build a dynamic and high performant web app.
- to develop an efficient back end architecture.
- to build a lite version for their existing web app.
5. The main approach for serving code and resources in a Single Page Application is called?
- Packets
- Bundling
- Code Boxing
6. React is a ______________ for building single page applications.
- Library
- Framework
7. Components allow developers to improve development efficiency by reusing code.
- True
- False
8. A React application is built up of a tree of components called the Component ______________.
- Root
- Branch
- Library
- Hierarchy
Graded assessment: Introduction to Mobile Development
1. True or False. In the request/response cycle, the web browser sends the request.
- True
- False
2. In the web browser, what is the role of HTML?
- To describe the content of the web page
- To provide interactivity and data processing
- To describe the visual look and layout
3. To improve performance, React uses a ______________ to reduce updates to the browser DOM.
- Copy DOM
- New DOM
- Virtual DOM
4. What will display on the web page inside the web browser for the following HTML document?
<!DOCTYPE html><html><head><title>Little Lemon</title></head><body><p>Our Menu</p></body></html>
- Little Lemon
- Our Menu
5. A hyperlink is used to link to other documents and content. Which of the following is the correct way to use a hyperlink?
- <anchor src="dog.png">
- <a href="cat.png">
- <a src="mouse.png">
6. In the following CSS rule, what is the width: 50%; part of the rule known as?
div {width: 50%;}
- Property
- Selector
- Attribute
7. What is the border box width for the following CSS rule?
div {width: 10px;padding-left: 5px;padding-right: 5px;border-width: 5px;margin-left: 10px;margin-right: 10px;}
- 20 pixels
- 25 pixels
- 30 pixels
- 50 pixels
8. The Swift programming language gives developers the ability to build apps for which of the following?
- tvOS
- airOS
9. Components allow developers to improve development efficiency by reusing code.
- True
- False
10. React applications are built using reusable pieces of code. What are these pieces known as?
- Elements
- Components
- Snippets