SPE10117 Foundations in Information Systems


Part 1 Papers Review

Choose either one of the following papers or other academic paper of your choice in the areas of ITB:

  1. Summarize the papers in a few sentences. Do not just copy the abstract or conclusion.
  2. What are the keywords used to categorize the paper?
  3. What are the main approaches? Comment on their novelty and technical depth.
  4. What are the major strengths of the paper?
  5. What are the major weaknesses of the paper?
  6. What do you learn from the paper? It can be either a new research area, or a new problem, or the approach itself, or evaluation methodology, or the results.
  7. Other comments.

Part 2 Review Exercises
  1. Give an example of a semi-structured decision and explain what inputs would be necessary to provide assistance in making the decision.
  2. What does a collaborative information system do?
  3. What does the term business process mean?
  4. Describe three examples of business process from a job you have had or an organization you have observed?
  5. How can IT play a role in competitive advantage?

Part 3 GitHub
  1. Create a GitHub Account if you don't already have one.
  2. Learn how to do the List, Table, and Link markup from Google Colab Markdown Guide, GitHub Doc on Markdown and Table, or markdown-it demo.
  3. Use markdown to write up your answers for Part 1 above, and the table for Lab1 Q11 using any editor and save in a file named "lab3part1.md".
  4. Create a repository in GitHub, upload lab3part1.md to the repository created and add a link to the file "lab3part1.md" in "README.md".
  5. Submit your GitHub page to Lab3 exercise under Assignment group in Canvas after you finished.

Part 4 Software installation
  1. Download and install the latest Python version for Windows. Make sure you check the box for launcher and PATH at bottom before clicking "Install Now". python.org

  2. To test the Python running environment

    • Search and run "Command Prompt" App in Windows, type Python in Command Prompt Window or Python3 in a Mac Terminal to open the Python console. Python environment opens and the python prompt ">>>" appears at the left end of the screen.

    • Type "help()" to run the python utility functions and "quit" to go back to the interpreter console.

    • Copy and paste python codes in lab2 and run in the console. Does it work as intended and why?

  3. To Install matplotlib, wikipedia, and test run "wc.py" from Week 2 Tut&Lab folder

    • start Command Prompt in Windows or type "quit()" to exit Python interactive mode.
    • use Windows "File Explorer" or type "md workDir" in Command Prompt to create a working directory named "workDir".
    • type "cd workDir" to change current directory to "workDir"
    • download the file "wc.py" from Canvas.
    • type "pip install matplotlib".
    • type "pip install wikipedia".
    • type "python wc.py" or type "import wc" after invoking Python.

    • download assignment from Canvas, test run "SBapp.py" using the two data files provided.

Part 5 Python's Integrated Development and Learning Environment (IDLE)
  1. Search and run IDLE app in Windows or right click any Python source file to edit the file using IDLE editor.

  2. Run -> Run Module will execute the program in the interactive shell console.

  3. Now try to test run "SBapp.py". Does it work as intended and why?

  4. Add "sys.argv = [sys.argv[0], 'datafile0.dat']" to initialize value of sys.argv

    So you have to change inputfile name stored in sys.argv using the IDLE environment.

Part 6 Android Mobile Platform
  1. Download and install QPython from Google Play.

  2. Run the Terminal App and try some Python codes as shown in the following screen.

  3. Now try the same functions using Google Colab Jupyter Notebook, or Pythoon console. Does it work as intended and why?

Part 7 Programming Exercise

  1. Given the follwing Python program "printBigA.py" to print a large letter A using a dimension of 7 characters in height and 13 characters in width:
    
    print('''
          A
         A A
        A   A
       AAAAAAA
      A       A
     A         A
    A           A
    ''')
    
    Every students in class will write a python program "printBigX.py" to print a big letter X using character X with the same 7X13 characters dimension using the following table for letter assigned:

    GpNamefile name
    A AU TY printBig0.py
    B CHAN CH printBig1.py
    A CHAN MC printBig2.py
    A CHAN TH printBig3.py
    A CHAN TM printBig4.py
    B CHAN YK printBig5.py
    B CHEN LJ printBig6.py
    A CHENG TK printBig7.py
    A CHEUNG HK printBig8.py
    A CHOW KH printBig9.py
    B CHU TC printBigB.py
    A CHUI NH printBigC.py
    B CHUNG KN printBigD.py
    A HO PK printBigE.py
    B KE ZL printBigF.py
    B KEUNG TW printBigG.py
    A KOO LA printBigH.py
    A LAM TH printBigI.py
    A LAU TS printBigJ.py
    B LAW TC printBigK.py
    B LEE CH printBigL.py
    B LEE KT printBigM.py
    A LEUNG HK printBigN.py
    B LI HC printBigO.py
    B LUEN CW printBigP.py
    A MA YC printBigQ.py
    B NG CY printBigR.py
    A SIN HT printBigS.py
    B TSAO M printBigT.py
    B TSE WL printBigU.py
    A YEUNG SW printBigV.py
    B YU YM printBigW.py
    B YUEN CL printBigX.py

    Submit the program to the repository created in Part 2 after you finished.

  2. What is the value of x after executing each of the following:
    
    	a.	x = 3 + 4 - 6 / 2 * 3	        b.	x = 12 % 5
    
    	c.	y = 4				d.	x = 3
    		x = y << 2				y = ++x + 4 // x
    
    	e.	y = 7				f.	x = 5
    		x = 2 * y < y			        x *= 3**x
    
    Type these statements in python console to check your answers.

  3. Second order algebraic equations are very commonly used in describing phenomena in the physical world and in engineering. They have the following form: aX + bX + c = 0; where a, b, and c are known values and X is the unknown. The value of X can be found by the so called binomial equation which states that

    X = (-b + sqrt(b*b- 4*a*c)) / (2*a) ,
    and
    X = (-b - sqrt(b*b- 4*a*c)) / (2*a)

    Thus X can be found if a, b, and c are known. For any set of values for a, b, and c there are two possible answers for X.

    Write a Python program to solve the binomial equation. Prompt the user to enter the values a, b, and c. Use only 2 decimal places for all values.

    Your output should be formatted as the example below:

    When a = 1.00, b = 0.00, and c = -1.00: X = 1.00 or -1.00

    Run your program with the following 3 sets of sample data:

    1) 1.0 0.0 -1.0
    2) 1.0 1.0 -12.0
    3) 2.0 3.0 -4.0
    4) 0.0 1.0 -1.0
    5) 2.0 3.0 4.0

    Check your outputs by plotting the equation using Google search. e.g.

    Does the program work as intended and why?