Giter Site home page Giter Site logo

android-source's Introduction

Tee Mak

This repository contains the source code required to complete assignments associated with Bloc's Android curriculum.

Assignments

Each assignment's source code is found in its corresponding directory in foundation. For example, the assignment for checkpoint number 23, "Static," is found in foundation/23-static.

Detailed assignment instructions are provided in a README.md file within each assignment's directory. Read the instructions thoroughly before proceeding. Not all assignments will compile immediately. For example, the assignment for checkpoint 12, "Syntax," does not compile without additional work. However, if an assignment compiles, that does not mean you have completed it.

Every assignment requires work and/or modification.

Work Requirements

Assignment source files feature call-outs to locations where work must be completed. These are provided in the form of multi-line comments such as:

		/*****************************************************************
		 *	ASSIGNMENT:
		 *	Assign 2.1 into dubs
		 *	Then divide dubs by itself
		******************************************************************/

		double dubs;

		if (!testX(x)) {

These multi-line assignment call-outs precede the area where work must be done. Therefore, read the assignment and implement the solution immediately beneath it. The completed work resembles:

		/*****************************************************************
		 *	ASSIGNMENT:
		 *	Assign 2.1 into dubs
		 *	Then divide dubs by itself
		******************************************************************/

		double dubs = 2.1d;
		dubs /= dubs;

		if (!testX(x)) {

Method Requirements

Method headers are used to specify where a method must be created by you. For instance:

	/*
	 * returnNegative
	 * 
	 * This method returns the negated value of the given parameter.
	 *
	 * @param original the original integer value
	 * @return the negated integer value of original
	 */
	// ADD YOUR METHOD HERE, NAME MUST MATCH DESCRIPTION

In the description above, it demands a method named returnNegative. The method you create must match the method name found in the description. The statement following the method's name is a brief description of its purpose.

The @param specifies a single parameter. It is immediately followed by the name of the parameter and a short description. The order of @param qualifiers (from top-to-bottom) implies the order of parameters (left-to-right), these must match exactly.

Lastly, the @return informs you of which type of value this method must return. If it reads, @return nothing, then this method must return a void type. Given the description above, here is the completed method:

	/*
	 * returnNegative
	 * 
	 * This method returns the negated value of the given parameter.
	 *
	 * @param original the original integer value
	 * @return the negated integer value of original
	 */
	 int returnNegative(int original) {
	     return -original;
	 }

Look But Don't Touch

Do not change, modify, move, or otherwise alter in any way, shape or form the existing code unless explicitly instructed to by the assignment call-out or method header.

However, you are free to modify and experiment with the existing code found within after successfully completing the assignment and having received a verified completion from your mentor.

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.