SlideShare a Scribd company logo
BACHELOR OF SCIENCE IN INFORMATION SYSTEM
FINAL TERM
Introduction to Computing
MARK JOHN P. LADO
INSTRUCTOR
Learning Topics
 Computer Networks
Overview of a network
Communication Media
Twisted pair cable
Coaxial Cable
Fiber Optic Cable
Learning Topics
 Introduction to JAVA programming
Overview of the Language
Java Eclipse GUI
Hello World
Learning Objectives
Have an impression about Computer Networks.
Determine the different Communication Media.
Identify the use of Twisted pair cable, Coaxial Cable and
Fiber Optic Cable.
Give meaning of programming language.
Describe the function of High-Level Language.
Identify and appreciate the power of High-Level Language
in programming.
Part I
Overview of a network
Communication Media
Twisted pair cable
Coaxial Cable
Fiber Optic Cable
Introduction to Computer Networks
Modern world scenario is ever changing. Data
Communication and network have changed
the way business and other daily affair works.
Now, they highly rely on computer networks
and internetwork.
A set of devices often mentioned as nodes
connected by media link is called a Network.
Introduction to Computer Networks
A node can be a device which is capable of
sending or receiving data generated by
other nodes on the network like a
computer, printer etc. These links
connecting the devices are
called Communication channels.
Introduction to Computer Networks
Computer network is a telecommunication
channel using which we can share data
with other computers or devices,
connected to the same network. It is also
called Data Network. The best example of
computer network is Internet.
Introduction to Computer Networks
Computer network does not mean a
system with one Control Unit connected to
multiple other systems as its slave. That is
Distributed system, not Computer
Network.
Introduction to Computer Networks
A network must be able to meet certain
criteria’s, these are mentioned below:
A network must be able to meet certain criteria’s, these are
mentioned below:
Performance
Reliability
Security
Computer Networks: Performance
It can be measured in the following ways:
Transit time : It is the time taken to travel
a message from one device to another.
Response time : It is defined as the time
elapsed between enquiry and response.
Computer Networks: Performance
Other ways to measure performance are :
Efficiency of software
Number of users
Capability of connected hardware
Computer Networks: Reliability
 It decides the frequency at which network failure
take place. More the failures are, less is the
network's reliability.
Computer Networks: Security
 It refers to the protection of data from any
unauthorized user or access. While travelling
through network, data passes many layers of
network, and data can be traced if attempted. Hence
security is also a very important characteristic for
Networks.
Twisted Pair Cable
This cable is the most commonly used
and is cheaper than others. It is
lightweight, cheap, can be installed
easily, and they support many different
types of network.
A twisted pair consists of two
conductors(normally copper), each with its
own plastic insulation, twisted together.
One of these wires is used to carry signals
to the receiver, and the other is used only
as ground reference.
Twisted Pair Cable
What are the two
types of twisted
pair cable?
Two Types of Twisted Pair
Cable
1. Unshielded Twisted Pair (UTP)
2. Shielded Twisted Pair (STP)
Unshielded Twisted Pair
(UTP)
Transmission Media
Unshielded Twisted Pair Cable
It is the most common type of
telecommunication when compared with
Shielded Twisted Pair Cable which consists
of two conductors usually covered with a
an aluminum foil.
Transmission Media
Transmission Media
It consists of two insulating copper wires
(1mm thick). The wires are twisted
together in a helical form to reduce
electrical interference from similar pair.
Unshielded Twisted Pair Cable
Shielded Twisted Pair
(STP)
Transmission Media
This cable has a aluminum / metal foil
covering which encases each pair of
insulated conductors. Electromagnetic
noise penetration is prevented by metal
casing.
Shielded Twisted Pair Cable
It has same attenuation as unshielded
twisted pair. But it is faster than
unshielded and coaxial cable. It is more
expensive than coaxial and unshielded
twisted pair.
Shielded Twisted Pair Cable
Transmission Media
Are you familiar
with Coaxial
Cable?
Transmission Media
What is Coaxial
Cable?
Transmission Media
Introduction to Networks and Programming Language
Introduction to Networks and Programming Language
Coaxial Cable
Coaxial is called by this name because it contains
two conductors that are parallel to each other.
Copper is used in this as center conductor which
can be a solid wire or a standard one. It is
surrounded by PVC installation, a sheath which
is encased in an outer conductor of metal foil.
Transmission Media
Coaxial Cable
Outer metallic wrapping is used as a shield
against noise and as the second conductor
which completes the circuit. The outer
conductor is also encased in an insulating
sheath. The outermost part is the plastic cover
which protects the whole cable.
Transmission Media
Introduction to Networks and Programming Language
Introduction to Networks and Programming Language
Introduction to Networks and Programming Language
Introduction to Networks and Programming Language
Parts of Coaxial Cable
Transmission Media
Fiber Optic Cable
A fiber-optic cable is made of glass or
plastic and transmits signals in the form of
light.
Transmission Media
Fiber Optic Cable
Light travels in a straight line as long as it is
mobbing through a single uniform substance.
If ray of light travelling through one substance
suddenly enters another substance (of a
different density), the ray changes direction.
Transmission Media
Fiber Optic Cable
 Optical fibers use reflection to guide light
