Anda di halaman 1dari 6

ACTIVITY 1: Introduction of Programming Language

Duration: 2 Hours

Learning Outcomes
This lab activity encompasses activities 1.1, 1.2, 1.3, 1.4, 1.5 and 1.6

By the end of this practical session, you should be able to:


1. Differentiate the various categories of programming languages.
2. Explain the language translators.
3. Relate the programming languages application in real life.

CASE STUDY

Infinity Design Solution Sdn. Bhd, an advertising company wants to automate the system of
managing Human Resources (HR) data. The automation involves the staff details, staff payroll
and etc. En. Muhammed wants to hire an IT Programmer to develop a system. He draft a sets
of questions to test the general IT and programming knowledge of a new programmer.

INSTRUCTION:
1. You are one of the candidate for post IT Programmer, Infinity Design Solution Sdn. Bhd.
2. Answer the entire questions below.

Activity 1.1
Activity Outcome: Identify the programming language generation based on the figures given.
Duration : 10 minutes

Look carefully at the images given. The images uniquely represent each programming language
generation that you have learned. Can you identify and match the programming language
generation correctly?

Features

 A collection of binary numbers


understood by a computer.

Features

 Translation to machine language is


performed using compiler or interpreter.

Features

 Also known as symbolic language


because it uses mnemonic code.

3
Activity 1.2
Activity Outcome: Distinguish between the various language translators.
Duration : 20 minutes

Determine the language translator, X and Y in figure below and state TWO (2) of their
advantages and disadvantages.

X Y

X Compiler/interpreter
fast execution
Advantages
optimized for the target hardware

limited commands to run detailed operations on graphics


Disadvantages
require a compiler

Y assembler
provides more control over handling particular hardware component
Advantages
often result in faster execution

not portable
Disadvantages
requires understanding of hardware details (interfaces)

4
Activity 1.3
Activity Outcome: Determine the lifecycle of a software project phases.
Duration : 20 minutes

Re arrange the phases in software project life cycle. Explain activities and task performs by
project team during each phase.

Design Testing Maintenance Build phase Requirements Deployment


phase phase phase gathering phase
phase

Phase Phase Name Activities and task


Level
1 Requirement Gathering This phase is the main focus of the project managers and stake
holders.

2 Design System design helps in specifying hardware and system


requirements and also help in defining overall system
architecture
3 Build This storage of SDLC the actual development starts and the
product is build

4 Testing After the code is developed it is tested against the


requirements to make sure that the product is actually solving
the needs addressed and gathered
5 Deployment The product is given to the customers they will first do the
beta testing

6 maintenance This process where the core is taken for the developed product
is known as maintenance

Activity 1.4
Activity Outcome: Determine standards and best practices in writing program codes
Duration : 20 minutes

List standards and best practices in writing program codes

Best practices in writing program codes :


-comments
-Naming Convention
-Standardization
-Line spacing and indentation
-Placement of braces
-Block style

5
Activity 1.5
Activity Outcome: Determine programming languages application in real life.
Duration : 30 minutes

Discuss on steps needed to deposit cash on Cash Deposit Machine.

1.First, press any button to start and you must select language BAHASA MELAYU or ENGLISH
LANGUAGE

2.Second, some CDM machine required to give important notice.For example"this machine does not
accept coins RM1,RM2,RM5 or soiled noted".Than, you should select type of account. For
example"bill payment"

3.Next, you must select button in payee code (001,002,003,019)

4.After that, you must enter bill account, then select if correct or incorrect.

5.Next, please key in your contact number, than select if correct or incorrect

6.Then, please confirm your details, ( your payee name, nick name, contact no, bill account)

7. For payment, please insert cash and press "process" to continue transaction

8.For confirmation, the CDM will notice you about note accepted. For examples, RM50 x 0=0 ,
RM100 x 1=100, then press "accept" button

9.The CDM will notice you that deposit transaction was successful

10.Finally, please keep the receipt in a safe place for future reference.

6
Activity 1.6
Activity Outcome: Determine programming languages application in real life.
Duration : 20 minutes

Discuss and list examples of suitable application which implements programming in real life
application in each field.

1. Medical record and history system Medic


2. Diabetes Diagnosis system

3. Dialisys centre system

Education

1. Electronic dictionary
.
2. CIDOS

3. E-learning portal

1. Rain measurement system

2. Environmental impact to plant system

3. farm communication

7
.

Anda mungkin juga menyukai