Giter Club home page Giter Club logo

quiz-app's Introduction

Quiz-App

PROJECT SPECIFICATION Quiz App

Layout

CRITERIA

Overall Layout

App contains 4 - 10 questions, including at least one check box, one radio button, and one text entry.

Question types

Questions are in a variety of formats such as free text response, checkboxes, and radio buttons.

Checkboxes are only used for questions with multiple right answers. Radio buttons are only used for questions with a single right answer.

Submit button

App includes a button for the user to submit their answers and receive a score.

Layout best practices

The code adheres to all of the following best practices:

Text sizes are defined in sp Lengths are defined in dp Padding and margin is used appropriately, such that the views are not crammed up against each other. View variety

The app includes at least four of the following Views: TextView, ImageView, Button, Checkbox, EditText, LinearLayout, RelativeLayout, ScrollView, RadioButton, RadioGroup.

If applicable, the app uses nested ViewGroups to reduce the complexity of the layout.

Rotation

The app gracefully handles displaying all the content on screen when rotated. Either by updating the layout, adding a scrollable feature or some other mechanism that adheres to Android development guidelines.

Functionality

CRITERIA

Runtime Errors

The code runs without errors.

Question Answers

Each question has a correct answer.

Radio Button Implementation

Any question which uses radio buttons allows only one to be checked at once.

Control Statements

The app contains at least one if/else statement

Grading Button Function

The grading button displays a toast which accurately displays the results of the quiz.

Grading Logic

The grading logic checks each answer correctly. The app accurately calculates the number of correct answers and does not include incorrect answers in the count.

Note: When applicable, in the grading logic remember to check that the correct answers are checked AND the incorrect answers are not checked.

Code Readability

CRITERIA

Naming Conventions

All variables, methods, and resource IDs are descriptively named such that another developer reading the code can easily understand their function.

Format

The code is properly formatted i.e. there are no unnecessary blank lines; there are no unused variables or methods; there is no commented out code. The code also has proper indentation when defining variables and methods.

quiz-app's People

Contributors

aishpn5 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.