through a channel. A glass or plastic core is
surrounded by a cladding of less dense glass or
plastic.
Transmission Media
Fiber Optic Cable
 The difference in density of the two materials
must be such that a beam of light moving
through the core is reflected off the cladding
instead of being refracted into it.
Transmission Media
Internal view of an Optical
fiber
Transmission Media
Fiber Optic Cable Connectors
Transmission Media
Fiber Optic Cable Connectors
The Subscriber Channel
(SC) connector is used for cable TV.
Transmission Media
Fiber Optic Cable Connectors
The Straight-Tip (ST) connector is used
for connecting cable to the networking
devices.
Transmission Media
Fiber Optic Cable Connectors
MT-RJ (Mechanical Transfer
Registered Jack) is a connector that is
the same size as RJ45.
Transmission Media
Part II
Overview of the Java Programming Language
Java Eclipse GUI
Hello World
Introduction to Networks and Programming Language
Java
W I T H E C L I P S E A S A N I D E
PROGRAMMING
What is Java?
Java is built on C++ for a simple-to-use
language
 Java is a computer programming language. It enables
programmers to write computer instructions using
English-based commands instead of having to write in
numeric codes. It’s known as a high-level language because
it can be read and written easily by humans.
What is Java?
Like English, Java has a set of rules that
determine how the instructions are
written. These rules are known as its
syntax. Once a program has been written,
the high-level instructions are translated
into numeric codes that computers can
understand and execute.
Who Created Java?
In the early 90s, Java, which originally
went by the name Oak and then Green,
was created by a team led by James
Gosling for Sun Microsystems, a
company now owned by Oracle.
Who Created Java?
Java was originally designed for use on digital
mobile devices, such as cellphones. However,
when Java 1.0 was released to the public in
1996, its main focus had shifted to use on the
internet, providing interactivity with users by
giving developers a way to produce animated
web pages.
Who Created Java?
However, there have been many updates since
version 1.0, like J2SE 1.3 in 2000, J2SE 5.0 in
2004, Java SE 8 in 2014, and Java SE 10 in
2018.
Over the years, Java has evolved as a successful
language for use both on and off the internet.
Why Choose Java?
Java was designed with a few key principles in mind:
 Ease of Use: The fundamentals of Java came from
a programming language called C++. Although C++ is a
powerful language, it is complex in its syntax and
inadequate for some of Java's requirements. Java built on
and improved the ideas of C++ to provide a programming
language that was powerful and simple to use.
Why Choose Java?
Java was designed with a few key principles in mind:
 Reliability: Java needed to reduce the likelihood of
fatal errors from programmer mistakes. With this in
mind, object-oriented programming was
introduced. When data and its manipulation were
packaged together in one place, Java was robust.
Why Choose Java?
Java was designed with a few key principles in mind:
 Security: Because Java was originally targeting
mobile devices that would be exchanging data over
networks, it was built to include a high level of
security. Java is probably the most secure
programming language to date.
Why Choose Java?
Java was designed with a few key principles in mind:
 Platform Independence: Programs need to work
regardless of the machines they're being executed
on. Java was written to be a portable and cross-
platform language that doesn't care about the
operating system, hardware, or devices that it's
running on.
Using Java Comments
All Programming Languages Support Comments
Which are Ignored by the Compiler
 Java comments are notes in a Java code file that are
ignored by the compiler and runtime engine. They are used
to annotate the code in order to clarify its design and
purpose. You can add an unlimited number of comments
to a Java file, but there are some "best practices" to follow
when using comments.
Using Java Comments
All Programming Languages Support Comments
Which are Ignored by the Compiler
 Generally, code comments are "implementation"
