Sample of DOCUMENTS
SESSION 1 2020/2021
Ts MOHD NORAFIZAL ABD AZIZ
Senior Lecturer
Fakulti Sains Komputer & Matematik (FSKM)
e-Teaching
Portfolio
CSC305 : Programming Paradigms
Semester October 2020 - February 2021 (Session 1 2020/2021)
Quiz (15%) (CLO1)
Due Date: December 12, 2020 (Saturday)
Lecturer: Ts Mohd Norafizal Abd Aziz
Instructions:
1. Submit your answer in Google Classroom only.
2. Please attach the front page cover which includes particulars of Name, Student ID, Class,
Semester, and declaration form. The front page cover is attached with this instruction.
3. Please use the appropriate programming language to construct any development.
4. This is individual work and no group collaboration is allowed for this assignment.
5. Copy and paste also known as PLAGIARISM is strictly not allowed. Any attempt or
intention appears the necessary action regarding the plagiarism UiTM act will take place
and you may not be allowed or your assessment marks will not be marking.
6. Please read the questions carefully.
7. In addition, the late submission will also penalize your marks and NO reason will be
entertained as this quiz has been assigned as the date stated.
8. This assignment was assigned on December 11 2020 and the due date of this
assignment is before December 12, 2020 (Saturday) before 7.59 am.
9. Good Luck
CSC305: PROGRAMMING PARADIGMS
SEMESTER OCTOBER 2020 - FEBRUARY 2021
Student Details: QUIZ (CLO1) Class Declaration
No Student Name Signature
Student ID
1 ROSE NADHRAH BINTI NOR 2018290238 CS1104G
ZAINAL
Declaration:
I confirm and understand that I had read and shall comply with all the terms and conditions of the
UiTM plagiarism policy.
I confirm and understand that I had read and shall comply with all the terms and conditions of this
quiz and for any attention or acknowledgment of copying answers from other students or sources,
the appropriate consequences will be taken against me due to my attitude and actions.
I confirm and understand that the online submission had also been sent accordingly with the
attachment through the Google Classroom portal and I had already checked the submission
regularly before submission. Any problem due to the submission will be bare on our
responsibilities.
I also declare and understand that this assignment is free from all forms of plagiarism and for all
intents and purposes is my/our own properly derived work.
I further confirm that the same work, where appropriate, has been verified by anti-plagiarism
software: (Please insert if applicable).
Date: 11/12/2020
QUESTION
Watch the following Video:
Title: The Most Popular Programming Languages - 1965/2020
Youtube Link: https://youtu.be/Og847HVwRSI
Answer the following questions.
Based on your observation,
1. What’s make Python is the most popular language in current days from the
application domain perspective?
(10 Marks)
2. Explain how programming language abstractions are important to have a good
programming design in current days.
(10 Marks)
Good Luck
ANSWER
(Please write your answer in this section)
1) First reason why Python is the most popular language in current days it is because
Python can be interpreted high-level languages. Interpreter is used to translated one
lines of code at a time into machine code then execute it before converting the next line
of the source code. For example, to print “Hello” in screen, when we are using Python,
we only required to type print(“Hello”). On the other languages we might have to type a
lot of line just to print a simple output.
Secondly, Python also known as general-purpose language which means that
Python can be uses for many purposes such as the data science field, web
development, application development, game development, information security field,
system administration, image processing, multimedia and others. Other than that, it is
also have a lot of features that make it easier to learn and use, in particular like have a
large collection of modules and packages.
Next, python is the flexible languages which is means that it can be integrated with
other languages such as CPython is the implementation for C language and Jython is for
Java languages. Using this implementation allows you to use Python like others
languages and makes the development for other specific application easier.
2) Programming languages abstraction is important because it allows us looks at the
structural of the programs or system and manage the codes to become more easier to
understand and elaborate it without touching other parts. It also allows us to debug and
change the codes simpler other than codes that do not have an abstraction.
Other than that, abstraction also allows us to express the same expression repeatedly
without having to write the same codes over and over again. After that we also can make
object-oriented languages more to complexity design and keep it the codes more simple
and easier.
Otherwise, abstraction also probably being used to hide the complexity of the
programs and the problems on the complicated systems. For examples, some
programmers might added an abstraction on top of other function to covers the errors
that occurs. From that action the system will be easily recovers without had to spend a
lot of time to look at the complicated codes to recovers the program.
Lastly, abstraction also reusable for other programs that have some similarity needs
and allows us to arranges the design or structures of the program easily and readability
for others to understand the meanings of each codes on the abstraction. Then when
others wanted to use the abstraction on other program they understand the function of
the abstract part without have to understand all the codes in the program.
CSC305 : Programming Paradigms
Semester October 2020 - February 2021 (Session 1 2020/2021)
Quiz (15%) (CLO1)
Due Date: December 12, 2020 (Saturday)
Lecturer: Ts Mohd Norafizal Abd Aziz
Instructions:
1. Submit your answer in Google Classroom only.
2. Please attach the front page cover which includes particulars of Name, Student ID, Class,
Semester, and declaration form. The front page cover is attached with this instruction.
3. Please use the appropriate programming language to construct any development.
4. This is individual work and no group collaboration is allowed for this assignment.
5. Copy and paste also known as PLAGIARISM is strictly not allowed. Any attempt or
intention appears the necessary action regarding the plagiarism UiTM act will take place
and you may not be allowed or your assessment marks will not be marking.
6. Please read the questions carefully.
7. In addition, the late submission will also penalize your marks and NO reason will be
entertained as this quiz has been assigned as the date stated.
8. This assignment was assigned on December 11 2020 and the due date of this
assignment is before December 12, 2020 (Saturday) before 7.59 am.
9. Good Luck
CSC305: PROGRAMMING PARADIGMS
SEMESTER OCTOBER 2020 - FEBRUARY 2021
Student Details: QUIZ (CLO1) Class Declaration
No Student Name Signature
Student ID
afiq
1 MUHAMMAD AFIQ ZAKWAN 2018218936 CS1105G
BIN AZIDI
Declaration:
I confirm and understand that I had read and shall comply with all the terms and conditions of the
UiTM plagiarism policy.
I confirm and understand that I had read and shall comply with all the terms and conditions of this
quiz and for any attention or acknowledgment of copying answers from other students or sources,
the appropriate consequences will be taken against me due to my attitude and actions.
I confirm and understand that the online submission had also been sent accordingly with the
attachment through the Google Classroom portal and I had already checked the submission
regularly before submission. Any problem due to the submission will be bare on our
responsibilities.
I also declare and understand that this assignment is free from all forms of plagiarism and for all
intents and purposes is my/our own properly derived work.
I further confirm that the same work, where appropriate, has been verified by anti-plagiarism
software: (Please insert if applicable).
Date:
QUESTION
Watch the following Video:
Title: The Most Popular Programming Languages - 1965/2020
Youtube Link: https://youtu.be/Og847HVwRSI
Answer the following questions.
Based on your observation,
1. What’s make Python is the most popular language in current days from the
application domain perspective?
(10 Marks)
2. Explain how programming language abstractions are important to have a good
programming design in current days.
(10 Marks)
Good Luck
ANSWER
(Please write your answer in this section)
1) Answer :
First and foremost, Python is an essential when it comes to Artificial Intelligence and Data Science
field. This is because Python comes with tons of built-in libraries that benefits data scientist in
terms of functionality. For instance, there are matplotlib, SciPy, Pandas and NumPy. These
libraries are very reliable and robust when it comes to data manipulation, maths and data
visualization. Thus, this will undoubtedly will help data scientist a lot for example in plotting graphs
and extracting information from graph. Despite of how powerful and reliable Python is in Data
Science field; we cannot deny how other programming languages are useful as well like R. R is
a programming language that is specially designed for data analysis that is super popular in data
science community. Therefore, we cannot really say Python is better than R because both tools
are great and complete each other but we sure do can say that Python is an instrumental in data
science and artificial intelligence.
Moreover, Python well-known for its reliability in the Internet of Things as it is widely used. Internet
of Things refers to the ever-growing network of connected objects that are able to execute a lot
of things like collect and exchange data through a sensor. For instance, we can take a look at
Amazon Echo, a smart home appliance. This Amazon works through its voice assistant Alexa.
Thus, this allows user can order them to do things like telling it to play music just by talking to
them. With the rise of the Internet of Things, so does Python as it allows developer to write code
and communicate between machine and people. This is because there is an option for developers
who chose Python to utilize Micropython, a subset of Python that offers extra simplicity which will
significantly boosts up the development. In spite of its usefulness, not all Internet of Thing
appliances use Python as their base algorithm but we can never deny Python impact with its
simplicity and productivity in the Internet of Things appliances we have today.
Furthermore, Python can also use for web development. What makes Python stands out is that
its fundamental is easy to work with and more importantly it offers quick and easy coding. The
frameworks Python offers makes it more interesting as it features common backend logic into
these frameworks and bunch libraries that can help to integrate protocols such as HTTPS, FTP
and many more. For example, Django is one of the best frameworks offered via Python as it
features structuring and prototyping where you just want to get something up and running
instantly. This definitely will benefit programmer and developer in terms of productivity in coding,
especially for those who just started to code. Plus, Python is also a great alternative of popular
web development technologies like Java, Node.js and .NET, when it comes to web server
creation. Last but not least, never hesitate to consider Python as the core technology of a project
especially when it needs to feature some Ai technology as Python is undoubtedly a reliable web
application development programming language.
In addition, Python is also used in a game development especially in an interactive type of game.
This is because Python provides libraries that supports 3D game engine. Some of the well-known
game frameworks are PyGame and PyKyra. These frameworks will speed up the speed of
development time as it offers binds rendering, physics, animation, networking and not to mention
it also allows you to create fully featured games in python language. Plus, it if you have an existing
game, you can also add a scripting engine to make it more flexible. These are some examples
that are worth mentioning are Battlefiled 2, EVE Online, Sid Meier’s Civilization IV and many more.
Therefore, it is proven Python is a dependable tools when it comes to developing a video game.
2) Answer :
What is abstraction? Abstraction is a concept where we remove all the specific and unnecessary
detail in order to make things simpler and neater. That being said, it is crucial to include
abstraction when it comes to design a good programming.
First and foremost, abstraction reduces the complexity of viewing things from end-user point of
view. In this case, the end-user is the programmer and this will unquestionably help them in terms
of readability. In other words, they would care less on how a certain function works but instead,
they would just have to focus on what is the best way to utilize it for maximum efficiency and this
will skyrocket their productivity.
Furthermore, abstraction helps developer to keep away from code duplication. What this will do
is that this does not only make the codes shorten but also promotes the reusability of the codes.
They do not have to waste their time write same code over and over for the same purpose.
Therefore, it will subconsciously boost the program’s efficiency but more importantly, it will
contribute to building a good programming design.
Moreover, abstraction implementation will help the system to be more secure. This is because
only crucial details will be displayed and provided to the user. With this, user with evil intention
could not exploit the codes by changing the function of abstraction class leaving the next
programmer to use it without knowing the changes or the user accidently changed the codes that
will also produce the same result. Therefore, it is abstraction is an essential to have a good
programming design.
In conclusion, abstraction is an important element when it comes to have good programming
design in current days.
CSC305 : Programming Paradigms
Semester October 2020 - February 2021 (Session 1 2020/2021)
Quiz (15%) (CLO1)
Due Date: December 12, 2020 (Saturday)
Lecturer: Ts Mohd Norafizal Abd Aziz
Instructions:
1. Submit your answer in Google Classroom only.
2. Please attach the front page cover which includes particulars of Name, Student ID, Class,
Semester, and declaration form. The front page cover is attached with this instruction.
3. Please use the appropriate programming language to construct any development.
4. This is individual work and no group collaboration is allowed for this assignment.
5. Copy and paste also known as PLAGIARISM is strictly not allowed. Any attempt or
intention appears the necessary action regarding the plagiarism UiTM act will take place
and you may not be allowed or your assessment marks will not be marking.
6. Please read the questions carefully.
7. In addition, the late submission will also penalize your marks and NO reason will be
entertained as this quiz has been assigned as the date stated.
8. This assignment was assigned on December 11 2020 and the due date of this
assignment is before December 12, 2020 (Saturday) before 7.59 am.
9. Good Luck
CSC305: PROGRAMMING PARADIGMS
SEMESTER OCTOBER 2020 - FEBRUARY 2021
Student Details: QUIZ (CLO1) Class Declaration
No Student Name Signature
Student ID
1 MUHAMMAD NOOR AIMAN 2018256834 CS1105G
BIN MOHAMAD FAID
Declaration:
I confirm and understand that I had read and shall comply with all the terms and conditions of the
UiTM plagiarism policy.
I confirm and understand that I had read and shall comply with all the terms and conditions of this
quiz and for any attention or acknowledgment of copying answers from other students or sources,
the appropriate consequences will be taken against me due to my attitude and actions.
I confirm and understand that the online submission had also been sent accordingly with the
attachment through the Google Classroom portal and I had already checked the submission
regularly before submission. Any problem due to the submission will be bare on our
responsibilities.
I also declare and understand that this assignment is free from all forms of plagiarism and for all
intents and purposes is my/our own properly derived work.
I further confirm that the same work, where appropriate, has been verified by anti-plagiarism
(Please insert if applicable).
software:
Date:
QUESTION
Watch the following Video:
Title: The Most Popular Programming Languages - 1965/2020
Youtube Link: https://youtu.be/Og847HVwRSI
Answer the following questions.
Based on your observation,
1. What’s make Python is the most popular language in current days from the
application domain perspective?
(10 Marks)
2. Explain how programming language abstractions are important to have a good
programming design in current days.
(10 Marks)
Good Luck
ANSWER
(Please write your answer in this section)
Based on my observation, Python is the most popular programming language in the
current days from the application domain perspective is because Python is easy to learn and
understand, especially for those who have no experience with the programming language. Python
is more to human verbal communication than another programming language and not so
complicated to understand as Java and C++. This will help the beginners to explore and learn the
programming language.
Next, Python is the most popular programming language from the application domain
perspective because it has numerous libraries. These libraries can help the programmer to make
their project easier to build as the complicated function and automation have already been built.
This can help the programmer to shorten their time by constructing the complicated algorithm and
structure. One of its popular libraries is TensorFlow, TensorFlow was developed by Google and
has been used in almost Google application for machine learning.
Next, Python is the most popular programming language from the application domain
perspective because it versatile. Python can be used to develop CLI application, GUI application
and web application, and also can be used in mobile development. Python supports multi-platform
application. It can support Windows, Mac, Linux and even Android. It is a powerful language that
can develop a system or a application.
Based on my understanding, abstraction is important in the programming language.
Abstraction in the programming language is the way to simplify a complicated idea or action. In
general knowledge, abstraction is a general idea of things relating to an object, situation, and
living things. The basic abstraction can be found in programming language when to display a
simple world wherein Python only uses print() to display the string or output while behind the
print() involved many processes.
Abstraction in programming languages is used to reduce the complexity of the design and
implementation process of software. Even in a simple way, the programmers cannot run away
from the abstraction as it is the fundamental of the programming language. It has been involved
deeply in the programming language structure.
Abstraction in programming languages is being used to hide the sensitive properties and
only show certain string or output. Some abstract classes might already be built and maintained
by an open-source community, and it is very helpful and easy to extend and implement the class
on your project.
CSC305 : Programming Paradigms
Semester October 2020 - February 2021 (Session 1 2020/2021)
Quiz (15%) (CLO1)
Due Date: December 12, 2020 (Saturday)
Lecturer: Ts Mohd Norafizal Abd Aziz
Instructions:
1. Submit your answer in Google Classroom only.
2. Please attach the front page cover which includes particulars of Name, Student ID, Class,
Semester, and declaration form. The front page cover is attached with this instruction.
3. Please use the appropriate programming language to construct any development.
4. This is individual work and no group collaboration is allowed for this assignment.
5. Copy and paste also known as PLAGIARISM is strictly not allowed. Any attempt or
intention appears the necessary action regarding the plagiarism UiTM act will take place
and you may not be allowed or your assessment marks will not be marking.
6. Please read the questions carefully.
7. In addition, the late submission will also penalize your marks and NO reason will be
entertained as this quiz has been assigned as the date stated.
8. This assignment was assigned on December 11 2020 and the due date of this
assignment is before December 12, 2020 (Saturday) before 7.59 am.
9. Good Luck
CSC305: PROGRAMMING PARADIGMS
SEMESTER OCTOBER 2020 - FEBRUARY 2021
Student Details: QUIZ (CLO1) Class Declaration
No Student Name Signature
Student ID
1 NUR IZZATI ATHIRAH BINTI 2018244722 CS1105E
MAD RAFEE
Declaration:
I confirm and understand that I had read and shall comply with all the terms and conditions of the
UiTM plagiarism policy.
I confirm and understand that I had read and shall comply with all the terms and conditions of this
quiz and for any attention or acknowledgment of copying answers from other students or sources,
the appropriate consequences will be taken against me due to my attitude and actions.
I confirm and understand that the online submission had also been sent accordingly with the
attachment through the Google Classroom portal and I had already checked the submission
regularly before submission. Any problem due to the submission will be bare on our
responsibilities.
I also declare and understand that this assignment is free from all forms of plagiarism and for all
intents and purposes is my/our own properly derived work.
I further confirm that the same work, where appropriate, has been verified by anti-plagiarism
software: (Please insert if applicable).
Date:
QUESTION
Watch the following Video:
Title: The Most Popular Programming Languages - 1965/2020
Youtube Link: https://youtu.be/Og847HVwRSI
Answer the following questions.
Based on your observation,
1. What’s make Python is the most popular language in current days from the
application domain perspective?
(10 Marks)
2. Explain how programming language abstractions are important to have a good
programming design in current days.
(10 Marks)
Good Luck
ANSWER
(Please write your answer in this section)
Question 1
As we know, there are a lot of programming languages in the world. We cannot deny that
phython is the most popular programming languages in our current days especially from the
application domain perspective. Of course there will be many people were curious on why these
languages is the most popular. Well, one of the reason is due to the flexibility of phython language.
What does it mean by flexibility? Phython is really flexible as it can give the developer or the user
to create and try something new. As we can see, phython is also super flexible for Graphical User
Interface (GUI) applications as well. It can quickly run in the multiple operating system due to its
great structure.
The second one is phython is easy to learn and use. As someone who are still a newbie in
programming, phython is one of the best language that they can learn and understand well. Many
people also claimed than phython has such a good code and also easy to understand. Due to
this, it also become easier to execute and written than any other programming languages. This
is also the main reason why phython become so famous in programming world.
The next point is, phython has a big data which make it become famous. For a simple
definition, big data is a larger volume of data, whether it is structured or unstructured. Phython
also has a great data processing support. It will make phython and also big data as a great
combination. It provide a great support which will be a great help and support for big data.
Next up we have phython is the most popular language due to it versatility. Yes, phython is
a versatile language. It supports a lot of function and a lot of application development. Imagine
that you can used one programming language to many purpose. It totally will help you in
everything as you just need to master one language. Learning phython can make to create and
develop various thing.
Phython is also can be used in other industries. For example, we can see that nowadays,
phython are used in many industries. It is also become popular in educational industries as we
can that many schools and college make this language as one of the most important language to
learn. Also, there are companies that make phython as their requirement for recruiting a new staff
for their company.
Question 2
Programming language abstraction are important to have a good programming
language design because it can interpret and after that utilized the complicated structures
and designs that allow numerous detailed to be ignore. For instance, we can see that
object-oriented language to hold up and support the degrees of abstraction. Abstraction
makes code from longer to small , because abstraction doesn't show unnecessary things.
So, it will make it become easier from the programmer and users.
Second, abstraction in programming language can create a well-designed code.
By this, it will become more easy and interactive for the users to created a code in any
programming languages. A well designed code will make it more readable and easy to
understand. It can also prevent from any code duplication.
Other than that, abstraction in programming language can also reduce the
complexity. For instance, we do not have to write the same code over and over again
whenever we want to use in other method. We can just call the abstract method to make
it easier. If there is any error in the abstract method, we just need to fix it in the abstract
method without fixing it in anywhere else.
Abstraction also can help to increase security of an application or program as only
important details are provided to the user. So, it can prevent from any unwanted thing
like a hacking. Only user have the access to know all the details in the code
Sample of DOCUMENTS
SESSION 1 2020/2021
Ts MOHD NORAFIZAL ABD AZIZ
Senior Lecturer
Fakulti Sains Komputer & Matematik (FSKM)
e-Teaching
Portfolio