You are on page 1of 2

SITI SARAH FARHANAH BINTI MAZLEN

2018236076
CS1104C

TASK 1 [TOPIC 2 : USER INTERFACE]

1. Explain the differences between CLI vs GUI.

CLI GUI

Mechanism for interacting with Presents the user with a


a computer operating system selection of windows, icons and
or software by typing menus. The user points to the
commands to perform specific graphical objects on screen or
tasks. icons and clicks a mouse button
to trigger the associated action
like launch a program. Icons are
pictures that represent
computer resources, such as
printers, documents, and
programs.

Users have much more Although a GUI offers plenty


control and options of their of control of a file system
file system and operating and operating system often
system. For example, users advanced users or users
Control
can easily copy a specific who need to do specific
type of file from one location tasks may need to resort to a
to another with a one-line command line to complete a
command. particular task.
The memorization and
familiarity are needed to
operate a command line
Easy for the user. More User
Ease of Use interface. Users find it much
friendly.
more difficult to successfully
navigate and operate a
command line interface.
Command line use to A GUI may be easier to use
navigate a command line because of the mouse,
interface and often only need however using a mouse
Speed to execute a few lines to and/or keyboard to navigate
perform a task. It is much and control be much slower
faster than GUI. then working in a command
line environment.
2. Many system administrators are still more comfortable running scripts from the command
prompt than within the GUI. Explain the reason

A command line interface enables a user to easily script a sequence of commands to


perform a task or execute a program. Besides, users have much more control and options of
their file system and operating system in a command line interface. For example, users can
easily copy a specific type of file from one location to another with a one-line command. In a
simple operation, such as creating a series of folders, can be done using basic scripts, and in
using these scripts it will find administration becomes not only more efficient but also more
consistent.

You might also like