ICT
 
 
home search Contact
Lmarsden is a non-profit information site

Week 13: Wicked Problem 1 - Goal 4: Quality Education

Class Task and Information

  • Lesson 01:
    • Tutorial Presentation 01: Starting and Xcode project
      • Task: Investigation of assets and components



    • Developer Principals and Conventions - Naming Conventions

      • CamelCase is a naming convention in which a name is formed of multiple words that are joined together as a single word with the first letter of each of the multiple words capitalized so that each word that makes up the name can easily be read. e.g. dateOfBirth

      • Pothole or Snake case (or snake_case) is the practice of writing compound words or phrases in which the elements are separated with one underscore character (_) and no spaces, with each element's initial letter usually lowercased within the compound and the first letter either upper- or lowercase. e.g. date_of_birth

      • Hungarian notation is an identifier naming convention in computer programming, in which the name of a variable or function indicates its intention or kind. This convention helps organise instances into their class types and helps developers know the intent of the object, container or variable. e.g. txtOutput, lblTitle, btnStart, sldSliderBar




    • Data Tyopes in Xcode and Swift

    • Xcode & Swift, offers the programmer a rich assortment of built-in as well as user-defined data types. The following types of basic data types are most frequently when declaring variables −
      • Int or UInt − This is used for whole numbers. More specifically, you can use Int32, Int64 to define 32 or 64 bit signed integer, whereas UInt32 or UInt64 to define 32 or 64 bit unsigned integer variables. For example, 42 and -23.

      • Float − This is used to represent a 32-bit floating-point number and numbers with smaller decimal points. For example, 3.14159, 0.1, and -273.158.

      • Double − This is used to represent a 64-bit floating-point number and used when floating-point values must be very large. For example, 3.14159, 0.1, and -273.158.

      • Bool − This represents a Boolean value which is either true or false.

      • String − This is an ordered collection of characters. For example, "Hello, World!"

      • Character − This is a single-character string literal. For example, "C"

      • Optional − This represents a variable that can hold either a value or no value.

      • Tuples − This is used to group multiple values in single Compound Value.



    • Practical Tutorial 02: Xcode Playground
      • Variables
      • Data Types
      • Constants
      • Ouput










  • Programming Tasks:

    • Task A:
      • Implement a list of variables, and assign a piece of Data to the following variables using the Camel Case developer principle and convention:

        • Note: Start the name with a lowercase letter and capitalize the first letter of embedded words. Don’t use prefixes

        • First Name
        • Last Name
        • Owns a cat
        • Full Name
        • Student Age
        • Date Of Birth
        • Can swim 50m
        • House Number
        • Postal Address
        • Student Height
        • Mobile Number
        • Maths Letter Grade
        • Holds a divers license
        • Speed of light


    • Task B:
      • Using the variable list from Task A , apply the pothole case developer principle and convention to create and assign a different set of data to the variable list.






  • Lesson 02:
Readings / Homework
  • Students are to complete all set work

 

 

 

 

Focus Point

 

 

Information