comments that explain the source code, such as
descriptions of classes, interfaces, methods, and fields.
These are usually a couple of lines written above or beside
Java code to clarify what it does.
Using Java Comments
All Programming Languages Support Comments
Which are Ignored by the Compiler
 Another type of Java comment is a Javadoc comment.
Javadoc comments differ slightly in syntax from
implementation comments and are used by the program
javadoc.exe to generate Java HTML documentation.
Question…
Why Use Java
Comments?
Why Use Java Comments?
It's good practice to get into the habit of
putting Java comments into your source code
to enhance its readability and clarity for
yourself and other programmers. It isn't
always instantly clear what a section of Java
code is performing. A few explanatory lines can
drastically reduce the amount of time it takes
to understand the code.
Question…
Do They Affect How The
Program Runs?
Do They Affect How The Program Runs?
Implementation comments in Java code are
only there for humans to read. Java compilers
don't care about them and when compiling the
program, they just skip over them. The size
and efficiency of your compiled program will
not be affected by the number of comments in
your source code.
Implementation Comments
Implementation comments come in two different formats:
1. Line Comments: For a one line comment, type "//" and
follow the two forward slashes with your comment.
For example:
// this is a single line comment
Implementation Comments
When the compiler comes across the two
forward slashes, it knows that everything
to the right of them is to be considered as a
comment. This is useful when debugging a
piece of code.
Implementation Comments
Implementation comments come in two different
formats:
2. Block Comments: To start a block comment,
type "/*". Everything between the forward slash and
asterisk, even if it's on a different line, is treated as
a comment until the characters "*/" end the
comment.
Implementation Comments
For example:
/* this
* is
* a
* block
* comment
*/
Example Code with comment
/*This is my first program in java
* Another line here
*/
public static void main(String[] args)
{
System.out.println ("Hello World!");
}
4 Tips for Using Comments
1. Don't over comment. Every line of
your program does not need to be
explained. If your program flows
logically and nothing unexpected
occurs, don't feel the need to add a
comment.
4 Tips for Using Comments
2. Indent your comments. If the
line of code you are commenting is
indented, make sure your comment
matches the indentation.
4 Tips for Using Comments
3. Keep comments relevant. Some
programmers are excellent at modifying
code, but for some reason forget to
update the comments. If a comment no
longer applies, then either modify or
remove it.
4 Tips for Using Comments
4. Don't nest block comments. The
following will result in a compiler error:
Java Is Case Sensitive
Case Sensitivity in Programming
Languages is Common
Java is a case-sensitive language, which means
that the upper or lower case of letters in your
Java programs matter.
Java Is Case Sensitive
About Case Sensitivity
 Case sensitivity enforces capital or lower case in
text. For example, suppose you have created three
variables called "endLoop", "Endloop", and
"EndLoop". Even though these variables are
composed of the exact same letters in the same exact
order, Java does not consider them equal. It will
treat them all differently.
Java Is Case Sensitive
About Case Sensitivity
 This behavior has its roots in the programming
language C and C++, on which Java was based, but
not all programming languages enforce case
sensitivity. Those that do not include Fortran,
COBOL, Pascal and most BASIC languages.
What are the types of Java?
Data types in Java are classified into two types:
 Primitive—which include Integer, Character, Boolean, and
Floating Point.
 Non-primitive—which include Classes, Interfaces, and
Arrays.
Arithmetic Operator
+ Addition
- Subtraction
* Multiplication
/ Division
% Modulus
++ Increment
- - Decrement
+ = Addition assignment
Arithmetic Operator
- = Subtraction
assignment
* = Multiplication
assignment
Relational Operator
== Equal to
!= Not equal to
> Greater than
< Less than
>= Greater than or equal
to
<= Less than or equal to
Java Eclipse IDE (GUI)
Java Eclipse IDE (GUI)
Print Hello World in the
Console
Print Hello World in the Console
/* This program will printout Hello World
in the console */
public static void main(String[] args)
{
System.out.println ("Hello World!"); // this syntax is
use in printing text to console
}
Output
Output
Hello World
Wrapping UP
 In this lesson you learned about,
Computer Networks
Communication Media
Twisted pair cable
Coaxial Cable
Fiber Optic Cable
Wrapping UP
 In this lesson you learned about,
JAVA programming
Java Eclipse GUI
Hello World
Be ready for final term

More Related Content

What's hot (20)

PPTX
1a introduction to network fundamentals
kavish dani
 
PDF
Basics of data communication and computer networking (262 kb)
IMRAN KHAN
 
PDF
Case study of wireless networking for small business
Kambohwell Publisher Enterprises
 
