OOP in PHP - Sir Santi 1st term

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/101

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

102 Terms

1
New cards

internet started way back, what year???

1950s when cold war, for military purposes

2
New cards

it is a group of interconnectedsystems sharing services and interacting byb means of a shared communication link

Network

3
New cards

Network must have the following: ? ? ?

data (something to share)
transmission medium (A physical pathway)
protocols (rules of communication)

4
New cards

it is a two or more computers/devices sharing information across a common transmission medium

computer network

5
New cards

it is two or more computers/devices are connected so that they can exchange message and share information

Internetwork

6
New cards

it is a short for Internetwork

internet (lower case i)

7
New cards

it is the worlds largest Internetwork

Internet (uppercase I)

8
New cards

it is a unique identification, and each of the computer in the internet has it

IP Address

9
New cards

it is an organization that gives ip addresses to variouse ISP (Internet Service Providers)

InterNIC

10
New cards

a survey says that there are _____ possible ip address on the in the internet

4.294 B

11
New cards

t or f

The internet uses a client-server relationship, which means that not all the computers conneted to the internet are the same

true

12
New cards

thesea re the special types of computer that rae capabel of delivering information and data

server

13
New cards

these are the computers that may only recieve data

client

14
New cards

it is a fastest growing part of the internet

World Wide Web (WWW)

15
New cards

WOrld Wide Web or simply the ____?

Web

16
New cards

it is an Information System (IS) on the internet which allows document to be connected to other documents by hypertext links

World Wide Web

17
New cards

T or F

Web and Internet are the same

False - they are not the same

18
New cards

give the 4 basic elements of the Web

HTML

Webmaster
Domain Name
URL (Uniform Resource Locator)

19
New cards

it is the foundation of all web pages

HTML (Hypertext Markup Language)

20
New cards

it is the individual responsible for maintaining and updating the content of WWW document

Webmaster

21
New cards

it is the name given to any computer register to WWW as official provider of info and files

Domain name

22
New cards

it serves as identification for all WWW documents

URL (Uniform Resource Locator)

23
New cards

give me the 3 uses of Internet

ECG

E-mail
Chatting
Getting files

24
New cards

it makes up a majority of internet traffic today, because almost everyone with internet access has this thing…

E-mail

25
New cards

give me the 3 elements of E-mail

User ID
@
Domain

26
New cards

E-mail has two basic parts: ___ and ____

header and body

27
New cards

give me the 6 different headers of E-mail

To:
From:
Subject
CC:
BCC:
Attachments:

28
New cards

you use it if sometimes, you amy want to remove time delay between sendinga nd recieving e-mail

Chatting

29
New cards

What is the meaning of HTML?

Hypertext Markup Language

30
New cards

What is the meaning of HTTP

Hypertext Transfer Protocol

31
New cards

What is the meaning of IRC

Internet Relay CHat

32
New cards

What is the URL

Uniform Resource Locator

33
New cards

what is URN

uniform resource name

34
New cards

what is URI

uniform resource indentifiers

35
New cards

it is a multiuser version of a program called ‘talk’

IRC (Internet Relay Chat)

36
New cards

what is FTP

File Transfer Protocol

37
New cards

it is one of the most popular methods of obtaining softare and documents on the internet

File transfer protocol (FTP)

38
New cards

it is a set of rules for transferring files in a fast, efficient, and reliable way

FTP (file transfer protocol)

39
New cards

it is one of the first internet service developed to enable users to transfer files from one place to another

