[go: up one dir, main page]

0% found this document useful (0 votes)
319 views4 pages

ACTIVITY 1: Introduction of Programming Language: Duration: 2 Hours Learning Outcomes

This document provides an overview of an introductory programming language activity. It includes 3 activities that help students: [1] identify programming language generations based on images; [2] distinguish between language translators like compilers and assemblers; and [3] determine programming language applications in fields like medical, education, and agriculture through group discussions and examples. The overall goal is for students to better understand programming languages, their evolution, and real-world uses.

Uploaded by

Face Production
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
319 views4 pages

ACTIVITY 1: Introduction of Programming Language: Duration: 2 Hours Learning Outcomes

This document provides an overview of an introductory programming language activity. It includes 3 activities that help students: [1] identify programming language generations based on images; [2] distinguish between language translators like compilers and assemblers; and [3] determine programming language applications in fields like medical, education, and agriculture through group discussions and examples. The overall goal is for students to better understand programming languages, their evolution, and real-world uses.

Uploaded by

Face Production
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

NAME: MUHAMMAD SAIFUL AZWAR BIN TALIB

MATRIC NUMBER: 32DDT20F2026

ACTIVITY 1: Introduction of Programming Language


Duration: 2 Hours

Learning Outcomes
This Tutorial encompasses activities 1A, 1B and 1C.

By the end of this tutorial 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.

Activity 1A
Activity Outcome: Identify the programming language generation based on the figures given.

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? Give ONE (1) more feature that you can recall on each
generation that you have identified.

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.

Activity 1B
Activity Outcome: Distinguish between the various language translators.

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

X Y

Figure 1.1

X Compiler
Programmes can be clearer, better structured.
Advantages It is easy to use pre-written functions, which may be quite
complicated.
Executable code may be longer (since it is not always optimised
for the hardware on which it executes), and less efficient.
Disadvantages
Some "bugs" are harder to find, because you do not know
exactly how the compiler works.

Y Assembler
It allows complex jobs to run in a simple way
Advantages
It is memory efficient, as it requies less memory
Hard to write code
Disadvantages
Project takes longer and costs more (Cheops’s Law)

Activity 1C
Activity Outcome: Determine programming languages application in real life.

1. In groups of two, discuss on steps needed to deposit cash on Cash Deposit Machine.

1. Receive any input when keypads are pressed anywhere(Input)


2. Display available language for customer to select(Output)
3. Process the selected language( Process)
4. Display transactions menu on screen using the language selected(Output)
5. Process the selected type of transaction(Process)
6. Get the account number which the customer wanted to cash deposits(Input)
7. Process the account number given and make sure the account is active(Process)
8. Display the account name and the confirmation option for further transaction(Output)
9. Get confirmation for account that displayed(Input)
10. Open the money box after customer has confirmed the account(Output)
11. Get the money from customer(Input)
12. Count the money that was put inside the money box accurately(Process)
13. Display the amount of money received on screen(Output)
14.Get confirmation amount from customer(Input)
15. Process money to put into the selected account(Process)
16. Print out the receipt for the customer and display Thank You on the screen(Output)

2. Discuss and list an example of suitable application which implements programming in


real life application in each field.

Medical
1. Epocrates

2. PEPID

3. UpToDate

4. Medscape

1. Google Classroom

2. Zoom

3. Kids Academy

4. Edmodo
Education

1. Yara ImageIT
Agricultural
2. Pocket Rain Gauge

3. FARMapper

4. AgVault 2.0 Mobile

You might also like