PPTX
Telecommunications
Sopon Tumchota
 
PDF
Networking Cables & Connectors
Shamima Akther
 
PPT
Data communications
UMaine
 
PPTX
Data Communication & Networking Basics
Mahbub Alam Masud
 
PDF
Overview of data communication and networking
Sisir Ghosh
 
PPTX
Introduction to Data Communication by Vishal Garg
IBNC India - India's Biggest Networking Championship
 
PDF
Data Communication & Networking
Md Abdus Sobur Sikdar
 
DOC
Project. Microsoft Windows Nt Networking
bksp
 
PPT
Chapter 1: Introduction to Data Communication and Networks
Shafaan Khaliq Bhatti
 
PPT
Data Communication and Computer Networking Part # 2
Quaid-i-Azam University
 
PDF
Computer networks
Madushan Sandaruwan
 
PPSX
Communication technology
Abhishek Curtis
 
PPT
Chapter 2
rhaymarck
 
PPTX
Computer networks
Syed Khawar Abbas Asad
 
PPTX
Networking Projects
cegonsoft1999
 
PPTX
Data communication
Anne Perera
 
PPTX
Data communication
Muhammad Adeel Rajput
 
1a introduction to network fundamentals
kavish dani
 
Basics of data communication and computer networking (262 kb)
IMRAN KHAN
 
Case study of wireless networking for small business
Kambohwell Publisher Enterprises
 
Telecommunications
Sopon Tumchota
 
Networking Cables & Connectors
Shamima Akther
 
Data communications
UMaine
 
Data Communication & Networking Basics
Mahbub Alam Masud
 
Overview of data communication and networking
Sisir Ghosh
 
Introduction to Data Communication by Vishal Garg
IBNC India - India's Biggest Networking Championship
 
Data Communication & Networking
Md Abdus Sobur Sikdar
 
Project. Microsoft Windows Nt Networking
bksp
 
Chapter 1: Introduction to Data Communication and Networks
Shafaan Khaliq Bhatti
 
Data Communication and Computer Networking Part # 2
Quaid-i-Azam University
 
Computer networks
Madushan Sandaruwan
 
Communication technology
Abhishek Curtis
 
Chapter 2
rhaymarck
 
Computer networks
Syed Khawar Abbas Asad
 
Networking Projects
cegonsoft1999
 
Data communication
Anne Perera
 
Data communication
Muhammad Adeel Rajput
 

Similar to Introduction to Networks and Programming Language (20)

PDF
Advanced Wireless LAN 1st Edition Song Guo
allekerils
 
DOCX
Mobile application development
Govardhan Gottigalla
 
PPTX
Networking and InternetworkingA client server presentation explain client ser...
yusufkantai130
 
PDF
Routers and Routing Basic Module 1
paolo374233
 
PDF
Advanced Wireless Lan 1st Edition Song Guo
daoukhamib
 
PDF
Wimax Emulator to Enhance Media and Video Quality
ijceronline
 
PDF
Computer networks
Remon Chandra Howlader
 
PDF
Build internet infrastructure LO1
Abenezer Abiti
 
PPT
Ncsweek2 osi model
jayvelu
 
PDF
Computer Network Manual
AkshayJain497
 
PPT
Network Sampoerna
vjimmyfg
 
KEY
Networking Basics - Ferdon
Susan Ferdon
 
KEY
541ferdon networktutorial
Susan Ferdon
 
PDF
CN_252002022.pdf
AnkitGarg817897
 
PPTX
10 New Web Application and Security.pptx
AkshayIngole17
 
PPT
7312334 chapter-7 a-networking-basics
fasywan
 
DOCX
Punit kumar
Punit Kumar
 
DOCX
Basic networking tutorial
reddydivakara
 
PPTX
Computer Networks By NADEEM AHMED
NA000000
 
PPTX
Network Fundamental for Malware Analysis.pptx
SazidHossain9
 
Advanced Wireless LAN 1st Edition Song Guo
allekerils
 
Mobile application development
Govardhan Gottigalla
 
Networking and InternetworkingA client server presentation explain client ser...
yusufkantai130
 
Routers and Routing Basic Module 1
paolo374233
 
Advanced Wireless Lan 1st Edition Song Guo
daoukhamib
 
Wimax Emulator to Enhance Media and Video Quality
ijceronline
 
Computer networks
Remon Chandra Howlader
 
Build internet infrastructure LO1
Abenezer Abiti
 
Ncsweek2 osi model
jayvelu
 