file transfer protocol (FTP

40
New cards

give me the 4 parts of URL

protocol
server (Domain)

path

filename

41
New cards

it is web service that indexes, organizes, and often rates and reviews Websites

search engine

42
New cards

it helps you find the one need youre looking for in the internet

search engine

43
New cards

these are the defined ways in which computers communicate with each other

IP (Internet protocol)

44
New cards

they determine how, what the data is sent and recieve

IP (internet protocols)

45
New cards

whta is OSI

International standard organization

46
New cards

it is a reference model taht identifies vriouse levels in network communication

7 Layers of the OSI model

47
New cards

what is TCP/IP

transmission Control Protocol-Internet Protocol

48
New cards

it was adopted as the standard by the developers of the Internet

TCP/IP (transmission control protocol-internet protocol)

49
New cards

it is a World Wide Web application-layer protocol

HTTP (hypertext transfer protocol)

50
New cards

it defiens how web clients request pages from web servers and how web servers transfer web pges to web clients

HTTP (hypertext transfer protocol)

51
New cards

a Web page is also called ______

document

52
New cards

it is consist of objects, which may be html file, images, applets and so on

Web Page

53
New cards

it refers to the address of a resource on the Web

URL (uniform resource locator)

54
New cards

a _____ is anything available on the web like html pages, a graphic file, or a CGI script

resource

55
New cards

it is a names a specific resource on the web

URN (uniform resource name)

56
New cards

both url and urn is compnents of the more general class called ____

Uniform Resource Indentifiers

57
New cards

after the protocol comes the _____

resource planning

58
New cards

a ____ separates the resource description from the protocol

colon :

59
New cards

resource description may consist of any of the elements, give them:

site address (host)
port number
filepath and filename
fragment identifier
parameter

60
New cards

it is the host element identifies the site address of the computer which is the source of the file being displayed

site address

61
New cards

what is the two parts that consist of the site address

machine name
domain name

62
New cards

it follows the site address but separated by a colon

Port number

63
New cards

is indicating a port number is optional

yes or no

yes

64
New cards

what is the default port number?

80

65
New cards

t or f

whenever you access a resource on the web or the internet, you are actually pointing to a file

true

66
New cards

it allows you to actually point to a specific location within a file to view

fragment identifiers

67
New cards

it is a one last component that maybe included in the URL

parameters

68
New cards

it provides a place to store a web content online

web hosting

69
New cards

what is DNS

domain name system

70
New cards

this is the middle man that points your website toward your domain IP Address

Nameservers (DNS)

71
New cards

this is the actual file that makes up the website reside in a server

web hosting

72
New cards

give me a common type of web hosting

SDVM

Shared hosting
Dedicated hosting

virtual private server

managed hosting

73
New cards

this is a common and economical option shared hosting services managed multiple clients from the same server system

shared hosting

74
New cards

it is similar to shared hosting but the files are stored in a dedicated space with dedicated resources

VPS

virtual private server

75
New cards

this provides a dedicated server which cutes the security nd performance risks assiociated with shared hosting. Client has its own server system

dedicated hosting

76
New cards

have a access to dedicated server, but you dont have the same administrative option.

managed hosting

77
New cards

it is a programming model that is based on the concept of classes and object

Object-oriented programming

78
New cards

what are the two main aspects of OOP

class and object

79
New cards

it is a self-contained, independent collection of variables and functi

80
New cards

a class is a collection of ____ and _____ which work together to perform one or more specific task

variable and functions

81
New cards

these are the individual instances of a class

object

82
New cards

a class acts as ____ or ____ from which individual objects can be created

template or blueprint

83
New cards

t or f

each object may have different values for certain properties

true

84
New cards

the variables within a class are called…

properties

85
New cards

functions within a class are called…

methods

86
New cards

class names are also conventionally written in …..

PascalCase (e.g., MyClass)

87
New cards

the ____ sysmbol is an OOP construct that is used to access contained properties and methods of a given object

arrow symbol

88
New cards

it is a psuedo-variable that provides a references to the calling object

$this

89
New cards

this allows us to initialize the objects properties upon creatioon of the object

constructor

90
New cards

we use ___ function to declare constructor inside the class

__construct()

91
New cards

this is called when the object is destructed or the script is stopped or exited

destructor

92
New cards

we use ____ fucntion that will be called to the end of the script

__destruct()

93
New cards

when working with a class, you can even restrct access to its properties and methods using the visibility keywords for greater control

access modifiers

94
New cards

give me the three visibility keywords (access modifiers)

Public
Protected
Private

95
New cards

another term for access modifiers

visibility keywords

96
New cards

it can be access anywhere within or outside of class and it is the default in PHP

public

97
New cards

it can only be accessed within the class itself or inherited classes

protected

98
New cards

it is accessible only wothin the class that defines it

private

99
New cards

classes can inherit the properties and methods of another class using the _____ keyword

extends keyword

100
New cards

what is the most powerful reason behind using the OOP model

inheritance