Computer Network Manual
AkshayJain497
 
Network Sampoerna
vjimmyfg
 
Networking Basics - Ferdon
Susan Ferdon
 
541ferdon networktutorial
Susan Ferdon
 
CN_252002022.pdf
AnkitGarg817897
 
10 New Web Application and Security.pptx
AkshayIngole17
 
7312334 chapter-7 a-networking-basics
fasywan
 
Punit kumar
Punit Kumar
 
Basic networking tutorial
reddydivakara
 
Computer Networks By NADEEM AHMED
NA000000
 
Network Fundamental for Malware Analysis.pptx
SazidHossain9
 
Ad

More from Mark John Lado, MIT (20)

PDF
Exploring Parts of Speech, Creating Strong Objectives, and Choosing the Right...
Mark John Lado, MIT
 
PDF
Optimizing Embedded System Device Communication with Network Topology Design
Mark John Lado, MIT
 
PDF
Embedded Systems IO Peripherals Wireless Communication.pdf
Mark John Lado, MIT
 
PDF
Implementing the 6S Lean Methodology for Streamlined Computer System Maintena...
Mark John Lado, MIT
 
PDF
ISO IEC 25010 2011 Systems and Software Quality Requirements and Evaluation S...
Mark John Lado, MIT
 
PDF
4 Module - Operating Systems Configuration and Use by Mark John Lado
Mark John Lado, MIT
 
PDF
3 Module - Operating Systems Configuration and Use by Mark John Lado
Mark John Lado, MIT
 
PDF
1 Module - Operating Systems Configuration and Use by Mark John Lado
Mark John Lado, MIT
 
PDF
2 Module - Operating Systems Configuration and Use by Mark John Lado
Mark John Lado, MIT
 
PPSX
PART 1 CT-318-Microprocessor-Systems Lesson 3 - LED Display by Mark John Lado...
Mark John Lado, MIT
 
PPSX
PART 2 CT-318-Microprocessor-Systems Lesson 3 - LED Display by Mark John Lado...
Mark John Lado, MIT
 
PPSX
PART 3 CT-318-Microprocessor-Systems Lesson 3 - LED Display by Mark John Lado...
Mark John Lado, MIT
 
PPSX
Dart Programming Language by Mark John Lado
Mark John Lado, MIT
 
PPTX
What is CRUD in TPS?
Mark John Lado, MIT
 
PPSX
Computer hacking and security - Social Responsibility of IT Professional by M...
Mark John Lado, MIT
 
PDF
A WIRELESS DIGITAL PUBLIC ADDRESS WITH VOICE ALARM AND TEXT-TO-SPEECH FEATURE...
Mark John Lado, MIT
 
PPTX
IT Security and Management - Semi Finals by Mark John Lado
Mark John Lado, MIT
 
PPTX
IT Security and Management - Security Policies
Mark John Lado, MIT
 
PPTX
Systems Administration - MARK JOHN LADO
Mark John Lado, MIT
 
PPTX
IT Security and Management - Prelim Lessons by Mark John Lado
Mark John Lado, MIT
 
Exploring Parts of Speech, Creating Strong Objectives, and Choosing the Right...
Mark John Lado, MIT
 
Optimizing Embedded System Device Communication with Network Topology Design
Mark John Lado, MIT
 
Embedded Systems IO Peripherals Wireless Communication.pdf
Mark John Lado, MIT
 
Implementing the 6S Lean Methodology for Streamlined Computer System Maintena...
Mark John Lado, MIT
 
ISO IEC 25010 2011 Systems and Software Quality Requirements and Evaluation S...
Mark John Lado, MIT
 
4 Module - Operating Systems Configuration and Use by Mark John Lado
Mark John Lado, MIT
 
3 Module - Operating Systems Configuration and Use by Mark John Lado
Mark John Lado, MIT
 
1 Module - Operating Systems Configuration and Use by Mark John Lado
Mark John Lado, MIT
 
2 Module - Operating Systems Configuration and Use by Mark John Lado
Mark John Lado, MIT
 
PART 1 CT-318-Microprocessor-Systems Lesson 3 - LED Display by Mark John Lado...
Mark John Lado, MIT
 
PART 2 CT-318-Microprocessor-Systems Lesson 3 - LED Display by Mark John Lado...
Mark John Lado, MIT
 
PART 3 CT-318-Microprocessor-Systems Lesson 3 - LED Display by Mark John Lado...
Mark John Lado, MIT
 
Dart Programming Language by Mark John Lado
Mark John Lado, MIT
 
What is CRUD in TPS?
Mark John Lado, MIT
 
Computer hacking and security - Social Responsibility of IT Professional by M...
Mark John Lado, MIT
 
A WIRELESS DIGITAL PUBLIC ADDRESS WITH VOICE ALARM AND TEXT-TO-SPEECH FEATURE...
Mark John Lado, MIT
 
IT Security and Management - Semi Finals by Mark John Lado
Mark John Lado, MIT
 
IT Security and Management - Security Policies
Mark John Lado, MIT
 
Systems Administration - MARK JOHN LADO
Mark John Lado, MIT
 
IT Security and Management - Prelim Lessons by Mark John Lado
Mark John Lado, MIT
 
Ad

Recently uploaded (20)

PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PDF
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PPTX
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
Dimensions of Societal Planning in Commonism
StefanMz
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 

Introduction to Networks and Programming Language

  • 1. BACHELOR OF SCIENCE IN INFORMATION SYSTEM FINAL TERM Introduction to Computing MARK JOHN P. LADO INSTRUCTOR
  • 2. Learning Topics  Computer Networks Overview of a network Communication Media Twisted pair cable Coaxial Cable Fiber Optic Cable
  • 3. Learning Topics  Introduction to JAVA programming Overview of the Language Java Eclipse GUI Hello World
  • 4. Learning Objectives Have an impression about Computer Networks. Determine the different Communication Media. Identify the use of Twisted pair cable, Coaxial Cable and Fiber Optic Cable. Give meaning of programming language. Describe the function of High-Level Language. Identify and appreciate the power of High-Level Language in programming.
  • 5. Part I Overview of a network Communication Media Twisted pair cable Coaxial Cable Fiber Optic Cable
  • 6. Introduction to Computer Networks Modern world scenario is ever changing. Data Communication and network have changed the way business and other daily affair works. Now, they highly rely on computer networks and internetwork. A set of devices often mentioned as nodes connected by media link is called a Network.
  • 7. Introduction to Computer Networks A node can be a device which is capable of sending or receiving data generated by other nodes on the network like a computer, printer etc. These links connecting the devices are called Communication channels.
  • 8. Introduction to Computer Networks Computer network is a telecommunication channel using which we can share data with other computers or devices, connected to the same network. It is also called Data Network. The best example of computer network is Internet.
  • 9. Introduction to Computer Networks Computer network does not mean a system with one Control Unit connected to multiple other systems as its slave. That is Distributed system, not Computer Network.
  • 10. Introduction to Computer Networks A network must be able to meet certain criteria’s, these are mentioned below:
  • 11. A network must be able to meet certain criteria’s, these are mentioned below: Performance Reliability Security
  • 12. Computer Networks: Performance It can be measured in the following ways: Transit time : It is the time taken to travel a message from one device to another. Response time : It is defined as the time elapsed between enquiry and response.
  • 13. Computer Networks: Performance Other ways to measure performance are : Efficiency of software Number of users Capability of connected hardware
  • 14. Computer Networks: Reliability  It decides the frequency at which network failure take place. More the failures are, less is the network's reliability.
  • 15. Computer Networks: Security  It refers to the protection of data from any unauthorized user or access. While travelling through network, data passes many layers of network, and data can be traced if attempted. Hence security is also a very important characteristic for Networks.
  • 16. Twisted Pair Cable This cable is the most commonly used and is cheaper than others. It is lightweight, cheap, can be installed easily, and they support many different types of network.
  • 17. A twisted pair consists of two conductors(normally copper), each with its own plastic insulation, twisted together. One of these wires is used to carry signals to the receiver, and the other is used only as ground reference. Twisted Pair Cable
  • 18. What are the two types of twisted pair cable?
  • 19. Two Types of Twisted Pair Cable 1. Unshielded Twisted Pair (UTP) 2. Shielded Twisted Pair (STP)
  • 21. Unshielded Twisted Pair Cable It is the most common type of telecommunication when compared with Shielded Twisted Pair Cable which consists of two conductors usually covered with a an aluminum foil. Transmission Media
  • 23. It consists of two insulating copper wires (1mm thick). The wires are twisted together in a helical form to reduce electrical interference from similar pair. Unshielded Twisted Pair Cable
  • 25. This cable has a aluminum / metal foil covering which encases each pair of insulated conductors. Electromagnetic noise penetration is prevented by metal casing. Shielded Twisted Pair Cable
  • 26. It has same attenuation as unshielded twisted pair. But it is faster than unshielded and coaxial cable. It is more expensive than coaxial and unshielded twisted pair. Shielded Twisted Pair Cable
  • 28. Are you familiar with Coaxial Cable? Transmission Media
  • 32. Coaxial Cable Coaxial is called by this name because it contains two conductors that are parallel to each other. Copper is used in this as center conductor which can be a solid wire or a standard one. It is surrounded by PVC installation, a sheath which is encased in an outer conductor of metal foil. Transmission Media
  • 33. Coaxial Cable Outer metallic wrapping is used as a shield against noise and as the second conductor which completes the circuit. The outer conductor is also encased in an insulating sheath. The outermost part is the plastic cover which protects the whole cable. Transmission Media
  • 38. Parts of Coaxial Cable Transmission Media
  • 39. Fiber Optic Cable A fiber-optic cable is made of glass or plastic and transmits signals in the form of light. Transmission Media
  • 40. Fiber Optic Cable Light travels in a straight line as long as it is mobbing through a single uniform substance. If ray of light travelling through one substance suddenly enters another substance (of a different density), the ray changes direction. Transmission Media
  • 41. Fiber Optic Cable  Optical fibers use reflection to guide light through a channel. A glass or plastic core is surrounded by a cladding of less dense glass or plastic. Transmission Media
  • 42. Fiber Optic Cable  The difference in density of the two materials must be such that a beam of light moving through the core is reflected off the cladding instead of being refracted into it. Transmission Media
  • 43. Internal view of an Optical fiber Transmission Media
  • 44. Fiber Optic Cable Connectors Transmission Media
  • 45. Fiber Optic Cable Connectors The Subscriber Channel (SC) connector is used for cable TV. Transmission Media
  • 46. Fiber Optic Cable Connectors The Straight-Tip (ST) connector is used for connecting cable to the networking devices. Transmission Media
  • 47. Fiber Optic Cable Connectors MT-RJ (Mechanical Transfer Registered Jack) is a connector that is the same size as RJ45. Transmission Media
  • 48. Part II Overview of the Java Programming Language Java Eclipse GUI Hello World
  • 50. Java W I T H E C L I P S E A S A N I D E PROGRAMMING
  • 51. What is Java? Java is built on C++ for a simple-to-use language  Java is a computer programming language. It enables programmers to write computer instructions using English-based commands instead of having to write in numeric codes. It’s known as a high-level language because it can be read and written easily by humans.
  • 52. What is Java? Like English, Java has a set of rules that determine how the instructions are written. These rules are known as its syntax. Once a program has been written, the high-level instructions are translated into numeric codes that computers can understand and execute.
  • 53. Who Created Java? In the early 90s, Java, which originally went by the name Oak and then Green, was created by a team led by James Gosling for Sun Microsystems, a company now owned by Oracle.
  • 54. Who Created Java? Java was originally designed for use on digital mobile devices, such as cellphones. However, when Java 1.0 was released to the public in 1996, its main focus had shifted to use on the internet, providing interactivity with users by giving developers a way to produce animated web pages.
  • 55. Who Created Java? However, there have been many updates since version 1.0, like J2SE 1.3 in 2000, J2SE 5.0 in 2004, Java SE 8 in 2014, and Java SE 10 in 2018. Over the years, Java has evolved as a successful language for use both on and off the internet.
  • 56. Why Choose Java? Java was designed with a few key principles in mind:  Ease of Use: The fundamentals of Java came from a programming language called C++. Although C++ is a powerful language, it is complex in its syntax and inadequate for some of Java's requirements. Java built on and improved the ideas of C++ to provide a programming language that was powerful and simple to use.
  • 57. Why Choose Java? Java was designed with a few key principles in mind:  Reliability: Java needed to reduce the likelihood of fatal errors from programmer mistakes. With this in mind, object-oriented programming was introduced. When data and its manipulation were packaged together in one place, Java was robust.
  • 58. Why Choose Java? Java was designed with a few key principles in mind:  Security: Because Java was originally targeting mobile devices that would be exchanging data over networks, it was built to include a high level of security. Java is probably the most secure programming language to date.
  • 59. Why Choose Java? Java was designed with a few key principles in mind:  Platform Independence: Programs need to work regardless of the machines they're being executed on. Java was written to be a portable and cross- platform language that doesn't care about the operating system, hardware, or devices that it's running on.
  • 60. Using Java Comments All Programming Languages Support Comments Which are Ignored by the Compiler  Java comments are notes in a Java code file that are ignored by the compiler and runtime engine. They are used to annotate the code in order to clarify its design and purpose. You can add an unlimited number of comments to a Java file, but there are some "best practices" to follow when using comments.
  • 61. Using Java Comments All Programming Languages Support Comments Which are Ignored by the Compiler  Generally, code comments are "implementation" comments that explain the source code, such as descriptions of classes, interfaces, methods, and fields. These are usually a couple of lines written above or beside Java code to clarify what it does.
  • 62. Using Java Comments All Programming Languages Support Comments Which are Ignored by the Compiler  Another type of Java comment is a Javadoc comment. Javadoc comments differ slightly in syntax from implementation comments and are used by the program javadoc.exe to generate Java HTML documentation.
  • 64. Why Use Java Comments? It's good practice to get into the habit of putting Java comments into your source code to enhance its readability and clarity for yourself and other programmers. It isn't always instantly clear what a section of Java code is performing. A few explanatory lines can drastically reduce the amount of time it takes to understand the code.
  • 65. Question… Do They Affect How The Program Runs?
  • 66. Do They Affect How The Program Runs? Implementation comments in Java code are only there for humans to read. Java compilers don't care about them and when compiling the program, they just skip over them. The size and efficiency of your compiled program will not be affected by the number of comments in your source code.
  • 67. Implementation Comments Implementation comments come in two different formats: 1. Line Comments: For a one line comment, type "//" and follow the two forward slashes with your comment. For example: // this is a single line comment
  • 68. Implementation Comments When the compiler comes across the two forward slashes, it knows that everything to the right of them is to be considered as a comment. This is useful when debugging a piece of code.
  • 69. Implementation Comments Implementation comments come in two different formats: 2. Block Comments: To start a block comment, type "/*". Everything between the forward slash and asterisk, even if it's on a different line, is treated as a comment until the characters "*/" end the comment.
  • 70. Implementation Comments For example: /* this * is * a * block * comment */
  • 71. Example Code with comment /*This is my first program in java * Another line here */ public static void main(String[] args) { System.out.println ("Hello World!"); }
  • 72. 4 Tips for Using Comments 1. Don't over comment. Every line of your program does not need to be explained. If your program flows logically and nothing unexpected occurs, don't feel the need to add a comment.
  • 73. 4 Tips for Using Comments 2. Indent your comments. If the line of code you are commenting is indented, make sure your comment matches the indentation.
  • 74. 4 Tips for Using Comments 3. Keep comments relevant. Some programmers are excellent at modifying code, but for some reason forget to update the comments. If a comment no longer applies, then either modify or remove it.
  • 75. 4 Tips for Using Comments 4. Don't nest block comments. The following will result in a compiler error:
  • 76. Java Is Case Sensitive Case Sensitivity in Programming Languages is Common Java is a case-sensitive language, which means that the upper or lower case of letters in your Java programs matter.
  • 77. Java Is Case Sensitive About Case Sensitivity  Case sensitivity enforces capital or lower case in text. For example, suppose you have created three variables called "endLoop", "Endloop", and "EndLoop". Even though these variables are composed of the exact same letters in the same exact order, Java does not consider them equal. It will treat them all differently.
  • 78. Java Is Case Sensitive About Case Sensitivity  This behavior has its roots in the programming language C and C++, on which Java was based, but not all programming languages enforce case sensitivity. Those that do not include Fortran, COBOL, Pascal and most BASIC languages.
  • 79. What are the types of Java? Data types in Java are classified into two types:  Primitive—which include Integer, Character, Boolean, and Floating Point.  Non-primitive—which include Classes, Interfaces, and Arrays.
  • 80. Arithmetic Operator + Addition - Subtraction * Multiplication / Division % Modulus ++ Increment - - Decrement + = Addition assignment
  • 81. Arithmetic Operator - = Subtraction assignment * = Multiplication assignment
  • 82. Relational Operator == Equal to != Not equal to > Greater than < Less than >= Greater than or equal to <= Less than or equal to
  • 85. Print Hello World in the Console
  • 86. Print Hello World in the Console /* This program will printout Hello World in the console */ public static void main(String[] args) { System.out.println ("Hello World!"); // this syntax is use in printing text to console }
  • 89. Wrapping UP  In this lesson you learned about, Computer Networks Communication Media Twisted pair cable Coaxial Cable Fiber Optic Cable
  • 90. Wrapping UP  In this lesson you learned about, JAVA programming Java Eclipse GUI Hello World
  • 91. Be ready for final term